@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Light Theme Variables */
    --primary-bg: hsl(0, 0%, 100%);
    --secondary-bg: #f8fafc;
    --accent-color: #3b82f6;
    --accent-hover: #2563eb;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --card-bg: rgba(255, 255, 255, 0.8);
    --nav-bg: rgba(255, 255, 255, 0.7);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-x: hidden;
    opacity: 0;
    animation: bodyFadeIn 0.5s ease-out 0.1s forwards;
}

@keyframes bodyFadeIn {
    to { opacity: 1; }
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
/* --- Ultra-Modern Header Design --- */
header {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 0;
}

header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    z-index: -1;
    transition: all 0.4s ease;
}

header.scrolled {
    top: 0;
    width: 100%;
    max-width: none;
    padding: 0.25rem 0;
}

header.scrolled::before {
    border-radius: 0;
    background: var(--nav-bg);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-main);
    white-space: nowrap;
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(-5deg) scale(1.1);
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hamburger Menu - Styled for Modernity */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: var(--border-color);
}

.hamburger-line {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--text-main);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Navigation Container */
.nav-container {
    position: absolute;
    top: calc(100% + 1rem);
    left: 0;
    right: 0;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    z-index: 1002;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

.nav-container.active {
    max-height: 80vh;
    opacity: 1;
    visibility: visible;
    padding: 1rem 0;
    transform: translateY(0);
}

/* Nav Links - High-End Hover & Active States */
.nav-links {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 1rem;
}

.nav-links li {
    margin: 0.25rem 0;
}

.nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Effect */
.nav-links a:hover {
    background: rgba(var(--accent-color), 0.1);
    color: var(--accent-color);
    padding-left: 2rem;
}

/* Active State Badge */
.nav-links a.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.nav-right {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
}

.nav-right .btn {
    width: 100%;
    justify-content: center;
}

/* DESKTOP REFINEMENT (992px+) */
@media (min-width: 992px) {
    .hamburger {
        display: none;
    }

    .nav-container {
        position: static;
        flex-direction: row;
        max-height: none;
        background: transparent;
        border: none;
        opacity: 1;
        visibility: visible;
        padding: 0;
        gap: 2rem;
        overflow: visible;
    }

    .nav-links {
        flex-direction: row;
        padding: 0;
        gap: 0.5rem;
    }

    .nav-links a {
        padding: 0.6rem 1.25rem;
        font-size: 0.95rem;
    }

    .nav-links a:hover {
        padding-left: 1.25rem;
        background: var(--secondary-bg);
        transform: translateY(-2px);
    }

    .nav-links a.active {
        background: var(--gradient-primary);
        color: white;
    }

    .nav-right {
        flex-direction: row;
        padding: 0;
        border: none;
        gap: 1.5rem;
    }

    .nav-right .btn {
        width: auto;
    }
}




/* Enhanced Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%),
        linear-gradient(rgba(249, 250, 251, 0.8), rgba(255, 255, 255, 0.9)),
        url('../images/background-image.png');
    background-size: cover;
    background-position: center;
}
@media (min-width: 768px) {
    .hero {
        background-attachment: fixed;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    animation: hero-float 20s ease-in-out infinite;
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-0.5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { filter: brightness(1); }
    to { filter: brightness(1.2); }
}

.hero h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: underlineSlide 2s ease-in-out infinite;
}

@keyframes underlineSlide {
    0%, 100% { transform: scaleX(0); }
    50% { transform: scaleX(1); }
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Enhanced Glowing Background Elements */
.hero-glow {
    position: absolute;
    top: 50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.1));
    filter: blur(100px);
    opacity: 0.6;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

.hero-glow:nth-child(2) {
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15), rgba(16, 185, 129, 0.1));
    animation: glowPulse 6s ease-in-out infinite reverse;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrolling Innovations Track */
.innovations-track {
    background: var(--secondary-bg);
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.track-content {
    display: inline-block;
    animation: scroll-track 40s linear infinite;
}

.track-item {
    display: inline-block;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-muted);
    margin: 0 3rem;
    transition: all 0.3s ease;
    opacity: 0.3;
}

.track-item:hover {
    color: var(--accent-color);
    -webkit-text-stroke: 1px var(--accent-color);
    opacity: 1;
}

@keyframes scroll-track {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Premium Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -5px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: var(--secondary-bg);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-4px);
}

/* Sections */
section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header span, .section-badge {
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.highlight-text {
    position: relative;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Enhanced Card System */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.premium-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

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

.premium-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: var(--accent-color);
}

.card-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 2px solid transparent;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.premium-card:hover .card-icon {
    background: var(--gradient-primary);
    color: white;
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.premium-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
    position: relative;
    z-index: 2;
}

.premium-card p {
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Card Number Badges */
.premium-card::after {
    content: counter(card-counter);
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.premium-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Enhanced Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
    position: relative;
    cursor: pointer;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.3) 70%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h4 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* Gallery item numbering */
.gallery-item::before {
    content: counter(gallery-counter);
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    z-index: 2;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.gallery-item:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* Footer */
footer {
    background: var(--secondary-bg);
    padding: 8rem 0 3rem;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-brand .logo {
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 320px;
}

.footer-nav h4 {
    font-weight: 700;
    margin-bottom: 2rem;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 1rem;
}

.footer-nav ul li a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Responsive Design - Mobile First */

/* Counters for cards and gallery */
.card-grid {
    counter-reset: card-counter;
}

.premium-card {
    counter-increment: card-counter;
}

.gallery-grid {
    counter-reset: gallery-counter;
}

.gallery-item {
    counter-increment: gallery-counter;
}

/* Mobile devices - base styles already apply */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-content {
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }

    .premium-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .premium-card::after {
        display: none; /* Hide card numbers on mobile */
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }

    .gallery-item {
        aspect-ratio: 4/3;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }

    .team-card {
        padding: 2rem 1.5rem;
    }
}

/* Small tablets and larger phones */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 4rem 0;
    }

    .nav-right .btn {
        display: none;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero p {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }

    .hero-btns {
        gap: 0.75rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

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

    .premium-card {
        padding: 2.5rem;
    }

    .premium-card h3 {
        font-size: 1.25rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-header h2 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }

    .section-header span, .section-badge {
        font-size: 0.75rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .track-item {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        margin: 0 1.5rem;
    }

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

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    footer {
        padding: 4rem 0 2rem;
    }
}

/* Tablets and small desktops */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: clamp(3rem, 7vw, 4.5rem);
    }

    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 3rem;
    }

    .footer-top {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 3rem;
    }
}

/* Large desktop screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

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

    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 3rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 2.5rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 4rem;
    }
}

/* Very small screens (320px-480px) - tighten spacing */
@media (max-width: 480px) {
    .gap-gutter, .gap-md {
        gap: 16px !important;
    }
    .gap-lg {
        gap: 24px !important;
    }
    .gap-xl {
        gap: 32px !important;
    }
    .p-lg {
        padding: 24px !important;
    }
    .py-xl {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }
    .px-margin-mobile {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Ultra-wide screens */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

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

    .hero-glow {
        width: 800px;
        height: 800px;
    }
}

/* Admin Panel Specific Styles */
.admin-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--secondary-bg);
    border-right: 1px solid var(--border-color);
    padding: 2.5rem 1.5rem;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-sidebar-header {
    margin-bottom: 3rem;
}

.admin-nav {
    list-style: none;
    flex: 1;
}

.admin-nav li {
    margin-bottom: 0.5rem;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    text-decoration: none;
    color: var(--text-muted);
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: var(--accent-color);
    color: white;
}

.admin-main {
    padding: 3rem;
    background: var(--primary-bg);
}

.admin-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Data Table Styling */
.admin-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.data-table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    padding: 1.25rem 1rem;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover {
    background: var(--secondary-bg);
}

.action-btns {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-edit {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.btn-delete {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.btn-edit:hover {
    background: #3b82f6;
    color: white;
}

.btn-delete:hover {
    background: #ef4444;
    color: white;
}

@media (max-width: 1024px) {
    .admin-layout {
        grid-template-columns: 80px 1fr;
    }

    .admin-sidebar span,
    .admin-sidebar-header h3 {
        display: none;
    }
}

/* Enhanced Team Section Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    padding: 0 1rem;
}

.team-card {
    text-align: center;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
    transition: left 0.6s ease;
}

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

.team-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.team-image {
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--secondary-bg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.team-image::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-image {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent-color);
}

.team-card:hover .team-image::after {
    opacity: 0.3;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    position: relative;
    z-index: 2;
}

.team-info .position {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

.team-contact span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--secondary-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.team-contact span:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.team-contact i {
    font-size: 1rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.team-contact span:hover i {
    transform: scale(1.2);
}