/* CSS Reset & Variables */
:root {
    --primary-color: #0A192F;
    /* Dark Blue */
    --secondary-color: #112240;
    /* Slightly lighter dark blue */
    --accent-color: #64FFDA;
    /* Teal/Green accent */
    --text-color: #333333;
    --text-light: #8892b0;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Navbar */
header {
    height: 90px;
    /* Increased height to accommodate larger logo */
    width: 100%;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #ffffff;
    /* Sold white for perfect logo blending */
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 65px;
    /* Increased from 45px */
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Makes white logo background transparent */
    transition: var(--transition);
}

header.scrolled .nav-logo {
    height: 55px;
    /* Increased from 40px */
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--bg-white);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
}

.mobile-menu ul {
    text-align: center;
}

.mobile-menu ul li {
    margin: 20px 0;
}

.mobile-menu ul li a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.5)), url('hero_workspace.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    margin-top: 0;
    /* Override margin if header is static */
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.highlight {
    color: var(--accent-color);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero .btn-outline {
    border-color: #fff;
    color: #fff;
}

.hero .btn-outline:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* About Section */
#about {
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
        url('about_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-list li {
    margin-bottom: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-list i {
    color: var(--primary-color);
}

.about-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    min-width: 300px;
}

.stat-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-card:last-child {
    grid-column: span 2;
}

/* Spaces Section (Cards) */
#spaces {
    position: relative;
    background: linear-gradient(rgba(248, 249, 250, 0.7), rgba(248, 249, 250, 0.7)),
        url('spaces_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.spaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.space-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-bottom: 4px solid transparent;
}

.space-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary-color);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    height: 60px;
    width: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: var(--bg-light);
    margin: 0 auto 20px auto;
    transition: var(--transition);
}

.space-card:hover .card-icon {
    background-color: var(--primary-color);
    color: #fff;
}

.space-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.space-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Amenities Section */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.amenity-item {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: var(--transition);
}

.amenity-item:hover {
    border-color: var(--primary-color);
    background-color: var(--bg-light);
}

.amenity-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.amenity-item h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

/* Pricing Section */
.pricing-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.pricing-card {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    width: 350px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: scale(1.03);
    z-index: 2;
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-features {
    margin-bottom: 30px;
    flex: 1;
}

.pricing-features li {
    margin-bottom: 15px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--primary-color);
}

.pricing-features li.disabled {
    color: #ccc;
    text-decoration: line-through;
}

.pricing-features li.disabled i {
    color: #ccc;
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background-color: var(--bg-light);
    padding: 15px;
    border-radius: 50%;
}

.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.info-item p {
    color: var(--text-light);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 25, 47, 0.1);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #a8b2d1;
}

/* WhatsApp Popup */
.whatsapp-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
    /* Initial state allowed, toggled in JS if needed */
}

/* Ensure button is clickable */
.whatsapp-btn,
.popup-message {
    pointer-events: auto;
}


.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.popup-message {
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
    position: relative;
    font-size: 0.9rem;
    color: #333;
    max-width: 250px;
    text-align: right;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    display: none;
    /* Initially hidden, controlled by JS */
}

.popup-message.show {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.popup-arrow {
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Scroll Animations */
.fade-in,
.fade-left,
.fade-right,
.fade-up {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.fade-in {
    transform: scale(0.95);
}

.fade-up {
    transform: translateY(30px);
}

.fade-left {
    transform: translateX(-30px);
}

.fade-right {
    transform: translateX(30px);
}

.visible {
    opacity: 1;
    transform: none;
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Responsive Media Queries */
@media (min-width: 992px) {
    header {
        height: 110px;
    }

    .nav-logo {
        height: 85px;
    }

    header.scrolled {
        height: 90px;
    }

    header.scrolled .nav-logo {
        height: 70px;
    }

    .pricing-card {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .about-content {
        flex-direction: column;
    }

    .pricing-card {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .contact-wrapper {
        gap: 30px;
    }
}