/* ============================================
   DartsAI — Global Design System
   DanRosh Tech Solutions Pvt Ltd
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Palette */
    --primary: #00d4aa;
    --primary-dark: #00b894;
    --primary-light: #55efc4;
    --primary-glow: rgba(0, 212, 170, 0.3);

    /* Accent */
    --accent: #ffd700;
    --accent-dark: #e6c200;
    --accent-glow: rgba(255, 215, 0, 0.3);

    /* Dark Theme */
    --bg-dark: #0a0f1e;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --bg-surface: #0d1321;
    --bg-modal: #131a2b;

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Borders */
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 212, 170, 0.3);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d4aa 0%, #00b4d8 100%);
    --gradient-accent: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    --gradient-hero: linear-gradient(180deg, rgba(10,15,30,0) 0%, rgba(10,15,30,0.8) 50%, #0a0f1e 100%);
    --gradient-card: linear-gradient(135deg, rgba(17,24,39,0.8) 0%, rgba(13,19,33,0.9) 100%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Glassmorphism */
    --glass-bg: rgba(17, 24, 39, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(20px);
}

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

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

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition-base); }
a:hover { color: var(--primary-light); }

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner { text-align: center; }

.preloader-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 24px;
}

.logo-d { color: var(--text-primary); }
.logo-rest { color: var(--text-secondary); }
.logo-ai { color: var(--primary); }

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-progress {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 10px;
    animation: preloaderFill 1.5s ease forwards;
}

@keyframes preloaderFill {
    to { width: 100%; }
}

/* ===== PARTICLE CANVAS ===== */
#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--bg-dark);
}

.text-accent { color: var(--primary); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(0, 212, 170, 0.05);
    color: var(--primary);
}

.btn-glow {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-glow:hover {
    box-shadow: 0 0 40px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }

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

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.15);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: url('hero-bg.png') center/cover no-repeat;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
    padding-top: 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 100px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease 0.5s both;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .line {
    display: block;
    animation: fadeInUp 0.8s ease both;
}

.hero-title .line-1 { animation-delay: 0.7s; }
.hero-title .line-2 { animation-delay: 0.9s; }
.hero-title .line-3 { animation-delay: 1.1s; }

.hero-subtitle {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 1.3s both;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 1.5s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    animation: fadeInUp 0.8s ease 1.7s both;
}

.stat-item { text-align: center; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 1s ease 2s both;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 4px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseScroll 1.5s ease-in-out infinite;
}

.scroll-indicator span {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

@keyframes mouseScroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--bg-surface);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.about-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

.about-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, var(--primary-glow) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-slow);
    pointer-events: none;
}

.about-card:hover .card-glow { opacity: 0.3; }

.about-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.about-card p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.8;
}

.about-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tag {
    padding: 6px 16px;
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.15);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
}

/* Founder */
.founder-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.founder-image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.founder-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.founder-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 28px;
    height: 28px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--bg-dark);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.founder-info h3 {
    margin-bottom: 2px;
}

.founder-title {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.founder-flag {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

.founder-achievements {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 215, 0, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--accent);
}

.achievement i { font-size: 0.9rem; }

/* Global Presence */
.global-presence {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.presence-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}

.presence-title i {
    color: var(--primary);
    margin-right: 8px;
}

.presence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.presence-item {
    text-align: center;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(0, 212, 170, 0.03);
    border: 1px solid rgba(0, 212, 170, 0.08);
    transition: var(--transition-base);
}

.presence-item:hover {
    background: rgba(0, 212, 170, 0.06);
    transform: translateY(-4px);
}

.presence-flag { font-size: 3rem; margin-bottom: 12px; }
.presence-item h4 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 8px; }
.presence-item p { color: var(--text-secondary); font-size: 0.9rem; }

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

.project-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 100px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-base);
}

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

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

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-base);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.project-card.hidden { display: none; }

.project-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 2;
    transition: var(--transition-base);
}

.project-card:hover .project-icon {
    transform: scale(1.2);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 30, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.project-card:hover .project-overlay { opacity: 1; }

.project-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.project-tech span {
    padding: 6px 14px;
    background: rgba(0, 212, 170, 0.15);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-light);
}

.project-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    z-index: 3;
}

.project-content {
    padding: 24px;
}

.project-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.project-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.project-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.project-meta span i { color: var(--primary); }

/* ===== SERVICES SECTION ===== */
.services-section {
    background: var(--bg-surface);
}

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

.service-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.service-icon-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    transform: scale(1.05);
}

.service-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-slow);
}

.service-card:hover .service-glow { opacity: 0.4; }

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 6px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li::before {
    content: '✦';
    color: var(--primary);
    font-size: 0.7rem;
}

/* ===== CAREERS SECTION ===== */
.careers-section {
    background: var(--bg-dark);
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.careers-benefits h3, .open-positions h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 28px;
}

.careers-benefits h3 i, .open-positions h3 i {
    color: var(--primary);
    margin-right: 8px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.benefit-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition-base);
}

.benefit-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.benefit-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.benefit-item p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.positions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.position-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: var(--transition-base);
}

.position-card:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.position-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.position-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.position-tags span {
    padding: 4px 12px;
    background: rgba(0, 212, 170, 0.06);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== PLACEMENT PORTAL ===== */
.placement-section {
    background: var(--bg-surface);
}

.placement-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.pf-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    transition: var(--transition-base);
}

.pf-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.pf-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.pf-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pf-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.placement-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Dashboard */
.placement-dashboard {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 212, 170, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
}

.user-info h3 { font-family: var(--font-heading); font-size: 1.2rem; }
.user-info span { color: var(--text-muted); font-size: 0.85rem; }

.dashboard-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-dark);
    padding: 4px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.dash-tab {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.dash-tab.active {
    background: var(--gradient-primary);
    color: var(--bg-dark);
}

.dash-content { display: none; }
.dash-content.active { display: block; }

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.dash-stat-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.dash-stat-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

.dash-stat-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
}

.dash-stat-label {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Exam List */
.available-exams h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.exam-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exam-item {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-base);
}

.exam-item:hover {
    border-color: var(--border-hover);
}

.exam-item-info h5 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.exam-item-info span { color: var(--text-muted); font-size: 0.82rem; }

/* Exam Interface */
.exam-interface {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.exam-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.exam-header h4 { font-family: var(--font-heading); font-size: 1.3rem; }

.exam-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 87, 87, 0.1);
    border: 1px solid rgba(255, 87, 87, 0.2);
    border-radius: var(--radius-sm);
    color: #ff5757;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.1rem;
}

.exam-progress { margin-bottom: 32px; }

.exam-progress-bar {
    height: 6px;
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.exam-progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width var(--transition-base);
}

#examProgressText {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.exam-question-area {
    min-height: 300px;
    margin-bottom: 24px;
}

.question-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.6;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-align: left;
    width: 100%;
}

.option-btn:hover {
    border-color: var(--primary);
    background: rgba(0, 212, 170, 0.05);
}

.option-btn.selected {
    border-color: var(--primary);
    background: rgba(0, 212, 170, 0.1);
}

.option-letter {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 212, 170, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
    font-size: 0.85rem;
}

.option-btn.selected .option-letter {
    background: var(--gradient-primary);
    color: var(--bg-dark);
}

.exam-nav {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Results List */
.results-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.result-info h5 { font-size: 1rem; margin-bottom: 4px; }
.result-info span { color: var(--text-muted); font-size: 0.82rem; }

.result-score {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.result-score.pass { color: var(--primary); }
.result-score.fail { color: #ff5757; }

.empty-state {
    text-align: center;
    padding: 48px;
    color: var(--text-muted);
}

.empty-state i {
    display: block;
    font-size: 2rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

/* Profile Form */
.profile-form {
    max-width: 500px;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-base);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

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

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-error {
    padding: 12px 16px;
    background: rgba(255, 87, 87, 0.1);
    border: 1px solid rgba(255, 87, 87, 0.2);
    border-radius: var(--radius-sm);
    color: #ff5757;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
}

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

.auth-divider span {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Google Sign-In Button */
.btn-google {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border);
    font-weight: 600;
    transition: var(--transition-base);
}

.btn-google:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.google-icon {
    flex-shrink: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--bg-dark);
}

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

.contact-form-wrapper {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.form-success {
    text-align: center;
    padding: 40px;
}

.form-success i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.form-success h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-secondary);
}

.contact-info-wrapper { display: flex; flex-direction: column; gap: 24px; }

.contact-info-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    gap: 16px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
}

.info-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.info-item p { color: var(--text-secondary); font-size: 0.88rem; }

.social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-link {
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border-color: transparent;
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-surface);
    padding: 64px 0 24px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.footer-brand p {
    color: var(--text-secondary);
    margin: 16px 0;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-flags {
    display: flex;
    gap: 12px;
    font-size: 1.5rem;
}

.footer-logo { margin-bottom: 0; }

.footer-links h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 6px 0;
    transition: var(--transition-base);
}

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

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom p { margin-bottom: 4px; }
.footer-bottom strong { color: var(--primary); }

/* ===== MODALS ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

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

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: var(--bg-modal);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition-base);
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-base);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0 auto 16px;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 4px;
}

.modal-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.modal-footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.modal-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9000;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-base);
}

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

.toast-content {
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.toast-icon { color: var(--primary); font-size: 1.2rem; }
.toast-message { font-size: 0.9rem; font-weight: 500; }

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

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

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

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .careers-content { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .dashboard-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --section-padding: 80px 0; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-modal);
        flex-direction: column;
        padding: 80px 32px 32px;
        transition: var(--transition-base);
        border-left: 1px solid var(--border);
    }

    .nav-links.active { right: 0; }
    .hamburger { display: flex; }
    
    .btn-glow.nav-btn-hide { display: none; }

    .about-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .presence-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .placement-features-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }

    .hero-title { font-size: clamp(2rem, 8vw, 3.5rem); }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    
    .dashboard-tabs { flex-wrap: wrap; }
    .dashboard-stats-grid { grid-template-columns: 1fr 1fr; }
    
    .exam-nav { flex-direction: column; }
    .exam-nav .btn { width: 100%; justify-content: center; }

    .modal-content { padding: 28px 20px; }
}

@media (max-width: 480px) {
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat-number { font-size: 1.8rem; }
    .placement-features-grid { grid-template-columns: 1fr; }
    .placement-cta-group { flex-direction: column; }
    .dashboard-stats-grid { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .position-card { flex-direction: column; align-items: flex-start; }
    .position-card .btn { width: 100%; justify-content: center; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--bg-card-hover); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Selection */
::selection {
    background: var(--primary);
    color: var(--bg-dark);
}
