/* ====================================================================
 * NexusFuture Agency - Global Design System & Glassmorphism Stylesheet
 * Brand Palette: Electric Cyan (#22C1F0) -> Neon Blue (#2F6BFF) -> Violet (#8B5CF6) -> Pink (#F472B6)
 * Dark Base: #0B0F19 (Deep Space) / #151C2C (Glass Card Base)
 * Fonts: Space Grotesk (Headings), Inter (Body)
 * ==================================================================== */

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

:root {
    --bg-dark: #0B0F19;
    --bg-surface: #111827;
    --card-bg: rgba(21, 28, 44, 0.85);
    --card-bg-hover: rgba(30, 41, 64, 0.95);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-glow: rgba(47, 107, 255, 0.4);
    
    --primary-gradient: linear-gradient(135deg, #22C1F0 0%, #2F6BFF 50%, #8B5CF6 100%);
    --primary-gradient-hover: linear-gradient(135deg, #1eaad5 0%, #1e56df 50%, #7847e3 100%);
    --pink-gradient: linear-gradient(135deg, #F472B6 0%, #EC4899 50%, #D946EF 100%);
    
    --cyan: #22C1F0;
    --blue: #2F6BFF;
    --violet: #8B5CF6;
    --pink: #F472B6;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.2);
    
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(47, 107, 255, 0.3);
    --shadow-pink: 0 0 25px rgba(244, 114, 182, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====================================================================
 * GLOBAL RESET & BASE TYPOGRAPHY
 * ==================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(at 10% 10%, rgba(34, 193, 240, 0.08) 0px, transparent 50%),
        radial-gradient(at 90% 20%, rgba(139, 92, 246, 0.08) 0px, transparent 50%),
        radial-gradient(at 50% 80%, rgba(244, 114, 182, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #FFFFFF;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ====================================================================
 * UTILITY CLASSES
 * ==================================================================== */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-pink {
    color: var(--pink);
}

.section {
    padding: 80px 0;
    position: relative;
}

.section-dark {
    background: rgba(15, 23, 42, 0.5);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

/* ====================================================================
 * CARDS & GLASSMORPHISM
 * ==================================================================== */
.card, .glass-card, .hero-card, .neon-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover, .glass-card:hover, .neon-card:hover {
    background: var(--card-bg-hover);
    border-color: var(--glass-border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.hero-card {
    padding: 48px;
    border-radius: var(--radius-xl);
    border-color: rgba(47, 107, 255, 0.25);
    background: linear-gradient(135deg, rgba(21, 28, 44, 0.95) 0%, rgba(17, 24, 39, 0.85) 100%);
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6), 0 0 30px rgba(34, 193, 240, 0.15);
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 18px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 720px;
    line-height: 1.7;
}

/* Code Box */
.code-box {
    background: rgba(10, 15, 26, 0.9);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.88rem;
    color: #38BDF8;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ====================================================================
 * PORTFOLIO SHOWCASE & FILTERS
 * ==================================================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 36px;
}

.portfolio-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
}

.portfolio-card:hover {
    background: var(--card-bg-hover);
    border-color: var(--glass-border-glow);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.portfolio-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 16px;
}

.portfolio-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.1) 0%, rgba(11, 15, 25, 0.85) 100%);
}

.portfolio-category {
    position: relative;
    z-index: 2;
    background: rgba(34, 193, 240, 0.2);
    border: 1px solid rgba(34, 193, 240, 0.4);
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
}

.portfolio-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.portfolio-body h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.portfolio-body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.portfolio-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

/* ====================================================================
 * CONTACT PAGE & FORM LAYOUTS
 * ==================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 36px;
    align-items: start;
    margin-top: 32px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.field.full {
    grid-column: 1 / -1;
}

/* ====================================================================
 * BUTTONS
 * ==================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.btn-primary:hover {
    background: var(--primary-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(47, 107, 255, 0.6);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--blue);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-pink {
    background: var(--pink-gradient);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.4);
}

.btn-pink:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 114, 182, 0.6);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: transparent;
}

.btn-ghost:hover {
    color: var(--cyan);
    background: rgba(34, 193, 240, 0.1);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #FCA5A5;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.35);
    color: #FFFFFF;
}

.btn-success {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
    color: #6EE7B7;
}

.btn-success:hover {
    background: rgba(16, 185, 129, 0.35);
    color: #FFFFFF;
}

/* ====================================================================
 * BADGES & TAGS
 * ==================================================================== */
.badge, .tag, .tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.badge-primary {
    background: rgba(47, 107, 255, 0.15);
    border: 1px solid rgba(47, 107, 255, 0.3);
    color: #60A5FA;
}

.badge-pink {
    background: rgba(244, 114, 182, 0.15);
    border: 1px solid rgba(244, 114, 182, 0.3);
    color: #F472B6;
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34D399;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #F87171;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #FBBF24;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
    box-shadow: 0 0 10px currentColor;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.tech-tag {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    text-transform: none;
    font-size: 0.8rem;
    padding: 4px 12px;
}

/* ====================================================================
 * HEADER & STICKY NAVIGATION
 * ==================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 4px;
}

.brand-logo .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pink);
    display: inline-block;
    box-shadow: 0 0 10px var(--pink);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.main-nav a:hover, .main-nav a.active {
    color: #FFFFFF;
}

.main-nav a.active::after, .main-nav a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Header Dropdown Menu Styles */
.nav-dropdown-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

.nav-dropdown-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 210px;
    background: rgba(11, 15, 25, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.7), 0 0 20px rgba(47, 107, 255, 0.15);
    z-index: 1000;
    list-style: none;
}

.nav-dropdown-item:hover .nav-dropdown-menu,
.nav-dropdown-item:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li {
    width: 100%;
}

.nav-dropdown-menu a {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
    background: rgba(47, 107, 255, 0.15);
    color: #FFFFFF;
}

.nav-dropdown-menu a::after {
    display: none !important;
}


.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 4px 8px;
}

/* ====================================================================
 * HERO SLIDER / CAROUSEL
 * ==================================================================== */
.hero-slider-section {
    padding: 40px 0;
    position: relative;
}

.hero-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    min-height: 480px;
}

.hero-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 480px;
    height: 100%;
}

.hero-slide.active {
    display: block;
    opacity: 1;
}

/* Split Visual Layout for Hero Slides - Uniform Height */
.hero-slide-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
    align-items: center;
    padding: 44px 48px;
    background: rgba(21, 28, 44, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    min-height: 480px;
    box-sizing: border-box;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 36px;
    align-items: start;
}

.hero-visual-side {
    position: relative;
}

.hero-visual-card {
    position: relative;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(34, 193, 240, 0.4);
    padding: 8px;
    background: rgba(15, 23, 42, 0.7);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(47, 107, 255, 0.2);
    overflow: hidden;
}

.hero-slide-img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 4px);
    display: block;
    transition: transform 0.5s ease;
}

.hero-visual-card:hover .hero-slide-img {
    transform: scale(1.04);
}

.floating-badge {
    position: absolute;
    padding: 8px 16px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.badge-top-left {
    top: 22px;
    left: 22px;
}

.badge-bottom-right {
    bottom: 22px;
    right: 22px;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 0 10px;
}

.slider-btn-group {
    display: flex;
    gap: 10px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(21, 28, 44, 0.85);
    border: 1px solid var(--glass-border);
    color: #FFFFFF;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    transform: scale(1.08);
}

.slider-dots, .testimonial-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dot-btn.active {
    width: 32px;
    border-radius: 20px;
    background: var(--primary-gradient);
    box-shadow: 0 0 10px rgba(34, 193, 240, 0.5);
}

/* ====================================================================
 * TESTIMONIAL AUTOMATIC SLIDER (3 IN A SINGLE LINE)
 * ==================================================================== */
.testimonial-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 10px 0 20px;
}

.testimonial-slider-container {
    position: relative;
    min-height: 280px;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    transform: translateY(15px);
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    background: rgba(21, 28, 44, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(34, 193, 240, 0.25);
    border-color: rgba(56, 189, 248, 0.4);
}

/* ====================================================================
 * INTERNEE LOGIN & SPLIT AUTHENTICATION
 * ==================================================================== */
.split-auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 80px);
    width: 100%;
}

.split-auth-visual {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 60px;
}

.split-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.4) 0%, rgba(11, 15, 25, 0.95) 100%);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.auth-quote-card {
    background: rgba(21, 28, 44, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 20px;
}

.split-auth-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: rgba(11, 15, 25, 0.6);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: rgba(21, 28, 44, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.btn-google-sso {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-strong);
    border-radius: 50px;
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    margin-bottom: 20px;
}

.btn-google-sso:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.auth-divider span {
    padding: 0 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    color: #FFFFFF;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.25);
}

.auth-footer {
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--cyan);
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ====================================================================
 * FORM CONTROLS
 * ==================================================================== */
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: rgba(21, 28, 44, 0.95);
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.25);
}

select option {
    background-color: #111827;
    color: #FFFFFF;
}

/* ====================================================================
 * TABLES & ADMIN PANELS
 * ==================================================================== */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background: var(--card-bg);
}

.data-table th {
    padding: 16px 20px;
    background: rgba(15, 23, 42, 0.9);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.92rem;
}

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

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
    color: #FFFFFF;
}

/* ====================================================================
 * FOOTER
 * ==================================================================== */
.site-footer {
    background: rgba(7, 10, 18, 0.95);
    border-top: 1px solid var(--border);
    padding: 70px 0 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.footer-col a:hover {
    color: var(--cyan);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.88rem;
    flex-wrap: wrap;
    gap: 16px;
}

/* ====================================================================
 * RESPONSIVE BREAKPOINTS
 * ==================================================================== */
@media (max-width: 1024px) {
    .hero-slide-grid {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 24px;
    }
    .hero-visual-side {
        order: -1;
    }
    .hero-slide-img {
        height: 230px;
    }
    .split-auth-container {
        grid-template-columns: 1fr;
    }
    .split-auth-visual {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(11, 15, 25, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        padding: 24px;
        display: none;
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
        width: 100%;
    }

    .nav-dropdown-item {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        width: 100%;
        margin-top: 8px;
        padding: 6px 12px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-card {
        padding: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================================================
 * STATS GRID HORIZONTAL LAYOUT & STUDENT PROJECTS SHOWCASE STYLES
 * ==================================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.student-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 36px;
}

.student-project-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.student-project-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-glow);
    box-shadow: var(--shadow-glow);
}

.student-project-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.student-project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.student-project-card:hover .student-project-img-wrapper img {
    transform: scale(1.06);
}

.student-project-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(11, 15, 25, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.student-project-img-wrapper:hover .student-project-overlay {
    opacity: 1;
}

.student-project-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--cyan);
    z-index: 2;
}

.student-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--cyan);
    object-fit: cover;
}

