/* ============================================
   ZAHRA SEA LINE — Custom Stylesheet
   Author: ZAHRA SEA LINE
   Color Palette:
     - Primary Dark Blue:  #0B2447
     - Secondary Blue:     #19376D
     - Accent Blue:        #1A6FB5
     - Dark Grey:          #2C2C2C
     - Medium Grey:        #576574
     - Light BG:           #F4F6F9
     - White:              #FFFFFF
============================================ */

/* ---------- ROOT VARIABLES ---------- */
:root {
    --primary:       #0B2447;
    --secondary:     #19376D;
    --accent:        #1A6FB5;
    --accent-light:  #2E86C1;
    --dark-grey:     #2C2C2C;
    --medium-grey:   #576574;
    --light-bg:      #F4F6F9;
    --white:         #FFFFFF;
    --shadow:        0 5px 30px rgba(11, 36, 71, 0.12);
    --shadow-hover:  0 10px 40px rgba(11, 36, 71, 0.2);
    --transition:    all 0.3s ease;
    --radius:        8px;
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: clip;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-grey);
    line-height: 1.7;
    overflow-x: clip;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------- PRELOADER ---------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

#preloader .loader i {
    font-size: 3rem;
    color: var(--white);
}

/* ---------- UTILITY ---------- */
.section-padding {
    padding: 100px 0;
}

.section-subtitle {
    margin-bottom: 10px;
}

.section-subtitle span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle i {
    margin-right: 5px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
}

.text-center .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-description {
    color: var(--medium-grey);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

.bg-light-custom {
    background-color: var(--light-bg);
}

.text-dark-blue {
    color: var(--primary);
}

/* ---------- NAVBAR ---------- */
#mainNavbar {
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
    z-index: 9999;
}

#mainNavbar.scrolled {
    background: var(--primary);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.brand-logo {
    height: 55px;
    width: auto;
    transition: var(--transition);
}

#mainNavbar.scrolled .brand-logo {
    height: 45px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 18px;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-light);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.navbar-toggler {
    border: none;
    padding: 5px;
    outline: none;
    box-shadow: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

/* ---------- NAVBAR: LOCALE TOGGLE ---------- */
.nav-locale-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.nav-locale-toggle:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.nav-locale-toggle::after {
    display: none !important;
}

.nav-locale-toggle i {
    font-size: 0.9rem;
}

.dropdown-locale {
    min-width: 140px;
    background: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 6px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.dropdown-locale .dropdown-item {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    padding: 8px 18px;
    transition: var(--transition);
}

.dropdown-locale .dropdown-item:hover,
.dropdown-locale .dropdown-item.active {
    background: rgba(26, 111, 181, 0.25);
    color: var(--white);
}

/* ---------- NAVBAR: LOGIN BUTTON ---------- */
.nav-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 22px;
    background: var(--accent);
    color: var(--white) !important;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 50px;
    border: 2px solid var(--accent);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nav-login-btn:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(26, 111, 181, 0.4);
}

.nav-login-btn i {
    font-size: 0.85rem;
}

@media (max-width: 991.98px) {
    .nav-locale-toggle {
        border: none;
        padding: 12px 15px !important;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        justify-content: flex-start;
    }

    .dropdown-locale {
        background: rgba(11, 36, 71, 0.95);
        border: none;
        position: static !important;
        transform: none !important;
        box-shadow: none;
        padding-left: 15px;
    }

    .nav-login-btn {
        margin-top: 15px;
        justify-content: center;
        width: 100%;
    }
}

/* ---------- HERO SLIDER ---------- */
#hero {
    position: relative;
}

.hero-slide {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-slide-1 {
    background:
        linear-gradient(135deg, rgba(11, 36, 71, 0.7) 0%, rgba(25, 55, 109, 0.55) 50%, rgba(26, 111, 181, 0.4) 100%),
        url('../slider/slide-1.png') center/cover no-repeat;
}

.hero-slide-2 {
    background:
        linear-gradient(135deg, rgba(25, 55, 109, 0.7) 0%, rgba(11, 36, 71, 0.55) 50%, rgba(44, 44, 44, 0.45) 100%),
        url('../slider/slide-2.png') center/cover no-repeat;
}

.hero-slide-3 {
    background:
        linear-gradient(135deg, rgba(26, 111, 181, 0.65) 0%, rgba(11, 36, 71, 0.6) 50%, rgba(25, 55, 109, 0.5) 100%),
        url('../slider/slide-3.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 span {
    color: var(--accent-light);
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    line-height: 1.8;
}

.btn-hero {
    display: inline-block;
    padding: 14px 35px;
    background: var(--accent);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: 2px solid var(--accent);
    margin-right: 10px;
    margin-bottom: 10px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(26, 111, 181, 0.4);
}

.btn-hero-outline {
    display: inline-block;
    padding: 14px 35px;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero-outline:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    opacity: 0.7;
    transition: var(--transition);
    margin: 0 20px;
    bottom: auto;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: var(--accent);
}

.carousel-indicators {
    z-index: 5;
}

.carousel-indicators [data-bs-target] {
    width: 35px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    transition: var(--transition);
}

.carousel-indicators .active {
    background-color: var(--accent-light);
    width: 50px;
}

/* ---------- ABOUT SECTION ---------- */
.about-image {
    position: relative;
    padding: 20px;
}

.about-img-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.about-img-placeholder::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.about-img-placeholder::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.about-img-placeholder i {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.15);
}

.about-experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--accent);
    color: var(--white);
    padding: 20px 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-hover);
}

.about-experience-badge .badge-anchor-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 5px;
}

.about-experience-badge .text {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-content .section-title {
    font-size: 2rem;
}

.about-text {
    color: var(--medium-grey);
    margin-bottom: 15px;
    font-size: 0.98rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--dark-grey);
}

.about-feature-item i {
    color: var(--accent);
    font-size: 1.1rem;
}

.btn-primary-custom {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    border: 2px solid var(--primary);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary-custom:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(11, 36, 71, 0.3);
}

.btn-primary-custom i {
    margin-right: 5px;
}

/* ---------- PROCESS / COMMENT CA MARCHE ---------- */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Ligne verticale centrale */
.process-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--primary), var(--accent));
    opacity: 0.2;
    transform: translateX(-50%);
}

/* Chaque étape */
.process-step {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 50px;
}

.process-step:last-child {
    margin-bottom: 0;
}

/* Alternance gauche/droite */
.process-step:nth-child(odd) {
    flex-direction: row;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

/* Node (pastille numérotée au centre) */
.process-node {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(26, 111, 181, 0.35);
    border: 4px solid var(--light-bg);
    transition: var(--transition);
}

.process-node span {
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
}

.process-step:hover .process-node {
    transform: translateX(-50%) scale(1.15);
    box-shadow: 0 6px 25px rgba(26, 111, 181, 0.5);
}

/* Carte de contenu */
.process-card {
    width: calc(50% - 55px);
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.process-card::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--white);
    transform: translateY(-50%) rotate(45deg);
    box-shadow: 2px -2px 4px rgba(11, 36, 71, 0.06);
}

/* Flèche pointe vers la droite (étapes impaires) */
.process-step:nth-child(odd) .process-card {
    margin-right: auto;
}

.process-step:nth-child(odd) .process-card::after {
    right: -10px;
}

/* Flèche pointe vers la gauche (étapes paires) */
.process-step:nth-child(even) .process-card {
    margin-left: auto;
}

.process-step:nth-child(even) .process-card::after {
    left: -10px;
    box-shadow: -2px 2px 4px rgba(11, 36, 71, 0.06);
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Icône dans la carte */
.process-card-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(26, 111, 181, 0.1), rgba(11, 36, 71, 0.08));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: var(--transition);
}

.process-card-icon i {
    font-size: 1.3rem;
    color: var(--accent);
    transition: var(--transition);
}

.process-card:hover .process-card-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.process-card:hover .process-card-icon i {
    color: var(--white);
}

.process-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.process-card p {
    font-size: 0.9rem;
    color: var(--medium-grey);
    line-height: 1.7;
    margin: 0;
}

/* ---- PROCESS RESPONSIVE : TABLET ---- */
@media (max-width: 991.98px) {
    .process-timeline {
        max-width: 100%;
    }

    .process-line {
        left: 30px;
        transform: none;
    }

    .process-step,
    .process-step:nth-child(odd),
    .process-step:nth-child(even) {
        flex-direction: row;
        margin-bottom: 35px;
        padding-left: 75px;
    }

    .process-node {
        left: 30px;
        width: 42px;
        height: 42px;
    }

    .process-step:hover .process-node {
        transform: translateX(-50%) scale(1.1);
    }

    .process-card,
    .process-step:nth-child(odd) .process-card,
    .process-step:nth-child(even) .process-card {
        width: 100%;
        margin: 0;
    }

    .process-card::after,
    .process-step:nth-child(odd) .process-card::after,
    .process-step:nth-child(even) .process-card::after {
        left: -10px;
        right: auto;
        box-shadow: -2px 2px 4px rgba(11, 36, 71, 0.06);
    }
}

/* ---- PROCESS RESPONSIVE : MOBILE ---- */
@media (max-width: 575.98px) {
    .process-line {
        left: 22px;
    }

    .process-step,
    .process-step:nth-child(odd),
    .process-step:nth-child(even) {
        padding-left: 60px;
        margin-bottom: 25px;
    }

    .process-node {
        left: 22px;
        width: 36px;
        height: 36px;
        border-width: 3px;
    }

    .process-node span {
        font-size: 0.85rem;
    }

    .process-card {
        padding: 20px;
    }

    .process-card-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }

    .process-card-icon i {
        font-size: 1.1rem;
    }

    .process-card h4 {
        font-size: 1rem;
    }

    .process-card p {
        font-size: 0.85rem;
    }
}

/* ---------- SERVICES SECTION ---------- */
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 111, 181, 0.03), transparent);
    transition: 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-bottom: 3px solid var(--accent);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--medium-grey);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ---------- STATISTICS SECTION ---------- */
.stats-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(135deg, rgba(11, 36, 71, 0.95) 0%, rgba(25, 55, 109, 0.9) 50%, rgba(26, 111, 181, 0.88) 100%);
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><rect width="60" height="60" fill="none"/><rect x="29" y="0" width="1" height="60" fill="rgba(255,255,255,0.02)"/><rect x="0" y="29" width="60" height="1" fill="rgba(255,255,255,0.02)"/></svg>') repeat;
}

.stat-item {
    padding: 30px 15px;
}

.stat-icon {
    margin-bottom: 15px;
}

.stat-icon i {
    font-size: 2.5rem;
    color: var(--accent-light);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- WHY CHOOSE US ---------- */
.why-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.why-card:hover::after {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.why-icon i {
    font-size: 1.6rem;
    color: var(--accent);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.why-card:hover .why-icon i {
    color: var(--white);
}

.why-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.why-card p {
    color: var(--medium-grey);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(26, 111, 181, 0.2), transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(46, 134, 193, 0.15), transparent 60%);
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-hero i {
    margin-right: 8px;
}

/* ---------- CONTACT SECTION ---------- */
.contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--medium-grey);
    font-size: 0.92rem;
    line-height: 1.8;
}

.contact-card a {
    color: var(--accent);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--primary);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(26, 111, 181, 0.3);
}

/* ---------- FOOTER ---------- */
#footer {
    background: var(--primary);
    padding: 60px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-brand {
    margin-bottom: 15px;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.footer-links i {
    font-size: 0.7rem;
    margin-right: 8px;
    color: var(--accent);
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 3px 15px rgba(26, 111, 181, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */

/* Large Desktops */
@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.1rem;
    }
}

/* Tablets */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 70px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .offcanvas {
        background: var(--primary) !important;
        max-width: 300px;
    }

    .offcanvas-header .brand-logo {
        height: 40px;
    }

    .offcanvas .navbar-nav .nav-link {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 1rem;
    }

    .offcanvas .navbar-nav .nav-link::after {
        display: none;
    }

    .about-image {
        margin-bottom: 40px;
    }

    .about-content .section-title {
        font-size: 1.8rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-slide {
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .btn-hero,
    .btn-hero-outline {
        padding: 12px 25px;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .about-img-placeholder {
        height: 300px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .stat-icon i {
        font-size: 1.8rem;
    }

    .stats-section {
        padding: 50px 0;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }

    .service-card,
    .why-card,
    .contact-card {
        padding: 30px 20px;
    }
}

/* Fix AOS horizontal animations overflow on mobile */
@media (max-width: 991.98px) {
    [data-aos="fade-left"],
    [data-aos="fade-right"] {
        opacity: 0;
        transform: translateY(30px);
        transition-property: opacity, transform;
    }

    [data-aos="fade-left"].aos-animate,
    [data-aos="fade-right"].aos-animate {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Small Mobile */
@media (max-width: 575.98px) {
    .hero-slide {
        min-height: 450px;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }

    .brand-logo {
        height: 40px;
    }

    #mainNavbar.scrolled .brand-logo {
        height: 35px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-experience-badge {
        padding: 15px 20px;
    }

    .about-experience-badge .years {
        font-size: 2rem;
    }

    .cta-section {
        padding: 50px 0;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }
}