/* ==========================================================================
   PAGES.CSS - Styles spécifiques aux pages individuelles
   LAÏC EDUCATION
   ========================================================================== */

/* Alias des variables pour compatibilité */
:root {
    --primary: var(--color-primary, #071B9F);
    --primary-dark: var(--color-primary-dark, #050f5a);
    --primary-light: var(--color-primary-light, #1a3bc4);
    --accent: var(--color-accent, #FCA909);
    --accent-dark: var(--color-accent-dark, #d48f00);
    --accent-light: var(--color-accent-light, #ffbe3d);
}

/* ==========================================================================
   PAGE HERO SECTION
   ========================================================================== */

.page-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #0a2fd9 50%, var(--primary-dark) 100%);
    overflow: hidden;
}

.page-hero--short {
    min-height: 45vh;
    padding: 100px 0 50px;
}

.page-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?w=1920');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.page-hero__shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.page-hero__shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: floatShape 15s ease-in-out infinite;
}

.page-hero__shape--1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.page-hero__shape--2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.page-hero__shape--3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.05); }
    50% { transform: translate(-10px, 20px) scale(0.95); }
    75% { transform: translate(30px, 10px) scale(1.02); }
}

.page-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease forwards;
}

.page-hero__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.page-hero__icon i {
    width: 40px;
    height: 40px;
    color: white;
}

.page-hero__desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.page-hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.page-hero__scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    animation: bounce 2s ease-in-out infinite;
}

.page-hero__scroll a:hover {
    opacity: 1;
    transform: translateY(5px);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    animation: fadeInUp 0.8s ease forwards;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb i {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb span {
    color: var(--accent);
    font-weight: 500;
}

/* ==========================================================================
   SECTION STYLES
   ========================================================================== */

.section--alt {
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.section__tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.section__desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ==========================================================================
   SERVICE DETAILED CARDS
   ========================================================================== */

.service-detailed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.service-detailed:nth-child(even) {
    direction: rtl;
}

.service-detailed:nth-child(even) > * {
    direction: ltr;
}

.service-detailed__content {
    padding: 20px;
}

.service-detailed__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(7, 27, 159, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.service-detailed__tag i {
    width: 16px;
    height: 16px;
}

.service-detailed__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.service-detailed__desc {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-detailed__features {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.service-detailed__feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.service-detailed__feature i {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.service-detailed__feature span {
    color: var(--text);
    line-height: 1.6;
}

.service-detailed__image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(7, 27, 159, 0.15);
}

.service-detailed__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-detailed__image:hover img {
    transform: scale(1.05);
}

.service-detailed__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 27, 159, 0.2) 0%, transparent 100%);
    pointer-events: none;
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */

.pricing-section {
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(7, 27, 159, 0.15);
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card--featured {
    border-color: var(--accent);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card--featured::before {
    transform: scaleX(1);
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

.pricing-card--featured:hover {
    transform: scale(1.08) translateY(-5px);
}

.pricing-card__badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent);
    color: white;
    padding: 8px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    text-transform: uppercase;
}

.pricing-card__header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.pricing-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 20px;
    margin-bottom: 20px;
}

.pricing-card__icon i {
    width: 35px;
    height: 35px;
    color: white;
}

.pricing-card__name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.pricing-card__desc {
    color: var(--text-light);
    font-size: 0.95rem;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin: 20px 0;
}

.pricing-card__currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.pricing-card__amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.pricing-card__period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.pricing-card__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-card__feature:last-child {
    border-bottom: none;
}

.pricing-card__feature i {
    width: 20px;
    height: 20px;
    color: #22c55e;
    flex-shrink: 0;
}

.pricing-card__feature--disabled {
    opacity: 0.5;
}

.pricing-card__feature--disabled i {
    color: #ccc;
}

.pricing-card__action {
    text-align: center;
}

.pricing-card__action .btn {
    width: 100%;
}

/* ==========================================================================
   ABOUT PAGE - Story Section
   ========================================================================== */

.about-story {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-story__image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(7, 27, 159, 0.15);
}

.about-story__image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-story__badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--accent);
    color: white;
    padding: 20px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(252, 169, 9, 0.4);
}

.about-story__year {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.about-story__content {
    padding: 20px;
}

.about-story__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-story__content p {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.9;
    margin-bottom: 20px;
}

/* Mission Cards */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mission-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.mission-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 25px 60px rgba(7, 27, 159, 0.12);
}

.mission-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 20px;
    margin-bottom: 25px;
}

.mission-card__icon i {
    width: 40px;
    height: 40px;
    color: white;
}

.mission-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.mission-card__desc {
    color: var(--text-light);
    line-height: 1.8;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.value-card {
    background: white;
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border-left: 4px solid transparent;
}

.value-card:hover {
    transform: translateX(10px);
    border-left-color: var(--accent);
    box-shadow: 0 15px 40px rgba(7, 27, 159, 0.1);
}

.value-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(7, 27, 159, 0.1);
    border-radius: 15px;
    margin-bottom: 20px;
}

.value-card__icon i {
    width: 30px;
    height: 30px;
    color: var(--primary);
}

.value-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.value-card__desc {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(7, 27, 159, 0.15);
}

.team-card__image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.team-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-card__image img {
    transform: scale(1.1);
}

.team-card__social {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    transition: bottom 0.4s ease;
}

.team-card:hover .team-card__social {
    bottom: 20px;
}

.team-card__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.team-card__social a:hover {
    background: var(--primary);
    color: white;
}

.team-card__social a i {
    width: 20px;
    height: 20px;
}

.team-card__info {
    padding: 25px;
    text-align: center;
}

.team-card__name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.team-card__role {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-card__desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, #0a2fd9 100%);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
}

.stat-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    margin-bottom: 20px;
}

.stat-card__icon i {
    width: 35px;
    height: 35px;
    color: var(--accent);
}

.stat-card__number {
    display: inline;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-card__suffix {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
}

.stat-card__label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    font-size: 1rem;
}

/* ==========================================================================
   GALLERY PAGE
   ========================================================================== */

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.gallery-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: white;
    border: 2px solid #eee;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-filter i {
    width: 18px;
    height: 18px;
}

.gallery-filter:hover,
.gallery-filter.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item--tall {
    grid-row: span 2;
}

.gallery-item__image {
    width: 100%;
    height: 100%;
}

.gallery-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-item__image img {
    transform: scale(1.1);
}

.gallery-item__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(7, 27, 159, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__info h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-item__info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.gallery-item__zoom {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-item__zoom {
    opacity: 1;
    transform: scale(1);
}

.gallery-item__zoom i {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.gallery-item__zoom:hover {
    background: var(--accent);
}

.gallery-item__zoom:hover i {
    color: white;
}

.gallery-load-more {
    text-align: center;
    margin-top: 50px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.lightbox__close:hover {
    background: var(--accent);
    transform: rotate(90deg);
}

.lightbox__close i {
    width: 24px;
    height: 24px;
    color: var(--dark);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.lightbox__nav:hover {
    background: white;
}

.lightbox__nav i {
    width: 30px;
    height: 30px;
    color: white;
    transition: color 0.3s ease;
}

.lightbox__nav:hover i {
    color: var(--primary);
}

.lightbox__nav--prev {
    left: 30px;
}

.lightbox__nav--next {
    right: 30px;
}

.lightbox__content {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox__content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox__info {
    color: white;
    margin-top: 20px;
}

.lightbox__info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.lightbox__info p {
    opacity: 0.7;
}

/* Video Cards */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.video-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(7, 27, 159, 0.15);
}

.video-card__thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-card__thumbnail img {
    transform: scale(1.1);
}

.video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(252, 169, 9, 0.4);
}

.video-card__play i {
    width: 30px;
    height: 30px;
    color: white;
    margin-left: 5px;
}

.video-card:hover .video-card__play {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card__info {
    padding: 25px;
}

.video-card__info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.video-card__info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.video-card__duration {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
}

.video-card__duration i {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.contact-form-header {
    margin-bottom: 35px;
}

.contact-form-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.contact-form-header p {
    color: var(--text-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 10px;
}

.form-group label i {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.form-group .required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(7, 27, 159, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-group--checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: var(--primary);
}

.form-group--checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

.form-group--checkbox a {
    color: var(--primary);
    text-decoration: underline;
}

.btn--full {
    width: 100%;
}

/* Contact Info */
.contact-info {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.contact-info__header {
    margin-bottom: 30px;
}

.contact-info__header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.contact-info__header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-info__items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info__item {
    display: flex;
    gap: 20px;
}

.contact-info__icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info__icon i {
    width: 26px;
    height: 26px;
    color: white;
}

.contact-info__content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-info__content p {
    color: var(--primary);
    font-weight: 500;
    font-size: 1.05rem;
}

.contact-info__content span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Contact Hours */
.contact-hours {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.contact-hours h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}

.contact-hours h3 i {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.contact-hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-hours li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-hours li:last-child {
    border-bottom: none;
}

.contact-hours li span {
    color: var(--text-light);
}

.contact-hours li strong {
    color: var(--dark);
}

.contact-hours li.highlight {
    background: rgba(7, 27, 159, 0.05);
    margin: 10px -15px -15px;
    padding: 15px;
    border-radius: 0 0 15px 15px;
}

.contact-hours li.highlight strong {
    color: var(--accent);
}

/* Contact Social */
.contact-social {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.contact-social h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link i {
    width: 24px;
    height: 24px;
    color: white;
}

.social-link--facebook {
    background: #1877f2;
}

.social-link--instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link--linkedin {
    background: #0a66c2;
}

.social-link--youtube {
    background: #ff0000;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    width: 24px;
    height: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text);
    line-height: 1.8;
}

.faq-answer a {
    color: var(--primary);
    font-weight: 500;
}

/* Map Section */
.map-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.map-container {
    height: 450px;
}

.map-container iframe {
    display: block;
}

.map-info {
    background: var(--primary);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-info__card {
    text-align: center;
    color: white;
}

.map-info__card h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.map-info__card h4 i {
    width: 24px;
    height: 24px;
}

.map-info__card p {
    margin-bottom: 8px;
    opacity: 0.9;
}

.map-info__card .btn {
    margin-top: 20px;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, #0a2fd9 100%);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-box__content {
    position: relative;
    z-index: 2;
}

.cta-box__title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.cta-box__desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.btn--secondary {
    background: white;
    color: var(--primary);
}

.btn--secondary:hover {
    background: #f0f4ff;
    transform: translateY(-3px);
}

.btn--whatsapp {
    background: #25d366;
    color: white;
}

.btn--whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .service-detailed {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-detailed:nth-child(even) {
        direction: ltr;
    }

    .about-story {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        grid-template-columns: 1fr;
    }

    .map-info {
        padding: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 50vh;
        padding: 100px 0 50px;
    }

    .page-hero__title {
        flex-direction: column;
        gap: 15px;
    }

    .page-hero__icon {
        width: 60px;
        height: 60px;
    }

    .page-hero__icon i {
        width: 30px;
        height: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .pricing-card--featured {
        transform: scale(1);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .gallery-item--wide,
    .gallery-item--tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        flex-wrap: nowrap;
    }

    .gallery-filter {
        flex-shrink: 0;
    }

    .cta-box {
        padding: 40px 25px;
    }

    .lightbox__nav--prev {
        left: 10px;
    }

    .lightbox__nav--next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .cta-box__actions {
        flex-direction: column;
    }

    .cta-box__actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}
