:root {
    /* Palette de couleurs simplifiée - 3 couleurs principales */
    --primary-color: #1e7e34;
    /* Vert ECC principal */
    --secondary-color: #2c5aa0;
    /* Bleu ECC secondaire */
    --accent-color: #ffffff;
    /* Blanc pour les contrastes */

    /* Couleurs dérivées pour les nuances */
    --primary-dark: #155724;
    /* Vert foncé */
    --primary-light: #28a745;
    /* Vert clair */
    --secondary-dark: #1a3a5c;
    /* Bleu foncé */
    --secondary-light: #4a7c9a;
    /* Bleu clair */
    --neutral-light: #f8f9fa;
    /* Gris très clair */
    --neutral-dark: #333333;
    /* Gris foncé */

    /* Variables Brikly pour compatibilité */
    --brikly-green: #1e7e34;
    --brikly-dark-green: #155724;
    --brikly-white: #ffffff;
    --brikly-gray: #6c757d;
    --brikly-dark-gray: #343a40;
    --brikly-light-gray: #f8f9fa;
    --brikly-dark-blue: #2c5aa0;

    /* Gradients harmonisés avec la palette */
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --secondary-gradient: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    --neutral-gradient: linear-gradient(135deg, var(--neutral-light) 0%, var(--accent-color) 100%);

    /* Effets glassmorphism harmonisés */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-primary: rgba(30, 126, 52, 0.1);
    --glass-secondary: rgba(44, 90, 160, 0.1);

    /* Ombres cohérentes */
    --shadow-light: 0 8px 32px rgba(30, 126, 52, 0.15);
    --shadow-medium: 0 15px 35px rgba(30, 126, 52, 0.2);
    --shadow-heavy: 0 25px 50px rgba(30, 126, 52, 0.25);

    /* Effets de flou */
    --blur-light: blur(8px);
    --blur-medium: blur(16px);
    --blur-heavy: blur(24px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--brikly-dark-gray);
    background: #ffffff;
    overflow-x: hidden;
}

/* Header - Navigation améliorée */
.navbar {
    background: rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Assure la visibilité de la zone de menu */
.navbar .navbar-collapse {
    visibility: visible !important;
    opacity: 1 !important;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto !important;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
        align-items: center;
        margin-left: auto;
    }
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar.scrolled .navbar-brand {
    color: var(--accent-color);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.navbar-logo {
    height: 60px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--accent-color);
    margin: 0 1.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--accent-color);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.navbar.scrolled .nav-link.active {
    color: var(--accent-color) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    transform: translateY(-1px);
}

.btn-get-touch {
    background: var(--primary-gradient);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(30, 126, 52, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-get-touch::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-get-touch:hover::before {
    left: 100%;
}

.btn-get-touch:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-heavy);
    text-decoration: none;
}

/* Bouton de démo */
.btn-demo {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white !important;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-demo:hover::before {
    left: 100%;
}

.btn-demo:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #e0841a 100%);
    color: white !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
    text-decoration: none;
}

.btn-demo:disabled {
    background: #ccc;
    color: #666 !important;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.btn-demo:disabled::before {
    display: none;
}

/* Responsive pour les boutons de navigation */
@media (max-width: 768px) {

    .btn-demo,
    .btn-get-touch {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        letter-spacing: 0.3px;
    }

    .navbar .ms-3.d-flex.gap-2 {
        gap: 0.5rem !important;
        margin-left: 0.5rem !important;
    }
}

@media (max-width: 576px) {

    .btn-demo,
    .btn-get-touch {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        letter-spacing: 0.2px;
    }

    .navbar .ms-3.d-flex.gap-2 {
        gap: 0.25rem !important;
        margin-left: 0.25rem !important;
    }
}

/* Hero Section - Design harmonisé avec palette simplifiée */
.hero-section {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    background: #ffffff;
    /* background: var(--secondary-gradient); */
    /* background-size: 400% 400%; */
    /* animation: gradientShift 15s ease infinite; */
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Carousel Styles */
#heroCarousel {
    height: 100vh;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: 100vh;
    position: relative;
}

.carousel-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: brightness(0.9) contrast(1.05) saturate(1.1);
}

.carousel-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(26, 58, 92, 0.4) 0%,
            rgba(44, 90, 160, 0.3) 50%,
            rgba(26, 58, 92, 0.5) 100%);
    z-index: 1;
    opacity: 0.7;
    mix-blend-mode: multiply;
}


.carousel-caption-custom {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 3rem 2rem;
    background: transparent;
    text-shadow: none;
    max-width: 100%;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.carousel-indicators {
    bottom: 2rem;
    z-index: 3;
}

.carousel-indicators [data-bs-target] {
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: var(--brikly-green);
    border-color: var(--brikly-green);
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
}

.carousel-control-prev {
    left: 2rem;
}

.carousel-control-next {
    right: 2rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: transparent;
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}


.hero-badge {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.9), rgba(0, 224, 119, 0.9));
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--brikly-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* animation: textGlow 3s ease-in-out infinite alternate; */
}

@keyframes textGlow {
    0% {
        filter: brightness(1);
    }

    100% {
        filter: brightness(1.2);
    }
}

/* Animation de machine à écrire */
.typewriter-text {
    overflow: hidden;
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    margin: 0 auto;
    /* animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite; */
}

.typewriter-text-delayed {
    overflow: hidden;
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    margin: 0 auto;
    /* animation: typing-delayed 3.5s steps(40, end) 1s, blink-caret 0.75s step-end infinite; */
    /* animation-fill-mode: both; */
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes typing-delayed {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}


/* Animation lettre par lettre */
.letter-by-letter {
    display: inline-block;
    opacity: 0;
    animation: fadeInLetter 0.1s ease-in-out forwards;
}

@keyframes fadeInLetter {
    to {
        opacity: 1;
    }
}

/* Curseur clignotant pour l'effet de machine à écrire - DÉSACTIVÉ */
/* .typewriter-text::after,
.typewriter-text-delayed::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--primary-color);
    font-weight: bold;
} */

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
    background: var(--glass-bg);
    border-radius: 30px;
    backdrop-filter: var(--blur-medium);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-heavy);
    position: relative;
    overflow: hidden;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 30px;
    z-index: -1;
}

.hero-content::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    /* animation: float 6s ease-in-out infinite; */
    z-index: -1;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.7;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.6;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn-enquire {
    background: var(--primary-gradient);
    color: var(--accent-color);
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.btn-enquire::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-enquire:hover::before {
    left: 100%;
}

.btn-enquire:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-heavy);
    text-decoration: none;
}

.btn-enquire:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-view-work {
    background: rgba(255, 255, 255, 0.1);
    color: var(--brikly-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1.2rem 2.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.btn-view-work:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}


/* Enhanced Features Section - Design harmonisé */
.features-section {
    padding: 8rem 0;
    background: var(--neutral-gradient);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--glass-primary) 0%, transparent 70%);
    /* animation: float 12s ease-in-out infinite; */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}


/* Feature Cards with Images - Modern 3D Design */
.feature-card {
    background: var(--glass-bg);
    border-radius: 30px;
    padding: 0;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    backdrop-filter: var(--blur-light);
    border: 1px solid var(--glass-border);
    transform-style: preserve-3d;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 30px;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    box-shadow: var(--shadow-heavy);
}

.feature-image {
    position: relative;
    height: 200px;
    background-color: #f3f6f9;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background-color: transparent;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: var(--blur-light);
    border-radius: 30px;
}

.feature-card:hover .feature-overlay {
    opacity: 0.9;
    transform: scale(1.02);
}

.feature-overlay .feature-icon {
    width: 80px;
    height: 80px;
    background: var(--brikly-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0e4e78;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-overlay .feature-icon {
    transform: scale(1);
}

.feature-overlay .feature-icon i {
    color: #0e4e78;
    font-size: 2rem;
}

.feature-content {
    padding: 2rem 2rem 2.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brikly-dark-gray);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.feature-description {
    color: var(--brikly-gray);
    line-height: 1.6;
    font-size: 1rem;
}

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

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--brikly-dark-blue);
}

.feature-description {
    color: var(--brikly-gray);
    line-height: 1.7;
    font-size: 1.05rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    position: relative;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
    /* animation: expandLine 2s ease-in-out infinite alternate; */
}

@keyframes expandLine {
    0% {
        width: 80px;
    }

    100% {
        width: 120px;
    }
}

/* Video Section - Design harmonisé */
.video-section {
    padding: 8rem 0;
    background: #ffffff;
    color: var(--brikly-dark-gray);
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    /* animation: float 10s ease-in-out infinite; */
}

.video-section .section-title {
    color: #0e4e78;
    background: none;
    -webkit-text-fill-color: #0e4e78;
}

.video-section .section-title::after {
    background: var(--primary-gradient);
}

.video-section .section-subtitle {
    color: var(--brikly-dark-gray);
}

.video-container {
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--brikly-dark-gray) 0%, var(--brikly-gray) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    background: linear-gradient(135deg, var(--brikly-gray) 0%, var(--brikly-dark-gray) 100%);
}

.play-button {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--brikly-green), var(--brikly-dark-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.5);
}

.play-button i {
    font-size: 2.5rem;
    color: var(--brikly-white);
    margin-left: 5px;
    /* Ajustement visuel pour centrer l'icône play */
}

.video-overlay {
    text-align: center;
    color: var(--brikly-white);
}

.video-overlay h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.video-overlay p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.video-features {
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.video-feature-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    backdrop-filter: var(--blur-light);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 20px;
    z-index: -1;
}

.video-feature-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.video-feature-item .feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-medium);
}

.video-feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-heavy);
}

.video-feature-item .feature-icon i {
    color: var(--brikly-white);
    font-size: 2rem;
}

.video-feature-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--brikly-dark-gray);
}

.video-feature-item p {
    color: var(--brikly-dark-gray);
    line-height: 1.6;
    opacity: 0.8;
}

/* Pricing Section - Design harmonisé */
.pricing-section {
    padding: 8rem 0;
    background: var(--neutral-gradient);
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--glass-secondary) 0%, transparent 70%);
    /* animation: float 14s ease-in-out infinite; */
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: var(--glass-bg);
    border-radius: 30px;
    padding: 0;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--blur-light);
    transform-style: preserve-3d;
}

.pricing-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    box-shadow: var(--shadow-heavy);
}

.pricing-featured {
    border: 2px solid var(--brikly-green);
    transform: scale(1.05);
}

.pricing-featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, var(--brikly-green), var(--brikly-dark-green));
    color: var(--brikly-white);
    padding: 8px 40px;
    font-size: 0.9rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 2;
}

.pricing-header {
    padding: 3rem 2rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.pricing-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--brikly-white);
}

.pricing-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.pricing-price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--brikly-white);
    line-height: 1;
}

.price-currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 0.5rem;
}

.price-period {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.pricing-features {
    padding: 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--brikly-gray);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.pricing-features li i {
    color: var(--brikly-green);
    margin-right: 1rem;
    font-size: 1.1rem;
}

.pricing-footer {
    padding: 0 2rem 3rem;
}

.btn-pricing {
    display: inline-block;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--secondary-gradient);
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.btn-pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-pricing:hover::before {
    left: 100%;
}

.btn-pricing:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-heavy);
    color: var(--brikly-white);
}

.btn-pricing-featured {
    background: var(--primary-gradient);
}

.btn-pricing-featured:hover {
    background: linear-gradient(135deg, var(--brikly-dark-green), var(--brikly-green));
}

.pricing-note {
    margin-top: 3rem;
}

.pricing-note p {
    font-size: 1rem;
    color: var(--brikly-gray);
}

.pricing-note i {
    color: var(--brikly-green);
}



/* Services Section */
.services-section {
    padding: 6rem 0;
    background: var(--brikly-white);
}

.service-card {
    background: var(--brikly-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--brikly-dark-gray);
}

.service-description {
    color: var(--brikly-gray);
    margin-bottom: 1.5rem;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-medium);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-heavy);
    text-decoration: none;
}

/* Bouton CTA spécifique avec couleur bleue */
.cta-button {
    background: linear-gradient(135deg, #0e4e78 0%, #1e7e34 100%) !important;
    border: none !important;
    padding: 1rem 2rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    color: white !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 8px 25px rgba(14, 78, 120, 0.4) !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: hidden !important;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 15px 35px rgba(14, 78, 120, 0.6) !important;
    background: linear-gradient(135deg, #0a3d5c 0%, #1e7e34 100%) !important;
    color: white !important;
}

/* CTA Section - Design harmonisé */
.cta-section {
    padding: 6rem 0;
    background: #ffffff;
    color: var(--brikly-dark-gray);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    /* animation: float 8s ease-in-out infinite; */
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: #0e4e78;
    color: var(--brikly-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--brikly-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive Design System */

/* Extra Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .feature-image {
        height: 250px;
    }

    .pricing-card {
        padding: 3rem 2rem;
    }
}

/* Large Desktop (1200px-1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .hero-title {
        font-size: 1.5rem;
    }

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

    .feature-image {
        height: 220px;
    }
}

/* Desktop (992px-1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .feature-image {
        height: 200px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Tablet Landscape (768px-991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }

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

    .feature-image {
        height: 180px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Tablet Portrait (576px-767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .feature-image {
        height: 160px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Mobile Landscape (480px-575px) */
@media (min-width: 480px) and (max-width: 575px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

    .feature-image {
        height: 150px;
    }

    .hero-content {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }
}

/* Mobile Portrait (320px-479px) */
@media (max-width: 479px) {
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }

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

    .feature-image {
        height: 140px;
    }

    .hero-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        border-radius: 25px;
    }

    .feature-content {
        padding: 1.5rem 1rem 2rem;
    }

    .pricing-card {
        margin: 0 0.5rem;
        border-radius: 25px;
    }

    .btn-enquire,
    .btn-pricing,
    .btn-primary {
        padding: 1rem 2rem;
        border-radius: 40px;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 375px) {
    .hero-content {
        padding: 1.25rem 0.75rem;
        margin: 0 0.5rem;
        max-width: 95%;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .btn-primary {
        padding: 0.7rem 1.25rem;
        font-size: 0.95rem;
    }

    .carousel-caption-custom {
        padding: 0.8rem 0.8rem;
    }
}

/* Ultra Small Mobile Devices */
@media (max-width: 320px) {
    .hero-content {
        padding: 1rem 0.5rem;
        margin: 0 0.25rem;
        max-width: 98%;
    }

    .hero-title {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .btn-primary {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .carousel-caption-custom {
        padding: 0.6rem 0.6rem;
    }
}

/* Extra Small Mobile (≤319px) */
@media (max-width: 319px) {
    .hero-title {
        font-size: 1.5rem;
    }

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

    .feature-image {
        height: 120px;
    }

    .hero-content {
        padding: 1rem 0.5rem;
        margin: 0 0.25rem;
    }

    .feature-content {
        padding: 1rem 0.5rem 1.5rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 2rem 0;
    }

    .hero-content {
        padding: 1.5rem 2rem;
    }

    .features-section {
        padding: 3rem 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .feature-image img,
    .carousel-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .btn,
    .carousel-controls {
        display: none !important;
    }

    .hero-section,
    .features-section,
    .pricing-section,
    .contact-section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }

    .hero-title,
    .section-title {
        color: #000 !important;
    }

    .feature-card,
    .pricing-card {
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
}

/* ===== BREAKPOINTS AVANCÉS ET OPTIMISATIONS TACTILES ===== */

/* Orientation Landscape/Portrait Spécifique */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        min-height: 100vh;
        padding: 1rem 0;
    }

    .hero-content {
        padding: 1.5rem 2rem;
        margin: 0.5rem auto;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .features-section,
    .pricing-section,
    .contact-section {
        padding: 3rem 0;
    }

    .navbar {
        padding: 0.5rem 0;
    }
}

@media (orientation: portrait) and (max-width: 768px) {
    .hero-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .feature-image {
        height: 200px;
    }

    .pricing-card {
        margin: 0 0.5rem;
    }
}

/* DPI-Aware Images pour Écrans Haute Résolution */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi),
(min-resolution: 2dppx) {

    .carousel-image,
    .feature-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: pixelated;
    }

    .navbar-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    /* Amélioration des bordures pour les écrans haute résolution */
    .feature-card,
    .pricing-card,
    .contact-form-wrapper,
    .contact-info {
        border-width: 0.5px;
    }
}

/* Touch Targets Optimisés (44px minimum) */
@media (pointer: coarse) {

    /* Boutons tactiles */
    .btn-primary,
    .btn-enquire,
    .btn-pricing,
    .btn-contact {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 24px;
        touch-action: manipulation;
    }

    /* Navigation tactile */
    .nav-link {
        min-height: 44px;
        padding: 12px 16px;
        display: flex;
        align-items: center;
        touch-action: manipulation;
    }

    .navbar-toggler {
        min-height: 44px;
        min-width: 44px;
        padding: 12px;
        touch-action: manipulation;
    }

    /* Contrôles carousel tactiles */
    .carousel-control-prev,
    .carousel-control-next {
        min-height: 60px;
        min-width: 60px;
        touch-action: manipulation;
    }

    .carousel-indicators [data-bs-target] {
        min-height: 16px;
        min-width: 16px;
        touch-action: manipulation;
    }

    /* Cards tactiles */
    .feature-card,
    .pricing-card {
        touch-action: manipulation;
        cursor: pointer;
    }

    /* Liens sociaux tactiles */
    .social-link {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
}

/* Gestures Tactiles pour Mobile */
@media (hover: none) and (pointer: coarse) {

    /* Amélioration des interactions tactiles */
    .feature-card:hover,
    .pricing-card:hover,
    .video-feature-item:hover {
        transform: none;
        transition: none;
    }

    .feature-card:active,
    .pricing-card:active {
        transform: scale(0.95) translateY(-5px);
        transition: transform 0.2s ease;
        box-shadow: var(--shadow-heavy);
    }

    /* Feedback visuel pour les interactions tactiles */
    .btn-primary:active,
    .btn-enquire:active,
    .btn-pricing:active,
    .btn-contact:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }

    .nav-link:active {
        background: rgba(30, 126, 52, 0.2);
        transform: scale(0.95);
        transition: all 0.1s ease;
    }

    /* Suppression des effets hover sur mobile */
    .feature-overlay {
        opacity: 0.1;
    }

    .feature-card:active .feature-overlay {
        opacity: 1;
    }
}

/* Breakpoints Ultra-Spécifiques */
/* iPhone SE et petits écrans */
@media (max-width: 375px) and (max-height: 667px) {
    .hero-content {
        padding: 1rem 0.75rem;
        margin: 0.5rem;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .feature-image {
        height: 120px;
    }

    .pricing-card {
        margin: 0 0.25rem;
    }
}

/* iPhone 12/13/14 Pro Max et grands écrans */
@media (min-width: 428px) and (max-width: 926px) {
    .hero-content {
        padding: 2.5rem 2rem;
        margin: 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .feature-image {
        height: 180px;
    }
}

/* Tablettes en mode paysage */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    .hero-content {
        padding: 3rem 2.5rem;
        max-width: 900px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Écrans ultra-larges */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    .hero-title {
        font-size: 4.5rem;
    }

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

    .feature-image {
        height: 300px;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

/* Optimisations pour les appareils avec clavier physique */
@media (hover: hover) and (pointer: fine) {

    .feature-card:hover,
    .pricing-card:hover,
    .video-feature-item:hover {
        transform: translateY(-8px);
        transition: all 0.3s ease;
    }

    .feature-overlay {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .feature-card:hover .feature-overlay {
        opacity: 1;
    }
}

/* Support des préférences de mouvement réduit */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .feature-card:hover,
    .pricing-card:hover {
        transform: none;
    }
}

/* Mode sombre désactivé - garde le design original */

/* Optimisations pour les appareils avec contraste élevé */
@media (prefers-contrast: high) {

    .btn-primary,
    .btn-enquire,
    .btn-pricing,
    .btn-contact {
        border: 2px solid currentColor;
    }

    .feature-card,
    .pricing-card {
        border: 2px solid var(--brikly-dark-gray);
    }

    .nav-link {
        border: 1px solid transparent;
    }

    .nav-link:hover {
        border: 1px solid var(--brikly-green);
    }
}

/* Original Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }

    .navbar-brand {
        font-size: 1.2rem;
        gap: 0.5rem;
    }

    .navbar-logo {
        height: 45px;
        max-width: 60px;
    }

    .navbar-collapse {
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        margin-top: 1rem;
        padding: 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .navbar-nav {
        text-align: center;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
        border-radius: 12px;
        transition: all 0.3s ease;
        color: var(--accent-color) !important;
        font-weight: 500;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent-color) !important;
        transform: translateY(-1px);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    }

    .nav-link.active {
        background: var(--primary-gradient);
        color: var(--accent-color) !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }

    .navbar-toggler {
        border: none;
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        transition: all 0.3s ease;
        backdrop-filter: blur(5px);
    }

    .navbar-toggler:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }

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

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
        color: #ffffff !important;
        opacity: 1;
    }

    .hero-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(8px);
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    /* Video Section Responsive */
    .video-section {
        padding: 6rem 0;
    }

    .video-container {
        margin-bottom: 3rem;
    }

    .play-button {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }

    .play-button i {
        font-size: 2rem;
    }

    .video-overlay h3 {
        font-size: 1.5rem;
    }

    .video-overlay p {
        font-size: 1rem;
    }

    .video-feature-item {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }

    .video-feature-item .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .video-feature-item .feature-icon i {
        font-size: 1.5rem;
    }

    .video-feature-item h4 {
        font-size: 1.1rem;
    }

    /* Pricing Section Responsive */
    .pricing-section {
        padding: 6rem 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .pricing-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-featured {
        transform: none;
    }

    .pricing-featured:hover {
        transform: translateY(-8px);
    }

    .pricing-header {
        padding: 2rem 1.5rem 1.5rem;
    }

    /* Feature Cards with Images - Mobile */
    .feature-card {
        margin-bottom: 2rem;
    }

    .feature-image {
        height: 180px;
    }

    .feature-content {
        padding: 1.5rem 1.5rem 2rem;
    }

    .feature-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .feature-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .feature-overlay .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-overlay .feature-icon i {
        font-size: 1.5rem;
        color: #0e4e78;
    }

    .pricing-title {
        font-size: 1.6rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .pricing-features {
        padding: 1.5rem;
    }

    .pricing-footer {
        padding: 0 1.5rem 2rem;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .feature-title {
        font-size: 1.3rem;
    }

    .feature-description {
        font-size: 1rem;
    }

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

    .btn-primary-brikly,
    .btn-secondary-brikly {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }


    .features-section {
        padding: 3rem 0 5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        margin-top: 2rem;
    }

    .feature-card-brikly {
        padding: 2rem 1.5rem;
        height: auto;
        min-height: 250px;
    }

    .feature-icon-brikly {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }

    .feature-icon-brikly::after {
        width: 60px;
        height: 60px;
    }

    .feature-icon-brikly i {
        font-size: 1.5rem;
    }

    .feature-title-brikly {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .feature-description-brikly {
        font-size: 1rem;
    }


    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
        color: #ffffff !important;
        opacity: 1;
    }

    .hero-content {
        padding: 1.5rem 1rem;
        margin: 0 1rem;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        max-width: 90%;
    }

    .carousel-caption-custom {
        padding: 1rem 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        font-weight: 800;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        padding: 0;
        color: rgba(255, 255, 255, 0.95) !important;
        opacity: 1;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    }

    .btn-primary {
        width: 100%;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        font-weight: 700;
        border-radius: 12px;
    }

    .btn-enquire {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .carousel-indicators [data-bs-target] {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin: 0 6px;
        background: rgba(255, 255, 255, 0.5);
        border: 2px solid rgba(255, 255, 255, 0.8);
    }

    .carousel-indicators .active {
        background: var(--brikly-green);
        border-color: var(--brikly-green);
    }


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

    .features-section {
        padding: 2rem 0 4rem;
    }

    .feature-card-brikly {
        padding: 1.5rem 1rem;
        min-height: 220px;
    }

    .feature-icon-brikly {
        width: 50px;
        height: 50px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 0.75rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .footer-section p,
    .footer-section li {
        font-size: 0.9rem;
    }
}
