/* 
 * Trackship Logistics - Premium Redesign
 * Pure Vanilla CSS
 */

:root {
    --primary: #042B53;
    --accent: #ff7300;
    --secondary: #006cb6;
    --text-body: #64748b;
    --text-heading: #042B53;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-body);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* Typography Utilities */
.text-center {
    text-align: center;
}

.text-orange {
    color: var(--accent);
}

.text-white {
    color: #fff;
}

.font-bold {
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background-color: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    background-color: #e66700;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--primary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 0.5rem 1.5rem;
    display: block;
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--accent);
}

/* Mobile Nav */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary);
}

@media (max-width: 992px) {

    .nav-links,
    .nav-cta .btn {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 1001;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.mobile-nav-links a {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Mobile Dropdown */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    padding: 0.5rem 0;
    text-align: left;
}

.mobile-dropdown-toggle i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-toggle i {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding-left: 1rem;
    border-left: 2px solid var(--accent);
}

.mobile-dropdown-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-body);
    padding: 0.5rem 0;
    transition: var(--transition);
}

.mobile-dropdown-menu a:hover {
    color: var(--accent);
    padding-left: 0.5rem;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: flex;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.mobile-overlay.active {
    display: block;
}

/* Page Header */
.page-header {
    padding: 140px 0 60px;
    background: var(--bg-light);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-body);
}

.breadcrumb a {
    color: var(--primary);
    font-weight: 600;
}

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

.breadcrumb i {
    color: var(--accent);
}

.breadcrumb span {
    color: var(--text-heading);
    font-weight: 600;
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* No background colour - the hero video is the backdrop. The near-black
       value below is only a fallback for the case where the video fails to
       load, since the hero text is white and the page body is white. */
    background: #111;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* 30% grey scrim over the hero video, so the white hero text keeps its
   contrast against the brighter parts of the footage. Sits above the video
   (z-index 0) and below the content (z-index 2); never intercepts clicks. */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(128, 128, 128, 0.3);
    z-index: 1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
        grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

/* The index hero has no image column any more, so it alone goes single-column.
   Scoped to .hero - .hero-grid is a SHARED layout class (20 sections across 15
   pages), and changing the base rule collapsed every text+image section on the
   site to full width. */
.hero .hero-grid {
    grid-template-columns: 1fr;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Sustainability split: narrow image on the left, wider copy on the right.
   Declared here instead of as an inline style, because an inline
   grid-template-columns outranks the stylesheet - including the media query
   above - which left the image column 0px wide on phones. minmax(0, ...) stops
   the copy's min-content from starving the image track. */
.sustainability-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

@media (max-width: 992px) {
    .sustainability-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }
}

.eco-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 576px) {
    .eco-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    background: linear-gradient(90deg, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-btns {
        justify-content: center;
    }
}


.glass-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

.badge-1 {
    top: 10%;
    right: -5%;
}

.badge-2 {
    bottom: 20%;
    left: -5%;
    animation-delay: 2s;
}

@keyframes float {

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

    50% {
        transform: translateY(-10px);
    }
}

/* Hero Video Backgrounds */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
}

.hero-video-desktop {
    display: block;
}

.hero-video-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hero-video-desktop {
        display: none;
    }
    
    .hero-video-mobile {
        display: block;
    }
}

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

/* Partners Marquee */
.partners {
    background: var(--bg-light);
    padding: 3rem 0;
    overflow: hidden;
}

.partners-header {
    text-align: center;
    margin-bottom: -1rem;
}

.partners-header .section-subtitle {
    color: var(--accent);
}

.partners-header .section-title {
    color: var(--primary);
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
}

.marquee {
    display: flex;
    gap: 1rem;
    animation: scroll 30s linear infinite;
    width: max-content;
    padding: 0.5rem 0;
}

.marquee img {
    height: 170px;
    filter: grayscale(0.3);
    opacity: 0.9;
    transition: var(--transition);
    object-fit: contain;
}

.marquee img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .marquee img {
        height: 150px;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: #fff;
}

/* Glass Cards */
.glass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    color: #fff;
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.glass-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Stats Counter */
.stats {
    background: var(--primary);
    color: #fff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.stats-grid {
    display: grid;
    /* Fixed four columns: the four stats stay on ONE row at every width.
       minmax(200px, 1fr) used to collapse them into a single column once the
       viewport was narrower than four of those tracks. */
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* Keep all four stats on one row as the viewport narrows, by scaling the
   numbers and labels rather than reflowing into extra rows. */
@media (max-width: 768px) {
    .stats-grid {
        gap: 0.75rem;
    }

    .stat-item h3 {
        font-size: 1.9rem;
    }

    .stat-item p {
        font-size: 0.78rem;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        gap: 0.4rem;
    }

    .stat-item h3 {
        font-size: 1.3rem;
        margin-bottom: 0.25rem;
    }

    .stat-item p {
        font-size: 0.66rem;
        line-height: 1.3;
    }
}

@media (max-width: 400px) {
    .stats-grid {
        gap: 0.25rem;
    }

    .stat-item h3 {
        font-size: 1.12rem;
    }

    .stat-item p {
        font-size: 0.6rem;
    }
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* City Badges */
.city-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.city-badge {
    padding: 0.5rem 1.25rem;
    background: var(--bg-light);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    cursor: default;
}

.city-badge:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: scale(1.05);
}

/* Form Styles */
.form-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.875rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(4, 43, 83, 0.05);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    z-index: 10050;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    background: #10b981;
}

.toast-error {
    background: #ef4444;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    /* Above the cookie bar (9999) so the bar can never cover the form */
    z-index: 10000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    /* The form is taller than a phone viewport - without this the submit
       button is unreachable because body scroll is locked while open. */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 1rem 0.75rem;
}

.modal-content {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* auto margins centre the dialog when there is room, and let the
       overlay scroll from the top when the form is taller than the screen */
    margin: auto;
    flex: 0 0 auto;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    width: 35px;
    height: 35px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* WhatsApp Modal Specific Styles */
#whatsappModal .modal-content {
    max-width: 520px;
    padding: 1.5rem 1.25rem;
}

.modal-header {
    text-align: center;
    margin-bottom: 0.75rem;
}

.modal-header i {
    font-size: 2.5rem;
    color: #25d366;
    margin-bottom: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.required {
    color: #ef4444;
}

/* Tighter field rhythm for the WhatsApp form only - other forms keep the
   roomier .form-group defaults. */
#whatsappForm .form-group {
    margin-bottom: 0.625rem;
}

#whatsappForm .form-group label {
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

#whatsappForm .form-group input {
    padding: 0.625rem 0.75rem;
    font-size: 0.9375rem;
}

#whatsappForm .btn-accent {
    margin-top: 0.5rem;
    padding: 0.75rem;
    font-size: 1rem;
}

/* Floating Actions */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
}

/* Chatbot floater - plays the welcome message on click.
   Sits above the WhatsApp button; .back-to-top is moved up to clear it. */
.chatbot-float {
    position: fixed;
    bottom: 6.5rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(4, 43, 83, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.chatbot-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(4, 43, 83, 0.45);
}

.chatbot-float:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* sound-wave ring while the message is playing */
.chatbot-float.playing::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid var(--accent);
    border-radius: 50%;
    animation: chatbotRing 1.4s ease-out infinite;
}

@keyframes chatbotRing {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.chatbot-tip {
    position: absolute;
    right: calc(100% + 0.75rem);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.chatbot-float:hover .chatbot-tip {
    opacity: 1;
}

/* No hover on touch devices, so the label would never be seen - drop it. */
@media (hover: none) {
    .chatbot-tip {
        display: none;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.back-to-top {
    position: fixed;
    /* clears the chatbot floater, which sits at bottom: 6.5rem and is 60px tall */
    bottom: 11rem;
    right: 2.5rem;
    background: var(--primary);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

/* Footer */
footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/india-map.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

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

/* "Latest from our blog" footer block.
   At desktop width the footer grid only fits four 200px columns, so with five
   columns of content the last one (Company) wraps onto a second row and leaves
   roughly three empty column slots beside it. This block spans those slots to
   fill the gap.
   Hidden below 1024px: there the grid fits three columns or fewer, so the block
   would wrap badly instead of filling anything - and it is not wanted on
   mobile at all. */
.footer-blog {
    display: none;
}

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

.footer-blog-list a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.footer-blog-list a:hover {
    color: var(--accent);
}

.footer-blog-list .fb-cat {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent);
    margin-bottom: 0.2rem;
}

@media (min-width: 1024px) {
    .footer-blog {
        display: block;
        grid-column: span 3;
    }

    .footer-blog-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.9rem 1.5rem;
    }
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--accent);
    margin-top: 0.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
}

/* Site credit / backlink. width:100% makes it take its own row inside the
   wrapping .footer-bottom flex row rather than competing with the copyright
   and the legal links. */
.site-credit {
    width: 100%;
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

.site-credit a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.site-credit a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Mobile Quick Form Button */
.quick-form-btn {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    color: #fff;
    padding: 15px 8px;
    border-radius: 0 10px 10px 0;
    z-index: 1001;
    cursor: pointer;
    font-weight: 800;
    display: none;
    /* Mobile only */
    writing-mode: vertical-rl;
    text-orientation: mixed;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.quick-form-btn:hover {
    padding-left: 12px;
    background: var(--primary);
}

@media (max-width: 768px) {
    .quick-form-btn {
        display: block;
    }
}

/* Testimonial Marquee - Infinite Scroll */
.testimonial-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.testimonial-marquee::before,
.testimonial-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 1;
    pointer-events: none;
}

.testimonial-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-light), transparent);
}

.testimonial-marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-light), transparent);
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    animation: testimonialScroll 40s linear infinite;
    width: max-content;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

.testimonial-track .service-card {
    min-width: 340px;
    max-width: 340px;
    flex: 0 0 340px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.testimonial-track .service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

@keyframes testimonialScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .testimonial-track .service-card {
        min-width: 280px;
        max-width: 280px;
        flex: 0 0 280px;
    }
    
    .testimonial-marquee::before,
    .testimonial-marquee::after {
        width: 60px;
    }
}

/* Instagram Floating Button */
/* Click-to-call floater - mobile only, stacked above the Instagram floater.
   Hidden by default so it never appears on desktop/tablet. */
.call-float {
    display: none;
}

@media (max-width: 768px) {
    .call-float {
        display: flex;
        position: fixed;
        /* Instagram sits at bottom: 2rem (32px) and is now 50px tall, so it ends
           82px up; 6rem (96px) keeps the same 14px gap above it */
        bottom: 6rem;
        left: 1rem;
        width: 50px;
        height: 50px;
        align-items: center;
        justify-content: center;
        background: var(--accent);
        color: #fff;
        border-radius: 50%;
        font-size: 1.3rem;
        text-decoration: none;
        z-index: 1000;
        animation: callPulse 1.8s infinite;
    }

    /* the handset itself rings */
    .call-float i {
        animation: phoneRing 1.8s ease-in-out infinite;
        transform-origin: 50% 50%;
    }
}

/* expanding ring */
@keyframes callPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 115, 0, 0.65);
    }

    70% {
        box-shadow: 0 0 0 16px rgba(255, 115, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 115, 0, 0);
    }
}

/* phone-ringer shake: a short rotation burst, then rest before repeating */
@keyframes phoneRing {
    0%,
    38%,
    100% {
        transform: rotate(0deg);
    }

    5% {
        transform: rotate(-14deg);
    }

    11% {
        transform: rotate(14deg);
    }

    17% {
        transform: rotate(-11deg);
    }

    23% {
        transform: rotate(11deg);
    }

    29% {
        transform: rotate(-6deg);
    }

    34% {
        transform: rotate(6deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .call-float,
    .call-float i {
        animation: none;
    }
}

.instagram-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse-insta 2s infinite;
}

@keyframes pulse-insta {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(188, 24, 136, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(188, 24, 136, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(188, 24, 136, 0);
    }
}

.instagram-float:hover {
    transform: scale(1.1) rotate(10deg);
    color: #fff;
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .instagram-float {
        /* matched to .call-float so the two left-side floaters read as a pair */
        width: 50px;
        height: 50px;
        bottom: 2rem;
        left: 1rem;
        font-size: 33px;
    }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {

    .reveal-left,
    .reveal-right {
        transform: translateY(40px);
    }
}

/* Interactive Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--primary));
    transform: translateX(-50%);
    transform-origin: top;
    transform: translateX(-50%) scaleY(0);
    animation: timelineGrow 1.5s ease-out 0.3s forwards;
}

@keyframes timelineGrow {
    to {
        transform: translateX(-50%) scaleY(1);
    }
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
    padding-right: 3rem;
    text-align: right;
    width: 50%;
}

.timeline-item:nth-child(even) .timeline-content {
    padding-left: 3rem;
    text-align: left;
    width: 50%;
    margin-left: 50%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 1.5rem;
    width: 20px;
    height: 20px;
    background: var(--bg-light);
    border: 4px solid var(--accent);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--bg-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible .timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--bg-light), 0 0 20px rgba(255, 115, 0, 0.4);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.2);
    }
}

.timeline-content {
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 2rem;
    width: 0;
    height: 0;
    border-left: 12px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    left: -12px;
    top: 2rem;
    width: 0;
    height: 0;
    border-right: 12px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.timeline-content h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin: 0.5rem 0;
    color: var(--primary);
}

.timeline-content p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-body);
}

@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        left: -12px;
        right: auto;
        border-right: 12px solid #fff;
        border-left: none;
    }
}

/* Moving Bike Section */
.india-animation-section {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 4;
    /* Cinematic wide ratio */
    background: url('../img/india-landmarks-road.png') no-repeat center bottom;
    background-size: 100% 100%;
    /* Forces full image visibility without cropping */
    background-color: var(--bg-light);
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
    .india-animation-section {
        aspect-ratio: 12 / 3;
        /* Adjusted for tablets */
    }
}

@media (max-width: 768px) {
    .india-animation-section {
        aspect-ratio: 8 / 3;
        /* Taller on mobile for better visibility of bikes */
    }
}

.bike {
    position: absolute;
    bottom: 5%;
    /* Adjusted for new ratio */
    width: clamp(50px, 10vw, 120px);
    height: auto;
    z-index: 10;
}

.bike-ltr {
    left: -200px;
    animation: moveLTR 18s linear infinite;
    transform: scaleX(-1);
   /* Face right for Left-to-Right movement */
}

.bike-rtl {
    right: -200px;
    animation: moveRTL 22s linear infinite;
    transform: scaleX(-1);
    padding-bottom: 0.5rem;
}

@keyframes moveLTR {
    from {
        right: -200px;
    }

    to {
        left: 100%;
    }
}

@keyframes moveRTL {
    from {
        right: -200px;
    }

    to {
        right: 100%;
    }
}

/* Franchise & Pricing Sections */
.comparison-container {
    margin-top: 3rem;
    overflow-x: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-header {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 1.5rem;
}

.comparison-header h2 {
    color: #fff;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    font-weight: 700;
    color: var(--primary);
    background: var(--bg-light);
    font-size: 1.1rem;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
}

.check-icon {
    color: #2ecc71;
    font-weight: bold;
    font-size: 1.2rem;
}

.cross-icon {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.2rem;
}

.price-val {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
}

.plan-name {
    display: block;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* SMS Specific Styles */
.sms-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.sms-card {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 5px solid var(--primary);
}

.sms-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.sms-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem;
}

.cookie-consent-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cookie-consent-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.cookie-consent-text {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.cookie-consent-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: var(--accent);
}

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.cookie-btn {
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.cookie-btn-primary {
    background: var(--primary);
    color: #fff;
}

.cookie-btn-primary:hover {
    background: var(--secondary);
}

.cookie-btn-secondary {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.cookie-btn-secondary:hover {
    background: var(--primary);
    color: #fff;
}

.cookie-btn-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--text-body);
}

.cookie-btn-ghost:hover {
    color: var(--primary);
}

.cookie-preferences {
    display: none;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 1rem;
}

.cookie-preferences.show {
    display: block;
}

.cookie-pref-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.cookie-pref-item:last-child {
    border-bottom: none;
}

.cookie-pref-info {
    flex: 1;
}

.cookie-pref-name {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.875rem;
}

.cookie-pref-desc {
    font-size: 0.75rem;
    color: var(--text-body);
    margin-top: 0.25rem;
}

.cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    background: #e2e8f0;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-toggle.active {
    background: var(--accent);
}

.cookie-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.cookie-toggle.active::after {
    left: 22px;
}

.cookie-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .cookie-consent-content {
        padding: 1rem;
    }
    
    .cookie-consent-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

/* Parallax Section */
.parallax-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 0;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    will-change: transform;
    z-index: 0;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(4, 43, 83, 0.95), rgba(4, 43, 83, 0.85));
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.parallax-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.parallax-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    color: #fff;
    transition: var(--transition);
    transform: translateY(0);
}

.parallax-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.parallax-icon {
    width: 70px;
    height: 70px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: #fff;
}

.parallax-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.parallax-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .parallax-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .parallax-bg {
        background-attachment: scroll;
        height: 100%;
    }
    
    .parallax-grid {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp popup-blocked fallback */
.wa-fallback {
    margin-top: 0.625rem;
    padding: 0.75rem;
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.35);
    border-radius: 12px;
    text-align: center;
}

.wa-fallback-note {
    font-size: 0.875rem;
    color: var(--text-body);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.wa-fallback-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: #25d366;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 0.625rem 1rem;
    border-radius: 50px;
    transition: var(--transition);
}

.wa-fallback-btn:hover {
    background: #1ebe5a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


/* Small-screen dialogs: keep the whole form (and its submit button) reachable */
@media (max-width: 576px) {
    /* Extra bottom gap so the submit button is never flush against the edge
       once the overlay is scrolled to its end. */
    .modal-overlay {
        padding: 0.5rem 0.5rem calc(1rem + env(safe-area-inset-bottom, 0px));
    }

    .modal-content {
        width: 100%;
        padding: 1.25rem 1rem;
        border-radius: 18px;
    }

    /* ID rule above wins on specificity, so the WhatsApp form needs its own
       mobile padding - otherwise the desktop value leaks through here. */
    #whatsappModal .modal-content {
        padding: 1rem 0.875rem;
    }

    /* 36px fields are fine under a mouse but tight under a thumb, so touch
       devices get a little padding back (~42px tall). */
    #whatsappForm .form-group input {
        padding: 0.75rem 0.75rem;
    }

    .modal-close {
        top: 0.75rem;
        right: 0.75rem;
    }

    #whatsappModal .modal-content .modal-header i {
        font-size: 2rem;
    }

    .form-row {
        gap: 0.5rem;
    }

    /* Top-anchored: a bottom toast would sit on top of the fallback button
       it is telling the user to tap (and on the cookie bar). */
    .toast {
        top: 1rem;
        bottom: auto;
        left: 1rem;
        right: 1rem;
        padding: 1rem 1.25rem;
        text-align: center;
        transform: translateY(-150%);
    }

    .toast.show {
        transform: translateY(0);
    }
}
