/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #f9f9f9;
}

/* Header Section Styling */
.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 10px 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 1000;
}

/* Logo Styling */
.logo-container .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    color: #001f3f;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.logo-text strong {
    font-size: 16px;
    font-weight: 800;
}

/* Navigation Menu (Desktop) */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-menu ul li {
    position: relative;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #334155;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
}

.nav-menu ul li a:hover {
    color: #0073e6;
}

.nav-menu i {
    font-size: 12px;
    color: #334155;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
    color: #0073e6;
}

/* Dropdown Menu Animation */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background-color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 8px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    border: 1px solid #e2e8f0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dropdown-menu li {
    width: 100%;
    overflow: hidden;
}

.dropdown-menu li a {
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    display: block;
    width: 100%;
    transition: background-color 0.2s ease, color 0.2s ease;
    margin-left: 1rem;
}

.dropdown-menu li a:hover {
    background-color: #f1f5f9;
    color: #0084c7;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Get a Quote Button */
.btn-quote {
    background-color: #0084c7;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 18px;
    border-radius: 8px 0px 8px 8px;
    display: inline-block;
    text-align: center;
    line-height: 1.2;
    transition: background-color 0.3s ease;
}

.btn-quote:hover {
    background-color: #006699;
}

/* Hide Hamburger Menu on Desktop */
.menu-toggle, 
.hamburger-btn {
    display: none;
}

/* ===================================================
   RESPONSIVE MEDIA QUERIES (Tablets & Mobile Devices)
   =================================================== */

/* Tablet & Mobile Devices (Below 992px) */
@media screen and (max-width: 992px) {
    .header-section {
        padding: 12px 20px;
        position: relative;
    }

    .logo-text {
        font-size: 15px;
    }

    .logo-img {
        height: 38px;
    }

    /* 1. Hide Get a Quote Button on Mobile/Tablet */
    .header-btn-container {
        display: none;
    }

    /* 2. Position Hamburger Icon on Top Right Corner with Margin */
    .hamburger-btn {
        display: block;
        font-size: 24px;
        color: #001f3f;
        cursor: pointer;
        position: absolute;
        top: 50%;
        right: 20px; /* Right margin */
        transform: translateY(-50%);
        padding: 5px;
        z-index: 1001;
    }

    .hamburger-btn .icon-close {
        display: none;
    }

    /* Flyout navigation menu styling */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #e2e8f0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
        gap: 10px;
    }

    .nav-menu ul li {
        width: 100%;
    }

    .nav-menu ul li a {
        padding: 10px 0;
        width: 100%;
        justify-content: space-between;
    }

    /* Mobile Dropdown Menu Adjustment */
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        padding-left: 15px !important;
        background-color: #f8fafc;
        display: none !important;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown:hover .dropdown-menu {
        display: flex !important;
    }

    /* Expand menu on toggle */
    .menu-toggle:checked ~ .nav-menu {
        max-height: 450px;
    }

    .menu-toggle:checked ~ .hamburger-btn .icon-open {
        display: none;
    }

    .menu-toggle:checked ~ .hamburger-btn .icon-close {
        display: block;
    }
}

/* Mobile Devices (Below 576px) */
@media screen and (max-width: 576px) {
    .logo-text {
        font-size: 13px;
    }

    .logo-text strong {
        font-size: 12px;
    }

    .logo-img {
        height: 32px;
    }

    .hamburger-btn {
        right: 15px; /* Adjust right margin for smaller screens */
        font-size: 22px;
    }
}













/* ===================================================
   WAVY TOP POOL FOOTER SECTION STYLES
   =================================================== */

/* Outer Footer Wrapper */
.site-footer-wrapper {
    width: 100%;
    background-color: #f4f6f9; /* Light contrast background */
    padding: 30px 15px 20px 15px;
    box-sizing: border-box;
    position: relative;
}

/* Pool Wave Top Line SVG Styling */
.site-footer-wave-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.site-footer-wave-container svg {
    position: relative;
    display: block;
    width: 100%;
    height: 60px; /* Adjust height of wave crests */
}

/* Inner Curvy Block */
.site-footer-curvy-block {
    background-color: #0b1120; /* Dark navy color matching the SVG wave color */
    border-radius: 0 0 16px 16px; /* Curves only on bottom corners, wave handles the top */
    padding: 20px 35px 28px 35px;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Left & Right Content Layout */
.site-footer-left {
    flex: 1 1 40%;
}

.site-footer-right {
    flex: 1 1 55%;
    text-align: right;
}

/* Typography */
.site-footer-left p,
.site-footer-right p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.site-footer-contact-info {
    margin-top: 4px !important;
}

/* Links (Phone & Email) */
.site-footer-right a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.site-footer-right a:hover {
    color: #38bdf8;
    text-decoration: underline;
}

/* ===================================================
   RESPONSIVE FOOTER STYLES (Mobile & Tablet)
   =================================================== */

@media screen and (max-width: 868px) {
    .site-footer-wrapper {
        padding: 15px 10px;
    }

    .site-footer-wave-container svg {
        height: 35px; /* Scaled down wave for mobile */
    }

    .site-footer-curvy-block {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px 20px 20px;
        border-radius: 0 0 12px 12px;
        gap: 12px;
    }

    .site-footer-left,
    .site-footer-right {
        text-align: center;
        flex: 1 1 100%;
    }

    .site-footer-left p,
    .site-footer-right p {
        font-size: 13px;
    }
}


















/* ===================================================
   HERO SECTION STYLES (Full Screen with Image Background)
   =================================================== */

.hero-section {
    position: relative;
    width: 100%;
    /* Full screen height minus header if needed, min-height handles screen sizing */
    min-height: 90vh; 
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 80px;
    box-sizing: border-box;

    /* Background Image Setup */
    background-image: url('../images/hero-bg.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Dark Overlay to ensure readability over the background image */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 36, 56, 0.92) 0%, rgba(15, 23, 42, 0.85) 100%);
    z-index: 1;
}

/* Content Container */
.hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    color: #ffffff;
}

/* Top Pill Badge */
.hero-badge {
    display: inline-block;
    border: 1px solid #0084c7;
    background-color: rgba(0, 132, 199, 0.15);
    padding: 8px 22px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.hero-badge span {
    color: White;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Main Heading */
.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

/* Subtitle Description */
.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 35px;
    max-width: 820px;
    font-weight: 400;
}

/* Button Group */
.hero-btn-group {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* Primary Button (Filled Blue) */
.btn-primary {
    background-color: #0084c7;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid #0084c7;
}

.btn-primary:hover {
    background-color: #006699;
    border-color: #006699;
    transform: translateY(-2px);
}

/* Secondary Button (Outlined) */
.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    border: 1px solid #475569;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #38bdf8;
    color: #38bdf8;
    background-color: rgba(56, 189, 248, 0.05);
    transform: translateY(-2px);
}

/* ===================================================
   HERO RESPONSIVE STYLES (Mobile & Tablet)
   =================================================== */

@media screen and (max-width: 992px) {
    .hero-section {
        padding: 0 40px;
        min-height: 95vh;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-description {
        font-size: 16px;
    }
}

@media screen and (max-width: 576px) {
    .hero-section {
        padding: 40px 20px;
        justify-content: center;
        min-height: 70vh;
    }

    .hero-badge {
        padding: 6px 14px;
    }

    .hero-badge span {
        font-size: 10.5px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.25;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-btn-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .btn-primary, 
    .btn-secondary {
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
}










/* ===================================================
   QUALITY COMMITMENT SECTION STYLES
   =================================================== */

.card-image-box svg {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.5s ease;
}

/* Zoom Graphic on Card Hover */
.quality-card:hover .card-image-box svg {
    transform: scale(1.06);
}

.quality-section {
    background-color: #ffffff;
    padding: 80px 20px;
    width: 100%;
    box-sizing: border-box;
}

.quality-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Header */
.quality-header {
    text-align: center;
    margin-bottom: 50px;
}

.quality-subtitle {
    color: #0084c7;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.quality-title {
    color: #0b1e36;
    font-size: 38px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

/* Grid Layout */
.quality-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-left: 10rem;
    margin-right: 10rem;
}

/* Card Outer Wrapper */
.quality-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

/* Top Image Container */
.card-image-box {
    width: 100%;
    height: 200px;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.quality-card:hover .card-image-box img {
    transform: scale(1.05); /* Smooth image zoom on hover */
}

/* Bottom Text Content */
.card-content {
    padding: 24px;
    background-color: #ffffff;
}

.card-title {
    color: #001f3f;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-text {
    color: #475569;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

/* ===================================================
   SCROLL ANIMATION EFFECTS
   =================================================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================
   RESPONSIVE MEDIA QUERIES
   =================================================== */

@media screen and (max-width: 992px) {
    .quality-grid{
        margin: 0;
    }
    .quality-title {
        font-size: 30px;
    }

    .card-image-box {
        height: 180px;
    }
}

@media screen and (max-width: 768px) {
    .quality-grid{
        margin: 0;
    }
    .quality-section {
        padding: 50px 15px;
    }

    .quality-grid {
        grid-template-columns: 1fr; /* Single column on mobile & small tablets */
        gap: 20px;
    }

    .quality-title {
        font-size: 24px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-text {
        font-size: 13.5px;
    }
}

/* ===================================================
   MOBILE STACK ON SCROLL EFFECT (Media Query <= 768px)
   =================================================== */

@media screen and (max-width: 768px) {
    .quality-section {
        padding: 50px 15px 80px 15px;
    }

    .quality-grid {
        display: flex;
        flex-direction: column;
        gap: 25px;
        position: relative;
    }

    /* Make cards sticky so they stack over each other while scrolling */
    .quality-card {
        position: sticky;
        top: 80px; /* Base offset from header */
        z-index: 1;
        background-color: #ffffff;
        border: 1px solid #cbd5e1;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.08), 0 10px 25px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    /* Elevate Z-Index for sequential stacking */
    .quality-card:nth-child(1) { z-index: 1; }
    .quality-card:nth-child(2) { z-index: 2; }
    .quality-card:nth-child(3) { z-index: 3; }
    .quality-card:nth-child(4) { z-index: 4; }

    /* Compact image box height for mobile sticky cards */
    .card-image-box {
        height: 160px;
    }

    .card-content {
        padding: 18px 16px;
    }
}




/* ===================================================
   STATS COUNTER SECTION STYLES
   =================================================== */

.stats-section {
    background-color: #f4f6f9; /* Light background outer padding */
    padding: 30px 20px;
    width: 100%;
    box-sizing: border-box;
}

.stats-container {
    background-color: #0b1120; /* Dark navy bar matching image */
    border-radius: 12px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-box {
    text-align: center;
    flex: 1;
}

.stat-number {
    color: #38bdf8; /* Bright cyan/blue numbers */
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 8px 0;
    line-height: 1;
    display: inline-block;
    transition: transform 0.3s ease;
}

.stat-plus {
    color: #38bdf8;
    font-size: 40px;
    font-weight: 700;
}

.stat-label {
    color: #94a3b8; /* Soft slate color */
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

/* Vertical Divider Lines */
.stat-divider {
    width: 1px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.12);
}

/* ===================================================
   ZOOM IN / ZOOM OUT POP ANIMATION
   =================================================== */

@keyframes zoomPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.25); /* Zoom In */
    }
    100% {
        transform: scale(1);    /* Zoom Out to real size */
    }
}

.stat-number.zoom-pulse {
    animation: zoomPulse 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* ===================================================
   RESPONSIVE STYLES (Mobile & Tablet)
   =================================================== */

@media screen and (max-width: 868px) {
    .stats-container {
        flex-direction: column;
        gap: 25px;
        padding: 30px 15px;
    }

    .stat-divider {
        width: 80%;
        height: 1px; /* Vertical dividers turn horizontal on mobile */
    }

    .stat-number {
        font-size: 38px;
    }

    .stat-label {
        font-size: 12px;
    }
}






/* ===================================================
   3D COVERFLOW CUSTOMER REVIEWS CAROUSEL
   =================================================== */

.reviews-section {
    background-color: #ffffff;
    padding: 80px 20px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.reviews-header {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-subtitle {
    color: #0084c7;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.reviews-title {
    color: #0b1e36;
    font-size: 38px;
    font-weight: 800;
    margin: 0;
}

/* 3D Stage & Wrapper Setup */
.reviews-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    margin-top: 10px;
}

/* Track Container */
.reviews-track {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Base Review Card */
.review-card {
    position: absolute;
    width: 420px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 28px;
    box-sizing: border-box;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    opacity: 0;
    pointer-events: none;
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Card State 1: Active (Front, Scaled Up, Clear) */
.review-card.active {
    opacity: 1;
    z-index: 10;
    transform: translateX(0) scale(1.1);
    pointer-events: auto;
    border-color: #38bdf8;
    box-shadow: 0 20px 40px rgba(0, 132, 199, 0.15);
}

/* Card State 2: Left Card (Set Backward) */
.review-card.prev {
    opacity: 0.55;
    z-index: 5;
    transform: translateX(-60%) scale(0.85);
    filter: blur(1px);
}

/* Card State 3: Right Card (Set Backward) */
.review-card.next {
    opacity: 0.55;
    z-index: 5;
    transform: translateX(60%) scale(0.85);
    filter: blur(1px);
}

/* Card State 4: Hidden Cards (Behind) */
.review-card.hidden {
    opacity: 0;
    z-index: 1;
    transform: translateX(0) scale(0.6);
}

/* Card Internal Content Formatting */
.review-stars {
    color: #f59e0b;
    font-size: 18px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.review-quote {
    color: #334155;
    font-size: 15px;
    line-height: 1.6;
    font-style: italic;
    margin: 0 0 20px 0;
}

.review-author-box {
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

.author-name {
    color: #0b1e36;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 2px 0;
}

.author-company {
    color: #0084c7;
    font-size: 13.5px;
    font-weight: 600;
}

/* Pagination Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    background-color: #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background-color: #0084c7;
    width: 26px;
    border-radius: 10px;
}

/* ===================================================
   RESPONSIVE LAYOUT (Mobile & Tablet)
   =================================================== */

@media screen and (max-width: 768px) {
    .reviews-section {
        padding: 50px 15px;
    }

    .reviews-title {
        font-size: 26px;
    }

    .reviews-carousel-wrapper {
        height: 340px;
    }

    .review-card {
        width: 88%;
        padding: 22px 20px;
    }

    /* Adjusted transforms for mobile screens */
    .review-card.prev {
        transform: translateX(-25%) scale(0.85);
        opacity: 0.25;
    }

    .review-card.next {
        transform: translateX(25%) scale(0.85);
        opacity: 0.25;
    }

    .review-card.active {
        transform: translateX(0) scale(1);
    }
}





/* ===================================================
   GET A QUOTE ANIMATED POPUP MODAL & ANIMATIONS
   =================================================== */

.quote-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 30, 54, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.quote-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Box */
.quote-modal-card {
    position: relative;
    width: 90%;
    max-width: 460px;
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(0.8) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.quote-modal-overlay.active .quote-modal-card {
    transform: scale(1) translateY(0);
}

.quote-modal-title {
    color: #0b1e36;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px 0;
    text-align: center;
}

.quote-modal-subtitle {
    color: #64748b;
    font-size: 13.5px;
    text-align: center;
    margin: 0 0 24px 0;
}

/* Form Styles */
.quote-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    color: #0b1e36;
    font-size: 13px;
    font-weight: 700;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #0084c7;
    box-shadow: 0 0 0 3px rgba(0, 132, 199, 0.15);
}

/* Buttons */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.btn-cancel {
    flex: 1;
    background: #f1f5f9;
    color: #475569;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-cancel:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-submit {
    flex: 1.5;
    background: #0084c7;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.btn-submit:hover {
    background: #00669c;
}

/* ===================================================
   1. CANCEL BREAK/SPLIT ANIMATION
   =================================================== */

.crack-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #ef4444;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) scaleY(0);
    transition: transform 0.2s ease, opacity 0.2s;
    z-index: 20;
}

.quote-modal-card.anim-break-crack .crack-line {
    opacity: 1;
    transform: translateX(-50%) scaleY(1);
}

.quote-modal-card.anim-break-crack {
    animation: breakShatter 0.7s forwards ease-in-out;
}

@keyframes breakShatter {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    30% {
        transform: scale(1.02) rotate(2deg);
    }
    100% {
        transform: scale(0.6) translateY(250px) rotate(-25deg);
        opacity: 0;
        filter: blur(4px);
    }
}

/* ===================================================
   2. SUBMIT ENVELOPE WRAP ANIMATION
   =================================================== */

.envelope-wrapper {
    position: absolute;
    inset: 0;
    background: #0084c7;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    z-index: 30;
    transform: scale(0.2);
    transition: all 0.4s ease;
}

.quote-modal-card.anim-envelope-wrap .envelope-wrapper {
    opacity: 1;
    transform: scale(1);
}

.quote-modal-card.anim-envelope-wrap {
    animation: envelopeFlyAway 1.3s forwards ease-in-out;
}

@keyframes envelopeFlyAway {
    0% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
    40% {
        transform: scale(0.85) rotate(-5deg);
        opacity: 1;
    }
    100% {
        transform: scale(0.2) translateY(-700px) rotate(20deg);
        opacity: 0;
    }
}










/* ===================================================
   3D PRODUCT SHOWCASE CAROUSEL
   =================================================== */

.products-section {
    background: #f8fafc;
    padding: 80px 20px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
}

.products-header {
    text-align: center;
    margin-bottom: 40px;
}

.products-subtitle {
    color: #0084c7;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.products-title {
    color: #0b1e36;
    font-size: 38px;
    font-weight: 800;
    margin: 0;
}

/* 3D Stage Setup */
.products-carousel-stage {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.products-track {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Base Product Card */
.product-card {
    position: absolute;
    width: 480px;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-sizing: border-box;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    pointer-events: none; /* Strictly disables clicks on inactive cards */
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease, filter 0.8s ease;
}

/* 1. ACTIVE CARD (Front & Center) */
.product-card.active {
    opacity: 1;
    z-index: 100 !important; /* Force high z-index above all 3D layers */
    transform: translateX(0) translateZ(100px) rotateY(0deg) scale(1.05);
    pointer-events: auto !important; /* Re-enables all click interactions */
    border-color: #38bdf8;
    box-shadow: 0 25px 50px rgba(0, 132, 199, 0.2);
}

/* 2. LEFT CARD */
.product-card.prev {
    opacity: 0.5;
    z-index: 5;
    transform: translateX(-65%) translateZ(-100px) rotateY(25deg) scale(0.8);
    filter: blur(1.5px);
    pointer-events: none !important;
}

/* 3. RIGHT CARD */
.product-card.next {
    opacity: 0.5;
    z-index: 5;
    transform: translateX(65%) translateZ(-100px) rotateY(-25deg) scale(0.8);
    filter: blur(1.5px);
    pointer-events: none !important;
}

/* 4. HIDDEN CARDS */
.product-card.hidden {
    opacity: 0;
    z-index: 1;
    transform: translateX(0) translateZ(-300px) scale(0.5);
    pointer-events: none !important;
}

/* Image Formatting */
.product-image-box {
    width: 130px;
    height: 130px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Details Section */
.product-details {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 20;
}

/* Detail Items - Uses visibility instead of display:none to protect hit-testing */
.detail-item {
    visibility: hidden;
    opacity: 0;
    transform: scale(0.3);
    margin: 6px 0;
    color: #334155;
    font-size: 14px;
}

.detail-name {
    color: #0b1e36;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.detail-btn-box {
    margin-top: 15px;
    position: relative;
    z-index: 30;
}

/* Explore Anchor Tag (Explicit High Hit-Box) */
.btn-explore-product {
    position: relative;
    z-index: 99 !important;
    background: #0084c7;
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    line-height: 1;
    box-sizing: border-box;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 132, 199, 0.25);
    pointer-events: auto !important; /* Ensure direct click registration */
}

.btn-explore-product i {
    pointer-events: none;
}

.btn-explore-product:hover,
.btn-explore-product:focus,
.btn-explore-product:visited {
    color: #ffffff;
    text-decoration: none;
}

.btn-explore-product:hover {
    background: #00669c;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 132, 199, 0.35);
}

/* Clean Pop-In Animations for Active Card */
@keyframes detailZoomPop {
    0% {
        visibility: visible;
        opacity: 0;
        transform: scale(0.2);
    }
    60% {
        visibility: visible;
        opacity: 1;
        transform: scale(1.18);
    }
    100% {
        visibility: visible;
        opacity: 1;
        transform: scale(1);
    }
}

.product-card.active .detail-item {
    animation: detailZoomPop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.product-card.active .detail-item:nth-child(1) { animation-delay: 0.15s; }
.product-card.active .detail-item:nth-child(2) { animation-delay: 0.25s; }
.product-card.active .detail-item:nth-child(3) { animation-delay: 0.35s; }
.product-card.active .detail-item:nth-child(4) { animation-delay: 0.45s; }
.product-card.active .detail-item:nth-child(5) { animation-delay: 0.55s; }
.product-card.active .detail-item:nth-child(6) { animation-delay: 0.65s; }

/* Navigation Controls & Dots */
.products-controls {
    position: relative;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 35px;
}

.control-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0b1e36;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.control-btn:hover {
    background: #0084c7;
    color: #ffffff;
    border-color: #0084c7;
}

.product-dots {
    display: flex;
    gap: 10px;
}

.product-dots .dot {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-dots .dot.active {
    background: #0084c7;
    width: 26px;
    border-radius: 10px;
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .products-section {
        padding: 50px 15px;
    }

    .products-title {
        font-size: 26px;
    }

    .products-carousel-stage {
        height: 440px;
    }

    .product-card {
        width: 88%;
        padding: 20px;
    }

    .product-card.prev {
        transform: translateX(-30%) translateZ(-50px) rotateY(15deg) scale(0.8);
        opacity: 0.2;
    }

    .product-card.next {
        transform: translateX(30%) translateZ(-50px) rotateY(-15deg) scale(0.8);
        opacity: 0.2;
    }

    .detail-name {
        font-size: 19px;
    }
}


/* Container for the product image */
.product-image-box {
    width: 140px;
    height: 140px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff; /* White background matching the card */
    border-radius: 12px;
    overflow: hidden;
}

/* 1. For White Powders/Flakes/Crystals with Black Backgrounds */
.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Automatically makes black backgrounds transparent over white cards */
    /* mix-blend-mode: screen;  */
    filter: contrast(110%) brightness(95%);
}

/* 2. Specific fix for the Bromine bottle photo (Real-world photo background) */
.product-card:nth-child(1) .product-img {
     mix-blend-mode: normal; /*Disables blending for real photos */
    border-radius: 10px;
}


/* ===================================================
   ABOUT PAGE HERO SECTION (FOREST THEME ADAPTATION)
   =================================================== */

.about-hero-section {
    position: relative;
    width: 100%;
    min-height: 85vh;
    padding: 100px 20px 80px;
    box-sizing: border-box;
    /* Direct URL to your local green forest image with fallback gradient */
    background-image: url('../images/about-hero-bg.jpeg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #061e14; /* Deep forest dark green fallback */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    overflow: hidden;
}

/* Forest Emerald Overlay for high contrast and seamless integration */
.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark forest green tint layered over the forest photo */
    background: linear-gradient(
        135deg, 
        rgba(4, 28, 18, 0.88) 0%, 
        rgba(6, 40, 25, 0.80) 50%, 
        rgba(2, 20, 12, 0.90) 100%
    );
    z-index: 1;
}

.about-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Location Pill Badge - Emerald Accent */
.about-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #34d399; /* Vibrant emerald green */
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Main Heading */
.about-hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    max-width: 950px;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Paragraph Description */
.about-hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: #e2e8f0;
    max-width: 850px;
    margin: 0 0 50px 0;
    font-weight: 400;
}

/* Glassmorphism Stats Cards Container */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1050px;
}

/* Individual Stat Card */
.stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 24px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: #34d399;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #34d399; /* Emerald Highlight Color */
    margin-bottom: 8px;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #cbd5e1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===================================================
   RESPONSIVE LAYOUT
   =================================================== */

@media screen and (max-width: 992px) {
    .about-hero-title {
        font-size: 38px;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media screen and (max-width: 576px) {
    .about-hero-section {
        padding: 70px 15px 50px;
    }

    .about-hero-title {
        font-size: 28px;
    }

    .about-hero-description {
        font-size: 15px;
        margin-bottom: 35px;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 18px 10px;
    }

    .stat-number {
        font-size: 24px;
    }
}









/* ===================================================
   EMERALD FOREST TICKER BELTS (HORIZONTAL)
   =================================================== */

.ticker-belts-container {
    width: 100%;
    overflow: hidden;
    background: #02120b; /* Deep forest dark border */
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.4), 0 10px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

/* Base Belt Style */
.ticker-belt {
    width: 100%;
    height: 46px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
    font-family: 'Arial Black', sans-serif, system-ui;
}

/* TOP BELT: Vibrant Emerald Green */
.ticker-belt-top {
    background-color: #10b981;
    color: #022c22;
    background-image: repeating-linear-gradient(
        -45deg,
        #10b981,
        #10b981 15px,
        #059669 15px,
        #059669 30px
    );
}

/* BOTTOM BELT: Mint Green Accent */
.ticker-belt-bottom {
    background-color: #34d399;
    color: #022c22;
    background-image: repeating-linear-gradient(
        45deg,
        #34d399,
        #34d399 15px,
        #10b981 15px,
        #10b981 30px
    );
}

/* Track and Motion Container */
.ticker-track {
    display: flex;
    width: max-content;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-right: 25px;
}

/* Text and Badge Formatting */
.ticker-badge {
    background: #022c22; /* Dark forest green badge background */
    color: #34d399; /* Bright mint text */
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-left: 10px;
}

.ticker-item {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticker-item strong {
    color: #02120b;
    font-weight: 900;
}

.ticker-divider {
    font-weight: 900;
    color: #022c22;
    opacity: 0.4;
    font-size: 16px;
}

/* ===================================================
   ANIMATIONS (Opposite Directions)
   =================================================== */

.track-left {
    animation: scrollLeft 24s linear infinite;
}

.track-right {
    animation: scrollRight 24s linear infinite;
}

@keyframes scrollLeft {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

.ticker-belt:hover .ticker-track {
    animation-play-state: paused;
}






/* ===================================================
   STACKED CARDS ON SCROLL SECTION
   =================================================== */

.stacked-cards-section {
    position: relative;
    width: 100%;
    padding: 20px 20px 80px 20px;
    box-sizing: border-box;
    margin: 0;
}

.stacked-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Base Card Style */
.stacked-card {
    position: sticky;
    top: 100px; /* Distance from top where cards stack */
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 35px;
    box-sizing: border-box;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08), 0 15px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Stacking Order & Distinct Accent Colors */
.card-1 {
    z-index: 1;
    top: 100px;
    border-top: 4px solid #0369a1;
}

.card-2 {
    z-index: 2;
    top: 120px; /* Slight offset so top card header remains visible */
    border-top: 4px solid #0369a1;
}

.card-3 {
    z-index: 3;
    top: 140px;
    border-top: 4px solid #0369a1;
}

/* Card Header Components */
.card-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.card-badge {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0369a1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-2 .card-badge { color: #0369a1; }
.card-3 .card-badge { color: #0369a1; }

.card-number {
    font-size: 28px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.12);
}

.card-title {
    font-size: 20px;
    font-weight: 800;
    color: #000000; /* Crisp Black Title */
    margin: 0 0 14px 0;
}

/* Paragraph Content */
.card-description {
    font-size: 15.5px;
    line-height: 1.8;
    color: #000000; /* Crisp Black Body Text */
    margin: 0 0 20px 0;
}

.card-description strong {
    color: #0369a1;
    font-weight: 700;
}

.card-2 .card-description strong { color: #0369a1; }
.card-3 .card-description strong { color: #0369a1; }

/* Bottom Tags */
.card-footer-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-item {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===================================================
   MOBILE SCREEN OPTIMIZATIONS (ZERO GAPS)
   =================================================== */

@media screen and (max-width: 768px) {
    .stacked-cards-section {
        padding: 22px 12px 40px 12px; /* Flushed to top to prevent gaps */
    }

    .stacked-container {
        gap: 20px;
    }

    .stacked-card {
        padding: 22px 20px;
        border-radius: 16px;
    }

    .card-1 { top: 70px; }
    .card-2 { top: 85px; }
    .card-3 { top: 100px; }

    .card-title {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .card-description {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 16px;
    }
}




/* ===================================================
   GROWTH JOURNEY SECTION (FULL UPDATED CSS)
   =================================================== */

/* Outer Section Layout */
.journey-section {
    position: relative;
    width: 100%;
    padding: 60px 20px 100px 20px;
    background: transparent;
    box-sizing: border-box;
}

.journey-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styling */
.journey-header {
    margin-bottom: 50px;
}

.journey-main-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.title-icon {
    color: #ef4444; /* Accent Red for Growth Icon */
    font-size: 22px;
}

/* Timeline Layout Wrapper */
.timeline-wrapper {
    position: relative;
    padding-top: 15px;
}

/* Background Track & Animated Fill Bar (Desktop Horizontal) */
.timeline-track {
    position: absolute;
    top: 33px; /* Centers perfectly with node circles */
    left: 4%;
    right: 4%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    z-index: 1;
    overflow: hidden;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0284c7, #00d2ff, #ef4444);
    border-radius: 4px;
    transition: width 0.1s linear, height 0.1s linear;
}

/* Steps Grid Layout (6 Years + 1 Pointer) */
.timeline-steps {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, 1fr) auto 1fr;
    align-items: start;
    gap: 10px;
}

.journey-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Timeline Node Points */
.node-point {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.node-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: color 0.3s ease;
}

/* Node Text Content */
.step-content {
    opacity: 0.5;
    transform: translateY(6px);
    transition: all 0.3s ease;
}

.step-year {
    font-size: 17px;
    font-weight: 800;
    color: #0284c7;
    display: block;
    margin-bottom: 4px;
}

.step-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #334155;
    margin: 0;
    max-width: 150px;
}

/* Active & Passed Scroll Trigger States */
.journey-item.active .node-point,
.journey-item.passed .node-point {
    border-color: #0284c7;
    background: #0284c7;
    box-shadow: 0 0 12px rgba(2, 132, 199, 0.4);
    transform: scale(1.1);
}

.journey-item.active .node-icon,
.journey-item.passed .node-icon {
    color: #ffffff;
}

.journey-item.active .step-content,
.journey-item.passed .step-content {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================
   POINTER BETWEEN 2026 AND 2027
   =================================================== */

.journey-pointer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 3px;
}

.current-pointer-wrapper {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.pointer-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ef4444;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
}

.pointer-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.6);
    animation: pulseRing 1.8s infinite ease-out;
    z-index: 1;
}

.pointer-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: #ef4444;
    letter-spacing: 0.5px;
    white-space: nowrap;
    background: rgba(239, 68, 68, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

@keyframes pulseRing {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* ===================================================
   MOBILE SCREEN OPTIMIZATIONS (CENTERED VERTICAL LINE)
   =================================================== */

@media screen and (max-width: 768px) {
    .journey-section {
        padding: 30px 16px 60px 16px;
    }

    .timeline-wrapper {
        padding-top: 0;
    }

    /* Centered Vertical Track Line */
    .timeline-track {
        top: 20px;
        bottom: 20px;
        left: 17px; /* Aligns center with 38px nodes (17px + 2px = 19px center) */
        right: auto;
        width: 4px;
        height: auto;
    }

    .timeline-progress {
        width: 100%;
        height: 0%;
        background: linear-gradient(180deg, #0284c7, #00d2ff, #ef4444);
    }

    .timeline-steps {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .journey-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 18px;
    }

    /* Precise Alignment for Mobile Nodes */
    .node-point {
        margin-bottom: 0;
        flex-shrink: 0;
        margin-left: 0;
    }

    /* Centered Pointer Item on Mobile */
    .journey-pointer-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 21px;
        padding-top: 0;
        margin-left: 3px; /* Centers 32px pointer with 38px nodes */
    }

    .current-pointer-wrapper {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .step-desc {
        max-width: 100%;
    }
}












/* ===================================================
   CERTIFICATES SHOWCASE SECTION (ADAPTIVE PHOTO & CLEAN BADGE)
   =================================================== */

.certificates-section {
    position: relative;
    width: 100%;
    padding: 80px 0 100px 0;
    background: transparent;
    overflow: hidden;
    box-sizing: border-box;
}

.cert-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styling */
.cert-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px auto;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.2);
    border-radius: 20px;
    color: #0284c7;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.cert-badge i {
    font-size: 13px;
    color: #0284c7;
}

.cert-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 10px 0;
}

.cert-subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Slider Track & Smooth Animation */
.cert-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
}

.cert-track {
    display: flex;
    gap: 28px;
    width: max-content;
    /* Smooth, slow scroll speed (45s loop) */
    animation: infiniteScroll 45s linear infinite;
    pointer-events: auto;
}

/* Maintain continuous scrolling without pausing on hover */
.cert-track:hover {
    animation-play-state: running !important;
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 14px));
    }
}

/* Card Container (3 Cards on Desktop) */
.cert-card {
    width: calc((1200px - 40px - 56px) / 3);
    flex-shrink: 0;
    box-sizing: border-box;
}

/* Main Card Frame */
.cert-frame {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cert-frame:hover {
    border-color: #cbd5e1;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
    transform: translateY(-4px);
}

/* Clean Top-Left Company Badge Container (Pin Removed) */
.cert-company-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 5;
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.badge-logo {
    height: 18px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Adaptive Image Canvas Area (Supports Portrait & Landscape naturally) */
.cert-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    padding: 12px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cert-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Automatically scales photo inside card without clipping */
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.06));
}

/* Bottom Information & Download Panel */
.cert-info-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
}

.cert-text {
    display: flex;
    flex-direction: column;
}

.cert-name {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.cert-type {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    margin-top: 2px;
}

/* PDF Download Button */
.cert-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #0284c7;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cert-download-btn i {
    font-size: 12px;
}

.cert-download-btn:hover {
    background: #0369a1;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* ===================================================
   MOBILE RESPONSIVENESS (1 ADAPTIVE CARD VIEW)
   =================================================== */

@media screen and (max-width: 768px) {
    .certificates-section {
        padding: 50px 0 70px 0;
    }

    .cert-title {
        font-size: 22px;
    }

    .cert-subtitle {
        font-size: 13.5px;
    }

    .cert-track {
        gap: 18px;
        animation-duration: 35s; /* Responsive speed for mobile */
    }

    @keyframes infiniteScroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-50% - 9px));
        }
    }

    /* Displays 1 Certificate full width on Mobile */
    .cert-card {
        width: calc(100vw - 40px);
    }

    .cert-company-badge {
        top: 20px;
        left: 20px;
        padding: 4px 8px;
    }

    .badge-logo {
        height: 15px;
    }

    /* Maintains proportions on mobile while adapting to image orientation */
    .cert-img-wrapper {
        aspect-ratio: 4 / 3;
        max-height: 60vh;
    }

    .cert-name {
        font-size: 13px;
    }

    .cert-type {
        font-size: 11px;
    }

    .cert-download-btn {
        padding: 7px 10px;
        font-size: 11px;
    }
}





/* ===================================================
   CONTACT US PAGE STYLES (ALIGNED FORM & DUAL MAPS)
   =================================================== */

/* * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: #f8fafc;
    color: #334155;
}

.contact-hero {
    position: relative;
    width: 100%;
    height: 380px;
    background: url('images/bromine-contact.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}



.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding: 0 20px;
    margin-top: -40px;
}

.hero-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: #e2e8f0;
    line-height: 1.6;
}

.contact-card-section {
    position: relative;
    width: 100%;
    margin-top: -120px;
    padding-bottom: 60px;
    z-index: 10;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    overflow: hidden;
}


.contact-info-col {
    flex: 0 0 38%;
    padding: 50px 40px;
    background: #ffffff;
}

.info-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.info-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 32px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    width: 44px;
    height: 44px;
    background: #0066ff;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.info-text h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.info-text p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.contact-form-col {
    flex: 1;
    padding: 50px 45px;
    background: #fafcfd;
    border-left: 1px solid #f1f5f9;
}

.form-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 28px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: flex;
    gap: 18px;
    width: 100%;
}

.form-row.full-width {
    flex-direction: column;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.form-group label {
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: #f1f5f9;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13.5px;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
    background: #ffffff;
    border-color: #0066ff;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    position: relative;
    width: 100%;
    height: 48px;
    background: #0066ff;
    color: #ffffff;
    border: none;
    border-radius: 24px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    margin-top: 6px;
    transition: background-color 0.4s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn:hover {
    background: #0052cc;
}

.btn-text {
    transition: opacity 0.2s ease;
}

.flying-mail-icon {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-size: 18px;
    color: #ffffff;
    opacity: 0;
    pointer-events: none;
}

.sent-state {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sent-text {
    font-weight: 700;
}

.submit-btn.animating .btn-text {
    opacity: 0;
}

.submit-btn.animating .flying-mail-icon {
    animation: flyAcross 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes flyAcross {
    0% {
        left: -30px;
        top: 60%;
        opacity: 1;
        transform: translateY(-50%) rotate(-15deg) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: translateY(-80%) rotate(10deg) scale(1.2);
    }
    100% {
        left: 105%;
        top: 30%;
        opacity: 0;
        transform: translateY(-50%) rotate(-10deg) scale(0.9);
    }
}


.submit-btn.sent {
    background: #16a34a !important;
}

.submit-btn.sent .sent-state {
    opacity: 1;
    transform: scale(1);
    animation: blinkText 0.8s ease-in-out infinite alternate;
}

@keyframes blinkText {
    0% { opacity: 1; }
    100% { opacity: 0.2; }
}


.dual-map-section {
    width: 100%;
    padding: 20px 0 80px 0;
}

.map-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 24px;
}

.map-card {
    flex: 1;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    border: 1px solid #e2e8f0;
}

.map-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.map-header i {
    font-size: 18px;
    color: #0066ff;
}

.map-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.map-card iframe {
    border-radius: 10px;
    display: block;
}


@media screen and (max-width: 900px) {
    .contact-card {
        flex-direction: column;
    }

    .contact-info-col, 
    .contact-form-col {
        flex: 1 1 100%;
        padding: 35px 25px;
    }

    .contact-form-col {
        border-left: none;
        border-top: 1px solid #f1f5f9;
    }

    .form-row {
        flex-direction: column;
        gap: 18px;
    }

    .map-container {
        flex-direction: column;
        gap: 20px;
    }
} */








/* ===================================================
   R&D PAGE - SCOPED STYLES & FLOATING SVG ANIMATION
   =================================================== */

.rd-page {
    background-color: #f8fafc;
    color: #334155;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    width: 100%;
}

/* ---------------- Floating Animated SVGs Container ---------------- */
.rd-page .floating-svg-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.rd-page .scroll-svg {
    position: absolute;
    width: 65px;
    height: 65px;
    color: rgba(2, 132, 199, 0.18);
    transition: transform 0.2s cubic-bezier(0.1, 1, 0.1, 1), opacity 0.3s ease;
    will-change: transform, opacity;
}

/* ---------------- Hero Section & Video Layering ---------------- */
.rd-page .rd-hero-section {
    position: relative;
    width: 100%;
    min-height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background-color: #0b1329;
}

.rd-page .hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.rd-page .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rd-page .rd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 19, 41, 0.85) 0%, rgba(15, 23, 42, 0.75) 100%);
    z-index: 2;
}

.rd-page .rd-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    text-align: center;
    color: #ffffff;
    width: 100%;
    margin: 0 auto;
}

.rd-page .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: 30px;
    color: #06b6d4;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.rd-page .hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    color: #ffffff;
}

.rd-page .hero-subtitle {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 32px;
}

.rd-page .hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.rd-page .btn-primary-3d {
    padding: 14px 28px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.35);
    transition: all 0.3s ease;
    display: inline-block;
}

.rd-page .btn-primary-3d:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(2, 132, 199, 0.5);
}

.rd-page .btn-secondary-glass {
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.rd-page .btn-secondary-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

/* ---------------- Metrics Section ---------------- */
.rd-page .rd-metrics-section {
    position: relative;
    z-index: 20;
    margin-top: -50px;
    padding-bottom: 60px;
}

.rd-page .metrics-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.rd-page .metric-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(16px);
    border-radius: 18px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
}

.rd-page .metric-icon {
    font-size: 22px;
    color: #0284c7;
    margin-bottom: 8px;
}

.rd-page .metric-card h2 {
    display: inline-block;
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
}

.rd-page .metric-card .unit {
    font-size: 22px;
    font-weight: 800;
    color: #0284c7;
}

.rd-page .metric-card p {
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    margin-top: 4px;
}

/* ---------------- Capabilities Section ---------------- */
.rd-page .rd-capabilities-section {
    padding: 40px 0 80px 0;
}

.rd-page .section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.rd-page .section-header {
    margin-bottom: 40px;
    text-align: center;
}

.rd-page .sub-heading {
    color: #0284c7;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.rd-page .main-heading {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 8px 0 12px 0;
}

.rd-page .desc {
    color: #64748b;
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.rd-page .capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.rd-page .cap-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 30px 24px;
    position: relative;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
}

.rd-page .cap-card:hover {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.rd-page .cap-icon {
    width: 48px;
    height: 48px;
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
}

.rd-page .cap-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.rd-page .cap-card p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
}

/* ---------------- Timeline Roadmap ---------------- */
.rd-page .rd-timeline-section {
    background: #f1f5f9;
    padding: 70px 0;
}

.rd-page .timeline-track {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 35px auto 0 auto;
}

.rd-page .timeline-step {
    display: flex;
    align-items: center;
    gap: 20px;
}

.rd-page .step-number {
    font-size: 28px;
    font-weight: 800;
    color: #0284c7;
    background: #ffffff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.15);
    flex-shrink: 0;
}

.rd-page .step-content {
    flex: 1;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
}

.rd-page .step-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.rd-page .step-content p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
}

/* ---------------- CTA Banner ---------------- */
.rd-page .rd-cta-banner {
    padding: 60px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    text-align: center;
    color: #ffffff;
}

.rd-page .banner-container {
    max-width: 700px;
    margin: 0 auto;
}

.rd-page .banner-container h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.rd-page .banner-container p {
    font-size: 14.5px;
    color: #94a3b8;
    margin-bottom: 24px;
}

/* ---------------- Animation Core ---------------- */
.rd-page .animate-on-scroll {
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.rd-page .animate-on-scroll[data-animation="fade-up"] { transform: translateY(30px); }
.rd-page .animate-on-scroll[data-animation="zoom-in"] { transform: scale(0.9); }
.rd-page .animate-on-scroll[data-animation="slide-right"] { transform: translateX(-30px); }
.rd-page .animate-on-scroll[data-animation="slide-left"] { transform: translateX(30px); }

.rd-page .animate-on-scroll.animated {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ---------------- Responsive Styles ---------------- */
@media screen and (max-width: 992px) {
    .rd-page .metrics-container { grid-template-columns: repeat(2, 1fr); }
    .rd-page .hero-title { font-size: 34px; }
    .rd-page .capabilities-grid { grid-template-columns: 1fr; }
}

@media screen and (max-width: 768px) {
    .rd-page .rd-hero-section { min-height: 65vh; padding: 40px 16px; }
    .rd-page .hero-title { font-size: 26px; }
    .rd-page .hero-subtitle { font-size: 14px; }
    .rd-page .hero-cta-group { flex-direction: column; width: 100%; }
    .rd-page .btn-primary-3d, .rd-page .btn-secondary-glass { width: 100%; text-align: center; }
    .rd-page .rd-metrics-section { margin-top: -30px; }
    .rd-page .metrics-container { grid-template-columns: 1fr 1fr; gap: 12px; }
    .rd-page .timeline-step { flex-direction: column; align-items: flex-start; gap: 12px; }
    .rd-page .scroll-svg { display: none; }
}

@media screen and (max-width: 480px) {
    .rd-page .metrics-container { grid-template-columns: 1fr; }
}






/* ===================================================
   PRODUCT PAGE - SCOPED STYLES & 100VH HERO SETUP
   =================================================== */

:root {
    --header-height: 80px; /* Standard header height */
}

.product-page {
    background-color: #f8fafc;
    color: #334155;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------------- Floating Animated SVGs Background ---------------- */
.floating-svg-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.scroll-svg {
    position: absolute;
    width: 65px;
    height: 65px;
    color: rgba(2, 132, 199, 0.15);
    transition: transform 0.2s cubic-bezier(0.1, 1, 0.1, 1), opacity 0.3s ease;
    will-change: transform, opacity;
}

/* ---------------- 100vh Fit Hero Section with Image Background ---------------- */
.product-page .product-hero-section {
    position: relative;
    width: 100%;
    /* Fits header + hero into exactly 100vh */
    min-height: calc(100vh - var(--header-height));
    
    /* Background Image with Dark Tint Overlay */
    background: linear-gradient(
                    135deg, 
                    rgba(15, 23, 42, 0.90) 0%, 
                    rgba(30, 41, 59, 0.85) 100%
                ), 
                url('../images/products/virgin-bromine-hero-bg.jpg') center/cover no-repeat;
                
    display: flex;
    align-items: center;
    padding: 40px 0;
    box-sizing: border-box;
    z-index: 2;
}

.product-page .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.product-page .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: 30px;
    color: #06b6d4;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* SEO Title */
.product-page h1.product-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-page .hero-paragraph {
    font-size: 14.5px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 12px;
}

.product-page .spec-highlight-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 28px 0;
}

.product-page .spec-highlight-pills .pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    color: #38bdf8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-page .hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.product-page .btn-primary-3d {
    padding: 13px 26px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.35);
    transition: all 0.3s ease;
    display: inline-block;
}

.product-page .btn-primary-3d:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(2, 132, 199, 0.5);
}

.product-page .btn-secondary-glass {
    padding: 13px 26px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.product-page .btn-secondary-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

/* ---------------- Gallery & Frame Sizing ---------------- */
.product-page .hero-gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-page .main-photo-frame {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    height: 320px;
}

.product-page .main-photo-frame .featured-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.product-page .photo-overlay-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(2, 132, 199, 0.9);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.product-page .photo-thumbnails-track {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.product-page .thumb-box {
    flex: 1;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.3s ease;
    background: #ffffff;
}

.product-page .thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-page .thumb-box:hover,
.product-page .thumb-box.active {
    opacity: 1;
    border-color: #0284c7;
    transform: translateY(-3px);
}

/* ---------------- Specifications Section ---------------- */
.product-page .product-specs-section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.product-page .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.product-page .sub-heading {
    color: #0284c7;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.5px;
}

.product-page .main-heading {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 8px 0;
}

.product-page .desc {
    color: #64748b;
    font-size: 15px;
}

.product-page .specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-page .spec-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
}

.product-page .spec-card:hover {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.product-page .card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}

.product-page .card-header i {
    font-size: 22px;
    color: #0284c7;
}

.product-page .card-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.product-page .spec-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-page .spec-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14.5px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #f1f5f9;
}

.product-page .spec-list .label {
    color: #64748b;
    font-weight: 500;
}

.product-page .spec-list .value {
    color: #0f172a;
    font-weight: 600;
}

.product-page .spec-list .value.highlight {
    color: #0284c7;
    font-weight: 800;
}

/* ---------------- Sequential Gallery Section ---------------- */
.product-page .photo-sequence-section {
    padding: 60px 0 80px 0;
    background: #f1f5f9;
    position: relative;
    z-index: 2;
}

.product-page .photo-sequence-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-page .seq-photo-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.product-page .seq-photo-card:hover {
    transform: translateY(-6px);
}

.product-page .seq-photo-card .img-wrapper {
    height: 180px;
    overflow: hidden;
}

.product-page .seq-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-page .seq-photo-card:hover img {
    transform: scale(1.08);
}

.product-page .seq-photo-card .photo-info {
    padding: 16px;
}

.product-page .seq-photo-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.product-page .seq-photo-card p {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
}

/* ---------------- Applications Grid ---------------- */
.product-page .applications-section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.product-page .applications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-page .app-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.03);
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
}

.product-page .app-card:hover {
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.product-page .app-icon {
    width: 44px;
    height: 44px;
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.product-page .app-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.product-page .app-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

/* ---------------- FAQ Accordion ---------------- */
.product-page .faq-section {
    padding: 70px 0 90px 0;
    background: #f1f5f9;
    position: relative;
    z-index: 2;
}

.product-page .faq-accordion-wrapper {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-page .faq-item {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    transition: all 0.3s ease;
}

.product-page .faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.product-page .faq-question .icon-arrow {
    font-size: 14px;
    color: #0284c7;
    transition: transform 0.3s ease;
}

.product-page .faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.product-page .faq-answer p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.product-page .faq-item.active {
    border-color: #0284c7;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.1);
}

.product-page .faq-item.active .faq-question .icon-arrow {
    transform: rotate(180deg);
}

.product-page .faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px 24px;
}

/* ---------------- CTA Banner ---------------- */
.product-page .product-cta-banner {
    padding: 60px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    text-align: center;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.product-page .product-cta-banner h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 12px;
}

.product-page .product-cta-banner p {
    font-size: 15px;
    color: #94a3b8;
    margin-bottom: 24px;
}

/* ---------------- Scroll Animations ---------------- */
.product-page .animate-on-scroll {
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-page .animate-on-scroll[data-animation="fade-up"] { transform: translateY(30px); }
.product-page .animate-on-scroll[data-animation="zoom-in"] { transform: scale(0.92); }
.product-page .animate-on-scroll[data-animation="slide-right"] { transform: translateX(-30px); }
.product-page .animate-on-scroll[data-animation="slide-left"] { transform: translateX(30px); }

.product-page .animate-on-scroll.animated {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ---------------- Mobile & Tablet Responsiveness ---------------- */
@media screen and (max-width: 992px) {
    .product-page .product-hero-section { min-height: auto; padding: 60px 0; }
    .product-page .hero-grid { grid-template-columns: 1fr; }
    .product-page .specs-grid { grid-template-columns: 1fr; }
    .product-page .photo-sequence-grid { grid-template-columns: repeat(2, 1fr); }
    .product-page .applications-grid { grid-template-columns: repeat(2, 1fr); }
    .product-page h1.product-title { font-size: 32px; }
}

@media screen and (max-width: 768px) {
    .product-page .main-photo-frame { height: 280px; }
    .product-page .thumb-box { height: 50px; }
    .product-page .applications-grid { grid-template-columns: 1fr; }
    .product-page .photo-sequence-grid { grid-template-columns: 1fr; }
    .product-page .scroll-svg { display: none; }
}





/* Preloader Overlay Container (Blurred Transparent Background) */
#site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* Transparent background with heavy backdrop blur */
    background: rgba(255, 255, 255, 0.15); 
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Preloader Content Box */
.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Tree Logo Growth & Branching Animation */
.preloader-logo {
    width: 110px; /* Adjust size based on your logo SVG/PNG */
    height: auto;
    transform-origin: bottom center; /* Growth originates from bottom/roots */
    animation: treeGrowth 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

/* Growing Tree Keyframe Sequence */
@keyframes treeGrowth {
    0% {
        transform: scaleY(0.2) scaleX(0.4);
        opacity: 0;
        filter: drop-shadow(0 0 0px rgba(16, 185, 129, 0));
    }
    40% {
        opacity: 1;
    }
    70% {
        /* Fully grown tree with subtle green leaf energy glow */
        transform: scaleY(1.08) scaleX(1.05);
        filter: drop-shadow(0 0 16px rgba(16, 185, 129, 0.6));
    }
    85% {
        /* Settles into natural fully-grown proportion */
        transform: scaleY(1) scaleX(1);
        filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.3));
    }
    100% {
        /* Gentle breeze sway before repeating if page load is slow */
        transform: scaleY(0.98) scaleX(1) rotate(1deg);
        filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.2));
    }
}

/* Hide state */
#site-preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}













/* ==========================================================================
   Contact Page Styles (White / Light Theme with Hero Image)
   ========================================================================== */

/* Hero Header with Background Image Support */
.contact-hero {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    background: url('../images/bromine-contact.jpeg') no-repeat center center/cover;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1000;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #e2e8f0;
    line-height: 1.6;
}

/* Main Contact Section */
.contact-card-section {
    padding: 60px 20px;
    background-color: #f8fafc;
}

.contact-container {
    max-width: 1150px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

/* Left Column: Get In Touch Details */
.contact-info-col {
    flex: 1 1 350px;
    background: #f1f5f9;
    padding: 40px;
    border-right: 1px solid #e2e8f0;
}

.info-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.info-desc {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    width: 44px;
    height: 44px;
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.info-text p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Right Column: Contact Form */
.contact-form-col {
    flex: 2 1 500px;
    padding: 40px;
    background: #ffffff;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-row.full-width {
    width: 100%;
}

.form-group {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #0f172a;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Radio Cards (White Mode) */
.inquiry-type-container {
    width: 100%;
}

.section-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    display: block;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.radio-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1 1 210px;
}

.radio-card:hover {
    border-color: #0284c7;
    background: #f0f9ff;
}

.radio-card input[type="radio"] {
    accent-color: #0284c7;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.radio-label {
    font-size: 0.88rem;
    color: #334155;
    font-weight: 500;
}

/* Conditional Field Area */
.conditional-fields {
    display: block;
    transition: all 0.3s ease;
}

/* Submit Button */
.submit-btn {
    position: relative;
    width: 100%;
    padding: 14px 28px;
    background: #0284c7;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.2s ease;
}

.submit-btn:hover {
    background: #0369a1;
}

.flying-mail-icon {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.sent-state {
    display: none;
    align-items: center;
    gap: 8px;
}

.submit-btn.animating .btn-text {
    opacity: 0;
}

.submit-btn.animating .flying-mail-icon {
    transform: translate(300px, -50px) scale(0.5);
}

.submit-btn.sent {
    background: #16a34a;
}

.submit-btn.sent .btn-text,
.submit-btn.sent .flying-mail-icon {
    display: none;
}

.submit-btn.sent .sent-state {
    display: flex;
}

/* Maps Section */
.dual-map-section {
    padding: 0 20px 60px;
    background-color: #f8fafc;
}

.map-container {
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.map-card {
    flex: 1 1 450px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.map-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: #f1f5f9;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
}

.map-header i {
    color: #0284c7;
}

.map-header h3 {
    font-size: 1rem;
    font-weight: 600;
}











.research-btn {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0284c7;
    background-color: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.2);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.research-btn:hover {
    background-color: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}