:root {
    --bg-main: #FFF9F2;
    --bg-secondary: #FFFFFF;
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --accent-primary: #C65D0A;
    --accent-secondary: #E58A32;
    --web-line: rgba(198, 93, 10, 0.18);
    --border-color: #F3E8E0;
    --hover-bg: #FFF0E0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --transition-fast: 0.15s ease-in-out;
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

html {
    scroll-behavior: smooth;
    font-size: 15px; /* Slightly reduce base font size to make everything more compact */
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-medium);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 100%;
}

.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.nav-item:hover {
    color: var(--text-primary);
    background: var(--hover-bg);
}

.arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform var(--transition-fast);
}

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

/* Menu Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    box-shadow: var(--shadow-lg);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
}

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

.dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dropdown-content a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: var(--transition-fast);
}

.dropdown-content a:hover {
    color: var(--accent-primary);
    background: var(--hover-bg);
}

/* Sub-Dropdown Menu */
.sub-dropdown {
    position: relative;
}

.sub-dropdown-menu {
    position: absolute;
    top: -10px;
    left: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-left: 5px;
}

.sub-dropdown:hover .sub-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.sub-dropdown-toggle {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

.arrow.right {
    transform: rotate(-90deg);
}

.sub-dropdown-menu a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: var(--transition-fast);
}

.sub-dropdown-menu a:hover {
    color: var(--accent-primary);
    background: var(--hover-bg);
}

.user-profile {
    display: flex;
    align-items: center;
}

.profile-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.profile-circle:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
}

.profile-circle svg {
    width: 20px;
    height: 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    position: absolute;
    left: 0;
    transition: var(--transition-medium);
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-btn span:nth-child(3) { bottom: 0; }

/* Hero Section */
.hero-section {
    min-height: 85vh;
    padding-top: 100px;
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #FFF7ED;
    border: 1px solid #FDE68A;
    border-radius: 100px;
    color: var(--color-accent);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-fast);
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    border: 1px solid var(--accent-primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
}

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

.btn-secondary:hover {
    background: var(--hover-bg);
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visuals - Spider Network */
.spider-network {
    position: relative;
    width: 100%;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.85);
}

.spider-web-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: visible;
}

.web-line {
    stroke: var(--web-line);
    fill: none;
    transition: stroke 0.3s ease;
}

.web-line.highlighted {
    stroke: var(--accent-primary);
    stroke-width: 2px;
    filter: drop-shadow(0 0 5px rgba(198, 93, 10, 0.4));
}

.web-particle {
    fill: var(--accent-primary);
    filter: drop-shadow(0 0 4px var(--accent-primary));
}

.web-intersection {
    fill: var(--accent-secondary);
    opacity: 0.6;
}

/* Nodes */
.network-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none; /* Let SVG clicks pass through where there are no nodes */
}

.node {
    position: absolute;
    transform: translate(-50%, -50%);
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    scale: 0.8;
}

.node.visible {
    opacity: 1;
    scale: 1;
}

.node:hover {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.node-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: var(--hover-bg);
}

.node-content {
    display: flex;
    flex-direction: column;
}

.node-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.node-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Specific Node Themes */
.node-theme-blue .node-icon { background: #EFF6FF; color: #2563EB; }
.node-theme-blue:hover { border-color: #BFDBFE; box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1); }

.node-theme-navy .node-icon { background: #F1F5F9; color: #0F172A; }
.node-theme-navy:hover { border-color: #CBD5E1; box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.1); }

.node-theme-red .node-icon { background: #FEF2F2; color: #DC2626; }
.node-theme-red:hover { border-color: #FECACA; box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.1); }

.node-theme-green .node-icon { background: #F0FDF4; color: #16A34A; }
.node-theme-green:hover { border-color: #BBF7D0; box-shadow: 0 10px 15px -3px rgba(22, 163, 74, 0.1); }

.node-theme-purple .node-icon { background: #FAF5FF; color: #9333EA; }
.node-theme-purple:hover { border-color: #E9D5FF; box-shadow: 0 10px 15px -3px rgba(147, 51, 234, 0.1); }

.node-theme-yellow .node-icon { background: #FEFCE8; color: #CA8A04; }
.node-theme-yellow:hover { border-color: #FEF08A; box-shadow: 0 10px 15px -3px rgba(202, 138, 4, 0.1); }

.node-theme-teal .node-icon { background: #F0FDFA; color: #0D9488; }
.node-theme-teal:hover { border-color: #BFDBFE; box-shadow: 0 10px 15px -3px rgba(13, 148, 136, 0.1); }


/* Center Node */
.center-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-secondary);
    border-radius: 100px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 0 30px rgba(198, 93, 10, 0.2);
    border: 2px solid var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 5;
    pointer-events: auto;
    opacity: 0;
    scale: 0.8;
}

.center-node.visible {
    opacity: 1;
    scale: 1;
}

.center-node img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.center-node .brand {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.center-node .brand-study { color: var(--text-primary); }
.center-node .brand-spider { color: var(--accent-primary); }

/* Animations */
@keyframes floatCenter {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -55%); }
}

@keyframes floatOuter {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -46%); }
}

@media (prefers-reduced-motion: no-preference) {
    .center-node.visible {
        animation: floatCenter 6s ease-in-out infinite;
    }
    .node.visible {
        animation: floatOuter 8s ease-in-out infinite;
    }
    .node:nth-child(even) {
        animation-delay: -2s;
    }
    .node:nth-child(3n) {
        animation-delay: -4s;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .stats-row {
        justify-content: center;
    }
    
    .spider-network {
        height: 500px;
        margin-top: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .spider-network {
        height: 400px;
        transform: scale(0.85);
    }
    
    .node-icon {
        display: none;
    }
    
    .node {
        padding: 0.5rem 0.75rem;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .spider-network {
        height: 350px;
        transform: scale(0.65);
    }
}

/* --- Homepage Content Sections --- */

.section-padding {
    padding: 2.5rem 0;
}

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

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

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

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 1.5rem 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--hover-bg);
    border-radius: 12px;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

/* Exams Section */
.exams-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.exams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.exam-category-card {
    background: var(--bg-main);
    padding: 1.5rem 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-medium);
    display: block;
}

.exam-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-secondary);
    background: var(--bg-secondary);
}

.exam-icon {
    font-size: 2.25rem;
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.blue-bg { background: #EFF6FF; color: #2563EB; }
.navy-bg { background: #F1F5F9; color: #0F172A; }
.purple-bg { background: #FAF5FF; color: #9333EA; }
.teal-bg { background: #F0FDFA; color: #0D9488; }

.exam-category-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

/* CTA Section */
.cta-box {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--hover-bg) 100%);
    padding: 4rem 2rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(198, 93, 10, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-box .btn {
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
    display: inline-flex;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 350px;
    line-height: 1.6;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .section-padding { padding: 2.5rem 0; }
    
    .section-header h2 { font-size: 2rem; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* FAQ Accordion Styles */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid var(--border-color, #E2E8F0);
    border-radius: 12px;
    margin-bottom: 1rem;
    background: var(--bg-main, #FFFFFF);
    overflow: hidden;
    transition: border-color 0.3s ease;
}
.faq-item.active {
    border-color: var(--accent-primary, #2563EB);
}
.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary, #0F172A);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.faq-icon {
    display: inline-block;
    transition: transform 0.3s ease;
    font-weight: bold;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.faq-answer-inner {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: var(--text-secondary, #64748B);
    line-height: 1.6;
}

/* Page Switcher (Reused from JEE) */
.jee-switcher {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.5rem;
    max-width: max-content;
    min-width: 400px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-sm);
}

.jee-switcher-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-secondary);
    text-decoration: none;
}

.jee-switcher-btn:hover:not(.active) {
    background: var(--hover-bg);
}

.jee-switcher-btn.active {
    background: var(--accent-primary);
    color: #FFFFFF !important;
    box-shadow: 0 4px 6px -1px rgba(198, 93, 10, 0.2);
    border: none !important;
}

/* --- B.Tech Homepage Styles --- */

/* Sticky Sub Navbar */
.sub-navbar {
    position: sticky;
    top: 80px; /* Below main navbar */
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    z-index: 990;
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
    white-space: nowrap;
}
.sub-nav-container {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 0 2rem;
    height: 50px;
    justify-content: center;
}
.sub-nav-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    padding: 0.5rem 0;
}
.sub-nav-item:hover {
    color: var(--accent-primary);
    border-bottom: 2px solid var(--accent-primary);
}
@media (max-width: 768px) {
    .sub-nav-container {
        justify-content: flex-start;
    }
}

.btech-hero {
    padding-top: 60px; /* account for sub-nav */
}

.bg-white { background-color: var(--bg-secondary); }

/* Branch Grid */
.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.branch-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--text-primary);
}
.branch-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-secondary);
}
.branch-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hover-bg);
    border-radius: 10px;
}
.branch-name {
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.3;
}

/* Quick Access */
.quick-card .card-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--accent-primary);
}

/* University Carousel (Grid style for now) */
.uni-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}
.uni-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}
.uni-card:hover {
    background: var(--hover-bg);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

/* Semester Explorer */
.semester-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.sem-tab {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}
.sem-tab:hover {
    background: var(--hover-bg);
    color: var(--accent-primary);
}
.sem-tab.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    box-shadow: 0 4px 10px rgba(198, 93, 10, 0.3);
}
.semester-content {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.sem-title { margin-bottom: 1.5rem; color: var(--accent-primary); }
.subject-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.sub-chip {
    padding: 0.75rem 1.5rem;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition-fast);
}
.sub-chip:hover {
    background: var(--hover-bg);
    border-color: var(--accent-secondary);
    color: var(--accent-primary);
}

/* PYQ Table */
.pyq-box {
    background: var(--bg-main);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}
.pyq-breadcrumbs {
    padding: 1rem 1.5rem;
    background: var(--hover-bg);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--accent-primary);
    font-size: 0.9rem;
}
.pyq-table {
    width: 100%;
    border-collapse: collapse;
}
.pyq-table th, .pyq-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.pyq-table th { background: var(--bg-secondary); font-weight: 600; }
.pyq-table tr:last-child td { border-bottom: none; }
.pyq-count {
    background: #E0F2FE;
    color: #0284C7;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
}
.btn-small {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}
.btn-small:hover { background: var(--hover-bg); color: var(--accent-primary); }

/* Admissions Grid */
.admissions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.admission-card {
    background: var(--bg-main);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}
.admission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    border-bottom: 2px solid var(--hover-bg);
    padding-bottom: 1rem;
}
.adm-list { list-style: none; padding: 0; }
.adm-list li {
    padding: 0.75rem 0;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}
.adm-list li:last-child { border-bottom: none; }
.check-icon { color: #10B981; font-weight: bold; }
@media (max-width: 768px) { .admissions-grid { grid-template-columns: 1fr; } }

/* Study Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.res-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
}
.res-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-secondary);
}
.res-icon { font-size: 2rem; }
.res-content h4 { margin-bottom: 0.25rem; color: var(--text-primary); }
.res-content p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.4; }

/* Mock Test Banner */
.mock-test-banner {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 20px 25px -5px rgba(198, 93, 10, 0.2);
}
.mock-content h2 { color: white; font-size: 2.5rem; margin-bottom: 1rem; }
.mock-content p { color: rgba(255,255,255,0.9); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }
.mock-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
@media (max-width: 900px) { .split-layout { grid-template-columns: 1fr; gap: 3rem; } }
.how-it-works h3, .popular-searches h3 { margin-bottom: 2rem; font-size: 1.5rem; }

.steps-container { display: flex; flex-direction: column; gap: 1rem; }
.step-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background: var(--bg-main);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.step-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--hover-bg);
    -webkit-text-stroke: 1px var(--accent-secondary);
}
.step-text { font-weight: 600; font-size: 1.1rem; }
.step-arrow { text-align: center; color: var(--accent-primary); font-size: 1.5rem; margin: -0.5rem 0; }
.active-step { background: var(--hover-bg); border-color: var(--accent-primary); }
.active-step .step-num { color: var(--accent-primary); -webkit-text-stroke: 0; }

.tags-cloud { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.search-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}
.search-tag:hover { background: var(--hover-bg); color: var(--accent-primary); border-color: var(--accent-secondary); }

/* Latest Resources */
.recent-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
@media (max-width: 768px) { .recent-list { grid-template-columns: 1fr; } }
.recent-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--bg-secondary);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.ri-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-main);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.ri-details { flex: 1; }
.ri-details h4 { margin-bottom: 0.25rem; font-size: 1.05rem; }
.ri-details p { color: var(--text-secondary); font-size: 0.85rem; }
.ri-tag {
    background: #FEF2F2;
    color: #DC2626;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Statistics */
.stats-counter-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}
.stat-box { text-align: center; }
.s-num { font-size: 3rem; font-weight: 800; color: var(--accent-primary); line-height: 1; margin-bottom: 0.5rem; }
.s-label { font-weight: 600; color: var(--text-secondary); font-size: 1.1rem; }

/* Final CTA */
.final-cta {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--bg-secondary), var(--hover-bg));
}
