@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;900&display=swap');

:root {
    --primary-color: #053cf1;
    --primary-light: #446ef7;
    --primary-dark: #0026a3;
    --secondary-color: #000000;
    --text-main: #1e1e2f;
    --text-light: #6b7280;
    --text-on-blue: #e0e7ff;

    --bg-body: #ffffff;
    --bg-light-gray: #f8fafc;
    --bg-blue-gradient: linear-gradient(135deg, #053cf1 0%, #032b98 100%);
    --bg-dark: #0a0a0a;

    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 20px 60px rgba(5, 60, 241, 0.25);

    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-pill: 100px;

    --font-main: 'Outfit', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease-in-out;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, #fff, #81a1ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-blue {
    color: var(--primary-color);
}

.bg-blue {
    background: var(--bg-blue-gradient);
    color: white;
}

.section-padding {
    padding: 7rem 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.6rem 2rem;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: white;
}

.nav-links a:hover {
    color: #ffd700;
    opacity: 1;
}

header.scrolled .nav-links {
    background: rgba(5, 60, 241, 0.05);
    border-color: rgba(5, 60, 241, 0.1);
}

header.scrolled .nav-links a {
    color: var(--primary-dark);
}

header.scrolled .nav-links a:hover {
    color: var(--primary-color);
}

header.scrolled .logo img {
    filter: brightness(0) saturate(100%);
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

header.scrolled .cta-button {
    background: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 60, 241, 0.85), rgba(3, 43, 152, 0.7));
    mix-blend-mode: multiply;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 5.5rem;
    line-height: 0.95;
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.5;
}

/* Blue Section (Intro Redesign) */
.blue-section {
    background: var(--bg-blue-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.circle-decor {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.intro-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.intro-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 300;
}

/* Intro Visuals (Right Side) */
.intro-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-main-img {
    width: 90%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-strong);
    transform: rotate(-2deg);
    transition: transform 0.4s ease;
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.intro-visual:hover .intro-main-img {
    transform: rotate(0deg) scale(1.02);
}

/* Floating Stats Card */
.glass-stats-card {
    position: absolute;
    bottom: 30px;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 2.5rem;
    transform: translateY(20px);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(20px);
    }

    50% {
        transform: translateY(10px);
    }
}

/* Helper for stats inside card */
.glass-stats-card .stat-item {
    text-align: left;
}

.glass-stats-card .stat-number {
    font-size: 2.5rem;
    margin-bottom: 0.2rem;
    font-weight: 800;
    color: white;
}

.glass-stats-card .stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    text-transform: uppercase;
}

/* Mobile Responsiveness for Intro */
@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .intro-visual {
        height: 400px;
        justify-content: center;
        margin-top: 2rem;
    }

    .intro-main-img {
        width: 100%;
        transform: rotate(0);
    }

    .glass-stats-card {
        right: 50%;
        transform: translate(50%, 20px);
        bottom: -20px;
        width: 90%;
        justify-content: space-around;
        animation: none;
    }
}

/* Spaces Redesign: UPDATED SPACING & ALIGNMENT */
.spaces-section {
    background: #f0f4ff;
}

.section-header {
    text-align: left;
    /* FIX: Align left */
    margin-bottom: 5rem;
    /* FIX: More spacing */
}

.spaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    /* FIX: More gap */
}

.space-card {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 500px;
    isolation: isolate;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.space-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    z-index: 10;
}

.space-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.space-card:hover .space-img {
    transform: scale(1.1);
}

.space-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    color: white;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    transition: background 0.3s;
}

.space-card:hover .space-overlay {
    background: linear-gradient(to top, rgba(5, 60, 241, 0.9) 0%, rgba(5, 60, 241, 0.2) 100%);
}

.space-tag {
    background: white;
    color: var(--primary-color);
    padding: 0.3rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: auto;
    margin-top: -1rem;
}

.space-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    transform: translateY(10px);
    transition: transform 0.4s;
    color: white;
}

.space-info p {
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.space-card:hover .space-info h3 {
    transform: translateY(0);
}

.space-card:hover .space-info p {
    opacity: 1;
    transform: translateY(0);
}

.space-link {
    color: white;
    font-weight: 600;
    opacity: 0.9;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 5px;
}

/* Services (Dark Blue + Abstract Blur) */
.services-section {
    background: #021a6e;
    color: white;
    position: relative;
    overflow: hidden;
}

.abstract-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
    /* FIX: Reduced Opacity */
}

.abstract-bg img {
    width: 120%;
    height: 120%;
    object-fit: cover;
    filter: blur(40px) brightness(1.2);
    animation: drift 20s infinite alternate;
}

@keyframes drift {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.service-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
    transition: 0.3s;
}

.service-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* Utilities */
.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 1rem 3rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--primary-light);
}

.btn-white {
    background: white;
    color: var(--primary-color);
    padding: 1rem 3rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
}

.btn-white:hover {
    background: #f0f0f0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* NEW FOOTER CSS */
.main-footer {
    background: linear-gradient(to bottom, #020617, #000000);
    color: white;
    padding-top: 6rem;
    padding-bottom: 2rem;
    font-size: 0.95rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
}

.footer-brand h2 {
    font-size: 2rem;
    background: linear-gradient(90deg, #fff, #9fabc0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.footer-heading {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #94a3b8;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    color: white;
    outline: none;
    transition: 0.3s;
}

.newsletter-input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.btn-subscribe {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-subscribe:hover {
    background: var(--primary-light);
}

.footer-bottom {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #556677;
}

/* Mobile */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .nav-links {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }
}