:root {
    /* Brand Colors based on "Deep Dive" theme - DEFAULT TO DARK THEME */
    --primary: #3b82f6;
    /* Vibrant blue */
    --primary-hover: #2563eb;
    --secondary: #ffffff;
    /* Main heading / bright elements */
    --accent: #60a5fa;
    /* Accent bright blue */
    --light-bg: #161b26;
    /* Secondary section/card bg */
    --bg-base: #0b0f17;
    /* Primary section bg */
    --bg-header: rgba(11, 15, 23, 0.75);
    --bg-surface: #161b26;
    --booking-container-bg: rgba(22, 27, 38, 0.85);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --white: #161b26;
    /* Map legacy --white to surface bg */
    --white-real: #ffffff;
    --border: rgba(255, 255, 255, 0.08);
    --radius: 10px;
    --shadow: rgba(0, 0, 0, 0.3);
    --form-input-bg: #0b0f17;
    --form-input-border: rgba(255, 255, 255, 0.15);
    --select-arrow: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    --hero-gradient-start: #090d16;
    --hero-gradient-end: #1e1b4b;
    --badge-bg: rgba(59, 130, 246, 0.15);
    --footer-bg: #070a10;
    --toast-bg: rgba(22, 27, 38, 0.95);
    --toast-border: rgba(255, 255, 255, 0.08);
    --scrollbar-thumb: #374151;
    --scrollbar-track: #0b0f17;

    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
    scrollbar-width: thin;
    color-scheme: dark;
}

[data-theme="light"] {
    /* Brand Colors based on "Deep Dive" theme - LIGHT MODE */
    --primary: #1e40af;
    --primary-hover: #1d4ed8;
    --secondary: #0f172a;
    --accent: #3b82f6;
    --light-bg: #f8fafc;
    --bg-base: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.85);
    --bg-surface: #ffffff;
    --booking-container-bg: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --white: #ffffff;
    --white-real: #ffffff;
    --border: #e2e8f0;
    --radius: 8px;
    --shadow: rgba(0, 0, 0, 0.04);
    --form-input-bg: #ffffff;
    --form-input-border: #cbd5e1;
    --select-arrow: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    --hero-gradient-start: #f0fdf4;
    --hero-gradient-end: #eff6ff;
    --badge-bg: rgba(30, 64, 175, 0.1);
    --footer-bg: #0f172a;
    --toast-bg: rgba(255, 255, 255, 0.85);
    --toast-border: transparent;
    --scrollbar-thumb: #cbd5e1;
    --scrollbar-track: #f8fafc;

    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
    color-scheme: light;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    color: var(--text-main);
    background-color: var(--bg-base);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

/* Header Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    background: var(--bg-header);
    box-shadow: 0 4px 30px var(--shadow);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s, border-color 0.3s;
}

.logo {
    font-family: 'Verdana', Geneva, Tahoma, sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--secondary);
    text-transform: capitalize;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.logo span {
    color: var(--primary);
    transition: color 0.3s;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 2rem;
    font-weight: 600;
    transition: color 0.2s;
}

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

.btn {
    background-color: var(--primary);
    color: var(--white-real) !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-submit {
    width: 100%;
    padding: 1.1rem !important;
    font-size: 1.1rem !important;
    margin-top: 1rem;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
    margin-left: 1.5rem;
}

.theme-toggle:hover {
    background-color: var(--border);
    transform: scale(1.05);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Icons styling for show/hide based on theme */
.theme-toggle .moon-icon {
    display: none;
}

.theme-toggle .sun-icon {
    display: block;
}

/* When in light mode, show the moon icon and hide the sun icon */
[data-theme="light"] .theme-toggle .moon-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: none;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 5%;
    background: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
    min-height: 75vh;
    transition: background 0.3s;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--secondary);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    transition: color 0.3s;
}

.hero h1 span {
    color: var(--primary);
    transition: color 0.3s;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    transition: color 0.3s;
}

.hero-collage {
    width: 48%;
    height: 500px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    gap: 0.75rem;
    position: relative;
}

.collage-item {
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 16px var(--shadow);
    border: 3px solid var(--border);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s, z-index 0.3s;
    z-index: 1;
}

.collage-item:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 30px var(--shadow);
    z-index: 10;
}

.item-1 {
    grid-column: 1 / 8;
    grid-row: 1 / 8;
    background-image: url('images/cowork_1.jpg');
}

.item-2 {
    grid-column: 8 / 13;
    grid-row: 1 / 6;
    background-image: url('images/cowork_2.jpg');
}

.item-3 {
    grid-column: 1 / 7;
    grid-row: 8 / 13;
    background-image: url('images/cowork_3.jpg');
}

.item-4 {
    grid-column: 7 / 13;
    grid-row: 6 / 13;
    background-image: url('images/cowork_4.jpg');
}

/* Pillars Section (Cowork, Pod office, Evangelise) */
.pillars-section {
    padding: 6rem 5%;
    background-color: var(--bg-base);
    text-align: center;
    transition: background-color 0.3s;
}

.section-tagline {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    display: block;
    text-align: center;
    transition: color 0.3s;
}

.section-title {
    font-size: 2.25rem;
    color: var(--secondary);
    margin-bottom: 3.5rem;
    text-align: center;
    transition: color 0.3s;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.pillar-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -3px var(--shadow);
    border-color: rgba(59, 130, 246, 0.3);
}

.pillar-badge {
    background: var(--badge-bg);
    color: var(--accent);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
    margin-bottom: 1.5rem;
    transition: background 0.3s, color 0.3s;
}

.pillar-badge:empty {
    display: none;
}

.pillar-price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin: 0.25rem 0 1rem 0;
}

.pillar-price .price-amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.pillar-price .price-period {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 600;
}

.pillar-card h3 {
    font-size: 1.75rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.pillar-card .desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    min-height: 50px;
    transition: color 0.3s;
}

.features-list {
    list-style: none;
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    transition: border-color 0.3s;
}

.features-list li {
    margin-bottom: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
}

.features-list li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 0.75rem;
}

/* --- Features Section (Inclusions & Location) --- */
.features-section {
    padding: 6rem 5%;
    background-color: var(--light-bg);
    text-align: center;
    transition: background-color 0.3s;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    text-align: left;
}

.feature-block {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    box-shadow: 0 4px 6px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.feature-block:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-block h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--badge-bg);
    padding-bottom: 0.5rem;
    display: inline-block;
    transition: color 0.3s;
}

.feature-block p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    transition: color 0.3s;
}

.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius);
    background-color: var(--badge-bg);
    color: var(--accent) !important;
    border: 1px solid rgba(59, 130, 246, 0.25);
    text-decoration: none;
    margin-bottom: 1.5rem;
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
    transition: background-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn-map:hover {
    background-color: var(--primary);
    color: var(--white-real) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    border-color: var(--primary);
}

.btn-map svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    max-width: 18px;
    max-height: 18px;
    fill: currentColor;
    flex-shrink: 0;
    display: inline-block;
    transition: transform 0.2s ease;
}

.btn-map:hover svg {
    transform: scale(1.1);
}

.inclusions-list {
    list-style: none;
}

.inclusions-list li {
    color: var(--text-main);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    font-weight: 500;
    transition: color 0.3s;
}

.inclusions-list li::before {
    content: "✦";
    color: var(--accent);
    margin-right: 0.75rem;
}

/* --- END NEW CSS --- */

/* Booking Section */
.booking-section {
    background-color: var(--bg-base);
    /* Changed to alternate with the new section */
    padding: 6rem 5%;
    transition: background-color 0.3s;
}

.booking-container {
    max-width: 650px;
    margin: 0 auto;
    background: var(--booking-container-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 3.5rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 25px -5px var(--shadow);
    border: 1px solid var(--border);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.booking-container h2 {
    margin-bottom: 0.5rem;
    color: var(--secondary);
    text-align: center;
    transition: color 0.3s;
}

.booking-container p.subtitle {
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    text-align: center;
    transition: color 0.3s;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary);
    transition: color 0.3s;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    background-color: var(--form-input-bg);
    border: 1px solid var(--form-input-border);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.3s, color 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

select.form-control {
    appearance: none;
    background-image: var(--select-arrow);
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* Footer & Contact info */
footer {
    background: var(--footer-bg);
    color: var(--white-real);
    text-align: center;
    padding: 4rem 2rem;
    border-top: 1px solid var(--border);
    transition: background 0.3s, border-color 0.3s;
}

footer h3 {
    font-family: 'Verdana', Geneva, Tahoma, sans-serif;
    color: var(--secondary);
    transition: color 0.3s;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

footer .phone,
footer .whatsapp,
footer .email {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s, opacity 0.2s, transform 0.2s;
}

footer .whatsapp {
    color: #25D366;
}

footer .phone:hover,
footer .whatsapp:hover,
footer .email:hover {
    color: var(--primary);
    opacity: 0.9;
    transform: translateY(-1px);
}

footer p {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-top: 2rem;
}

footer p.question-lead {
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* Legacy Scrollbar Fallback */
@supports not (scrollbar-color: auto) {
    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

    ::-webkit-scrollbar-thumb {
        background: var(--scrollbar-thumb);
        border-radius: 5px;
    }

    ::-webkit-scrollbar-track {
        background: var(--scrollbar-track);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 4rem;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }

    .hero-collage {
        width: 100%;
        height: 450px;
        margin-top: 2rem;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        margin-bottom: 0.5rem;
    }

    nav a {
        margin: 0 0.75rem;
    }

    .theme-toggle {
        margin-left: 0.75rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .booking-container {
        padding: 2rem 1.5rem;
    }

    .hero-collage {
        height: 350px;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .item-1,
    .item-2,
    .item-3,
    .item-4 {
        grid-column: auto !important;
        grid-row: auto !important;
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--toast-bg);
    border: 1px solid var(--toast-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 5px solid #10b981;
    padding: 1.25rem 2rem;
    border-radius: var(--radius);
    box-shadow: 0 20px 25px -5px var(--shadow);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateY(100px) scale(0.9);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, background 0.3s, border-color 0.3s;
    pointer-events: none;
    max-width: 450px;
}

.toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.toast-icon {
    font-size: 1.5rem;
    color: #10b981;
}

.toast-content h4 {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 0.15rem;
    transition: color 0.3s;
}

.toast-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
    transition: color 0.3s;
}