/* ========================================
   COLOR THEMES - Uncomment one theme at a time
   ======================================== */

/* Theme 1: Purple Gradient (Default - Active) */
/* :root {
    --primary-color: #667eea;
    --primary-dark: #764ba2;
    --primary-light: #a8b5ff;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-color: #48bb78;
    --secondary-color: #805ad5;
    --warning-color: #ed8936;
} */

/* Theme 2: Ocean Blue */
/* :root {
    --primary-color: #006eb8;
    --primary-dark: #004a7c;
    --primary-light: #4da6ff;
    --primary-gradient: linear-gradient(135deg, #006eb8 0%, #004a7c 100%);
    --accent-color: #26c6da;
    --secondary-color: #0288d1;
    --warning-color: #ffa726;
} */

/* Theme 3: Emerald Green */
/* :root {
    --primary-color: #059669;
    --primary-dark: #047857;
    --primary-light: #34d399;
    --primary-gradient: linear-gradient(135deg, #059669 0%, #047857 100%);
    --accent-color: #10b981;
    --secondary-color: #14b8a6;
    --warning-color: #f59e0b;
} */

/* Theme 4: Royal Crimson */
/* :root {
    --primary-color: #dc2626;
    --primary-dark: #991b1b;
    --primary-light: #f87171;
    --primary-gradient: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    --accent-color: #ef4444;
    --secondary-color: #be123c;
    --warning-color: #fb923c;
} */

/* Theme 5: Sunset Orange */
/* :root {
    --primary-color: #ea580c;
    --primary-dark: #c2410c;
    --primary-light: #fb923c;
    --primary-gradient: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    --accent-color: #f97316;
    --secondary-color: #dc2626;
    --warning-color: #fbbf24;
} */

/* Theme 6: Indigo Night */
/* :root {
    --primary-color: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #818cf8;
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    --accent-color: #6366f1;
    --secondary-color: #7c3aed;
    --warning-color: #f59e0b;
} */

/* Theme 7: Teal Cyan */
/* :root {
    --primary-color: #0d9488;
    --primary-dark: #115e59;
    --primary-light: #5eead4;
    --primary-gradient: linear-gradient(135deg, #0d9488 0%, #115e59 100%);
    --accent-color: #14b8a6;
    --secondary-color: #06b6d4;
    --warning-color: #f59e0b;
} */

/* Theme 8: Magenta Pink */
/* :root {
    --primary-color: #db2777;
    --primary-dark: #9f1239;
    --primary-light: #f472b6;
    --primary-gradient: linear-gradient(135deg, #db2777 0%, #9f1239 100%);
    --accent-color: #ec4899;
    --secondary-color: #c026d3;
    --warning-color: #fb923c;
} */

/* Theme 9: Forest Green */
/* :root {
    --primary-color: #16a34a;
    --primary-dark: #15803d;
    --primary-light: #4ade80;
    --primary-gradient: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    --accent-color: #22c55e;
    --secondary-color: #059669;
    --warning-color: #f59e0b;
} */

/* Theme 10: Amber Gold */
/* :root {
    --primary-color: #d97706;
    --primary-dark: #b45309;
    --primary-light: #fbbf24;
    --primary-gradient: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    --accent-color: #f59e0b;
    --secondary-color: #ea580c;
    --warning-color: #dc2626;
} */

/* Theme 11: Navy Blue */
/* :root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #60a5fa;
    --primary-gradient: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    --accent-color: #3b82f6;
    --secondary-color: #2563eb;
    --warning-color: #f59e0b;
} */

/* Theme 12: Violet Purple */
/* :root {
    --primary-color: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #a78bfa;
    --primary-gradient: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    --accent-color: #8b5cf6;
    --secondary-color: #9333ea;
    --warning-color: #fb923c;
} */

/* Theme 13: Cherry Red */
/* :root {
    --primary-color: #e11d48;
    --primary-dark: #be123c;
    --primary-light: #fb7185;
    --primary-gradient: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    --accent-color: #f43f5e;
    --secondary-color: #dc2626;
    --warning-color: #f59e0b;
} */

/* Theme 14: Sky Blue */
:root {
    --primary-color: #0284c7;
    --primary-dark: #075985;
    --primary-light: #38bdf8;
    --primary-gradient: linear-gradient(135deg, #0284c7 0%, #075985 100%);
    --accent-color: #0ea5e9;
    --secondary-color: #0891b2;
    --warning-color: #fb923c;
}

/* Theme 15: Slate Gray */
/* :root {
    --primary-color: #475569;
    --primary-dark: #334155;
    --primary-light: #94a3b8;
    --primary-gradient: linear-gradient(135deg, #475569 0%, #334155 100%);
    --accent-color: #64748b;
    --secondary-color: #1e293b;
    --warning-color: #f59e0b;
} */

/* Theme 16: Lime Green */
/* :root {
    --primary-color: #65a30d;
    --primary-dark: #4d7c0f;
    --primary-light: #a3e635;
    --primary-gradient: linear-gradient(135deg, #65a30d 0%, #4d7c0f 100%);
    --accent-color: #84cc16;
    --secondary-color: #16a34a;
    --warning-color: #f59e0b;
} */

/* ========================================
   GLOBAL COLOR SYSTEM
   ======================================== */

:root {
    /* Text Colors */
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-light: #a0aec0;
    --text-white: #ffffff;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #edf2f7;
    --bg-dark: #2d3748;
    
    /* Border Colors */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e0;
    --border-dark: #a0aec0;
    
    /* Shadow Colors */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-primary: 0 4px 15px var(--primary-color)33;
    --shadow-primary-md: 0 5px 20px var(--primary-color)33;
    --shadow-primary-lg: 0 6px 20px var(--primary-color)66;
    --shadow-primary-xl: 0 15px 35px var(--primary-color)33;
    
    /* Success/Error Colors */
    --success-color: #48bb78;
    --error-color: #f56565;
    --info-color: #4299e1;
    
    /* Transition */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 15px;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 40px;
}

/* ========================================
   COMBINED STYLES FOR ALL PAGES
   ======================================== */

/* Program Details & Programs Page Specific Styles */
.program-header,
.programs-hero {
    background: var(--primary-gradient);
    padding: 120px 0 60px;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.programs-hero {
    padding: 140px 0 80px;
}

.program-header::before,
.programs-hero::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="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.program-header .container,
.programs-hero .container {
    position: relative;
    z-index: 1;
}

.programs-hero .container {
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.programs-hero .breadcrumb {
    justify-content: center;
    margin-bottom: 30px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color var(--transition-base);
}

.breadcrumb a:hover {
    color: var(--text-white);
}

.breadcrumb span {
    color: rgba(255,255,255,0.5);
}

.program-title,
.programs-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.programs-hero h1 {
    font-size: 56px;
}

.programs-hero p {
    font-size: 20px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.program-meta,
.programs-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.programs-stats {
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.meta-item i {
    font-size: 20px;
}

.meta-item span {
    font-weight: 500;
}

.stat-box {
    text-align: center;
}

.stat-box h3 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 16px;
    opacity: 0.9;
}

.program-content,
.programs-content {
    padding: 80px 0;
}

.programs-content {
    background: var(--bg-secondary);
}

.program-info {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 60px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.info-box {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base);
}

.info-box:hover {
    transform: translateY(-5px);
}

.info-box i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-box h3 {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.info-box p {
    color: var(--text-muted);
    font-size: 14px;
}

.section-title-main {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-subtitle-main {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 40px;
}

/* College Section */
.college-section {
    margin-bottom: 60px;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.college-header {
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: 25px 35px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.college-header i {
    font-size: 32px;
}

.college-header h2 {
    font-size: 28px;
    font-weight: 600;
}

/* Level & Semester Sections */
.level-section {
    margin-bottom: 50px;
}

.level-header {
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: 20px 30px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}

.level-header i {
    font-size: 28px;
}

.semester-group {
    background: var(--bg-primary);
    border: 2px solid var(--border-light);
    border-top: none;
    padding: 30px;
}

.semester-group:last-child {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.semester-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.semester-title i {
    font-size: 18px;
}

.courses-grid {
    display: grid;
    gap: 20px;
}

/* Course Cards */
.course-card {
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-color)1a, transparent);
    transition: left var(--transition-slow);
}

.course-card:hover::before {
    left: 100%;
}

.course-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-primary-md);
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.course-code {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.course-credits {
    background: var(--accent-color);
    color: var(--text-white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}

.course-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.course-description {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.course-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-secondary);
}

.course-detail-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-detail-item i {
    color: var(--primary-color);
}

.core-badge {
    background: var(--secondary-color);
    color: var(--text-white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.prerequisite-badge {
    background: var(--warning-color);
    color: var(--text-white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

/* Program Cards Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.college-section .programs-grid {
    padding: 40px;
}

.program-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: all var(--transition-base);
    border: 2px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.program-card:hover::before {
    transform: scaleY(1);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-primary-xl);
    border-color: var(--primary-color);
}

.program-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform var(--transition-base);
}

.program-card:hover .program-icon {
    transform: rotate(5deg) scale(1.1);
}

.program-icon i {
    font-size: 32px;
    color: var(--text-white);
}

.program-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.program-code {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.program-description {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 60px;
}

.program-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.meta-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    background: var(--bg-primary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

.meta-badge i {
    color: var(--primary-color);
    font-size: 14px;
}

.program-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.program-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.program-price span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

.btn-view-program {
    padding: 12px 24px;
    background: var(--primary-gradient);
    color: var(--text-white);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-base);
}

.btn-view-program:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-primary-lg);
}

/* CTA Section */
.cta-section {
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: 60px 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    margin-top: 60px;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 15px 40px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta-primary {
    background: var(--bg-primary);
    color: var(--primary-color);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-cta-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-cta-outline:hover {
    background: var(--bg-primary);
    color: var(--primary-color);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 64px;
    color: var(--border-medium);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 28px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

/* Navbar Override for Non-Homepage */
.navbar.solid-bg {
    background: rgba(255,255,255,0.98) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .program-title,
    .programs-hero h1 {
        font-size: 32px;
    }
    
    .programs-hero h1 {
        font-size: 36px;
    }
    
    .programs-hero p {
        font-size: 16px;
    }
    
    .program-meta,
    .programs-stats {
        gap: 15px;
    }
    
    .programs-stats {
        gap: 30px;
    }
    
    .meta-item {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .stat-box h3 {
        font-size: 32px;
    }
    
    .program-info {
        padding: 25px;
    }
    
    .info-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .college-section .programs-grid {
        padding: 25px;
    }
    
    .section-title-main {
        font-size: 28px;
    }
    
    .college-header {
        padding: 20px 25px;
    }
    
    .college-header h2 {
        font-size: 22px;
    }
    
    .level-header {
        font-size: 20px;
        padding: 15px 20px;
    }
    
    .semester-group {
        padding: 20px 15px;
    }
    
    .course-card,
    .program-card {
        padding: 20px;
    }
    
    .program-card {
        padding: 25px;
    }
    
    .program-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .btn-view-program {
        width: 100%;
        justify-content: center;
    }
    
    .cta-section {
        padding: 40px 25px;
    }
    
    .cta-section h2 {
        font-size: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-cta {
        width: 100%;
        justify-content: center;
    }
}
/* ========================================
   TEACHERS SECTION STYLES
   ======================================== */

.teachers {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.teachers::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--primary-gradient);
    opacity: 0.05;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.teachers::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: var(--accent-gradient);
    opacity: 0.05;
    border-radius: 50%;
    animation: float 25s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.teacher-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.teacher-card:nth-child(1) { animation-delay: 0.1s; }
.teacher-card:nth-child(2) { animation-delay: 0.2s; }
.teacher-card:nth-child(3) { animation-delay: 0.3s; }
.teacher-card:nth-child(4) { animation-delay: 0.4s; }
.teacher-card:nth-child(5) { animation-delay: 0.5s; }
.teacher-card:nth-child(6) { animation-delay: 0.6s; }
.teacher-card:nth-child(7) { animation-delay: 0.7s; }
.teacher-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.teacher-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.teacher-card:hover::before {
    transform: scaleX(1);
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-primary-xl);
}

.teacher-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color)1a 0%, var(--primary-light)1a 100%);
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.teacher-card:hover .teacher-image img {
    transform: scale(1.1);
}

.teacher-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.teacher-card:hover .teacher-overlay {
    opacity: 1;
}

.teacher-social {
    display: flex;
    gap: 12px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.teacher-card:hover .teacher-social {
    transform: translateY(0);
}

.social-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--primary-color)4d;
}

.teacher-info {
    padding: 25px;
}

.teacher-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.teacher-card:hover .teacher-info h3 {
    color: var(--primary-color);
}

.teacher-qualification {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.teacher-department {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.teacher-department i {
    font-size: 14px;
}

.teacher-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.teacher-position {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary-color)0d 0%, var(--primary-light)0d 100%);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.teacher-position i {
    font-size: 11px;
}

.teacher-card:hover .teacher-position {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.05);
}

/* Responsive Design for Teachers Section */
@media (max-width: 1024px) {
    .teachers-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .teacher-image {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .teachers {
        padding: 60px 0;
    }
    
    .teachers-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .teacher-image {
        height: 250px;
    }
    
    .teacher-info {
        padding: 20px;
    }
    
    .teacher-info h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .teachers-grid {
        grid-template-columns: 1fr;
    }
    
    .teacher-card {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .teacher-image {
        height: 320px;
    }
}
/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 50px;
    padding: 20px 0;
}

.pagination-btn {
    padding: 12px 24px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary-lg);
}

.pagination-btn:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination-number {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    background: var(--primary-color);
    color: white;
}

.pagination-number.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

@media (max-width: 640px) {
    .pagination-container {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .pagination-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .pagination-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
