/* ApnaHelp Homepage Styles - Modern Professional Design */

:root {
    /* Primary Colors */
    --primary-blue: #0d6efd;
    --navbar-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --hero-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Secondary Colors */
    --success-green: #198754;
    --warning-yellow: #ffc107;
    --danger-red: #dc3545;
    --info-cyan: #0dcaf0;
    
    /* Neutral Colors */
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #212529;
    --border-gray: #e9ecef;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

*::selection {
    background-color: var(--warning-yellow);
    color: var(--dark-gray);
}

*::-moz-selection {
    background-color: var(--warning-yellow);
    color: var(--dark-gray);
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: white;
    background-color: #0066ff;
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar-apnahelp {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar-apnahelp .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-apnahelp .navbar-brand i {
    font-size: 1.75rem;
}

.navbar-apnahelp .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition);
}

.navbar-apnahelp .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--warning-yellow);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-apnahelp .nav-link:hover::after,
.navbar-apnahelp .nav-link.active::after {
    width: 80%;
}

.navbar-apnahelp .nav-link:hover {
    color: var(--warning-yellow) !important;
}

/* Responsive Menu Toggler - White Color */
.navbar-apnahelp .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    padding: 0.25rem 0.5rem;
}

.navbar-apnahelp .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

/* Hamburger Icon (Default - Menu Closed) */
.navbar-apnahelp .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
    transition: all 0.3s ease;
}

/* X Icon (When Menu is Open) */
.navbar-apnahelp .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 6L24 24M6 24L24 6'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
}


/* Hero Section */
.hero-apnahelp {
    min-height: 100vh;
    background: #0066ff;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
}

.hero-apnahelp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-left {
    color: white;
}

.hero-heading {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    animation: fadeInUp 0.8s ease-out;
}

.hero-heading .highlight-yellow {
    color: var(--warning-yellow);
}

.hero-description {
    font-size: 1.25rem;
    color: white;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-demo {
    background: var(--warning-yellow);
    color: var(--dark-gray);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-demo:hover {
    background: #ffcd39;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--dark-gray);
}

.btn-notification {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

.btn-notification:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-notification:focus {
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.btn-login-hero {
    background: var(--success-green);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-login-hero:hover {
    background: #157347;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}


.btn-notification {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-notification:hover {
    background: white;
    color: var(--dark-gray);
    transform: translateY(-2px);
}

/* Floating Cards */
.hero-right {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    padding: 2rem 0;
    min-height: 600px;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
    width: 280px;
    text-align: center;
    visibility: visible;
    opacity: 1;
}

.floating-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.floating-card-1 {
    left: 10px;
    top: 20%;
    animation-delay: 0s;
    z-index: 3;
}

.floating-card-2 {
    left: 50%;
    top: 20%;
    transform: translateX(-50%);
    animation-delay: 2s;
    z-index: 2;
    opacity: 0.95;
}

.floating-card-3 {
    left: 10px;
    top: 50%;
    animation-delay: 4s;
    z-index: 5;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.floating-card-4 {
    left: 50%;
    bottom: 20%;
    transform: translateX(-50%);
    animation-delay: 6s;
    z-index: 4;
    opacity: 1;
}

.floating-card i {
    display: block;
    margin-bottom: 1rem;
}

.floating-card h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-gray);
}

.floating-card p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

/* About Section */
.about-section {
    padding: 5rem 0;
    background: white;
}

.about-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.about-description {
    font-size: 1rem;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--light-gray);
    transform: translateX(5px);
}

.feature-item i {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.feature-item i.fa-check {
    background: rgba(25, 135, 84, 0.1);
    color: var(--success-green);
}

.feature-item i.fa-shield-alt {
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-blue);
}

.feature-item i.fa-mobile-alt {
    background: rgba(13, 202, 240, 0.1);
    color: var(--info-cyan);
}

.feature-item i.fa-headset {
    background: rgba(255, 193, 7, 0.1);
    color: var(--warning-yellow);
}

.feature-item h5 {
    font-weight: 600;
    margin: 0;
    color: var(--dark-gray);
}

/* Dashboard Preview Card */
.dashboard-preview {
    perspective: 1000px;
    height: 400px;
}

.dashboard-card {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-card:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.dashboard-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dashboard-dot.red {
    background: #ff5f57;
}

.dashboard-dot.yellow {
    background: #ffbd2e;
}

.dashboard-dot.green {
    background: #28ca42;
}

.dashboard-content {
    background: var(--primary-gradient);
    border-radius: 15px;
    padding: 2rem;
    height: calc(100% - 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.dashboard-chart {
    width: 100%;
    height: 200px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 1rem;
    gap: 0.5rem;
}

.chart-bar {
    background: white;
    width: 30px;
    border-radius: 5px 5px 0 0;
    animation: growBar 1s ease-out;
}

.chart-bar:nth-child(1) { height: 40%; }
.chart-bar:nth-child(2) { height: 70%; }
.chart-bar:nth-child(3) { height: 50%; }
.chart-bar:nth-child(4) { height: 90%; }
.chart-bar:nth-child(5) { height: 60%; }

@keyframes growBar {
    from {
        height: 0;
    }
}

/* Features Section - Timeline Style */
.timelineSectionBg {
    padding: 5rem 0;
    background: #f8f9fa;
    position: relative;
}

.timelineSection {
    display: flex;
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}

/* Left Column: Timeline Links */
.timeline-links {
    flex: 0 0 350px;
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-link-item {
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    background: white;
    margin-bottom: 2px;
    position: relative;
}

.timeline-link-item:hover {
    background: #f0f0f0;
    border-left-color: #667eea;
}

.timeline-link-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-left-color: #4caf50;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transform: translateX(5px);
}

.timeline-link-item.active .timeline-link-content {
    color: white;
}

.timeline-link-content {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.timeline-link-content i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.timeline-link-item.active .timeline-link-content i {
    color: white;
}

/* Right Column: Feature Content */
.timeline-content {
    flex: 1;
    min-height: 500px;
    background: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Timeline Content Text Styling */
.timeline-content .feature-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #212529;
    line-height: 1.3;
}

.timeline-content .feature-text .lead {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 400;
}

.timeline-content .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-content .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.7;
}

.timeline-content .feature-list li i {
    color: #4caf50;
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Responsive Design for Timeline */
@media (max-width: 992px) {
    .timelineSection {
        flex-direction: column !important;
        gap: 30px;
    }
    
    .timeline-links {
        flex: 1;
        position: relative !important;
        top: 0 !important;
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
        width: 100%;
    }
    
    .timeline-link-item {
        flex: 0 0 auto;
        min-width: 200px;
        margin-bottom: 0;
    }
    
    .timeline-content {
        min-height: auto;
        width: 100%;
        padding: 30px;
    }
    
    .timeline-content .feature-text h3 {
        font-size: 2rem;
    }
    
    .timeline-content .feature-text .lead {
        font-size: 1.1rem;
    }
}

.features-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

.features-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-tab {
    background: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    color: var(--dark-gray);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.feature-tab:hover {
    background: var(--light-gray);
    transform: translateX(10px);
}

.feature-tab.active {
    background: var(--primary-blue);
    color: white;
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.feature-tab i {
    font-size: 1.25rem;
    width: 30px;
}

.feature-content {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.feature-content.active {
    display: block;
}

.feature-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.feature-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.feature-text .lead {
    font-size: 1.25rem;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.feature-list li i {
    color: #4caf50;
    font-size: 1.25rem;
    margin-right: 10px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
    color: var(--dark-gray);
    font-size: 1.05rem;
    line-height: 1.6;
}

.feature-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-image {
    max-height: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 300px;
}

.feature-caption {
    text-align: center;
    color: var(--medium-gray);
    margin-top: 1rem;
    font-size: 0.9rem;
}

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

/* Student Dashboard Preview Section */
.student-dashboard-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    position: relative;
    overflow: hidden;
}

.student-dashboard-section *::selection {
    background-color: transparent;
    color: inherit;
}

.student-dashboard-section *::-moz-selection {
    background-color: transparent;
    color: inherit;
}

.student-dashboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(13,110,253,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.student-dashboard-section .section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-gray);
    position: relative;
    z-index: 1;
}

.student-dashboard-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* Dashboard Preview Cards */
.dashboard-preview-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
    position: relative;
    z-index: 1;
}

.dashboard-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Stats Cards */
.dashboard-preview-card.stats-card {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem 1.5rem;
}

.dashboard-preview-card.stats-card.completed {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
}

.dashboard-preview-card.stats-card.pending {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

.dashboard-preview-card.stats-card.results {
    background: linear-gradient(135deg, #0dcaf0 0%, #0aa2c0 100%);
}

.dashboard-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.dashboard-card-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
    line-height: 1;
}

.dashboard-card-label {
    font-size: 1rem;
    opacity: 0.95;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Feature Cards */
.dashboard-preview-card.feature-card {
    padding: 0;
    overflow: hidden;
}

.dashboard-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
}

.dashboard-card-header h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.dashboard-card-content {
    padding: 1.5rem 2rem;
}

/* Exam Preview Items */
.exam-preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-gray);
    transition: var(--transition);
}

.exam-preview-item:last-child {
    border-bottom: none;
}

.exam-preview-item:hover {
    background: var(--light-gray);
    margin: 0 -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border-radius: 8px;
}

.exam-preview-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.exam-preview-meta {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin: 0;
}

.exam-preview-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.exam-preview-badge.available {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    color: white;
}

.exam-preview-badge.completed {
    background: var(--light-gray);
    color: var(--success-green);
}

/* Quick Access Grid */
.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.quick-access-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
}

.quick-access-item:hover {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    transform: translateY(-3px);
}

.quick-access-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.quick-access-item h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.quick-access-item p {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin: 0;
}

/* Registered Institutions Section */
.institutions-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.institutions-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.institutions-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

.institutions-count {
    font-size: 1rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.btn-register-institute {
    background: var(--warning-yellow);
    color: var(--dark-gray);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.btn-register-institute:hover {
    background: #ffcd39;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--dark-gray);
}

.btn-register-institute i {
    font-size: 1.1rem;
}

.institutions-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0 2rem;
    margin-left: -15px;
    margin-right: -15px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) var(--light-gray);
    position: relative;
}

.institutions-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.institutions-scroll-container::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 10px;
}

.institutions-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

.institutions-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #0a58ca;
}

.institutions-scroll-wrapper {
    display: flex;
    gap: 1.5rem;
    padding-left: 15px;
    padding-right: 15px;
    min-width: min-content;
}

.institution-card-wrapper {
    flex: 0 0 auto;
    width: 100%;
    max-width: 350px;
    min-width: 300px;
    height: 100%;
}

.institution-card-wrapper .institution-card {
    height: 100%;
    margin-bottom: 0;
}

.institution-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.institution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.institution-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
}

.institution-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.institution-card:hover .institution-image {
    transform: scale(1.05);
}

.institution-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.institution-image-placeholder i {
    font-size: 4rem;
    opacity: 0.8;
}

.institution-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-blue);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 10;
    white-space: nowrap;
}

.institution-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.institution-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-gray);
    line-height: 1.3;
}

.institution-location {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.institution-location:empty {
    display: none;
    margin: 0;
}

.institution-location i {
    margin-right: 0.5rem;
    color: var(--primary-blue);
}

.institution-description {
    color: var(--medium-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.institution-description:empty {
    display: none;
    margin: 0;
}

.institution-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-gray);
}

.institution-stats:empty {
    display: none;
    padding: 0;
    border: none;
    margin: 0;
}

.stat-item {
    font-size: 0.85rem;
    color: var(--medium-gray);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.stat-item i {
    color: var(--primary-blue);
    margin-right: 0.25rem;
}

.institution-footer {
    padding: 1.25rem 1.5rem;
    background: var(--light-gray);
    border-top: 1px solid var(--border-gray);
    margin-top: auto;
    flex-shrink: 0;
}

.btn-select-institution {
    width: 100%;
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-select-institution:hover {
    background: #0a58ca;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-select-institution i {
    font-size: 0.9rem;
}

.empty-institutions {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.empty-institutions i {
    font-size: 5rem;
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

.empty-institutions h4 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.empty-institutions p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

/* Registered Institutions Section */
.institutions-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.institutions-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.institutions-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

.institutions-count {
    font-size: 1rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.btn-register-institute {
    background: var(--warning-yellow);
    color: var(--dark-gray);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.btn-register-institute:hover {
    background: #ffcd39;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--dark-gray);
}

.btn-register-institute i {
    font-size: 1.1rem;
}

.institutions-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0 2rem;
    margin-left: -15px;
    margin-right: -15px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) var(--light-gray);
    position: relative;
}

.institutions-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.institutions-scroll-container::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 10px;
}

.institutions-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

.institutions-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #0a58ca;
}

.institutions-scroll-wrapper {
    display: flex;
    gap: 1.5rem;
    padding-left: 15px;
    padding-right: 15px;
    min-width: min-content;
}

.institution-card-wrapper {
    flex: 0 0 auto;
    width: 100%;
    max-width: 350px;
    min-width: 300px;
    height: 100%;
}

.institution-card-wrapper .institution-card {
    height: 100%;
    margin-bottom: 0;
}

.institution-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.institution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.institution-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
}

.institution-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.institution-card:hover .institution-image {
    transform: scale(1.05);
}

.institution-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.institution-image-placeholder i {
    font-size: 4rem;
    opacity: 0.8;
}

.institution-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-blue);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 10;
    white-space: nowrap;
}

.institution-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.institution-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-gray);
    line-height: 1.3;
}

.institution-location {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.institution-location:empty {
    display: none;
    margin: 0;
}

.institution-location i {
    margin-right: 0.5rem;
    color: var(--primary-blue);
}

.institution-description {
    color: var(--medium-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.institution-description:empty {
    display: none;
    margin: 0;
}

.institution-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-gray);
}

.institution-stats:empty {
    display: none;
    padding: 0;
    border: none;
    margin: 0;
}

.stat-item {
    font-size: 0.85rem;
    color: var(--medium-gray);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.stat-item i {
    color: var(--primary-blue);
    margin-right: 0.25rem;
}

.institution-footer {
    padding: 1.25rem 1.5rem;
    background: var(--light-gray);
    border-top: 1px solid var(--border-gray);
    margin-top: auto;
    flex-shrink: 0;
}

.btn-select-institution {
    width: 100%;
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-select-institution:hover {
    background: #0a58ca;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-select-institution i {
    font-size: 0.9rem;
}

.empty-institutions {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.empty-institutions i {
    font-size: 5rem;
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

.empty-institutions h4 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.empty-institutions p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

/* Contact Section */
.contact-section {
    background: #0066ff;
    padding: 5rem 0;
}

.contact-heading {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-gray);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #a6caef;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-control.rounded {
    border-radius: 40px;
}

.btn-submit {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    width: 100%;
    transition: var(--transition);
}

.btn-submit:hover {
    background: #0a58ca;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.contact-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.contact-card p {
    color: var(--medium-gray);
    margin: 0.25rem 0;
}

/* Footer */
.footer-apnahelp {
    background: var(--dark-gray);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h5 {
    margin-bottom: 1rem;
    color: var(--warning-yellow);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Modals */
.modal-header {
    background: var(--primary-blue);
    color: white;
    border-radius: 0.375rem 0.375rem 0 0;
}

.modal-header .btn-close {
    filter: invert(1);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-heading {
        font-size: 2rem;
    }
    
    .hero-subheading {
        font-size: 1.5rem;
    }
    
    .hero-right {
        height: 400px;
        margin-top: 2rem;
    }
    
    .floating-card {
        width: 240px;
        padding: 1.5rem;
        position: absolute;
    }
    
    .floating-card-1 {
        left: 0;
        top: 15%;
    }
    
    .floating-card-2 {
        left: 50%;
        top: 15%;
        transform: translateX(-50%);
    }
    
    .floating-card-3 {
        left: 10px;
        top: 50%;
        opacity: 1;
        z-index: 5;
        visibility: visible;
    }
    
    .floating-card-4 {
        left: 50%;
        bottom: 15%;
        transform: translateX(-50%);
        opacity: 1;
    }
    
    .hero-right {
        overflow: visible;
        padding: 1rem 0;
    }
    
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .features-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .feature-tab {
        white-space: nowrap;
    }
    
    .feature-content-grid {
        grid-template-columns: 1fr;
    }
    
    .institutions-scroll-container {
        margin: 0 -10px;
    }
    
    .institutions-scroll-wrapper {
        padding: 0 10px;
    }
    
    .institution-card-wrapper {
        min-width: 280px;
        max-width: 320px;
    }
    
    .institution-card {
        margin-bottom: 0;
    }
    
    .institution-content {
        min-height: auto;
    }
    
    .student-dashboard-section .section-heading {
        font-size: 2rem;
    }
    
    .dashboard-card-number {
        font-size: 2rem;
    }
    
    .quick-access-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hero-heading {
        font-size: 1.75rem;
    }
    
    .hero-subheading {
        font-size: 1.25rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
    }
    
    .student-dashboard-section .section-heading {
        font-size: 1.75rem;
    }
    
    .dashboard-card-number {
        font-size: 1.75rem;
    }
    
    .dashboard-card-icon {
        font-size: 2rem;
    }
    
    .exam-preview-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .exam-preview-badge {
        align-self: flex-start;
    }
    
    .hero-cta-buttons button,
    .hero-cta-buttons a {
        width: 100%;
    }
    
    .floating-card {
        width: 200px;
        padding: 1rem;
        position: absolute;
    }
    
    .hero-right {
        height: 300px;
    }
    
    .floating-card-1 {
        left: 0;
        top: 10%;
    }
    
    .floating-card-2 {
        left: 50%;
        top: 10%;
        transform: translateX(-50%);
    }
    
    .floating-card-3 {
        left: 10px;
        top: 50%;
        opacity: 1;
        z-index: 5;
        visibility: visible;
    }
    
    .floating-card-4 {
        left: 50%;
        bottom: 10%;
        transform: translateX(-50%);
        opacity: 1;
    }
    
    .hero-right {
        overflow: visible;
        padding: 1rem 0;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-primary-blue {
    color: var(--primary-blue);
}

.bg-primary-blue {
    background: var(--primary-blue);
}

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

/* Logo Slider Section - Next.OS Style */
.logo-slider-section {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-slider {
    --image-size: 120px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-slider-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    animation: logoScroll 30s linear infinite;
    gap: 60px;
    align-items: center;
    will-change: transform;
}

.logo-slider-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--image-size);
    width: auto;
}

.logo-slider-image {
    max-width: var(--image-size);
    max-height: var(--image-size);
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.logo-slider-item:hover .logo-slider-image {
    opacity: 1;
    filter: grayscale(0%);
}

.logo-slider-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: var(--image-size);
    height: var(--image-size);
    color: #999;
    text-align: center;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.logo-slider-item:hover .logo-slider-placeholder {
    opacity: 0.8;
}

.logo-slider-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    color: #999;
}

.logo-slider-placeholder span {
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.2;
    word-break: break-word;
    max-width: var(--image-size);
}

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

/* Pause animation on hover */
.logo-slider:hover .logo-slider-list {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-slider {
        --image-size: 80px;
        margin: 30px 0 0;
    }
    
    .logo-slider-list {
        gap: 40px;
    }
    
    .logo-slider-placeholder i {
        font-size: 1.5rem;
    }
    
    .logo-slider-placeholder span {
        font-size: 0.6rem;
    }
}

/* Animated Teaching Section Styles */
.animated-teaching-section {
    position: relative;
}

.teaching-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teaching-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.teaching-card .btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    color: white !important;
}

/* Quiz Games Button - Green Gradient */
.teaching-card a.btn-light {
    background: linear-gradient(135deg, #667eea 0%, #19d386 100%) !important;
}

.teaching-card a.btn-light:hover {
    background: linear-gradient(135deg, #5568d3 0%, #16c178 100%) !important;
    color: white !important;
}

/* Memory Games Button - Teal Gradient */
.teaching-card a.btn-success {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%) !important;
}

.teaching-card a.btn-success:hover {
    background: linear-gradient(135deg, #3eb5ad 0%, #3a8f7d 100%) !important;
    color: white !important;
}

/* Word Puzzles Button - Yellow-Pink Gradient */
.teaching-card a.btn:not(.btn-light):not(.btn-success):not(.btn-danger) {
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%) !important;
    color: #333 !important;
}

.teaching-card a.btn:not(.btn-light):not(.btn-success):not(.btn-danger):hover {
    background: linear-gradient(135deg, #fdbd3d 0%, #ff8ce8 100%) !important;
    color: #333 !important;
}

/* Math Games Button - Red Gradient */
.teaching-card a.btn-danger {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%) !important;
}

.teaching-card a.btn-danger:hover {
    background: linear-gradient(135deg, #ff5252 0%, #d84315 100%) !important;
    color: white !important;
}

.teaching-card:hover .btn {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
}

/* Animation for cards on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.teaching-card {
    animation: fadeInUp 0.6s ease-out;
}

.teaching-card:nth-child(1) {
    animation-delay: 0.1s;
}

.teaching-card:nth-child(2) {
    animation-delay: 0.2s;
}

.teaching-card:nth-child(3) {
    animation-delay: 0.3s;
}

.teaching-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Mock Test Facilities Section Styles */
.mock-test-facilities-section {
    position: relative;
}

.facility-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

/* Animation for facility cards on scroll */
.facility-card {
    animation: fadeInUp 0.6s ease-out;
}

.facility-card:nth-child(1) {
    animation-delay: 0.1s;
}

.facility-card:nth-child(2) {
    animation-delay: 0.2s;
}

.facility-card:nth-child(3) {
    animation-delay: 0.3s;
}

.facility-card:nth-child(4) {
    animation-delay: 0.4s;
}
