/* ==============================================
   COMPONENTS.CSS – ALL PAGES
   Sections: numbers and names never change
   No !important, no duplicates, clean cascade
   ============================================== */

/* 01 RESET & VARIABLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #93d500;
    --primary-dark: #6ba200;
    --primary-glow: rgba(147, 213, 0, 0.3);
    --dark: #050505;
    --soft-dark: #0f0f0f;
    --card-dark-bg: #121212;
    --white-bg: #ffffff;
    --off-white-bg: #f7f7f5;
    --text-light: #ffffff;
    --text-dark: #111111;
    --text-muted-dark: #c0c0c0;
    --text-muted-light: #555555;
    --border-light: rgba(255, 255, 255, 0.08);
    --border-soft: rgba(0, 0, 0, 0.06);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text-light);
    overflow-x: hidden;
}

.container {
    width: min(1400px, 92%);
    margin: 0 auto;
}

section {
    position: relative;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
}

.section-title h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.2rem;
    margin: 16px 0 20px;
    line-height: 1.1;
    font-weight: 700;
}

.section-title p {
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 auto;
}

/* Background classes – define text colors */
.light-section {
    background: var(--white-bg);
    color: var(--text-dark);
}

.light-section .section-title p {
    color: var(--text-muted-light);
}

.light-section .section-title h2 {
    color: var(--text-dark);
}

.offwhite-section {
    background: var(--off-white-bg);
    color: var(--text-dark);
}

.offwhite-section .section-title h2 {
    color: var(--text-dark);
}

.offwhite-section .section-title p {
    color: var(--text-muted-light);
}

.dark-section {
    background: var(--dark);
    color: var(--text-light);
}

.dark-section .section-title h2 {
    color: white;
}

.dark-section .section-title p {
    color: #aaa;
}

/* 02 NAVBAR (fixed + mobile hamburger) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid var(--border-light);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo img {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    object-fit: cover;
}

.logo h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    line-height: 1;
}

.logo span {
    color: var(--primary);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 42px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 0.95rem;
    transition: 0.25s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-btn {
    background: var(--primary);
    color: black;
    padding: 12px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.25s;
}

.nav-btn:hover {
    background: #a0e820;
    transform: scale(1.02);
}

/* Mobile hamburger button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px;
}

/* 03 DROPDOWN MENU (stable, no gap) */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown>a {
    display: inline-block;
    padding-bottom: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    min-width: 220px;
    border-radius: 12px;
    z-index: 1000;
    top: 100%;
    left: 0;
    margin-top: 0;
    padding-top: 8px;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    display: block;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: rgba(147, 213, 0, 0.2);
    color: var(--primary);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* 04 HERO SECTION (full viewport, all pages) */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg,
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-content-center {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    padding: 100px 40px 60px;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    background: transparent;
}

.hero-content-center::before,
.hero-content-center::after {
    content: '';
    position: absolute;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--primary), transparent);
    opacity: 0.4;
}

.hero-content-center::before {
    top: 10px;
}

.hero-content-center::after {
    bottom: 10px;
}

.hero-content-center h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
}

.hero-content-center h1 span {
    color: var(--primary);
}

.hero-divider {
    width: 80px;
    height: 2px;
    background: var(--primary);
    margin: 20px auto 25px;
}

.hero-content-center p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 32px;
}

/* Service tags (homepage only) */
.service-tags {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    justify-content: center;
}

.service-tags span {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(147, 213, 0, 0.4);
    padding: 12px 24px;
    border-radius: 60px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.service-tags span:hover {
    background: rgba(147, 213, 0, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.primary-btn,
.secondary-btn {
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s;
    display: inline-block;
}

.primary-btn {
    background: var(--primary);
    color: black;
}

.primary-btn:hover {
    background: #a0e820;
    transform: translateY(-2px);
}

.secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: rgba(0, 0, 0, 0.3);
}

.secondary-btn:hover {
    border-color: var(--primary);
    background: rgba(147, 213, 0, 0.15);
}

/* 05 TRUST STRIPS */
.trust-strip-light {
    background: var(--off-white-bg);
    padding: 60px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.trust-item {
    background: white;
    padding: 28px 24px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.trust-item h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.trust-item p {
    color: #5a5a5a;
    line-height: 1.7;
    font-size: 0.9rem;
}

.trust-strip-dark {
    background: var(--dark);
    padding: 50px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.trust-grid-dark {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.trust-item-dark h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.trust-item-dark p {
    color: #ddd;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 06 SERVICES (floating cards) */
.services {
    background: var(--white-bg);
    padding: 100px 0;
}

.services .section-title h2 {
    color: var(--text-dark);
}

.services .section-title p {
    color: #444;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 50px;
}

.service-float-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white-bg);
    border-radius: 28px;
    margin: 15px 0;
}

.service-float-card.reverse {
    direction: rtl;
}

.service-float-card.reverse .service-float-content {
    direction: ltr;
}

.service-float-media {
    height: 380px;
    border-radius: 24px;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.15);
    margin: -15px 15px 15px -15px;
    overflow: hidden;
}

.service-float-card.reverse .service-float-media {
    margin: -15px -15px 15px 15px;
}

.service-float-media img,
.service-float-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-float-card:hover .service-float-media {
    transform: translateY(-5px);
}

.service-float-content {
    padding: 45px 40px;
    background: var(--white-bg);
    color: var(--text-dark);
}

.service-float-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    margin-bottom: 18px;
    color: #111;
}

.service-float-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    gap: 12px;
}

/* 07 MARQUEE */
.marquee-section {
    background: var(--dark);
    padding: 80px 0;
    overflow: hidden;
}

.marquee-section .section-title h2 {
    color: white;
}

.marquee-section .section-title p {
    color: #aaa;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
}

.marquee-track {
    display: flex;
    gap: 16px;
    animation: scrollRightToLeft 80s linear infinite;
    width: fit-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    flex-shrink: 0;
    width: 600px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.marquee-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.6) 100%);
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.marquee-item:hover {
    transform: scale(1.02);
}

@keyframes scrollRightToLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 08 SHOWCASE MASONRY (dark background) */
.showcase {
    background: var(--dark);
    position: relative;
}

.showcase .section-title h2 {
    color: white;
}

.showcase .section-title p {
    color: #aaa;
}

.masonry {
    column-count: 3;
    column-gap: 24px;
    margin-top: 60px;
}

.masonry-item {
    margin-bottom: 24px;
    border-radius: 24px;
    overflow: hidden;
    break-inside: avoid;
    transition: transform 0.3s ease;
    position: relative;
}

.masonry-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
}

.masonry-item:hover {
    transform: scale(1.02);
}

.masonry-item img,
.masonry-item video {
    width: 100%;
    border-radius: 24px;
    display: block;
}

/* Floating service focus card (homepage only) */
.floating-service-card {
    position: absolute;
    right: 5%;
    bottom: 80px;
    width: 320px;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 28px;
    border: 1px solid rgba(147, 213, 0, 0.3);
    z-index: 10;
    animation: floatCard 8s infinite;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.floating-service-card h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    color: white;
}

.floating-service-card h4::before {
    content: '✦';
    color: var(--primary);
}

.focus-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.focus-stat {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 16px;
    flex: 1;
}

.focus-stat small {
    display: block;
    color: var(--primary);
    font-size: 0.65rem;
    text-transform: uppercase;
}

.focus-stat strong {
    font-size: 0.85rem;
    color: white;
}

.progress-focus .progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-top: 8px;
}

.progress-fill {
    width: 74%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #b0d840);
}

/* 09 WHY US (light cards on light background) */
.why-us {
    background: var(--off-white-bg);
    padding: 100px 0;
}

.why-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.why-card-item {
    background: white;
    padding: 32px 28px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.why-card-item:hover {
    transform: translateY(-6px);
    border-left: 4px solid var(--primary);
}

.why-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.why-card-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.why-card-item p {
    color: #5a5a5a;
    line-height: 1.7;
}

/* Ensure Why Us heading is dark on light background */
.why-us .section-title h2 {
  color: var(--text-dark) !important;
}

/* 10 PROCESS (homepage style – light background, dark cards) */
.process {
    background: var(--white-bg);
}

.process .section-title h2 {
    color: var(--text-dark);
}

.process .section-title p {
    color: #444;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 15%;
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--primary), transparent);
    opacity: 0.4;
}

.process-card {
    background: var(--card-dark-bg);
    padding: 40px 32px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
}

.process-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.process-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.5;
    margin-bottom: 16px;
    font-family: 'Cormorant Garamond', serif;
}

.process-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: white;
}

.process-card p {
    color: var(--text-muted-dark);
    line-height: 1.7;
}

/* 11 FORM SECTION */
.form-section {
    background: var(--off-white-bg);
    padding: 100px 0;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-dark-bg);
    border-radius: 48px;
    padding: 50px 60px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-container h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    text-align: center;
    color: white;
    margin-bottom: 12px;
}

.form-container>p {
    text-align: center;
    color: #aaa;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: white;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    color: white;
    font-size: 0.95rem;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 18px;
    border-radius: 40px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.checkbox-item:hover {
    background: rgba(147, 213, 0, 0.15);
    border-color: var(--primary);
}

.checkbox-item span {
    color: white;
}

.submit-btn {
    background: var(--primary);
    color: black;
    width: 100%;
    padding: 16px;
    border-radius: 40px;
    font-weight: 700;
    margin-top: 16px;
    border: none;
    cursor: pointer;
}

.submit-btn:hover {
    background: #a0e820;
}

/* 12 FOOTER */
.footer {
    background: #050505;
    padding: 70px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
}

.footer h3 {
    margin-bottom: 24px;
    font-size: 1.2rem;
}

.footer p,
.footer a {
    color: #8a8a8a;
    line-height: 2;
    text-decoration: none;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 30px;
}

.social-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: 0.2s;
    text-decoration: none;
    color: white;
}

.social-icon:hover {
    background: var(--primary);
    color: black;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #6a6a6a;
}

/* 13 ADDITIONAL COMPONENTS FOR SERVICE PAGES */

/* INTRODUCTION (light background, dark text) */
.light-section .intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.light-section .intro-text h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.light-section .intro-text p {
    color: var(--text-muted-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.light-section .intro-media {
    border-radius: 28px;
    overflow: hidden;
    height: 450px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.light-section .intro-media img,
.light-section .intro-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INCLUDED GRID (offwhite background, dark text) */
.offwhite-section .included-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.offwhite-section .included-item {
    background: white;
    padding: 30px 20px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.offwhite-section .included-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.offwhite-section .included-item h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* WHY DARK GRID (dark background, light text) */
.dark-section .why-dark-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.dark-section .why-dark-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 32px 28px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.dark-section .why-dark-card:hover {
    transform: translateY(-5px);
    border-left: 4px solid var(--primary);
}

.dark-section .why-dark-card h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.dark-section .why-dark-card p {
    color: #ddd;
    line-height: 1.7;
}

/* PROCESS LIGHT (light background, dark text, dark cards) */
.light-section .process-grid-light {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

.light-section .process-grid-light::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 15%;
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--primary), transparent);
    opacity: 0.3;
}

.light-section .process-card-light {
    background: var(--card-dark-bg);
    padding: 40px 32px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
}

.light-section .process-card-light:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.light-section .process-number-light {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.5;
    margin-bottom: 16px;
    font-family: 'Cormorant Garamond', serif;
}

.light-section .process-card-light h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: white;
}

.light-section .process-card-light p {
    color: #ddd;
    line-height: 1.7;
}

/* FINAL CTA LIGHT (light background, dark text) */
.light-section .cta-box-light {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: white;
    border-radius: 48px;
    padding: 60px 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.light-section .cta-box-light h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.light-section .cta-box-light p {
    color: var(--text-muted-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* 15 RESPONSIVE RULES */
@media (max-width: 1200px) {
    .hero-content-center h1 {
        font-size: 3.2rem;
    }

    .trust-grid,
    .trust-grid-dark,
    .process-grid,
    .footer-grid,
    .why-cards-grid,
    .offwhite-section .included-grid,
    .dark-section .why-dark-grid,
    .light-section .process-grid-light {
        grid-template-columns: repeat(2, 1fr);
    }

    .masonry {
        column-count: 2;
    }

    .floating-service-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 40px auto 0;
        width: 100%;
        max-width: 380px;
    }

    .process-grid::before,
    .light-section .process-grid-light::before {
        display: none;
    }

    .form-container {
        padding: 40px 30px;
    }

    .marquee-item {
        width: 320px;
        height: 280px;
    }

    .light-section .intro-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    /* mobile nav */
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(16px);
        padding: 20px;
        gap: 20px;
        text-align: center;
        z-index: 999;
    }

    .nav-links.show {
        display: flex !important;
    }

    .dropdown-content {
        position: static;
        background: transparent;
        box-shadow: none;
        padding-top: 0;
        margin-top: 10px;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .nav-btn {
        margin-left: auto;
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    /* hero */
    .hero {
        min-height: 90vh;
    }

    .hero-content-center {
        padding: 70px 20px 40px;
        margin: 0 15px;
    }

    .hero-content-center h1 {
        font-size: 2.2rem;
    }

    .hero-content-center p {
        font-size: 1rem;
    }

    /* grids */
    .trust-grid,
    .trust-grid-dark,
    .process-grid,
    .footer-grid,
    .why-cards-grid,
    .offwhite-section .included-grid,
    .dark-section .why-dark-grid,
    .light-section .process-grid-light {
        grid-template-columns: 1fr;
    }

    .service-float-media {
        height: 300px;
    }

    .service-float-content {
        padding: 35px 30px;
    }

    .service-float-content h3 {
        font-size: 1.8rem;
    }

    .masonry {
        column-count: 1;
    }

    .checkbox-group {
        flex-direction: column;
        gap: 12px;
    }

    .form-container h2 {
        font-size: 2rem;
    }

    .marquee-item {
        width: 260px;
        height: 220px;
    }

    .light-section .intro-media {
        height: 300px;
    }
}

/* 16 MODAL STYLES (for all screen sizes) */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}
.modal.show {
  display: flex;
}
.modal-content {
  background: var(--card-dark-bg);
  margin: auto;
  padding: 40px 50px;
  border-radius: 32px;
  width: 90%;
  max-width: 600px;
  position: relative;
  border: 1px solid rgba(147, 213, 0, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.modal-close:hover {
  color: var(--primary);
}
.modal-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: white;
}
.modal-content p {
  color: #aaa;
  margin-bottom: 25px;
}
.modal-content .form-group {
  margin-bottom: 18px;
}
.modal-content .form-group label {
  color: white;
}
.modal-content .form-group input,
.modal-content .form-group textarea,
.modal-content .form-group select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
}
.modal-content .submit-btn {
  background: var(--primary);
  color: black;
  width: 100%;
  padding: 14px;
  border-radius: 40px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}
.modal-content .submit-btn:hover {
  background: #a0e820;
}

/* FINAL MOBILE OVERRIDES – add at the end of components.css */
@media (max-width: 768px) {
  /* Make Services dropdown clickable on mobile */
  .dropdown > a {
    pointer-events: auto !important;
  }
  .dropdown-content {
    display: none !important;
  }
  .dropdown.active .dropdown-content {
    display: block !important;
  }
}

@media (max-width: 768px) {
  /* Hamburger button */
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;  /* push to the right, but still left of button? Actually we want it on the left side */
    /* Better: keep it on the left near logo – but to keep layout, we can adjust */
  }
  /* To make menu left‑aligned when opened, we need to adjust .nav-links */
  .nav-links {
    display: none !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
    padding: 20px;
    gap: 20px;
    text-align: left;  /* ← left align text */
    z-index: 999;
  }
  .nav-links.show {
    display: flex !important;
  }
  /* Style for dropdown on mobile */
  .dropdown-content {
    position: static;
    background: transparent;
    box-shadow: none;
    padding-top: 0;
    margin-top: 10px;
    display: none;
  }
  .dropdown.active .dropdown-content {
    display: block;
  }
  /* Adjust the hamburger position – put it on the right side of the navbar */
  .nav-inner {
    position: relative;
  }
  .menu-toggle {
    order: 2;  /* moves to the right */
  }
  .nav-btn {
    order: 3;
    margin-left: auto;
  }
  .logo {
    order: 1;
    margin-right: auto;
  }
}

/* ==================== MOBILE NAVBAR BALANCE FIX ==================== */
@media (max-width: 768px) {
  /* Navbar container - ensure proper flex wrap */
  .nav-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0;
  }

  /* Logo image - reduce size for mobile */
  .logo img {
    width: 45px;
    height: 45px;
  }

  /* Logo text - adjust font size and line height */
  .logo h2 {
    font-size: 1.3rem;
    line-height: 1.2;
  }
  .logo span {
    font-size: 0.55rem;
    letter-spacing: 1px;
  }

  /* Hamburger button - consistent size */
  .menu-toggle {
    font-size: 1.6rem;
    padding: 6px;
    order: 2;
    margin-left: auto;
  }

  /* Consultation button - scale down */
  .nav-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
    order: 3;
    margin-left: 5px;
  }

  /* Logo container - keep left */
  .logo {
    order: 1;
    margin-right: auto;
    gap: 8px;
  }

  /* Adjust the logo text block */
  .logo div {
    line-height: 1.2;
  }

  /* Optional: reduce overall navbar padding */
  .navbar {
    padding: 0 5%;
  }
}

/* Modal Success Message */
.modal-success {
    background: linear-gradient(135deg, #0a5c2e, #0a7a3a);
    color: white;
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
}

.modal-success .success-icon {
    font-size: 64px;
    margin-bottom: 15px;
}

.modal-success h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: 700;
    margin-top: 0;
}

.modal-success .success-message {
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
}

.modal-success p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 10px;
}

.modal-success .close-success {
    background: white;
    color: #0a5c2e;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    margin-top: 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-success .close-success:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Modal Error Message */
.modal-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #dc3545;
}

.modal-error ul {
    margin: 0;
    padding-left: 20px;
}

/* Modal Dropdown Styles */
.modal-content select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: white;
    font-size: 14px;
}

.modal-content select option {
    background: #1a1a1a;
    color: white;
}

.modal-content select option:hover {
    background: var(--primary);
}