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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Smooth theme transitions */
*,
*::before,
*::after {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Premium Colors - Dark Theme */
    --bg: #000000;
    --surface: #0A0A0A;
    --surface-light: #151515;
    --surface-elevated: #1A1A1A;
    --text: #FFFFFF;
    --text-secondary: #E0E0E0;
    --text-muted: #B0B0B0;
    --text-accent: #F5F5F5;
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.04);
    --border-strong: rgba(255, 255, 255, 0.15);
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hover: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --overlay-strong: rgba(0, 0, 0, 0.85);
    --overlay-medium: rgba(0, 0, 0, 0.55);
    --overlay-soft: rgba(0, 0, 0, 0.35);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.12);
    --pill-bg: rgba(255, 255, 255, 0.2);
    --pill-bg-hover: rgba(255, 255, 255, 0.3);
    --header-bg: rgba(0, 0, 0, 0.9);
    --header-bg-alt: rgba(0, 0, 0, 0.98);
    --header-border: rgba(138, 43, 226, 0.25);
    --nav-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);

    /* Layout */
    --container: 1400px;
    --container-padding: 3rem;
    --gap: 2.5rem;
    --gap-small: 1.5rem;
    --gap-large: 5rem;
    --gap-xl: 7rem;

    /* Premium Typography */
    --font-size-xs: 0.8rem;
    --font-size-sm: 0.95rem;
    --font-size-base: 1.1rem;
    --font-size-lg: 1.3rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 1.8rem;
    --font-size-3xl: 2.2rem;
    --font-size-4xl: 2.8rem;
    --font-size-5xl: 3.5rem;
    --font-size-6xl: 4.5rem;

    /* Premium Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.4);
    --shadow-gold: 0 0 30px rgba(255, 215, 0, 0.3);

    /* Premium Transitions */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Light Theme */
[data-theme="light"] {
    --bg: #FFFFFF;
    --surface: #F8F9FA;
    --surface-light: #F0F1F3;
    --surface-elevated: #E8E9EB;
    --text: #1A1A1A;
    --text-secondary: #2D2D2D;
    --text-muted: #6B6B6B;
    --text-accent: #0A0A0A;
    --border: rgba(0, 0, 0, 0.1);
    --border-light: rgba(0, 0, 0, 0.05);
    --border-strong: rgba(0, 0, 0, 0.2);
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hover: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --overlay-strong: rgba(255, 255, 255, 0.95);
    --overlay-medium: rgba(255, 255, 255, 0.75);
    --overlay-soft: rgba(255, 255, 255, 0.5);
    --glass-bg: rgba(0, 0, 0, 0.04);
    --glass-border: rgba(0, 0, 0, 0.08);
    --pill-bg: rgba(0, 0, 0, 0.08);
    --pill-bg-hover: rgba(0, 0, 0, 0.15);
    --header-bg: rgba(255, 255, 255, 0.9);
    --header-bg-alt: rgba(255, 255, 255, 0.98);
    --header-border: rgba(0, 0, 0, 0.08);
    --nav-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);

    /* Light Theme Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.2);
    --shadow-gold: 0 0 30px rgba(255, 215, 0, 0.2);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.gradient {
    background: var(--gradient) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    display: inline !important;
    background-color: transparent !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not (background-clip: text) {
    .gradient {
        background: none !important;
        color: #667eea !important;
        -webkit-text-fill-color: #667eea !important;
    }
}

main,
section,
footer {
    background-color: var(--bg);
    color: var(--text);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== PREMIUM TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-accent);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

h1 {
    font-size: var(--font-size-6xl);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h2 {
    font-size: var(--font-size-5xl);
    font-weight: 750;
    line-height: 1.15;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

h3 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h4 {
    font-size: var(--font-size-3xl);
    font-weight: 650;
    margin-bottom: 1.25rem;
}

h5 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: 1rem;
}

h6 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.lead {
    font-size: var(--font-size-lg);
    color: var(--text-accent);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.text-muted {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.text-accent {
    color: var(--text-accent);
    font-weight: 600;
}

/* ===== PREMIUM SECTION STYLING ===== */
section {
    padding: var(--gap-xl) 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: var(--gap-large);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Premium Card Base Styles */
.card {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: translateX(-100%);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-strong);
}

.card:hover::before {
    transform: translateX(0);
}

.card-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-accent);
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--text-secondary);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: var(--shadow-md);
}

.btn:focus {
    outline: 3px solid rgba(102, 126, 234, 0.5);
    outline-offset: 3px;
}

.btn--primary {
    background: var(--gradient);
    color: #FFFFFF;
    box-shadow: var(--shadow-glow);
    border: 1px solid var(--glass-border);
}

.btn--primary:hover {
    background: var(--gradient-hover);
    transform: translate3d(0, -3px, 0) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
}

.btn--secondary {
    background: var(--glass-bg);
    color: var(--text-accent);
    border: 2px solid var(--glass-border);
    position: relative;
    backdrop-filter: blur(10px);
}

.btn--secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    border-radius: inherit;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.btn--secondary:hover {
    border-color: transparent;
    transform: translate3d(0, -2px, 0);
}

.btn--secondary:hover::before {
    opacity: 1;
}

.btn--large {
    padding: 1rem 3rem;
    font-size: var(--font-size-lg);
}

/* ===== SECTION STYLES ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--gap-large);
}

.section-title {
    color: var(--text);
    margin-bottom: 1rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translate3d(-30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translate3d(30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -10px, 0);
    }
    70% {
        transform: translate3d(0, -5px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Reveal animations triggered by JavaScript */
.reveal {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.reveal.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

.reveal--stagger {
    transition-delay: var(--stagger-delay, 0s);
}

/* ===== HEADER STYLES ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(15px);
    z-index: var(--z-sticky);
    transition: var(--transition);
    border-bottom: 1px solid var(--header-border);
    box-shadow: var(--nav-shadow);
}

.header--scrolled {
    background: var(--header-bg-alt);
    backdrop-filter: blur(20px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem var(--container-padding);
    min-height: 80px;
    gap: 1.5rem;
}

.nav__logo {
    flex-shrink: 0;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
    transition: var(--transition-fast);
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(138, 43, 226, 0.5));
}

.logo-text {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    letter-spacing: -0.02em;
    position: relative;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

.logo-text::after {
    content: '●';
    position: absolute;
    right: -8px;
    top: -5px;
    font-size: 0.5em;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* Navigation Menu */
.nav__menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__item {
    margin: 0;
}

.nav__link {
    color: var(--text);
    text-decoration: none;
    font-size: var(--font-size-base);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
    letter-spacing: 0.02em;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition-fast);
}

.nav__link:hover {
    color: #8A2BE2;
}

.nav__link:hover::after {
    width: 100%;
}

/* Social Media Icons in Nav */
.nav__social {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 2.5rem;
    padding-left: 2.5rem;
    border-left: 1px solid var(--border);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.nav__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-muted);
    border-radius: 50%;
    transition: var(--transition-fast);
    background: var(--surface-light);
    border: 1px solid var(--border);
}

.nav__social-link:hover {
    color: #8A2BE2;
    background: var(--surface-elevated);
    border-color: #8A2BE2;
    transform: translate3d(0, -2px, 0);
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--surface-elevated);
    border-color: #8A2BE2;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.theme-toggle i {
    position: absolute;
    font-size: 1.1rem;
    transition: var(--transition);
}

.sun-icon {
    color: #FFD700;
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.moon-icon {
    color: #8A2BE2;
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="light"] .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="light"] .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

/* Mobile Nav Toggle */
.nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    gap: 0.75rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.nav__toggle:hover {
    background: var(--surface-elevated);
    border-color: var(--header-border);
    transform: translate3d(0, -2px, 0);
    box-shadow: var(--shadow-glow);
}

.nav__toggle-text {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text);
}

.nav__toggle-bars {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 24px;
}

.nav__toggle-bars span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.nav__toggle[aria-expanded="true"] {
    background: var(--gradient);
    border-color: transparent;
    color: var(--text);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-text {
    color: var(--text);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(2) {
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Responsive Navigation */
@media (max-width: 968px) {
    .nav {
        gap: 1rem;
    }

    .nav__menu {
        gap: 1.5rem;
    }
    
    .nav__social {
        margin-left: 1.5rem;
        padding-left: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav {
        gap: 0.5rem;
    }

    .nav__actions {
        width: auto;
        margin-left: auto;
    }

    .nav__menu {
        display: none;
    }
    
    .nav__social {
        display: none;
    }
    
    .theme-toggle {
        width: 44px;
        height: 44px;
    }

    .nav__toggle {
        display: flex;
        padding: 0.75rem 1rem;
        border-radius: 50px;
    }

    .nav__toggle-text {
        display: none;
    }

}

/* Old Menu Wrapper Styles - Keep for backward compatibility */
.menu-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.menu-button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 1rem 1.5rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
    outline: none;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.menu-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.menu-button:hover {
    color: var(--text);
    transform: translateY(-2px);
}

.menu-button:hover::before {
    opacity: 0.1;
}

.menu-text {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: var(--font-size-xl);
    font-weight: 900;
    font-style: italic;
    color: var(--text);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

.menu-button:hover .menu-text {
    transform: scale(1.05);
    letter-spacing: 0.2em;
    color: var(--text);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    filter: brightness(1.1);
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Dropdown Menu */
.menu-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg);
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, -20px, 0);
    transition: all 0.4s ease;
    z-index: 1000;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
}

.menu-wrapper.active .menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
}

/* Close Button */
.menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1001;
    font-weight: 300;
}

.menu-close:hover {
    color: #8A2BE2;
    background: transparent;
    transform: none;
}

/* Social Media Icons */
.menu-social {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    display: flex;
    gap: 1.5rem;
    z-index: 1001;
}

.menu-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    color: var(--text);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    border-radius: 0;
    border: 1px solid var(--glass-border);
}

.menu-social-link:hover {
    background: var(--glass-border);
    transform: translate3d(0, -2px, 0);
}

.menu-dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    max-width: 600px;
}

.menu-dropdown-link {
    display: block;
    padding: 0.5rem 0;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 4rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    border: none;
    border-radius: 0;
    text-align: center;
    width: 100%;
    position: relative;
    line-height: 1.2;
}

.menu-dropdown-link:hover {
    color: #8A2BE2;
    transform: none;
    background: none;
    box-shadow: none;
}

/* Mobile Menu Overlay */
.nav__overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, 
                rgba(10, 10, 10, 0.97) 0%, 
                rgba(20, 10, 30, 0.95) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    z-index: var(--z-modal-backdrop);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav__overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(138, 43, 226, 0.15), transparent 60%),
                radial-gradient(circle at 70% 80%, rgba(102, 126, 234, 0.12), transparent 55%);
    pointer-events: none;
}

.nav__overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav__mobile {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100vw;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    overflow-y: auto;
}

.nav__mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav__mobile-label {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: clamp(0.7rem, 2vw, 0.85rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
}

.nav__overlay-close {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.nav__overlay-close span {
    display: none;
}

.nav__overlay-close i {
    font-size: 1.25rem;
}

.nav__overlay-close:hover {
    border-color: rgba(138, 43, 226, 0.6);
    background: rgba(138, 43, 226, 0.25);
    transform: scale(1.05);
}

@media (min-width: 480px) {
    .nav__overlay-close span {
        display: inline;
    }
}

.nav__mobile-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 2rem 0;
    flex-grow: 1;
    justify-content: center;
}

.nav__mobile-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav__mobile-menu li:last-child {
    border-bottom: none;
}

.nav__mobile-link {
    display: block;
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding: clamp(1rem, 4vw, 1.75rem) 0;
    padding-left: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.nav__mobile-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #8A2BE2, #667eea);
    opacity: 0;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.nav__mobile-link::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(138, 43, 226, 0.1), transparent);
    transition: width 0.4s ease;
}

.nav__mobile-link:hover,
.nav__mobile-link:focus-visible {
    color: #ffffff;
    padding-left: 2rem;
}

.nav__mobile-link:hover::before,
.nav__mobile-link:focus-visible::before {
    opacity: 1;
    height: 60%;
}

.nav__mobile-link:hover::after,
.nav__mobile-link:focus-visible::after {
    width: 100%;
}

.nav__mobile-footer {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: auto;
}

.nav__mobile-note {
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
    line-height: 1.5;
}

.nav__mobile-social {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.nav__mobile-social a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.nav__mobile-social a:hover {
    border-color: #8A2BE2;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(102, 126, 234, 0.3));
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.3);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: calc(var(--gap-large) + 5rem) 0 var(--gap-large);
}

.hero__container {
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero__title .gradient {
    background: var(--gradient) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    display: inline !important;
    position: relative !important;
    z-index: 10 !important;
}

.hero__subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero__stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    min-width: 120px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.stat-card:hover {
    transform: translate3d(0, -5px, 0);
    border-color: transparent;
}

.stat-card:hover::before {
    opacity: 0.1;
}

.stat-card__number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 900;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.stat-card__label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: var(--overlay-strong);
}

.hero__bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-medium);
    z-index: 2;
}

.hero__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-soft);
    z-index: 3;
}

@keyframes scan {
    0% { transform: translate3d(-100%, 0, 0); }
    100% { transform: translate3d(100%, 0, 0); }
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

/* ===== BADGES SECTION ===== */
.badges {
    padding: var(--gap) 0;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.badges__scroll {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.badge {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    flex-shrink: 0;
    position: relative;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 20px;
    background: rgba(138, 43, 226, 0.05);
    transition: var(--transition);
}

.badge:hover {
    color: var(--text);
    border-color: rgba(138, 43, 226, 0.5);
    background: rgba(138, 43, 226, 0.1);
    transform: translate3d(0, -2px, 0);
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* ===== IMAGE GALLERY SECTION ===== */
.image-gallery {
    padding: var(--gap-large) 0;
    overflow: hidden;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: center;
}

.gallery-carousel {
    position: relative;
    overflow: hidden;
    margin-top: var(--gap-large);
}

.gallery-track {
    display: flex;
    gap: 2rem;
    animation: galleryScroll 40s linear infinite;
    will-change: transform;
}

.gallery-carousel:hover .gallery-track {
    animation-play-state: paused;
}

.gallery-item {
    flex: 0 0 auto;
    width: 550px;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: var(--transition-slow);
    cursor: pointer;
    background: linear-gradient(145deg, var(--surface-elevated), var(--surface));
    border: 1px solid var(--border);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 1px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    will-change: transform;
}

.gallery-item:hover {
    transform: translate3d(0, -20px, 0) scale(1.05);
    box-shadow:
        0 25px 80px rgba(102, 126, 234, 0.25),
        0 15px 50px rgba(0, 0, 0, 0.5),
        0 5px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border-color: rgba(102, 126, 234, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    filter: brightness(0.92) contrast(1.15) saturate(1.15);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.08) contrast(1.2) saturate(1.25);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.8) 60%,
        transparent 100%
    ) !important;
    padding: 2rem 2.5rem;
    transform: translate3d(0, 100%, 0);
    transition: var(--transition-slow);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backface-visibility: hidden;
}

.gallery-item:hover .gallery-overlay {
    transform: translate3d(0, 0, 0);
}

.gallery-overlay h3 {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.5rem;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.gallery-overlay p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.01em;
}

@keyframes galleryScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(calc(-550px * 8 - 2rem * 8), 0, 0);
    }
}

/* Pause animation on reduced motion */
@media (prefers-reduced-motion: reduce) {
    .gallery-track {
        animation: none;
    }

    .gallery-item:hover {
        transform: none;
    }

    .gallery-item:hover img {
        transform: none;
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--gap-large) 0;
    background: var(--surface);
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-large);
    align-items: center;
}

.about__text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about__description {
    font-size: var(--font-size-lg);
    margin-bottom: 2rem;
}

.about__metrics {
    display: flex;
    gap: var(--gap);
}

.metric {
    text-align: center;
}

.metric__number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 900;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.metric__label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about__skills {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
}

.skill__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.skill__name {
    font-weight: 600;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.skill__percentage {
    font-weight: 700;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill__bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.skill__progress {
    height: 100%;
    background: var(--gradient);
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    padding: var(--gap-large) 0;
}

.portfolio__filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--gap-large);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient);
    border-color: transparent;
    color: var(--text);
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--gap-large);
    padding: var(--gap) 0;
}

.portfolio-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: var(--transition-slow);
    background: linear-gradient(145deg, var(--surface-elevated), var(--surface));
    border: 1px solid var(--border);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 1px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.portfolio-card:hover {
    transform: translate3d(0, -20px, 0) scale(1.03);
    box-shadow:
        0 20px 60px rgba(102, 126, 234, 0.15),
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.portfolio-card__image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin: 0;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
}

.portfolio-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    filter: brightness(0.95) contrast(1.1) saturate(1.1);
    border-radius: 0;
}

.portfolio-card:hover .portfolio-card__image img {
    transform: scale(1.08);
    filter: brightness(1.05) contrast(1.15) saturate(1.2);
}

.portfolio-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-card__overlay {
    opacity: 1;
}

.portfolio-card__content {
    text-align: center;
    padding: 2rem;
}

.portfolio-card__category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--pill-bg);
    border-radius: 20px;
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.portfolio-card__title {
    font-size: var(--font-size-xl);
    margin-bottom: 1rem;
}

.portfolio-card__description {
    margin-bottom: 1.5rem;
}

.portfolio-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--pill-bg);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.portfolio-card__cta:hover {
    background: var(--pill-bg-hover);
    transform: translateY(-2px);
}

/* Portfolio Filter Animation */
.portfolio-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.portfolio-card.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: var(--gap-large) 0;
    background: var(--surface);
}

.testimonials__carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 3rem;
}

.testimonials__track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 1rem 0;
    cursor: grab;
    scroll-snap-type: x mandatory;
}

.testimonials__track:active {
    cursor: grabbing;
}

.testimonials__track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial {
    flex: 0 0 340px;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    transition: var(--transition);
    scroll-snap-align: start;
    box-shadow: var(--shadow-sm);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(102, 126, 234, 0.4);
}

.testimonial__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.testimonial__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-strong);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.testimonial__info {
    flex: 1;
    text-align: left;
}

.testimonial__name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--text);
    line-height: 1.3;
}

.testimonial__role {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 0.4rem 0;
    line-height: 1.3;
}

.testimonial__rating {
    display: flex;
    gap: 0.2rem;
    color: #FFD700;
    font-size: 0.8rem;
}

.testimonial__quote {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
    position: relative;
    padding-left: 1.25rem;
}

.testimonial__quote::before {
    content: '\201C';
    position: absolute;
    left: 0;
    top: -0.35rem;
    font-size: 2.25rem;
    color: var(--border-strong);
    font-family: serif;
    line-height: 1;
    opacity: 0.6;
}

.testimonials__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient));
    border: none;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: var(--transition);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonials__prev {
    left: -25px;
}

.testimonials__next {
    right: -25px;
}

.testimonials__nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow:
        0 12px 30px rgba(102, 126, 234, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.2);
}

.testimonials__indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.indicator:hover {
    background: var(--border-strong);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--gradient);
    width: 30px;
    border-radius: 5px;
}

/* ===== NEWS SECTION ===== */
.news {
    padding: var(--gap-large) 0;
}

.news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap);
    margin-bottom: var(--gap);
}

.news-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
}

.news-card:hover::before {
    opacity: 0.05;
}

.news-card__date {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.news-card__category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gradient);
    border-radius: 20px;
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.news-card__title {
    font-size: var(--font-size-lg);
    margin-bottom: 1.5rem;
    color: var(--text);
    line-height: 1.4;
}

.news-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    font-weight: 600;
    transition: var(--transition);
}

.news-card__cta:hover {
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.news__actions {
    text-align: center;
}

/* ===== LOGOS SECTION ===== */
.logos {
    padding: var(--gap) 0;
    background: var(--surface);
    overflow: hidden;
}

.logos .section-title {
    margin-bottom: var(--gap);
}

.logos__carousel {
    overflow: hidden;
    position: relative;
}

.logos__track {
    display: flex;
    gap: 4rem;
    animation: logoScroll 20s linear infinite;
    white-space: nowrap;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.logos__carousel:hover .logos__track {
    animation-play-state: paused;
}

.logo-item {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    flex-shrink: 0;
    transition: var(--transition);
}

.logo-item:hover {
    color: var(--text);
}

@keyframes logoScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* ===== CTA SECTION ===== */
.cta {
    padding: var(--gap-large) 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.cta__content {
    max-width: 600px;
    margin: 0 auto;
}

.cta__title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta__subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

/* ===== SOCIAL FEED SECTION ===== */
.social-feed {
    padding: var(--gap-large) 0;
}

.social-feed .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--gap);
}

.social-feed__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.social-feed__cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.social-feed__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

.social-post {
    aspect-ratio: 16 / 10;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: var(--transition-slow);
    background: linear-gradient(145deg, var(--surface-elevated), var(--surface));
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.social-post:hover {
    transform: translateY(-15px) scale(1.04);
    box-shadow:
        0 30px 80px rgba(102, 126, 234, 0.2),
        0 15px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
}

.social-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    filter: brightness(0.92) contrast(1.15) saturate(1.15);
}

.social-post:hover img {
    transform: scale(1.08);
    filter: brightness(1.08) contrast(1.2) saturate(1.25);
}

.social-post__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition-slow);
    backdrop-filter: blur(5px);
}

.social-post:hover .social-post__overlay {
    opacity: 1;
}

.social-post__caption {
    font-size: var(--font-size-base);
    color: var(--text);
    margin: 0;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ===== CONTACT PAGE ===== */
.contact-page {
    padding-top: calc(var(--gap-large) + 5rem);
    background: var(--bg);
}

.contact-hero {
    padding: calc(var(--gap-large) * 1.25) 0 var(--gap-large);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(138, 43, 226, 0.25), transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(0, 212, 255, 0.2), transparent 45%);
    opacity: 0.6;
    pointer-events: none;
}

.contact-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: var(--gap-large);
    align-items: stretch;
}

.contact-hero__content {
    background: rgba(10, 10, 10, 0.55);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
}

.contact-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.contact-hero__title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.contact-hero__description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.contact-hero__meta {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.contact-hero__meta li {
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
}

.contact-hero__meta span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.contact-hero__meta strong {
    font-size: 1.25rem;
    font-weight: 700;
}

.contact-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-hero__panel {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: clamp(2rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    backdrop-filter: blur(20px);
}

.contact-availability__status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(46, 213, 115, 0.15);
    color: #2ed573;
    font-size: 0.85rem;
    font-weight: 600;
}

.contact-availability p {
    margin: 0.75rem 0 0 0;
    color: var(--text-secondary);
}

.contact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.contact-stat {
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
}

.contact-stat__label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.contact-stat__value {
    font-size: 1.75rem;
    font-weight: 800;
}

.contact-details {
    padding: var(--gap-large) 0;
}

.contact-details__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: var(--gap);
}

.contact-card {
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    font-size: 1.35rem;
}

.contact-card__title {
    font-size: 1.2rem;
    margin: 0;
}

.contact-card__link {
    margin-top: auto;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text);
}

.contact-card__link i {
    font-size: 0.9rem;
}

.contact-form-section {
    padding: var(--gap-large) 0 calc(var(--gap-large) * 1.5);
}

.contact-form__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: var(--gap-large);
    align-items: start;
}

.contact-form__panel {
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: clamp(2rem, 4vw, 3rem);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.contact-form__eyebrow {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.contact-form__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

.contact-form__list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-form__list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.contact-form__list i {
    color: var(--accent, #8a2be2);
}

.contact-form__card {
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: clamp(2rem, 4vw, 3rem);
    background: rgba(10, 10, 10, 0.6);
    box-shadow: var(--shadow-glow);
    backdrop-filter: blur(20px);
}

.contact-form {
    display: grid;
    gap: 1.25rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent, #8a2be2);
    box-shadow: 0 0 0 2px rgba(138, 43, 226, 0.25);
    outline: none;
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form__row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.contact-form__submit {
    width: 100%;
    justify-content: center;
}

.contact-form__note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

.contact-form__channels {
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
}

.contact-form__channel {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-form__channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

.contact-form__channel strong {
    display: block;
    font-size: 1rem;
}

.contact-form__channel span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .contact-hero__grid,
    .contact-form__grid {
        grid-template-columns: 1fr;
    }

    .contact-hero__actions {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding-top: calc(var(--gap-large) + 4rem);
    }

    .contact-hero__content,
    .contact-hero__panel,
    .contact-form__panel,
    .contact-form__card {
        border-radius: 24px;
        padding: 1.5rem;
    }

    .contact-details__grid,
    .contact-hero__meta {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: var(--surface);
    border-top: 2px solid var(--border-strong);
    padding: var(--gap-xl) 0 var(--gap-large) 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--gap-large);
    margin-bottom: var(--gap-large);
}

.footer__logo {
    margin-bottom: 1.5rem;
}

.footer__description {
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: var(--font-size-base);
}


.newsletter {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.newsletter__input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text);
    font-size: var(--font-size-sm);
}

.newsletter__input::placeholder {
    color: var(--text-muted);
}

.newsletter__input:focus {
    outline: none;
    border-color: #8A2BE2;
}

.newsletter__submit {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter__submit:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.newsletter__privacy {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin: 0;
}

.footer__heading {
    font-size: var(--font-size-lg);
    margin-bottom: 1rem;
    color: var(--text);
}

.footer__menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__link {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--text);
}

.footer__contact-info {
    margin-bottom: 1.5rem;
}

.footer__address,
.footer__phone,
.footer__email {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer__social-link:hover {
    background: var(--gradient);
    border-color: transparent;
    color: var(--text);
    transform: translateY(-2px);
}

.footer__badge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.trust-badge {
    padding: 0.5rem 0.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: var(--font-size-xs);
    text-align: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.trust-badge:hover {
    border-color: #8A2BE2;
    color: var(--text);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--gap);
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copyright {
    color: var(--text-muted);
    margin: 0;
}

.footer__legal {
    display: flex;
    gap: 1.5rem;
}

.footer__legal-link {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer__legal-link:hover {
    color: var(--text);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Extra Large Screens (1400px+) */
@media (min-width: 1400px) {
    :root {
        --container-max-width: 1320px;
        --font-size-6xl: 4.5rem;
        --font-size-5xl: 3.5rem;
        --font-size-4xl: 2.75rem;
        --gap-xl: 8rem;
        --gap-large: 6rem;
    }

    .hero__title {
        font-size: clamp(3rem, 6vw, 5rem);
    }

    .portfolio__grid {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    }

    .social-feed__grid {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    }

    .gallery-item {
        width: 450px;
        height: 280px;
    }
}

/* Large Desktop Styles (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    :root {
        --container-max-width: 1140px;
        --font-size-5xl: 3rem;
        --font-size-4xl: 2.5rem;
    }

    .portfolio__grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    }

    .social-feed__grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    }
}

/* Tablet Styles (768px - 1199px) */
@media (max-width: 1199px) {
    :root {
        --container-padding: 1.5rem;
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
        --gap-large: 4rem;
        --gap-xl: 5rem;
    }

    /* Menu adjustments for tablet */
    .menu-text {
        font-size: var(--font-size-lg);
        letter-spacing: 0.12em;
    }

    .menu-button {
        padding: 0.75rem 1.25rem;
    }

    /* Show MENU text and dropdown on tablets too */
    @media (max-width: 1024px) {
        .menu-wrapper {
            display: block !important;
        }

        .menu-dropdown {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100vw;
            height: 100vh;
            background: var(--bg);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-20px);
            transition: all 0.4s ease;
            z-index: 1000;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Adjust dropdown link size for tablets */
        .menu-dropdown-link {
            font-size: clamp(1.5rem, 4vw, 3rem);
        }
    }

    /* Hero Section */
    .hero__title {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--gap);
    }

    /* Services */
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--gap);
    }

    /* Portfolio */
    .portfolio__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--gap);
    }

    /* About */
    .about__content {
        grid-template-columns: 1fr;
        gap: var(--gap);
        text-align: center;
    }

    .about__text .section-title {
        text-align: center;
    }

    .about__metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--gap);
    }

    /* Testimonials */
    .testimonial {
        flex: 0 0 320px;
    }

    /* Social Feed */
    .social-feed__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--gap);
    }

    .social-feed .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Gallery */
    .gallery-item {
        width: 380px;
        height: 240px;
    }

    /* Footer */
    .footer__content {
        grid-template-columns: 1fr 1fr;
        gap: var(--gap);
    }

    .footer__newsletter {
        grid-column: 1 / -1;
    }


/* Mobile Styles (≤ 767px) */
@media (max-width: 767px) {
    :root {
        --container-padding: 1rem;
        --gap-large: 3rem;
        --gap-xl: 4rem;
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
        --font-size-2xl: 1.25rem;
        --font-size-xl: 1.125rem;
    }

    /* Navigation */
    .menu-wrapper {
        display: block !important;
    }

    .menu-dropdown {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: var(--bg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s ease;
        z-index: 1000;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Adjust dropdown link size for mobile */
    .menu-dropdown-link {
        font-size: clamp(1.25rem, 6vw, 2.5rem);
        padding: 1rem 0;
    }

    .menu-dropdown-list {
        gap: 1.5rem;
    }

    .menu-text {
        font-size: var(--font-size-lg);
        letter-spacing: 0.1em;
    }

    /* Hero Section */
    .hero__title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        line-height: 1.2;
    }

    .hero__subtitle {
        font-size: var(--font-size-lg);
        margin-bottom: 1.5rem;
    }

    .hero__cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero__stats {
        grid-template-columns: 1fr;
        gap: var(--gap);
        text-align: center;
    }

    /* Services */
    .services__grid {
        grid-template-columns: 1fr;
        gap: var(--gap);
    }

    .service-card {
        padding: 2rem;
        text-align: center;
    }

    /* Portfolio */
    .portfolio__grid {
        grid-template-columns: 1fr;
        gap: var(--gap);
    }

    .portfolio-card {
        margin: 0 0.5rem;
        border-radius: 16px;
    }

    .portfolio-card__image {
        aspect-ratio: 16 / 10;
    }

    .portfolio-card:hover {
        transform: translateY(-10px) scale(1.01);
    }

    /* About */
    .about__content {
        grid-template-columns: 1fr;
        gap: var(--gap-large);
        text-align: center;
    }

    .about__metrics {
        grid-template-columns: 1fr;
        gap: var(--gap);
    }

    .stat-card {
        padding: 1.5rem;
    }

    /* Testimonials */
    .testimonials__carousel {
        padding: 0 1rem;
    }

    .testimonials__track {
        gap: 1.25rem;
    }

    .testimonial {
        flex: 0 0 300px;
        padding: 1.5rem;
    }

    .testimonials__nav {
        display: none;
    }

    /* Social Feed */
    .social-feed__grid {
        grid-template-columns: 1fr;
        gap: var(--gap);
    }

    .social-post {
        aspect-ratio: 16 / 10;
        border-radius: 16px;
    }

    .social-post:hover {
        transform: translateY(-5px) scale(1.01);
    }

    /* Gallery */
    .gallery-item {
        width: 350px;
        height: 200px;
        border-radius: 16px;
    }

    .gallery-overlay {
        padding: 1rem 1.5rem;
    }

    .gallery-overlay h3 {
        font-size: var(--font-size-base);
        margin-bottom: 0.2rem;
    }

    /* News */
    .news__grid {
        grid-template-columns: 1fr;
        gap: var(--gap);
    }

    .news-card {
        text-align: center;
    }

    /* Footer */
    .footer__content {
        grid-template-columns: 1fr;
        gap: var(--gap-large);
        text-align: center;
    }

    .footer__newsletter {
        grid-column: 1;
    }

    .newsletter__form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter__input {
        width: 100%;
    }

    .newsletter__submit {
        width: 100%;
    }
}

/* Small Mobile Styles (≤ 480px) */
@media (max-width: 480px) {
    :root {
        --container-padding: 0.75rem;
        --gap-large: 2.5rem;
        --gap-xl: 3rem;
        --font-size-5xl: 1.75rem;
        --font-size-4xl: 1.5rem;
        --font-size-3xl: 1.25rem;
        --font-size-2xl: 1.125rem;
        --font-size-xl: 1rem;
    }

    /* Menu */
    .menu-text {
        font-size: var(--font-size-base);
        letter-spacing: 0.08em;
    }

    /* Hero */
    .hero__title {
        font-size: clamp(1.5rem, 8vw, 2rem);
        line-height: 1.1;
    }

    .hero__subtitle {
        font-size: var(--font-size-base);
        margin-bottom: 1rem;
    }

    .hero__cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero__stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: var(--font-size-sm);
    }

    .hero__cta .btn {
        width: auto;
        min-width: 180px;
    }

    /* Services */
    .service-card {
        padding: 1.5rem;
    }

    .service-card__icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    /* Portfolio */
    .portfolio__grid {
        grid-template-columns: 1fr;
        gap: var(--gap);
        padding: var(--gap) 0;
    }

    .portfolio-card {
        margin: 0;
        border-radius: 12px;
    }

    .portfolio-card__image {
        aspect-ratio: 16 / 11;
    }

    .portfolio-card:hover {
        transform: translateY(-5px) scale(1.005);
    }

    /* About */
    .stat-card {
        padding: 1.25rem;
    }

    .stat-card__number {
        font-size: var(--font-size-2xl);
    }

    /* Testimonials */
    .testimonial {
        flex: 0 0 280px;
    }

    .testimonial__content {
        height: 260px;
        padding: 1.5rem;
    }

    .testimonial__quote {
        font-size: var(--font-size-sm);
    }

    .testimonial__author {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .testimonial__info {
        text-align: center;
    }

    /* Social Feed */
    .social-post {
        aspect-ratio: 16 / 11;
        border-radius: 12px;
    }

    .social-post__overlay {
        padding: 1rem;
    }

    .social-post__caption {
        font-size: var(--font-size-sm);
    }

    /* Gallery */
    .gallery-item {
        width: 320px;
        height: 180px;
        border-radius: 12px;
    }

    .gallery-overlay {
        padding: 1rem;
    }

    .gallery-overlay h3 {
        font-size: var(--font-size-sm);
        margin-bottom: 0.25rem;
    }

    .gallery-overlay p {
        font-size: var(--font-size-xs);
    }

    /* News */
    .news-card {
        padding: 1.5rem;
    }

    .news-card__title {
        font-size: var(--font-size-lg);
    }

    /* Footer */
    .footer {
        padding: var(--gap-large) 0 var(--gap) 0;
    }

    .footer__brand {
        margin-bottom: 1rem;
    }

    .footer__social {
        gap: 1rem;
        justify-content: center;
    }

    .footer__links h4 {
        font-size: var(--font-size-base);
        margin-bottom: 0.75rem;
    }

    .footer__links ul li a {
        font-size: var(--font-size-sm);
    }
}


    .portfolio-card {
        margin: 0 0.5rem;
        border-radius: 16px;
    }

    .portfolio-card__image {
        aspect-ratio: 16 / 10;
    }

    .portfolio-card:hover {
        transform: translateY(-10px) scale(1.01);
    }

    /* Testimonials - Mobile Responsive */
    .testimonials__carousel {
        padding: 0 0.75rem;
    }

    .testimonials__track {
        gap: 1rem;
    }

    .testimonial {
        flex: 0 0 min(290px, 87vw);
        padding: 1.25rem;
    }

    .testimonial__header {
        gap: 0.85rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .testimonial__avatar {
        width: 48px;
        height: 48px;
    }

    .testimonial__name {
        font-size: 0.95rem;
    }

    .testimonial__role {
        font-size: 0.75rem;
    }

    .testimonial__rating {
        font-size: 0.7rem;
    }

    .testimonial__quote {
        font-size: 0.875rem;
        line-height: 1.6;
        padding-left: 1rem;
    }

    .testimonial__quote::before {
        font-size: 1.75rem;
        top: -0.25rem;
    }

    .testimonials__nav {
        display: none;
    }

    @keyframes galleryScroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-280px * 8 - 2rem * 8));
        }
    }

    /* Portfolio */
    .portfolio__grid {
        grid-template-columns: 1fr;
    }

    .portfolio__filter {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: var(--font-size-sm);
    }

    /* About */
    .about__metrics {
        justify-content: center;
    }

    /* News */
    .news__grid {
        grid-template-columns: 1fr;
    }

    /* Social Feed */
    .social-feed__grid {
        grid-template-columns: 1fr;
        gap: var(--gap-large);
        padding: var(--gap) 0;
    }

    .social-post {
        aspect-ratio: 16 / 10;
        margin: 0 0.5rem;
    }

    .social-post__overlay {
        padding: 1.5rem;
    }

    .social-post__caption {
        font-size: var(--font-size-sm);
    }

    /* Footer */
    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer__legal {
        justify-content: center;
    }

    /* Badges */
    .badges__scroll {
        gap: 2rem;
    }

    /* Logos */
    .logos__track {
        gap: 2rem;
    }


/* Extra Small Mobile (≤ 480px) */
@media (max-width: 480px) {
    :root {
        --container-padding: 0.75rem;
        --font-size-5xl: 1.75rem;
    }

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

    .hero__cta .btn {
        width: auto;
        min-width: 200px;
    }

    .testimonial__author {
        flex-direction: column;
        text-align: center;
    }

    .testimonial__info {
        text-align: center;
    }

    .social-feed__grid {
        grid-template-columns: 1fr;
        gap: var(--gap);
    }

    .social-post {
        aspect-ratio: 16 / 10;
        border-radius: 16px;
    }

    .social-post:hover {
        transform: translateY(-5px) scale(1.01);
    }

    /* Image Gallery */
    .gallery-item {
        width: 350px;
        height: 200px;
        border-radius: 16px;
    }

    .gallery-overlay {
        padding: 1rem 1.5rem;
    }

    .gallery-overlay h3 {
        font-size: var(--font-size-base);
        margin-bottom: 0.2rem;
    }

    .gallery-overlay p {
        font-size: var(--font-size-xs);
    }
    }

    .gallery-overlay {
        padding: 1.5rem;
    }

    @keyframes galleryScroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-250px * 8 - 2rem * 8));
        }
    }


/* Landscape Mobile (Small Height Screens) */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: var(--gap) 0;
    }

    .hero__title {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero__subtitle {
        font-size: var(--font-size-sm);
        margin-bottom: 1rem;
    }

    .hero__cta {
        margin-bottom: 1rem;
    }

    .testimonial__content {
        height: 220px;
        padding: 1.25rem;
    }
}

/* iPad and Tablet Portrait */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .portfolio__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .social-feed__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .gallery-item {
        width: 350px;
        height: 220px;
    }
}

/* iPad and Tablet Landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .portfolio__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .social-feed__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .services__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .hero__stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Ultra-wide screens (21:9 aspect ratio and beyond) */
@media (min-width: 1400px) and (min-aspect-ratio: 21/9) {
    .container {
        max-width: 1600px;
    }

    .hero__content {
        max-width: 800px;
    }

    .portfolio__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .social-feed__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* High DPI / Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize images and graphics for high DPI displays */
    .hero__bg img,
    .portfolio-card__image img,
    .testimonial__avatar,
    .social-post img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark Mode Support (system preference) */
@media (prefers-color-scheme: dark) {
    /* Already using dark theme by default */
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .gallery-scroll {
        animation: none !important;
    }

    .testimonials__track {
        scroll-behavior: auto !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --text: #FFFFFF;
        --bg: #000000;
        --border: #FFFFFF;
        --border-strong: #FFFFFF;
    }

    .btn {
        border: 2px solid currentColor;
    }

    .portfolio-card,
    .social-post,
    .testimonial__content,
    .service-card {
        border: 1px solid var(--text);
    }
}

/* Print Styles */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    .header,
    .footer,
    .btn,
    .menu-wrapper,
    .nav__toggle,
    .testimonials__nav,
    .social-feed__cta {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .section {
        page-break-inside: avoid;
        padding: 1rem 0;
    }

    .portfolio-card,
    .social-post {
        page-break-inside: avoid;
        border: 1px solid #000;
        margin-bottom: 1rem;
    }

    .portfolio-card__image img,
    .social-post img {
        max-width: 100% !important;
        height: auto !important;
    }

    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
}

/* Light Mode Toggle (when implemented via JS) */
.light-mode {
    --bg: #ffffff;
    --surface: #f8f9fa;
    --surface-light: #f1f3f4;
    --text: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6a6a6a;
    --border: rgba(0, 0, 0, 0.1);
}

/* Focus Styles for Accessibility */
*:focus-visible {
    outline: 2px solid var(--gradient);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .nav__overlay,
    .hero__stats,
    .badges,
    .testimonials__controls,
    .testimonials__indicators,
    .social-feed,
    .footer__social {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    * {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}