/* ===== FONT CONFIGURATION ===== */
:root {
    /* Fonts */
    --font-body: 'Inter', Arial, Helvetica, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    
    /* Colors */
    --primary-color: #e13236;
    --primary-hover: #b91c1c;
    --secondary-color: #191919;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --bg-primary: #f6f6f6;
    --bg-secondary: #f5f5f5;
    --border-color: #e5e7eb;
    
    /* Unified Gray (from footer) */
    --gray-primary: #191919;
    
    /* Border Radius Variables for Consistency */
    --border-radius-xs: 6px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    
    /* Spacing Variables */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Responsive Spacing */
    --container-padding: clamp(1rem, 3vw, 2rem);
    --section-padding: clamp(3rem, 8vw, 5rem) 0;
    --header-height: clamp(65px, 8vw, 85px);
    
    /* Responsive Typography */
    --fs-hero: clamp(2rem, 8vw, 3.5rem);
    --fs-heading: clamp(1.8rem, 6vw, 3rem);
    --fs-subheading: clamp(1.2rem, 4vw, 1.5rem);
    --fs-body: clamp(0.9rem, 2.5vw, 1.1rem);
    --fs-small: clamp(0.8rem, 2vw, 1rem);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== UTILITIES ===== */
.container {
    max-width: min(1200px, 95vw);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 3rem);
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease-out 0.2s forwards;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: var(--fs-heading);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    transition: var(--transition-smooth);
}

.section-header p {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    max-width: min(600px, 90vw);
    margin: 0 auto;
    transition: var(--transition-smooth);
}

.section-footer {
    text-align: center;
    margin-top: clamp(2rem, 5vw, 3rem);
}

/* ===== BASIC ANIMATIONS ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes grainTexture {
    0% { 
        transform: translateX(0) translateY(0) scale(1.1);
        opacity: 0.3;
    }
    16.67% { 
        transform: translateX(-5px) translateY(-7px) scale(1.15);
        opacity: 0.25;
    }
    33.33% { 
        transform: translateX(3px) translateY(-4px) scale(1.05);
        opacity: 0.35;
    }
    50% { 
        transform: translateX(-4px) translateY(6px) scale(1.2);
        opacity: 0.2;
    }
    66.67% { 
        transform: translateX(6px) translateY(-3px) scale(1.0);
        opacity: 0.3;
    }
    83.33% { 
        transform: translateX(-3px) translateY(4px) scale(1.25);
        opacity: 0.25;
    }
    100% { 
        transform: translateX(0) translateY(0) scale(1.1);
        opacity: 0.3;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.6rem, 2vw, 0.75rem) clamp(1.2rem, 3vw, 1.5rem);
    border: none;
    border-radius: var(--border-radius-lg);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--fs-small);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: var(--spacing-sm);
    transform: scale(1);
    position: relative;
    will-change: transform;
    overflow: hidden;
    min-height: 44px;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(225, 50, 54, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px) scale(1.05);
}

.btn-small {
    padding: clamp(0.4rem, 1.5vw, 0.5rem) clamp(0.8rem, 2vw, 1rem);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    border-radius: var(--border-radius-md);
}

/* ===== ABOUT US BUTTON ===== */
.about-us-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 2.5vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: clamp(14px, 3.5vw, 18px);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 0.75rem;
    transform: scale(1);
    position: relative;
    will-change: transform;
    overflow: hidden;
    min-height: 50px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(225, 50, 54, 0.2);
}

.about-us-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.about-us-btn:hover::before {
    left: 100%;
}

.about-us-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(225, 50, 54, 0.3);
}

.view-all-projects-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 2.5vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: clamp(14px, 3.5vw, 18px);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 0.75rem;
    transform: scale(1);
    position: relative;
    will-change: transform;
    overflow: hidden;
    min-height: 50px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(225, 50, 54, 0.2);
    margin-top: var(--spacing-xl);
}

.view-all-projects-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(225, 50, 54, 0.3);
}

/* ===== FLOATING NAVIGATION ===== */
.top-bar {
    position: fixed;
    top: clamp(10px, 3vw, 20px);
    left: 50%;
    transform: translateX(-50%) translateY(0);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: var(--header-height);
    width: min(95vw, 1000px);
    border-radius: var(--border-radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.top-bar.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.top-bar.hide {
    transform: translateX(-50%) translateY(-100px);
    opacity: 0;
}

.nav-container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 var(--container-padding);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: var(--transition-smooth);
}

.logo i {
    font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    transition: var(--transition-smooth);
    color: var(--primary-color);
    animation: gentleFloat 4s ease-in-out infinite;
}

.logo:hover i {
    transform: scale(1.1) rotate(15deg);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition-fast);
    position: relative;
    outline: none !important;
    border: none !important;
    will-change: color;
    font-size: var(--fs-small);
    min-height: 44px;
    display: flex;
    align-items: center;
}

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

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

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

.login-btn {
    background: var(--primary-color);
    color: white !important;
    padding: clamp(0.4rem, 1.5vw, 0.5rem) clamp(0.8rem, 2vw, 1rem);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    transform: scale(1);
    outline: none !important;
    border: none !important;
    position: relative;
    will-change: transform;
    font-size: var(--fs-small);
    min-height: 44px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.login-btn::after {
    display: none !important;
}

.login-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(225, 50, 54, 0.4);
}

/* ===== DROPDOWN ===== */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-toggle i {
    transition: var(--transition-fast);
    font-size: 0.8rem;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-sm) 0;
    min-width: max(200px, 20vw);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1001;
    will-change: transform, opacity;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
    font-size: var(--fs-small);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.dropdown-menu a:hover {
    background: rgba(225, 50, 54, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 7px;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-smooth);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0%) blur(10px);
    transition: transform 0.6s ease-out;
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: min(1200px, 95vw);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    text-align: center;
    color: white;
    animation: fadeInScale 1s ease-out 0.3s both;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: var(--fs-hero);
    font-weight: 700;
    color: rgb(255, 255, 255);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: var(--fs-body);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
    max-width: min(800px, 90vw);
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== LIVE UPDATES BAR (SOLID GRAY) ===== */
.live-updates-bar {
    background: var(--gray-primary);
    color: white;
    padding: clamp(0.75rem, 2vw, 1rem) 0;
    overflow: hidden;
    position: relative;
}

.live-updates-content {
    display: flex;
    animation: scrollText 25s linear infinite;
    white-space: nowrap;
}

@keyframes scrollText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.live-item {
    display: flex;
    align-items: center;
    margin-right: 4rem;
    font-weight: 500;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.live-item i {
    margin-right: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.9);
    animation: gentleFloat 3s ease-in-out infinite;
}

/* ===== SECTIONS ===== */
.what-we-do {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 90vw), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
}

.activity-card {
    background: white;
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: var(--border-radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    opacity: 1;
    transform: translateY(0) scale(1);
    will-change: transform, opacity;
    position: relative;
    overflow: hidden;
    animation: cardEntrance 0.6s ease-out both;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.activity-card:hover::before {
    left: 100%;
}

.activity-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.1);
}

.activity-icon {
    width: clamp(60px, 12vw, 80px);
    height: clamp(60px, 12vw, 80px);
    background: var(--secondary-color);
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin: 0 auto 1.5rem auto;
    transition: var(--transition-smooth);
    will-change: transform;
}

.activity-card:hover .activity-icon {
    transform: scale(1.2) rotate(15deg);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.activity-card h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-subheading);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    transition: var(--transition-smooth);
}

.activity-card:hover h3 {
    transform: translateY(-3px);
    color: var(--primary-color);
}

.activity-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    transition: var(--transition-smooth);
    font-size: var(--fs-small);
}

.activity-card:hover p {
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* ===== OUR VISION SECTION (SOLID GRAY) ===== */
.our-vision {
    padding: clamp(2rem, 5vw, 3rem) 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.vision-container {
    max-width: min(1200px, 95vw);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 2;
}

.vision-content {
    text-align: center;
    background: var(--gray-primary);
    padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
    border-radius: var(--border-radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: fadeInScale 0.8s ease-out 0.5s both;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vision-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.vision-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.vision-content p {
    font-size: var(--fs-body);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    max-width: none;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ===== PROJECTS SECTION ===== */
.projects-preview {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 90vw), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
}

.project-card {
    background: white;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    opacity: 1;
    transform: translateY(0) scale(1);
    will-change: transform, opacity;
    position: relative;
    animation: cardEntrance 0.6s ease-out both;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.1);
}

.project-image {
    position: relative;
    height: clamp(180px, 25vw, 200px);
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    will-change: transform;
}

.project-card:hover .project-image img {
    transform: scale(1.15);
    filter: brightness(1.1);
}

.project-content {
    padding: clamp(1.2rem, 3vw, 1.5rem);
    position: relative;
    z-index: 2;
}

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

.project-content h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-subheading);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.project-card:hover .project-content h3 {
    transform: translateY(-3px);
    color: var(--primary-color);
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    transition: var(--transition-smooth);
    font-size: var(--fs-small);
}

.project-card:hover .project-content p {
    color: var(--text-primary);
}

.project-tags {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius-md);
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    font-weight: 500;
    transition: var(--transition-fast);
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px) scale(1.05);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: clamp(1.5rem, 4vw, 2rem) 0 clamp(0.75rem, 2vw, 1rem) 0;
    border-top-left-radius: clamp(30px, 6vw, 40px);
    border-top-right-radius: clamp(30px, 6vw, 40px);
    margin-top: var(--spacing-xl);
}

.footer-top {
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.quick-links h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
}

.quick-links ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem var(--spacing-md);
    max-width: 400px;
}

.quick-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
    padding: 0.2rem 0;
    display: flex;
    align-items: center;
    font-size: clamp(0.75rem, 1.8vw, 0.9rem);
    min-height: 36px;
}

.quick-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-right {
    order: 2;
    text-align: right;
}

.contact-section h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
}

.contact-info p {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
    font-size: clamp(0.75rem, 1.8vw, 0.9rem);
    min-height: 36px;
}

.contact-info i {
    width: 18px;
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
    order: 2;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    font-size: 1.1rem;
    will-change: transform;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px) scale(1.1) rotate(5deg);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
}

/* ===== ENHANCED LOGIN MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: var(--spacing-md);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: min(400px, 90vw);
    z-index: 2001;
}

.modal-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0;
    overflow: hidden;
    transform: translateY(60px) scale(0.8) rotateX(15deg);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity;
    transform-origin: center center;
    perspective: 1000px;
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1) rotateX(0deg);
    opacity: 1;
}

.modal-header {
    padding: clamp(1.5rem, 4vw, 2rem);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.modal-overlay.active .modal-header {
    transform: translateY(0);
    opacity: 1;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 4vw, 1.6rem);
    font-weight: 700;
    color: white;
    margin: 0;
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    transform: rotate(0deg) scale(1);
}

.modal-close:hover {
    background: rgba(225, 50, 54, 0.2);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(225, 50, 54, 0.3);
}

.modal-content {
    padding: var(--spacing-md) clamp(1.5rem, 4vw, 2rem) clamp(1.5rem, 4vw, 2rem);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.login-form {
    width: 100%;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
    transform: translateX(-20px);
    opacity: 0;
    animation: slideInFromLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.modal-overlay.active .form-group:nth-child(1) {
    animation-delay: 0.3s;
}

.modal-overlay.active .form-group:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes slideInFromLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.form-group label {
    display: block;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-sm);
    transition: var(--transition-fast);
}

.form-group input {
    width: 100%;
    padding: clamp(0.75rem, 2vw, 1rem);
    padding-left: clamp(2.5rem, 6vw, 3rem);
    padding-right: clamp(2.5rem, 6vw, 3rem);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: clamp(12px, 3vw, 14px);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    font-family: var(--font-body);
    min-height: 50px;
    position: relative;
    z-index: 1;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 20px rgba(225, 50, 54, 0.2),
        0 0 0 4px rgba(225, 50, 54, 0.1);
}

.input-icon {
    position: absolute;
    left: clamp(0.8rem, 2vw, 1rem);
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    margin-top: clamp(0.6rem, 1.5vw, 0.75rem);
}

.form-group input:focus + .input-icon {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.2) rotate(5deg);
}

.password-toggle {
    position: absolute;
    right: clamp(0.8rem, 2vw, 1rem);
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    margin-top: clamp(0.6rem, 1.5vw, 0.75rem);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%) scale(1.1);
}

.form-actions {
    margin: var(--spacing-xl) 0 var(--spacing-md) 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}

.modal-overlay.active .form-actions {
    transform: translateY(0);
    opacity: 1;
}

.login-submit-btn {
    width: 100%;
    min-height: 50px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.login-submit-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 25px rgba(225, 50, 54, 0.4);
}

.login-submit-btn:active {
    transform: translateY(0) scale(0.98);
    transition: all 0.1s ease;
}

.login-submit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: 0;
}

.login-submit-btn:active::after {
    width: 300px;
    height: 300px;
}

.login-submit-btn span,
.login-submit-btn .loading-icon {
    position: relative;
    z-index: 1;
}

.login-submit-btn .loading-icon {
    opacity: 0;
    position: absolute;
    animation: spin 1s linear infinite;
    transition: opacity 0.3s ease;
}

.login-submit-btn.loading span {
    opacity: 0;
}

.login-submit-btn.loading .loading-icon {
    opacity: 1;
}

.login-submit-btn.loading {
    pointer-events: none;
}

.login-submit-btn.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.1), 
        transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.form-footer {
    text-align: center;
    margin-top: var(--spacing-md);
    transform: translateY(15px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.modal-overlay.active .form-footer {
    transform: translateY(0);
    opacity: 1;
}

.forgot-password {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
}

.forgot-password::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.forgot-password:hover {
    color: var(--primary-color);
}

.forgot-password:hover::after {
    width: 100%;
}

.modal-overlay::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.1) 1px, transparent 0),
        radial-gradient(circle at 3px 3px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 20px 20px, 35px 35px;
    opacity: 0;
    pointer-events: none;
    animation: grainTexture 8s infinite linear;
    transition: opacity 0.6s ease;
}

.modal-overlay.active::before {
    opacity: 0.4;
}

/* ===== STAGGERED ANIMATIONS ===== */
.activity-card:nth-child(1) { animation-delay: 0.1s; }
.activity-card:nth-child(2) { animation-delay: 0.2s; }
.activity-card:nth-child(3) { animation-delay: 0.3s; }
.activity-card:nth-child(4) { animation-delay: 0.4s; }
.activity-card:nth-child(5) { animation-delay: 0.5s; }
.activity-card:nth-child(6) { animation-delay: 0.6s; }

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 479px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .btn,
    .about-us-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .vision-content p {
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .footer-right {
        text-align: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .quick-links ul {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-card {
        transform: translateY(100px) scale(0.9);
    }
    
    .modal-overlay.active .modal-card {
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 767px) {
    .top-bar {
        top: 10px;
        width: 95%;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: calc(var(--header-height) + 20px);
        left: 2.5%;
        width: 95%;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: var(--border-radius-lg);
        box-shadow: var(--shadow-lg);
        border: 1px solid rgba(0, 0, 0, 0.08);
        transform: translateY(-20px) scale(0.95);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 998;
    }
    
    .nav-menu.active {
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links {
        flex-direction: column;
        padding: var(--spacing-xl);
        gap: var(--spacing-md);
        width: 100%;
    }
    
    .nav-link,
    .login-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 0.75rem var(--spacing-md);
    }
    
    .activities-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .activities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .modal-card {
        transform: translateY(10px) scale(0.95) !important;
    }
}

*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button,
a,
.btn,
.nav-link,
.login-btn {
    min-height: 44px;
    min-width: 44px;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
/* Optimize font loading */
/* Removed incomplete @font-face rule to satisfy linter */

/* Remove will-change after animation completes */
.activity-card,
.project-card {
    will-change: auto;
}

.activity-card:hover,
.project-card:hover,
.top-bar,
.hero-bg,
.modal-overlay {
    will-change: transform;
}