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

/* ==========================================================================
   Design System & Variables (Premium Light Tech Theme)
   ========================================================================== */
:root {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-darker: #e2e8f0;
    
    --card-bg: rgba(255, 255, 255, 0.75);
    --card-bg-hover: rgba(255, 255, 255, 0.92);
    --card-border: rgba(99, 102, 241, 0.08);
    --card-border-glow: rgba(99, 102, 241, 0.25);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --accent-cyan: #0d9488;      /* Mint Teal */
    --accent-blue: #2563eb;      /* Royal Blue */
    --accent-purple: #4f46e5;    /* Electric Indigo */
    --accent-pink: #d946ef;      /* Fuchsia */
    
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    --gradient-purple: linear-gradient(135deg, #4f46e5 0%, #d946ef 100%);
    --gradient-dark: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    --gradient-border: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(79, 70, 229, 0.15) 100%);
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(79, 70, 229, 0.06), 0 8px 10px -6px rgba(79, 70, 229, 0.06);
    --shadow-lg: 0 20px 50px -12px rgba(79, 70, 229, 0.1), 0 15px 20px -10px rgba(79, 70, 229, 0.06);
    --glow-cyan: 0 0 25px rgba(13, 148, 136, 0.12);
    --glow-purple: 0 0 25px rgba(79, 70, 229, 0.12);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    color: inherit;
}

button {
    cursor: pointer;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-primary);
}

/* ==========================================================================
   Reusable Utilities & Layout Components
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--accent-purple);
    border: 1px solid rgba(79, 70, 229, 0.15);
    margin-bottom: 16px;
}

.badge-purple {
    background: rgba(217, 70, 239, 0.08);
    color: var(--accent-pink);
    border: 1px solid rgba(217, 70, 239, 0.15);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #0f172a, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid var(--bg-darker);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

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

.btn-accent {
    background: var(--gradient-purple);
    color: white;
    box-shadow: 0 4px 14px rgba(217, 70, 239, 0.2);
}

.btn-accent:hover {
    box-shadow: 0 6px 20px rgba(217, 70, 239, 0.35);
    transform: translateY(-2px);
}

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

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

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

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

.header-scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.05);
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition-normal);
}

.header-scrolled .nav-wrapper {
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

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

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

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

.nav-link.active {
    color: var(--accent-purple);
}

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

.btn-nav {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 28px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-normal);
}

/* ==========================================================================
   Centered Grand Hero Section
   ========================================================================== */
.hero {
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 80px;
    background-image: radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.05) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(13, 148, 136, 0.05) 0%, transparent 45%),
                      radial-gradient(circle at 50% 50%, rgba(217, 70, 239, 0.03) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge-container {
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 720px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    margin-top: 20px;
}

.hero-cert-item {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition-normal);
}

.hero-cert-item:hover {
    transform: translateY(-4px);
    background: #ffffff;
    border-color: var(--card-border-glow);
    box-shadow: var(--shadow-md);
}

.hero-cert-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    font-size: 1.2rem;
}

.hero-cert-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ==========================================================================
   3-Pillars of RVCIT Section (Replacing old stats banner)
   ========================================================================== */
.pillars-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--bg-darker);
    border-bottom: 1px solid var(--bg-darker);
}

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

.pillar-card {
    height: 100%;
}

.pillar-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(79, 70, 229, 0.1) 100%);
    border: 1px solid rgba(79, 70, 229, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    font-size: 1.35rem;
    margin-bottom: 24px;
}

.pillar-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.pillar-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Course Explorer
   ========================================================================== */
.courses-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: #ffffff;
    border: 1px solid var(--bg-darker);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.2);
}

.courses-search-wrapper {
    max-width: 480px;
    margin: 0 auto 32px auto;
    position: relative;
}

.courses-search-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    background: #ffffff;
    border: 1px solid var(--bg-darker);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.courses-search-input:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.1);
}

.courses-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.course-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.course-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1.25rem;
}

.course-icon-box.purple {
    background: rgba(217, 70, 239, 0.06);
    border: 1px solid rgba(217, 70, 239, 0.12);
    color: var(--accent-pink);
}

.course-category-tag {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.course-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}

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

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 16px;
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-learn-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-learn-more:hover {
    color: var(--accent-blue);
}

.course-enroll-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(79, 70, 229, 0.06);
    color: var(--accent-purple);
    border: 1px solid rgba(79, 70, 229, 0.12);
    transition: var(--transition-fast);
}

.course-enroll-btn:hover {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
}

/* ==========================================================================
   Asymmetric About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    max-width: 640px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

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

.about-stat-box {
    background: #ffffff;
    border: 1px solid var(--bg-darker);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.about-stat-box:hover {
    border-color: var(--card-border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.about-stat-num {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent-purple);
    margin-bottom: 8px;
}

.about-stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==========================================================================
   Career Pathfinder Quiz
   ========================================================================== */
.quiz-section {
    background-color: var(--bg-secondary);
}

.quiz-container {
    max-width: 720px;
    margin: 0 auto;
}

.quiz-card {
    background: #ffffff;
    border: 1px solid var(--bg-darker);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.quiz-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    margin-bottom: 32px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 20%;
    transition: width 0.3s ease;
}

.quiz-step-indicator {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.quiz-question {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 28px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border: 1px solid var(--bg-darker);
    border-radius: 12px;
    text-align: left;
    transition: var(--transition-fast);
    background: var(--bg-primary);
}

.quiz-option:hover {
    border-color: var(--accent-purple);
    background: #ffffff;
}

.quiz-option.selected {
    border-color: var(--accent-purple);
    background: rgba(79, 70, 229, 0.04);
    box-shadow: 0 0 0 1px var(--accent-purple);
}

.quiz-option-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    position: relative;
}

.quiz-option.selected .quiz-option-radio {
    border-color: var(--accent-purple);
}

.quiz-option.selected .quiz-option-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-purple);
}

.quiz-nav {
    display: flex;
    justify-content: space-between;
}

.quiz-result-view {
    display: none;
    text-align: center;
}

.quiz-result-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(13, 148, 136, 0.08);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 24px auto;
}

.quiz-result-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.quiz-result-desc {
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.quiz-recommendation-box {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-darker);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 32px;
    text-align: left;
}

.quiz-recommendation-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--accent-purple);
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.quiz-recommendation-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.quiz-recommendation-bullet {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quiz-recommendation-bullet li {
    position: relative;
    padding-left: 24px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.quiz-recommendation-bullet li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

/* ==========================================================================
   Pearson VUE Center
   ========================================================================== */
.vue-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.vue-info {
    max-width: 640px;
}

.vue-media {
    margin-top: 32px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.vue-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.vue-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0) 100%);
    padding: 24px;
}

.vue-partner-card {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #ffffff;
}

.vue-partner-logo {
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--accent-cyan);
}

.vue-partner-desc {
    font-size: 0.95rem;
    font-weight: 600;
}

.exam-booking-card {
    background: #ffffff;
    border: 1px solid var(--bg-darker);
    box-shadow: var(--shadow-md);
}

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

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--bg-darker);
    background: var(--bg-primary);
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent-purple);
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

select.form-control {
    cursor: pointer;
}

/* ==========================================================================
   Labs & Facilities
   ========================================================================== */
.labs-section {
    background-color: var(--bg-secondary);
}

.labs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.labs-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.labs-feature-item {
    display: flex;
    gap: 20px;
}

.labs-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.labs-feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.labs-feature-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.labs-carousel {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000000;
    aspect-ratio: 4/3;
}

.labs-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.25s ease-in-out;
}

.labs-carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 100%);
    color: #ffffff;
}

.labs-carousel-caption h4 {
    color: #ffffff !important;
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.labs-carousel-caption p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.85rem;
}

.labs-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.labs-carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: var(--transition-fast);
}

.labs-carousel-btn:hover {
    background: #ffffff;
    color: var(--text-primary);
}

/* ==========================================================================
   Student Testimonials & Partners
   ========================================================================== */
.testimonials-section {
    position: relative;
    overflow: hidden;
}

.reviews-summary-card {
    background: #ffffff;
    border: 1px solid var(--bg-darker);
    border-radius: 20px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}

.reviews-summary-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.reviews-summary-score {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.reviews-summary-stars {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.star-rating {
    color: #e5af3b;
    font-size: 0.9rem;
}

.star-rating.large {
    font-size: 1.1rem;
}

.reviews-summary-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.reviews-summary-right {
    display: flex;
    gap: 12px;
}

.reviews-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.reviews-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scrollMarquee 35s linear infinite;
}

.reviews-marquee:hover .reviews-marquee-track {
    animation-play-state: paused;
}

.testimonial-card {
    width: 380px;
    background: #ffffff;
    border: 1px solid var(--bg-darker);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
}

.testimonial-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
}

.testimonial-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 12px)); } /* Accounts for half of duplicate array scroll */
}

/* Marquee partners ticker */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: var(--bg-secondary);
    border-top: 1px solid var(--bg-darker);
    border-bottom: 1px solid var(--bg-darker);
    padding: 24px 0;
}

.marquee-title {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 16px;
}

.marquee-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scrollPartners 20s linear infinite;
}

.marquee-item {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.marquee-item i {
    font-size: 1.35rem;
}

@keyframes scrollPartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Blog Preview Articles
   ========================================================================== */
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.blog-preview-card {
    background: #ffffff;
    border: 1px solid var(--bg-darker);
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.blog-preview-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-preview-card:hover .blog-preview-img {
    transform: scale(1.05);
}

.blog-preview-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-preview-content {
    padding: 28px;
}

.blog-meta-preview {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-preview-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-preview-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ==========================================================================
   Contact Us Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

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

.contact-detail-item {
    display: flex;
    gap: 20px;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.06);
    border: 1px solid rgba(79, 70, 229, 0.12);
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-detail-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-detail-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 220px;
    box-shadow: var(--shadow-md);
}

.map-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--bg-darker);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

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

.footer-about .logo {
    color: #ffffff;
}

.footer-about p {
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-newsletter p {
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-purple);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 0.85rem;
    color: #64748b;
}

/* ==========================================================================
   Modals & Popups
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
}

.modal-container {
    background: #ffffff;
    border: 1px solid var(--bg-darker);
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    z-index: 2001;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--bg-darker);
}

.modal-category {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--bg-darker);
    padding-bottom: 20px;
}

.modal-meta-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}

.modal-meta-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.modal-syllabus-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.modal-syllabus-list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.modal-syllabus-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-purple);
}

/* Meet Mentor layout */
.why-choose-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.why-choose-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.why-choose-item i {
    color: var(--accent-cyan);
}

.mentor-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-darker);
    border-radius: 16px;
    padding: 16px 20px;
}

.mentor-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mentor-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.mentor-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Floating Widgets & Toasts
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition-fast);
}

.whatsapp-float:hover {
    transform: scale(1.08) translateY(-4px);
    background-color: #20ba5a;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #ffffff;
    border: 1px solid var(--bg-darker);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.toast-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 1px solid var(--bg-darker);
    border-left: 4px solid var(--accent-cyan);
    border-radius: 12px;
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    min-width: 320px;
    max-width: 420px;
    transform: translateY(10px);
    opacity: 0;
    animation: toastAppear 0.3s forwards;
    transition: opacity 0.3s, transform 0.3s;
}

.toast-icon {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.toast-content h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.toast-content p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

@keyframes toastAppear {
    to { transform: translateY(0); opacity: 1; }
}

.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 36px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--bg-darker);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    opacity: 0;
    pointer-events: none;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.scroll-to-top:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Viewports Media Queries
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .hero-title {
        font-size: 3.25rem;
    }
    
    .hero-certs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .about-grid, .vue-grid, .labs-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-stats-grid {
        margin-top: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-bottom: 1px solid var(--bg-darker);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }

    .btn-header-enquire {
        display: none;
    }

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

    .hero-certs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .reviews-summary-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .reviews-summary-right {
        width: 100%;
        flex-direction: column;
    }
    
    .reviews-summary-right .btn {
        width: 100%;
    }

    .blog-preview-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}
