@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #fdfbf7;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --accent-primary: #4a7c59;
    /* Sage Green */
    --accent-secondary: #e76f51;
    /* Terracotta */
    --accent-light: #e6f0eb;
    --surface-color: #ffffff;
    --border-color: #e2e8f0;

    --nav-height: 80px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);

    --container-width: 1200px;
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

.section-padding {
    padding: 6rem 0;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background-color: white;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
    background-color: var(--accent-light);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(253, 251, 247, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-link {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--accent-primary);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Mobile Menu Responsive Styles */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--surface-color);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 4rem 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

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

    .nav-link {
        font-size: 1.25rem;
    }

    /* Animate toggle to X when active */
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Hero Section */
.hero {
    min-height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    background-color: var(--bg-color);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Dark overlay for contrast */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    /* Above overlay */
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem;
}

.hero-content {
    padding-right: 2rem;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* Removed background/backdrop-filter */
}

/* Hero Booking Card */
.hero-booking-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: translateY(20px);
    animation: slideUp 0.8s ease forwards 0.2s;
    opacity: 0;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Detailed Process Section */
.detailed-process {
    padding: 8rem 0;
}

.process-row {
    display: flex;
    align-items: center;
    gap: 6rem;
    margin-bottom: 8rem;
}

.process-row:last-child {
    margin-bottom: 0;
}

.process-row:nth-child(even) {
    flex-direction: row-reverse;
}

.process-image-container {
    flex: 1;
    position: relative;
}

.process-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s ease;
}

.process-image:hover {
    transform: scale(1.02);
}

.process-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 250px;
    z-index: 2;
}

.process-content {
    flex: 1;
}

.process-step-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    display: block;
}

.process-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.process-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: normal;
}

.process-features {
    list-style: none;
    margin-top: 2rem;
}

.process-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.process-features svg {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

@media (max-width: 900px) {

    .process-row,
    .process-row:nth-child(even) {
        flex-direction: column;
        gap: 3rem;
    }
}

/* Booking Page Specifics */


/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.service-icon {
    width: 48px;
    height: 48px;
    background-color: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

/* District Blueprint Section */
.neighborhood-blueprint {
    margin-top: 6rem;
}

.district-entry {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.district-entry:last-child {
    border-bottom: none;
}

.district-header {
    margin-bottom: 0;
}

.district-content-grid {
    display: grid;
    grid-template-columns: 350px 1fr 300px;
    gap: 3rem;
    align-items: start;
}

.district-identity {
    position: relative;
    /* Removed old styles */
}

.district-identity .district-num {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    display: block;
    letter-spacing: 0.2em;
}

.district-identity h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.district-neighborhoods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.district-neighborhoods span {
    font-size: 0.8rem;
    background: var(--bg-color);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    font-weight: 500;
}

.district-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.detail-block h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-block h4 svg {
    width: 16px;
    height: 16px;
}

.detail-block p {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.route-intel {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

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

.intel-item span {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.intel-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .district-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .district-entry {
        padding: 3rem 0;
    }

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

    /* Stack the header section on mobile */
    #neighborhoods div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2rem !important;
        margin-bottom: 3rem !important;
    }

    #neighborhoods div[style*="flex: 1"] {
        max-width: 100% !important;
    }

    /* Responsive heading sizes */
    #neighborhoods h2 {
        font-size: 2rem !important;
    }

    .district-header h3 {
        font-size: 1.5rem;
    }

    .detail-block p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .district-entry {
        padding: 2rem 0;
    }

    #neighborhoods h2 {
        font-size: 1.75rem !important;
    }

    .district-header h3 {
        font-size: 1.25rem;
    }

    .district-num {
        font-size: 0.75rem !important;
    }

    .intel-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
}

.team-role {
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

/* Booking Form General Styles */

/* Responsive adjustments */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 2rem;
    }

    .hero-bg {
        width: 100%;
        opacity: 0.2;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

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

    /* Trust bar - stack on mobile */
    .trust-bar {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-top: 2rem !important;
        padding-top: 1.5rem !important;
    }

    .trust-bar>div {
        text-align: center;
    }

    .trust-bar div[style*="font-size: 1.5rem"] {
        font-size: 1.25rem !important;
    }

    /* Hero booking card */
    .hero-booking-card {
        padding: 1.5rem;
    }
}

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

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

    .hero-booking-card {
        padding: 1.25rem;
    }
}



/* Booking Form */
.booking-container {
    max-width: 600px;
    margin: 4rem auto;
    background: var(--surface-color);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.form-checkbox-group input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.2rem;
    cursor: pointer;
    accent-color: var(--accent-primary);
}

.form-checkbox-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    cursor: pointer;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: white;
    color: var(--text-primary);
}

.form-select-wrapper {
    position: relative;
    width: 100%;
}

/* Hide original but keep it accessible for validation */
.form-select.custom-hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.custom-select-trigger {
    width: 100%;
    padding: 0.875rem;
    padding-right: 3rem;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    background-color: white;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234a7c59' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.125rem;
}

.custom-select-trigger:hover {
    border-color: var(--accent-primary);
}

.custom-select-trigger.active {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.custom-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    padding: 0.5rem;
    max-height: 250px;
    overflow-y: auto;
}

.custom-options.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-option:hover {
    background-color: var(--accent-light);
    color: var(--accent-primary);
}

.custom-option.selected {
    background-color: var(--accent-primary);
    color: white;
}

.form-input:focus,
.custom-select-trigger.active,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.progress-step {
    width: 30px;
    height: 30px;
    background: var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 1;
    transition: all 0.3s ease;
}

.progress-step.active {
    background: var(--accent-primary);
}

.progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    transform: translateY(-50%);
    z-index: 0;
}

.progress-line-fill {
    height: 100%;
    background: var(--accent-primary);
    width: 0%;
    transition: width 0.3s ease;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: white;
}

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

.footer-links a {
    color: #a0aec0;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #a0aec0;
    font-size: 0.875rem;
}

/* Booking Form Mobile Responsiveness */
@media (max-width: 768px) {

    /* Stack Back and Submit buttons on mobile */
    .form-step[data-step="2"] div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .form-step[data-step="2"] .btn {
        width: 100% !important;
    }

    /* Make Step 1 Next button full-width on mobile */
    .form-step[data-step="1"] div[style*="text-align: right"] {
        text-align: center !important;
    }

    .form-step[data-step="1"] .btn {
        width: 100% !important;
    }

    /* Reduce booking container padding on mobile */
    .booking-container {
        padding: 2rem 1.5rem;
    }
}


@media (max-width: 480px) {
    .booking-container {
        padding: 1.5rem 1rem;
    }

    .booking-container h3 {
        font-size: 1.5rem;
    }
}

/* New Year Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-modal {
    background: white;
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-overlay.active .popup-modal {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 10;
}

.popup-close:hover {
    background: var(--accent-light);
    color: var(--accent-primary);
    transform: rotate(90deg);
}

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

.popup-header {
    text-align: center;
    margin-bottom: 2rem;
}

.popup-header h2 {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.popup-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0;
}

.popup-timer {
    background: linear-gradient(135deg, var(--accent-light) 0%, #f0f7f3 100%);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    text-align: center;
}

.timer-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.countdown-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.time-unit span:first-child {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
    min-width: 50px;
    background: white;
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.time-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
}

.time-separator {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin: 0 0.25rem;
    align-self: flex-start;
    margin-top: 0.5rem;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .popup-content {
        padding: 2rem 1.5rem 1.5rem;
    }

    .popup-header h2 {
        font-size: 1.75rem;
    }

    .popup-subtitle {
        font-size: 1.1rem;
    }

    .time-unit span:first-child {
        font-size: 1.5rem;
        min-width: 40px;
        padding: 0.4rem;
    }

    .time-separator {
        font-size: 1.25rem;
    }

    .popup-timer {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .popup-modal {
        max-height: 95vh;
        border-radius: 16px;
    }

    .popup-header h2 {
        font-size: 1.5rem;
    }

    .time-unit span:first-child {
        font-size: 1.25rem;
        min-width: 35px;
    }

    .countdown-display {
        gap: 0.25rem;
    }
}

/* Popup button progress bar */
#popup-form .btn-primary {
    position: relative;
    overflow: hidden;
}

#popup-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(61, 107, 74, 0.3) 0%, rgba(61, 107, 74, 0.5) 100%);
    transition: none;
    z-index: 0;
}

#popup-form .btn-primary.loading::before {
    animation: progressBar 8s linear forwards;
}

#popup-form .btn-primary span {
    position: relative;
    z-index: 1;
}

@keyframes progressBar {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}