@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Premium Light Theme (Default) */
    --primary-bg: #ffffff;
    --secondary-bg: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.88);
    --card-border: rgba(0, 0, 0, 0.06);
    --card-glow: rgba(212, 175, 55, 0.1);
    --text-main: #0f172a;
    --text-muted: #475569;
    --navbar-bg: rgba(255, 255, 255, 0.85);
    --header-overlay: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.92));

    /* Elegant Accents (Shared) */
    --accent-gold: #c5a028;
    --accent-gold-hover: #a67c00;
    --accent-gold-gradient: linear-gradient(135deg, #d4af37 0%, #a67c00 100%);
    --accent-blue: #115e59;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-lg: 16px;
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

*:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 4px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--accent-gold);
}

.text-accent {
    color: var(--accent-gold);
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title h2 span {
    color: var(--accent-gold);
    position: relative;
}

.section-title h2 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--accent-gold-gradient);
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.4);
    color: #000;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    z-index: -1;
    transition: var(--transition);
}

.btn-primary:hover::before {
    opacity: 0.5;
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.05);
    color: var(--text-main);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent-gold-gradient);
    color: #000;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo i {
    color: var(--accent-gold);
    font-size: 1.8rem;
}

.logo-img {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links li a:not(.btn):hover {
    color: var(--accent-gold);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Megamenu Styles */
.dropdown {
    position: relative;
    padding: 10px 0;
}

.megamenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 320px;
    background: #ffffff;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    padding: 15px;
}

/* Invisible block to keep hover active */
.megamenu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.dropdown:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.megamenu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.megamenu-links li {
    display: block;
}

.megamenu-links a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    transition: var(--transition);
    color: var(--text-main);
    text-decoration: none;
}

.megamenu-links a i {
    font-size: 1.5rem;
    color: var(--accent-gold);
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition);
    flex-shrink: 0;
}

.mega-text {
    display: flex;
    flex-direction: column;
}

.mega-text h4 {
    font-size: 1.05rem;
    margin-bottom: 3px;
    color: var(--text-main);
    transition: var(--transition);
}

.mega-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.megamenu-links a:hover {
    background: rgba(255, 255, 255, 0.05);
}

.megamenu-links a:hover i {
    background: var(--accent-gold);
    color: #000;
    transform: scale(1.1);
}

.megamenu-links a:hover h4 {
    color: var(--accent-gold);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(#ffffff1c, #ffffffab),
        url('../images/bg-hero.webp') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(0,0,0,0.03)"/></svg>');
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--primary-bg) 0%, transparent 100%);
    z-index: 0;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    transition: var(--transition);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gold-gradient);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px var(--card-glow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-content {
    padding: 30px;
    flex: 1;
}

.service-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    width: 50px;
    height: 50px;
    background: rgba(229, 176, 92, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
}

/* Offers Section */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.offer-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px 30px;
    transition: var(--transition);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.offer-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--card-glow);
}

.offer-card:hover::before {
    background: var(--accent-gold-gradient);
}

.offer-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.offer-card.popular {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(15, 42, 23, 0.88);
    transform: scale(1.05);
    z-index: 1;
    color: #ffffff;
}

.offer-card.popular .offer-header p,
.offer-card.popular .offer-features li {
    color: rgba(255, 255, 255, 0.9);
}

.offer-card.popular .offer-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.offer-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    background: var(--accent-gold-gradient);
    color: #000;
    border: none;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.offer-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.offer-header i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    display: inline-block;
}

.offer-header h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.offer-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.offer-features {
    list-style: none;
    margin-bottom: 35px;
    flex: 1;
}

.offer-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.offer-features i {
    margin-top: 5px;
    font-size: 0.9rem;
    color: var(--accent-gold);
}

.offer-action {
    margin-top: auto;
}

/* About Secion */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text h2 span {
    color: var(--accent-gold);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.about-list {
    list-style: none;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.about-list i {
    margin-top: 5px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-box {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    transition: 0.6s;
}

.stat-box:hover::after {
    left: 150%;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--card-glow);
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.stat-box p {
    color: var(--text-muted);
    font-weight: 500;
}

/* Contact */
.contact-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-gold);
    width: 60px;
    height: 60px;
    background: rgba(229, 176, 92, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: rgba(15, 23, 42, 0.02);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.input-field {
    position: relative;
}

.input-field input,
.input-field textarea {
    width: 100%;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.input-field input:focus,
.input-field textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.input-field label {
    position: absolute;
    left: 20px;
    top: 16px;
    color: var(--text-muted);
    transition: var(--transition);
    pointer-events: none;
    font-size: 1rem;
}

/* Floating Label Animation */
.input-field input:focus~label,
.input-field input:not(:placeholder-shown)~label,
.input-field textarea:focus~label,
.input-field textarea:not(:placeholder-shown)~label {
    top: -10px;
    left: 15px;
    font-size: 0.85rem;
    color: var(--accent-gold);
    background: #ffffff;
    padding: 0 8px;
    border-radius: 4px;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #0f172a;
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #f8fafc;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
    max-width: 300px;
}

.footer h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Animations */
.fade-in, .slide-up, .slide-in-right {
    will-change: opacity, transform;
}

.fade-in {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-up {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-right {
    opacity: 0;
    transform: translate3d(40px, 0, 0);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide img {
    max-width: 160px;
    max-height: 80px;
    width: auto;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.visible {
    opacity: 1;
    transform: translate(0);
}

/* FAQ Section */
.faq-section {
    background: var(--primary-bg);
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    color: var(--text-main);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    padding-right: 20px;
}

.faq-icon {
    color: var(--accent-gold);
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    padding: 0 30px;
    color: var(--text-muted);
    line-height: 1.8;
}

.faq-item.active {
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.1);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: var(--accent-gold);
    color: var(--primary-bg);
}

.faq-item.active .faq-answer {
    padding: 0 30px 24px 30px;
    max-height: 500px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        min-height: 300px;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: block;
        z-index: 1000;
        position: relative;
    }

    /* Fixed Megamenu for Mobile */
    .dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dropdown:hover .megamenu {
        opacity: 0;
        visibility: hidden;
        transform: none;
    }

    .megamenu {
        position: static;
        transform: none;
        width: 100%;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        padding: 0;
        margin-top: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .dropdown.mobile-open:hover .megamenu,
    .dropdown.mobile-open .megamenu {
        opacity: 1;
        visibility: visible;
        max-height: 400px;
        /* Safe padding for content */
        margin-top: 15px;
        padding: 0 10px;
    }

    .megamenu-links a {
        padding: 10px;
        background: rgba(255, 255, 255, 0.03);
        margin-bottom: 5px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .input-group {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Partners Slider */
.partners {
    background: var(--secondary-bg);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 60px 0;
}

.partners .section-title {
    margin-bottom: 40px;
}

.slider {
    background: transparent;
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider::before,
.slider::after {
    background: linear-gradient(to right, var(--secondary-bg) 0%, rgba(248, 250, 252, 0) 100%);
    content: "";
    height: 100px;
    position: absolute;
    width: 150px;
    z-index: 2;
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slider::before {
    left: 0;
    top: 0;
}

.slide-track {
    animation: scroll 30s linear infinite;
    display: flex;
    width: calc(200px * 14);
}

.slide-track:hover {
    animation-play-state: paused;
}

.slide {
    height: 100px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--text-muted);
    transition: var(--transition);
    opacity: 0.9;
}

.slide:hover {
    color: var(--accent-gold);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(calc(-200px * 7), 0, 0);
    }
}

/* Process Section */
.process-section {
    background-color: var(--secondary-bg);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.process-step {
    background: var(--primary-bg);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    transition: var(--transition);
    z-index: 1;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.3);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--accent-gold-gradient);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.process-step i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.process-step h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.process-step p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Timeline line (desktop only) */
@media (min-width: 992px) {
    .process-grid::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
        z-index: 0;
        transform: translateY(-50%);
    }
}

/* Examples Grid Section */
.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.process-example {
    background: rgba(212, 175, 55, 0.03);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent-gold);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
    height: 100%;
}

.process-example:hover {
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.example-icon {
    background: var(--accent-gold-gradient);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #000;
    font-size: 1.3rem;
}

.example-content h4 {
    color: var(--accent-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.example-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.example-content p {
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.5;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .process-example {
        text-align: left;
        align-items: flex-start;
    }
}

/* Testimonials Section */
.testimonials-section {
    background: radial-gradient(circle at 10% 20%, rgba(248, 250, 252, 1) 0%, rgba(241, 245, 249, 1) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background: #0f2a17e0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 45px 35px 35px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Gold Accent Stripe */
.testimonial-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 40px;
    width: 60px;
    height: 4px;
    background: var(--accent-gold-gradient);
    border-radius: 0 0 10px 10px;
}

.testimonial-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 50px rgba(15, 42, 23, 0.4);
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    opacity: 0.3;
    margin-bottom: 20px;
}

.stars {
    margin-bottom: 20px;
    color: #ffb800; /* Richer Gold */
    font-size: 0.8rem;
    display: flex;
    gap: 4px;
}

.testimonial-content p {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.8;
    font-weight: 400;
}

.testimonial-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.client-avatar {
    width: 60px;
    height: 60px;
    background: var(--accent-gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
}

.client-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verified-badge {
    font-size: 0.8rem;
    color: var(--accent-gold);
}

.client-info span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card {
        padding: 35px 25px 25px;
    }
}

/* ============================================================
   DÉCORATIONS THÉMATIQUES - AGENCE DE SÉCURITÉ MADAGASCAR
   ============================================================ */

/* --- BANDEAU D'URGENCE FLOTTANT --- */
.emergency-bar {
    background: #0f172a;
    border-bottom: 2px solid var(--accent-gold);
    padding: 9px 0;
    text-align: center;
    position: relative;
    z-index: 1001;
    overflow: hidden;
}

.emergency-bar::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197,160,40,0.08), transparent);
    animation: scanline 3s linear infinite;
}

.emergency-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.emergency-bar a,
.emergency-bar span {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
}

.emergency-bar a:hover { color: var(--accent-gold); }

.emergency-bar i {
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.emergency-bar .pulse-dot {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    animation: ping 1.5s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
}

@keyframes ping {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* --- MOTIF GRILLE TACTIQUE HUD en arrière-plan de sections --- */
.section-hud-bg {
    position: relative;
}

.section-hud-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(197,160,40,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(197,160,40,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.section-hud-bg > * { position: relative; z-index: 1; }

/* --- BADGE "DISPONIBLE 24/7" flottant --- */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0f172a;
    border: 1px solid rgba(197,160,40,0.4);
    color: rgba(255,255,255,0.9);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(197,160,40,0.1), inset 0 1px 1px rgba(255,255,255,0.05);
}

.availability-badge i { color: var(--accent-gold); }

/* --- LIGNE DE SCAN ANIMÉE SUR HERO --- */
.hero-scan-line {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-gold) 50%, transparent 100%);
    animation: scanline 4s linear infinite;
    opacity: 0.5;
    z-index: 2;
    will-change: transform;
}

@keyframes scanline {
    0%   { transform: translate3d(-100%, 0, 0); }
    100% { transform: translate3d(200%, 0, 0); }
}

/* --- BANDEAU DE RÉASSURANCE (trust strip) --- */
.trust-strip {
    background: var(--secondary-bg);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 25px 0;
}

.trust-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.3px;
}

.trust-item i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.trust-divider {
    width: 1px;
    height: 30px;
    background: var(--card-border);
}

@media (max-width: 768px) {
    .trust-strip-inner { gap: 20px; }
    .trust-divider { display: none; }
}

/* --- BADGE DE CERTIFICATION flottant (coin droit des sections) --- */
.cert-badge {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--accent-gold-gradient);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    color: #000;
    font-weight: 800;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.3;
    gap: 3px;
}

.cert-badge i { font-size: 1.2rem; }

/* --- COIN HUD (angles tactiques sur les cartes) --- */
.hud-corners {
    position: relative;
}

.hud-corners::before,
.hud-corners::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: var(--accent-gold);
    border-style: solid;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hud-corners::before {
    top: 10px; left: 10px;
    border-width: 2px 0 0 2px;
}

.hud-corners::after {
    bottom: 10px; right: 10px;
    border-width: 0 2px 2px 0;
}

.hud-corners:hover::before,
.hud-corners:hover::after {
    opacity: 1;
}

/* --- RUBAN "MADAGASCAR" TACTIQUE dans le footer --- */
.footer-madagascar-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197,160,40,0.1);
    border: 1px solid rgba(197,160,40,0.25);
    color: var(--accent-gold);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 4px;
    margin-top: 12px;
    display: inline-block;
}

/* --- HERO CORNER ÉTIQUETTE CLASSIFICATION --- */
.hero-classification {
    position: absolute;
    top: 100px;
    right: 40px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(197,160,40,0.4);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.hero-classification::before {
    content: '';
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(197,160,40,0.4));
}

@media (max-width: 768px) {
    .hero-classification { display: none; }
    .emergency-bar-inner { gap: 15px; }
}

/* --- ACCROCHE SÉCURITAIRE HERO (sous-titre badge) --- */
.hero-security-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(197,160,40,0.3);
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 20px;
}

.hero-security-tag i { color: var(--accent-gold); }

/* --- COUNTER BADGE - chiffres clés header page --- */
.page-header-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-header-stat {
    text-align: center;
}

.page-header-stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
}

.page-header-stat span {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.page-header-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--card-border);
}

@media (max-width: 768px) {
    .page-header-stats { gap: 20px; }
    .page-header-stat-divider { display: none; }
}

/* ============================================================
   RESPONSIVE HEADER & GLOBAL — CORRECTIFS COMPLETS
   ============================================================ */

/* --- Tablette : hamburger actif dès 1024px --- */
@media (max-width: 1024px) {

    .hamburger {
        display: block;
        z-index: 1001;
        position: relative;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 340px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 40px 30px;
        gap: 10px;
        transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15);
        border-right: 1px solid rgba(212, 175, 55, 0.15);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        font-size: 1.1rem;
        padding: 12px 0;
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    /* Désactiver le megamenu hover sur tablette/mobile */
    .dropdown:hover .megamenu {
        opacity: 0;
        visibility: hidden;
        transform: none;
    }

    .dropdown {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0;
    }

    .megamenu {
        position: static;
        transform: none;
        width: 100%;
        background: rgba(248, 250, 252, 0.8);
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 12px;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        padding: 0;
        margin-top: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    }

    .megamenu::before {
        display: none;
    }

    .dropdown.mobile-open .megamenu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 10px;
        margin-top: 10px;
    }

    .megamenu-links a {
        padding: 12px 10px;
        border-radius: 8px;
    }

    /* Bouton Nous Contacter dans le menu mobile */
    .nav-links .btn-outline {
        margin-top: 10px;
        display: inline-block;
        width: auto;
    }
}

/* --- Mobile 768px : ajustements supplémentaires --- */
@media (max-width: 768px) {

    .section-padding {
        padding: 70px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .hero-actions {
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .contact-content {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 25px 15px;
    }

    .about-text h2 {
        font-size: 2rem;
    }
}

/* --- Très petits écrans 480px --- */
@media (max-width: 480px) {

    .logo-img {
        height: 40px;
    }

    .navbar {
        padding: 14px 0;
    }

    .section-padding {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 2.1rem;
        letter-spacing: -0.5px;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 22px;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .contact-content {
        padding: 20px 15px;
    }

    .contact-form {
        padding: 20px 12px;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .stat-box {
        padding: 20px 15px;
    }

    .stat-box h3 {
        font-size: 2rem;
    }

    .trust-item {
        font-size: 0.8rem;
    }
}
