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

:root {
    /* Colors */
    --bg-primary: #07090e;
    --bg-secondary: #0e121a;
    --bg-tertiary: #141a27;
    --bg-card: rgba(14, 18, 26, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.4);
    
    --primary: #8b5cf6;
    --primary-hover: #7c3aed;
    --secondary: #14b8a6;
    --secondary-hover: #0d9488;
    --accent-cyan: #06b6d4;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --error: #ef4444;
    --error-bg: rgba(239, 68, 68, 0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    --gradient-secondary: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    --gradient-text: linear-gradient(135deg, #ffffff 40%, #c7d2fe 100%);
    --gradient-glow: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    
    /* Theme specific elements */
    --logo-gradient: linear-gradient(135deg, #ffffff 50%, #8b5cf6 100%);
    --hero-title-gradient: linear-gradient(135deg, #ffffff 40%, #a5b4fc 70%, #6366f1 100%);
    --cert-document-bg: linear-gradient(145deg, #111827 0%, #030712 100%);
    --cert-border-inner: rgba(255, 255, 255, 0.1);
    --cert-header-border: rgba(255, 255, 255, 0.08);
    --cert-signature-line: rgba(255, 255, 255, 0.2);
    --btn-secondary-bg: rgba(255, 255, 255, 0.05);
    --btn-secondary-hover-bg: rgba(255, 255, 255, 0.1);
    --btn-icon-bg: rgba(255, 255, 255, 0.05);
    --btn-icon-hover-bg: rgba(255, 255, 255, 0.1);
    --header-bg: rgba(7, 9, 14, 0.75);
    --art-card-bg: rgba(14, 18, 26, 0.85);
    --art-card-border: rgba(255, 255, 255, 0.1);
    --verify-input-bg: rgba(255, 255, 255, 0.03);
    --form-control-bg: rgba(255, 255, 255, 0.02);
    --toast-bg: #0f172a;
    --faq-icon-bg: rgba(255, 255, 255, 0.03);
    --faq-content-bg: rgba(255, 255, 255, 0.01);
    --modal-overlay-bg: rgba(7, 9, 14, 0.8);
    --scroll-thumb-bg: var(--bg-tertiary);
    --shadow-color: rgba(0, 0, 0, 0.5);
    --shadow-color-lg: rgba(0, 0, 0, 0.7);
    --glow-bg-1: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(0,0,0,0) 70%);
    --glow-bg-2: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, rgba(0,0,0,0) 70%);
    
    /* Layout & Shadow */
    --shadow-sm: 0 2px 8px -2px var(--shadow-color);
    --shadow-md: 0 10px 25px -5px var(--shadow-color), 0 8px 16px -6px var(--shadow-color);
    --shadow-lg: 0 20px 40px -10px var(--shadow-color-lg);
    --glass-blur: blur(16px);
    
    /* Font Families */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Navigation Height */
    --nav-height: 80px;
}

[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.8);
    --border-color: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(99, 102, 241, 0.5);
    
    --primary: #7c3aed;
    --primary-hover: #6d28d9;
    --secondary: #0d9488;
    --secondary-hover: #0f766e;
    --accent-cyan: #0891b2;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --success: #059669;
    --success-bg: rgba(5, 150, 105, 0.1);
    --error: #dc2626;
    --error-bg: rgba(220, 38, 38, 0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    --gradient-secondary: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
    --gradient-accent: linear-gradient(135deg, #e11d48 0%, #db2777 100%);
    --gradient-text: linear-gradient(135deg, #0f172a 40%, #312e81 100%);
    --gradient-glow: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    
    /* Theme specific elements */
    --logo-gradient: linear-gradient(135deg, #0f172a 50%, #7c3aed 100%);
    --hero-title-gradient: linear-gradient(135deg, #0f172a 30%, #4f46e5 70%, #7c3aed 100%);
    --cert-document-bg: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    --cert-border-inner: rgba(15, 23, 42, 0.08);
    --cert-header-border: rgba(15, 23, 42, 0.08);
    --cert-signature-line: rgba(15, 23, 42, 0.15);
    --btn-secondary-bg: rgba(15, 23, 42, 0.04);
    --btn-secondary-hover-bg: rgba(15, 23, 42, 0.08);
    --btn-icon-bg: rgba(15, 23, 42, 0.04);
    --btn-icon-hover-bg: rgba(15, 23, 42, 0.08);
    --header-bg: rgba(255, 255, 255, 0.8);
    --art-card-bg: rgba(255, 255, 255, 0.9);
    --art-card-border: rgba(15, 23, 42, 0.08);
    --verify-input-bg: rgba(15, 23, 42, 0.02);
    --form-control-bg: rgba(15, 23, 42, 0.02);
    --toast-bg: #ffffff;
    --faq-icon-bg: rgba(15, 23, 42, 0.03);
    --faq-content-bg: rgba(15, 23, 42, 0.01);
    --modal-overlay-bg: rgba(15, 23, 42, 0.4);
    --scroll-thumb-bg: #cbd5e1;
    --shadow-color: rgba(15, 23, 42, 0.08);
    --shadow-color-lg: rgba(15, 23, 42, 0.12);
    --glow-bg-1: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    --glow-bg-2: radial-gradient(circle, rgba(20, 184, 166, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Base Reset & Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
    width: 100%;
}

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

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    width: 600px;
    height: 600px;
    background: var(--glow-bg-1);
    z-index: -1;
    pointer-events: none;
    animation: float-bg 20s infinite alternate ease-in-out;
}

body::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: var(--glow-bg-2);
    z-index: -1;
    pointer-events: none;
    animation: float-bg 25s infinite alternate-reverse ease-in-out;
}

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

button, input, textarea {
    font-family: inherit;
    outline: none;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Grid & Section Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    width: 100%;
}

.section {
    padding: calc(var(--nav-height) + 40px) 0 80px;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}

.section-subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Glassmorphic Utilities */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-md);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                border-color 0.3s ease, 
                box-shadow 0.3s ease;
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 20px 30px -10px rgba(99, 102, 241, 0.15), var(--shadow-lg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

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

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

.btn-accent {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.6);
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    background: var(--btn-icon-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

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

/* Theme Toggle Button */
.theme-toggle {
    background: var(--btn-icon-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--btn-icon-hover-bg);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.theme-toggle i {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide/Show Icons depending on theme */
.theme-toggle .icon-moon {
    display: none;
}

.theme-toggle .icon-sun {
    display: inline-block;
}

[data-theme="light"] .theme-toggle .icon-sun {
    display: none;
}

[data-theme="light"] .theme-toggle .icon-moon {
    display: inline-block;
}

[data-theme="light"] .theme-toggle i {
    transform: rotate(360deg);
}

/* Theme Switch Transition class */
.theme-transition,
.theme-transition * {
    transition: background 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease !important;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: var(--header-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    height: 70px;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

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

.logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.logo span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

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

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

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Styles */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 40px;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    
    .nav-actions .btn-apply-trigger {
        display: none;
    }
    
    .nav-menu .btn {
        margin-top: 16px;
        width: 100%;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    animation: pulse-badge 2s infinite;
}

.hero-badge span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
    display: inline-block;
}

.hero-title {
    font-size: 4rem;
    font-weight: 850;
    line-height: 1.1;
    margin-bottom: 20px;
    background: var(--hero-title-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
}

.tagline-item {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline-item:first-child {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline-item:last-child {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Floating Art Visual for Hero */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 400px;
}

.hero-art-bg {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(20, 184, 166, 0.05) 50%, rgba(0, 0, 0, 0) 70%);
    filter: blur(20px);
    animation: rotate-slow 20s infinite linear;
}

.art-orb {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate-slow 30s infinite linear;
}

.art-orb-inner {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-grow 4s infinite alternate ease-in-out;
}

.art-orb-inner i {
    font-size: 3rem;
    color: white;
}

.art-card {
    position: absolute;
    padding: 16px 20px;
    background: var(--art-card-bg);
    border: 1px solid var(--art-card-border);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
}

.art-card-1 {
    top: 15%;
    right: 5%;
    animation: float 6s infinite ease-in-out;
}

.art-card-2 {
    bottom: 15%;
    left: 5%;
    animation: float 7s infinite alternate ease-in-out 1s;
}

.art-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(20, 184, 166, 0.15);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.art-card-1 .art-card-icon {
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary);
}

.art-card-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.art-card-text strong {
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 991px) {
    .hero {
        padding-top: calc(var(--nav-height) + 20px);
        min-height: auto;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-tagline {
        justify-content: center;
        font-size: 1.5rem;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-visual {
        height: 350px;
    }
}

@media (max-width: 575px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-visual {
        height: 280px;
    }
    
    .hero-art-bg {
        width: 240px;
        height: 240px;
    }
    
    .art-orb {
        width: 160px;
        height: 160px;
    }
    
    .art-orb-inner {
        width: 100px;
        height: 100px;
    }
    
    .art-orb-inner i {
        font-size: 2.25rem;
    }
    
    .art-card {
        padding: 10px 14px;
        border-radius: 12px;
    }
    
    .art-card-1 {
        top: 10%;
        right: 0;
    }
    
    .art-card-2 {
        bottom: 10%;
        left: 0;
    }
    
    .art-card-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
    
    .art-card-text strong {
        font-size: 0.8rem;
    }
    
    .art-card-text span {
        font-size: 0.7rem;
    }
}

/* Internships Section */
.internship-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.internship-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.card-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.internship-card:hover .card-icon-container {
    transform: scale(1.1);
    color: white;
}

.card-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.internship-card:nth-child(1) .card-icon-container {
    color: #e76f51; /* java-ish warm color */
}
.internship-card:nth-child(1):hover .card-icon-container {
    background: #e76f51;
    color: white;
    box-shadow: 0 0 20px rgba(231, 111, 81, 0.4);
}

.internship-card:nth-child(2) .card-icon-container {
    color: var(--secondary); /* web-ish cyan/teal */
}
.internship-card:nth-child(2):hover .card-icon-container {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.4);
}

.internship-card:nth-child(3) .card-icon-container {
    color: var(--primary); /* ai-ish purple/indigo */
}
.internship-card:nth-child(3):hover .card-icon-container {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.card-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
    color: var(--text-secondary);
    flex-grow: 1;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.card-features li i {
    font-size: 0.85rem;
}

.internship-card:nth-child(1) .card-features li i { color: #e76f51; }
.internship-card:nth-child(2) .card-features li i { color: var(--secondary); }
.internship-card:nth-child(3) .card-features li i { color: var(--primary); }

.card-btn {
    width: 100%;
}

@media (max-width: 991px) {
    .internship-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .internship-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* About Us Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.about-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 420px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(14, 18, 26, 0.2) 0%, var(--bg-primary) 100%);
    z-index: 1;
}

.about-visual-box {
    text-align: center;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.about-stat {
    font-size: 4.5rem;
    font-family: var(--font-heading);
    font-weight: 850;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.about-stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-stat-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-p {
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.pillar-item:nth-child(2) .pillar-icon {
    background: rgba(20, 184, 166, 0.1);
    border-color: rgba(20, 184, 166, 0.2);
    color: var(--secondary);
}

.pillar-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.pillar-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-visual {
        height: 300px;
        order: 2;
    }
}

/* Certificate Verification Section */
.verify-container {
    max-width: 720px;
    margin: 0 auto;
}

.verify-card {
    padding: 48px;
    text-align: center;
}

.verify-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.verify-card p {
    margin-bottom: 32px;
}

.verify-form {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group-verify {
    flex-grow: 1;
    position: relative;
}

.form-group-verify i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.verify-input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    background: var(--verify-input-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.verify-input:focus {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.03);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}

.verify-input:focus + i {
    color: var(--primary);
}

.verify-submit {
    flex-shrink: 0;
}

.verify-tip {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.verify-tip code {
    background: var(--btn-secondary-bg);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--text-secondary);
    font-family: monospace;
}

/* Verification Result Box */
.verify-result {
    margin-top: 32px;
    display: none;
    animation: fade-in-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Certificate Layout Styling */
.cert-badge-success {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    background-color: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
    animation: scale-up 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cert-document {
    background: var(--cert-document-bg);
    border: 2px solid var(--cert-header-border);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--cert-border-inner);
    text-align: left;
}

/* Watermark/Seal background in certificate */
.cert-document::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cert-border-inner {
    border: 1px dashed var(--cert-border-inner);
    border-radius: 12px;
    padding: 32px;
}

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

.cert-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cert-logo img {
    height: 32px;
}

.cert-logo span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
}

.cert-title-stamp {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 4px 12px;
    border: 2px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
    border-radius: 4px;
    transform: rotate(-5deg);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.cert-info-item {
    display: flex;
    flex-direction: column;
}

.cert-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.cert-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.cert-value.verified-name {
    font-size: 1.35rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cert-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--success);
}

.cert-status-tag span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success);
    display: inline-block;
    box-shadow: 0 0 8px var(--success);
}

.cert-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 32px;
    border-top: 1px solid var(--cert-header-border);
    padding-top: 20px;
}

.cert-signature {
    text-align: center;
}

.signature-line {
    width: 140px;
    height: 1px;
    background: var(--cert-signature-line);
    margin-bottom: 8px;
}

.signature-title {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Certificate Error Box */
.cert-error {
    background: var(--error-bg);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.cert-error-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cert-error-info h4 {
    color: var(--error);
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.cert-error-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 575px) {
    .verify-form {
        flex-direction: column;
    }
    .verify-submit {
        width: 100%;
    }
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .cert-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .verify-card {
        padding: 32px 20px;
    }
}

/* FAQ Accordion Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: 16px;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
}

.faq-question {
    font-size: 1.15rem;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}

.faq-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--faq-icon-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon-box {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--faq-content-bg);
}

.faq-answer {
    padding: 0 32px 24px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

@media (max-width: 575px) {
    .faq-trigger {
        padding: 20px;
    }
    .faq-answer {
        padding: 0 20px 20px;
    }
    .faq-question {
        font-size: 1rem;
    }
}

/* Contact Us Section */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
}

.contact-info-title {
    font-size: 1.8rem;
    margin-bottom: 16px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info-desc {
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.2);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-detail-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-detail-text a, .contact-detail-text p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

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

.contact-socials {
    display: flex;
    gap: 16px;
}

/* Contact Form styling */
.contact-form-panel {
    padding: 40px;
}

.contact-form-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    background: var(--form-control-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.02);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.1);
}

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

.contact-btn {
    width: 100%;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-info-panel, .contact-form-panel {
        padding: 32px 24px;
    }
}

@media (max-width: 575px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Footer Section */
footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 32px;
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer-brand p {
    max-width: 320px;
}

.footer-col-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
    position: relative;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 16px;
}

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

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-legal-links a:hover {
    color: var(--text-secondary);
}

@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Toast System */
.toast-container {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--toast-bg);
    border-left: 4px solid var(--success);
    box-shadow: var(--shadow-lg), 0 0 20px var(--shadow-color);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 24px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 280px;
}

.toast.show {
    transform: translateX(0);
}

.toast-error {
    border-left-color: var(--error);
}

.toast i {
    font-size: 1.2rem;
}

.toast-success i { color: var(--success); }
.toast-error i { color: var(--error); }

.toast-content {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--modal-overlay-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 24px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    width: 100%;
    max-width: 600px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

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

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--btn-icon-bg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--btn-icon-hover-bg);
    color: var(--text-primary);
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.modal-body h4 {
    color: var(--text-primary);
    margin: 20px 0 8px;
    font-size: 1.1rem;
}

.modal-body h4:first-of-type {
    margin-top: 0;
}

.modal-body ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 6px;
}

.modal-footer {
    padding: 20px 32px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    background: var(--bg-tertiary);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

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

@keyframes pulse-grow {
    0% { transform: scale(1); box-shadow: 0 0 30px rgba(139, 92, 246, 0.3); }
    100% { transform: scale(1.08); box-shadow: 0 0 50px rgba(139, 92, 246, 0.5); }
}

@keyframes pulse-badge {
    0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(139, 92, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}

@keyframes float-bg {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 50px); }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-up {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
