:root {
    --color-1: #003049;
    /* Deep Space Blue */
    --color-2: #d62828;
    /* Flag Red */
    --color-3: #f77f00;
    /* Princeton Orange */
    --color-4: #fcbf49;
    /* Sunflower Gold */
    --color-5: #eae2b7;
    /* Vanilla Custard */

    --primary-marigold: var(--color-3);
    /* Princeton Orange */
    --dark-bg: var(--color-5);
    /* Vanilla Custard */
    --dark-surface: #FFFFFF;
    /* Pure White */
    --text-light: var(--color-1);
    /* Deep Space Blue */
    --text-muted: #4e606b;
    /* Muted deep blue */
    --accent-gold: var(--color-2);
    /* Flag Red (replaced gold) */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: initial;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-marigold);
    border-radius: 4px;
}

/* Global Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background: var(--color-4);
}

.text-center {
    text-align: center;
}

.gold-text {
    color: var(--primary-marigold);
}

.btn-primary {
    background-color: var(--primary-marigold);
    color: var(--color-5);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    transform: translateY(-2px);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

header.scrolled {
    background: rgba(249, 248, 246, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo .marigold {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-marigold);
}

.logo .subtitle {
    font-size: 9px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 4px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-marigold);
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--primary-marigold);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-action {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-login {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.btn-login:hover {
    color: var(--primary-marigold);
}

.nav-links li {
    position: relative;
}

/* Dropdown */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark-surface);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    border: 1px solid rgba(212, 175, 55, 0.1);
    z-index: 100;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content li {
    width: 100%;
}

.dropdown-content li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: var(--text-light);
    text-transform: none;
    letter-spacing: 0.5px;
}

.dropdown-content li a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-marigold);
    padding-left: 25px;
}

.chevron {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover .chevron {
    transform: rotate(180deg);
}

.founder-action {
    margin-top: 20px;
    margin-bottom: 25px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    background: var(--color-5);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 120%;
    /* Extra height for parallax */
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 48, 73, 0.85) 0%, rgba(0, 48, 73, 0.60) 50%, rgba(0, 48, 73, 0.40) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(36px, 5vw + 1rem, 64px);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--dark-bg);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-indicator span {
    font-size: 10px;
    letter-spacing: 3px;
    writing-mode: vertical-rl;
    color: var(--text-muted);
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: var(--primary-marigold);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-light);
    animation: scrollLine 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollLine {
    to {
        top: 100%;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

.hero-content h1.fade-in {
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-content p.fade-in {
    animation: fadeInUp 1s forwards 0.8s;
}

.hero-btns.fade-in {
    animation: fadeInUp 1s forwards 1.1s;
}

.scroll-indicator.fade-in {
    animation: fadeInUp 1s forwards 1.5s;
}

/* Featured Projects Section */
.section-header {
    margin-bottom: 50px;
    text-align: left;
}

.section-header h2 {
    font-size: clamp(28px, 4vw + 1rem, 42px);
    margin-bottom: 10px;
}

.playfair {
    font-family: 'Playfair Display', serif;
}

.projects-slider {
    padding: 20px 0 60px;
    overflow: visible;
}

.project-card {
    background: var(--dark-surface);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
    height: auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-marigold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.project-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-marigold);
    color: var(--color-5);
    padding: 5px 15px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 20px;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.project-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.btn-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-marigold);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-text .arrow {
    transition: transform 0.3s ease;
}

.btn-text:hover .arrow {
    transform: translateX(5px);
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-marigold);
}

.swiper-pagination-bullet-active {
    background: var(--primary-marigold);
}

/* Map Section */
.map-container {
    height: min(500px, 60vh);
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 10;
}

.map-popup h4 {
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.leaflet-popup-content-wrapper {
    background: var(--color-5);
    color: #333;
    border-radius: 4px;
}

.custom-pin {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* About Us Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h5 {
    letter-spacing: 4px;
    font-size: 12px;
    margin-bottom: 15px;
}

.about-content h2 {
    font-size: 42px;
    margin-bottom: 30px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item h3 {
    color: var(--primary-marigold);
    font-size: 32px;
    font-family: 'Playfair Display', serif;
}

.stat-item p {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: -20px 20px 0 var(--primary-marigold);
}

/* Testimonials Section */
.testimonial-card {
    background: var(--dark-surface);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 30px;
}

.testimonial-user strong {
    display: block;
    color: var(--primary-marigold);
    font-size: 16px;
}

.testimonial-user span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Footer Section */
footer {
    background: var(--color-5);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand p {
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 14px;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links ul li a:hover {
    color: var(--primary-marigold);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Add these styles to your existing style.css */

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition-smooth);
}

/* Hamburger Animation */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--dark-surface);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        backdrop-filter: blur(10px);
        border-left: 1px solid rgba(212, 175, 55, 0.2);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .nav-links a {
        font-size: 16px;
    }

    .nav-action {
        margin-top: 20px;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Adjust other responsive styles */
    .hero-content h1 {
        font-size: 48px;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 20px auto;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary,
    .btn-outline {
        text-align: center;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-image img {
        box-shadow: -10px 10px 0 var(--primary-marigold);
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo .marigold {
        font-size: 22px;
    }

    .logo .subtitle {
        font-size: 7px;
        letter-spacing: 2px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .nav-menu {
        width: 100%;
    }
}

/* Vision & Mission Section */
.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vision-card {
    background: var(--dark-surface);
    padding: 50px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
    transition: var(--transition-smooth);
}

.vision-card:hover {
    border-color: var(--primary-marigold);
    transform: translateY(-5px);
}

.card-icon {
    margin-bottom: 25px;
}

.vision-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.vision-card p {
    color: var(--text-muted);
}

/* Founder's Word Section */
.founder-flex {
    display: flex;
    gap: 80px;
    align-items: center;
}

.founder-image {
    position: relative;
    flex: 0 0 400px;
}

.founder-image img {
    width: 100%;
    border-radius: 8px;
    filter: grayscale(20%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.founder-seal {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-marigold);
    color: var(--text-light);
    padding: 15px 25px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    border-radius: 4px;
}

.founder-content h5 {
    letter-spacing: 4px;
    font-size: 12px;
    margin-bottom: 15px;
}

.founder-content h2 {
    font-size: 42px;
    margin-bottom: 40px;
}

.founder-content blockquote {
    font-size: 24px;
    color: var(--primary-marigold);
    border-left: 3px solid var(--primary-marigold);
    padding-left: 30px;
    margin-bottom: 30px;
    font-style: italic;
    line-height: 1.4;
}

.founder-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.founder-sig {
    display: flex;
    flex-direction: column;
}

.founder-sig .name {
    font-weight: 700;
    color: var(--text-light);
}

.founder-sig .title {
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 991px) {
    .vision-grid {
        grid-template-columns: 1fr;
    }

    .founder-flex {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .founder-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
    }

    .founder-content blockquote {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--primary-marigold);
        border-bottom: 1px solid var(--primary-marigold);
        padding: 20px 0;
    }
}

/* Portfolio Section */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-muted);
    padding: 10px 25px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 4px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-marigold);
    color: var(--text-light);
    border-color: var(--primary-marigold);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    transition: var(--transition-smooth);
}

.portfolio-item.hidden {
    display: none;
}

@media (max-width: 991px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-filters {
        flex-wrap: wrap;
        gap: 10px;
    }

    .filter-btn {
        flex: 1 1 40%;
    }
}

/* Subpage Styles */
.subpage-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
}

.subpage-hero h1 {
    font-size: 48px;
    margin-top: 15px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-50 {
    margin-top: 50px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-50 {
    margin-bottom: 50px;
}

.w-100 {
    width: 100%;
}

.img-responsive {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 8px;
}

.shadow {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pillar-card {
    padding: 40px;
    background: var(--dark-surface);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.pillar-card:hover {
    border-color: var(--primary-marigold);
    transform: translateY(-5px);
}

/* Form Styles */
.contact-form-container,
.auth-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--dark-surface);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px;
    color: var(--text-light);
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-marigold);
    background: rgba(255, 255, 255, 0.08);
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--deep-black);
}

@media (max-width: 991px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .subpage-hero h1 {
        font-size: 36px;
    }

    .contact-form-container,
    .auth-form-container {
        padding: 30px 20px;
    }

    .horizon-row {
        flex-direction: column !important;
        gap: 40px;
    }

    .horizon-image {
        width: 100% !important;
        transform: none !important;
    }
}

.horizon-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.horizon-row.reversed {
    flex-direction: row-reverse;
}

.horizon-image {
    flex: 1;
    position: relative;
    will-change: transform;
}

.horizon-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.horizon-content {
    flex: 1;
}

.mt-20 {
    margin-top: 20px;
}

.overflow-hidden {
    overflow: hidden;
}

/* Parallax Welcome Section */
.logo-circular-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 600 / 350;
    margin: 0 auto;
}

.circular-logo {
    position: absolute;
    top: 34.28%;
    left: 50%;
    transform: translateX(-50%);
    width: 66%;
    max-width: 400px;
    z-index: 2;
}

.circular-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%;
    z-index: 1;
}

.parallax-welcome {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
}

.parallax-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 120%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
    will-change: transform;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgb(97 97 97 / 80%), rgb(7 7 7 / 60%));
    z-index: 0;
}

.welcome-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #FFFFFF !important;
}

.welcome-content h5 {
    font-size: 14px;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.welcome-content h2 {
    font-size: clamp(32px, 5vw + 1rem, 56px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.welcome-content p {
    font-size: clamp(16px, 3vw, 20px);
    letter-spacing: 2px;
    font-style: italic;
    margin-bottom: 30px;
    color: white;
}

.vision-badge {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid var(--primary-marigold);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .parallax-welcome {
        height: 60vh;
    }

    .welcome-content h2 {
        font-size: 36px;
    }

    .parallax-video {
        position: absolute;
        /* Mobile optimization */
    }
}

/* Auth Page Enhancements */
.auth-page {
    min-height: 100vh;
    padding: 0;
    display: flex;
}

.auth-split {
    display: flex;
    width: 100%;
}

.auth-visual {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: var(--dark-bg);
}

.auth-visual video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.auth-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10% 10%;
    z-index: 10;
}

.auth-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--dark-bg);
    position: relative;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 60px;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.auth-logo {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 100;
}

.form-group label {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--primary-marigold);
    margin-bottom: 10px;
    font-weight: 700;
}

.form-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px;
    color: var(--text-light);
    border-radius: 4px;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-marigold);
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 991px) {
    .auth-visual {
        display: none;
    }

    .auth-content {
        padding: 20px;
    }

    .glass-card {
        padding: 40px 20px;
    }
}

/* === ENHANCED RESPONSIVE CSS === */
@media (max-width: 1024px) {

    /* Adjust gaps for Medium Screens / Tablet Landscape */
    .grid-2,
    .horizon-row,
    .founder-flex {
        gap: 40px;
    }

    .section-padding {
        padding: 80px 0;
    }
}

@media (max-width: 991px) {

    /* Tablet Portrait */
    .horizon-row {
        flex-direction: column !important;
        gap: 30px;
    }

    .horizon-image img,
    .horizon-image video {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/9;
    }

    .founder-flex {
        flex-direction: column;
        text-align: center;
    }

    .founder-image {
        max-width: 350px;
        margin: 0 auto;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-image {
        height: 250px;
    }
}

@media (max-width: 768px) {

    /* Mobile Landscape & Large Phones */
    .section-padding {
        padding: 60px 0;
    }

    .portfolio-filters {
        flex-wrap: wrap;
        gap: 10px;
    }

    .filter-btn {
        flex: 1 1 calc(50% - 10px);
        padding: 10px 5px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: auto;
        aspect-ratio: 4/3;
    }

    .scroll-indicator {
        display: none;
    }

    /* Ensure parallax video covers its container */
    .parallax-welcome {
        height: auto;
        min-height: 80vh;
        padding-bottom: 50px;
    }

    .parallax-video {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 480px) {

    /* Small Phones */
    .section-padding {
        padding: 40px 0;
    }

    .logo-circular-wrapper {
        margin-top: 20px;
    }

    .circular-logo {
        width: 70%;
        top: 50%;
        max-width: 250px;
    }

    .welcome-content {
        padding-top: 15vh !important;
    }

    .founder-image {
        max-width: 250px;
        margin: 0 auto;
    }
}