/* ==========================================================================
   Islamia College of Technologies & English Language
   Modern Master Stylesheet
   ========================================================================== */

:root {
    --primary: #1e40af;
    --primary-dark: #172554;
    --primary-light: #3b82f6;
    --primary-soft: #eff6ff;
    --primary-glow: rgba(37, 99, 235, 0.18);
    
    --accent: #0284c7;
    --accent-light: #e0f2fe;
    
    --emerald: #059669;
    --emerald-light: #ecfdf5;
    
    --purple: #7c3aed;
    --purple-light: #f5f3ff;
    
    --amber: #d97706;
    --amber-light: #fffbeb;
    
    --dark: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    
    --danger: #ef4444;
    --danger-soft: #fef2f2;
    --success: #10b981;
    --success-soft: #f0fdf4;
    --warning: #f59e0b;
    --warning-soft: #fffbeb;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 6px 16px -2px rgba(0, 0, 0, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.1), 0 4px 10px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 24px 38px -6px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--slate-700);
    background-color: var(--slate-50);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

.site-wrapper {
    flex: 1 0 auto;
}

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

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Header & Navbar (Edge-to-Edge)
   ========================================================================== */
.navbar-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
    width: 100%;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 32px;
    height: 76px;
    gap: 20px;
}

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

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 20px;
    box-shadow: 0 4px 12px var(--primary-glow);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.college-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.college-sub {
    font-size: 10px;
    color: var(--slate-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    gap: 16px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.nav-links a {
    color: var(--slate-600);
    font-weight: 600;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: var(--transition);
}

.nav-links a i {
    font-size: 12px;
    color: var(--slate-400);
    transition: var(--transition);
}

.nav-links a:hover i,
.nav-links a.active i {
    color: var(--primary);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background-color: var(--primary-soft);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 12px 4px 4px;
    background: var(--slate-100);
    border-radius: 30px;
    border: 1px solid var(--slate-200);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.1;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-role {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-student { color: var(--accent); }
.role-teacher { color: var(--emerald); }
.role-admin { color: var(--purple); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--slate-700);
    cursor: pointer;
    padding: 6px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.35);
    transform: translateY(-1px);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-soft);
    color: var(--primary-dark);
}

.btn-outline-danger {
    border-color: #fecaca;
    color: var(--danger);
    background-color: var(--danger-soft);
}

.btn-outline-danger:hover {
    background-color: var(--danger);
    color: var(--white);
    border-color: var(--danger);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15.5px;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Alerts & Notifications
   ========================================================================== */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
    border: 1px solid transparent;
}

.alert i {
    font-size: 18px;
    flex-shrink: 0;
}

.alert-danger {
    background-color: var(--danger-soft);
    color: #991b1b;
    border-color: #fecaca;
}

.alert-success {
    background-color: var(--success-soft);
    color: #065f46;
    border-color: #a7f3d0;
}

.alert-info {
    background-color: var(--primary-soft);
    color: #1e40af;
    border-color: #bfdbfe;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 70px 0 90px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0369a1 100%);
    color: var(--white);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #bae6fd;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-title span {
    background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 17px;
    color: #e2e8f0;
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* CEO & Founder Hero Card */
.hero-sidebar {
    position: relative;
}

.hero-ceo-card {
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-xl);
    padding: 34px 28px 26px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.hero-ceo-card:hover {
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
}

.ceo-badge-floating {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 18px;
    border-radius: 30px;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.ceo-avatar-frame {
    width: 124px;
    height: 124px;
    margin: 8px auto 14px;
    position: relative;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #38bdf8, #818cf8, #fbbf24);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.ceo-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    border: 2.5px solid #ffffff;
    display: block;
}

.ceo-online-status {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    background-color: #10b981;
    border: 2.5px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.ceo-name {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 2px;
    letter-spacing: -0.3px;
}

.ceo-role {
    font-size: 12px;
    color: #7dd3fc;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 12px;
}

.ceo-quote {
    color: #e2e8f0;
    font-size: 13.5px;
    line-height: 1.6;
    font-style: italic;
    background: rgba(0, 0, 0, 0.18);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border-left: 3px solid #38bdf8;
    margin-bottom: 16px;
    text-align: left;
}

.ceo-card-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.ceo-stat-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 8px 6px;
    font-size: 11.5px;
    color: #cbd5e1;
}

.ceo-stat-chip strong {
    color: #38bdf8;
    display: block;
    font-size: 15px;
    font-family: var(--font-heading);
}

/* ==========================================================================
   Section Headers & Common
   ========================================================================== */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--white);
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 34px;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.section-desc {
    color: var(--slate-600);
    font-size: 16px;
    line-height: 1.6;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    position: relative;
    background: radial-gradient(circle at 90% 10%, #eff6ff 0%, #ffffff 50%, #f8fafc 100%);
    overflow: hidden;
}

.about-main-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 50px;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #dbeafe;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.about-heading {
    font-size: 32px;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
    line-height: 1.25;
}

.about-lead {
    font-size: 16px;
    color: var(--slate-700);
    line-height: 1.7;
    margin-bottom: 24px;
}

.about-features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
}

.about-feature-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.about-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.about-feature-text h4 {
    font-size: 15px;
    color: var(--dark);
    margin-bottom: 3px;
}

.about-feature-text p {
    font-size: 13px;
    color: var(--slate-500);
    line-height: 1.5;
    margin: 0;
}

.about-cta-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Stats Showcase */
.about-showcase-box {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stats-2x2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-metric-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    padding: 22px 18px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.stat-metric-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.stat-metric-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.stat-metric-num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.stat-metric-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--slate-500);
}

/* Vision Card */
.vision-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #0369a1 100%);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.vision-banner h4 {
    color: #7dd3fc;
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vision-banner p {
    font-size: 13.5px;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 16px;
}

.vision-pill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vision-pill-tag {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Why Choose Us Cards */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 10px;
}

.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.why-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.why-card h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 13.5px;
    color: var(--slate-500);
    line-height: 1.6;
    margin: 0;
}

/* Icon theme helpers */
.icon-blue { background: #dbeafe; color: var(--primary); }
.icon-emerald { background: #d1fae5; color: var(--emerald); }
.icon-purple { background: #ede9fe; color: var(--purple); }
.icon-amber { background: #fef3c7; color: var(--amber); }

/* ==========================================================================
   DESIGNED PROGRAMS TABLE STYLING
   ========================================================================== */
.programs-table-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.programs-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.programs-data-table thead {
    background: linear-gradient(to right, #f8fafc, #f1f5f9);
    border-bottom: 2px solid var(--slate-200);
}

.programs-data-table th {
    padding: 18px 20px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

.programs-data-table tbody tr {
    border-bottom: 1px solid var(--slate-200);
    transition: var(--transition);
}

.programs-data-table tbody tr:last-child {
    border-bottom: none;
}

.programs-data-table tbody tr:hover {
    background-color: var(--primary-soft);
}

.programs-data-table td {
    padding: 18px 20px;
    font-size: 14px;
    vertical-align: middle;
}

.prog-name-cell {
    display: flex;
    align-items: center;
    gap: 14px;
}

.prog-icon-badge {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--slate-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.prog-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    display: block;
    line-height: 1.3;
}

.prog-fee {
    font-size: 12px;
    color: var(--slate-500);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
    font-weight: 600;
}

.category-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--slate-100);
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
    white-space: nowrap;
}

.duration-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--slate-700);
    font-size: 13.5px;
    white-space: nowrap;
}

.date-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--slate-700);
    white-space: nowrap;
}

.text-success { color: var(--emerald); }
.text-muted { color: var(--slate-400); }

.status-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.status-active {
    background: var(--emerald-light);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.status-upcoming {
    background: var(--amber-light);
    color: #92400e;
    border: 1px solid #fde68a;
}

.status-closed {
    background: var(--slate-100);
    color: var(--slate-500);
    border: 1px solid var(--slate-200);
}

.btn-table-apply {
    padding: 6px 14px;
    font-size: 12.5px;
    border-radius: var(--radius-sm);
    box-shadow: none;
}

/* ==========================================================================
   ADMIN MANAGEMENT TABLES & FORMS
   ========================================================================== */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13.5px;
}

.admin-table th {
    padding: 12px 14px;
    background: var(--slate-100);
    font-weight: 700;
    color: var(--slate-700);
    border-bottom: 1.5px solid var(--slate-200);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 14px;
    border-bottom: 1px solid var(--slate-200);
    vertical-align: middle;
}

.admin-table tr:hover {
    background-color: var(--slate-50);
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin: 0 2px;
    transition: var(--transition);
}

.edit-btn {
    background: var(--primary-soft);
    color: var(--primary);
}

.edit-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.delete-btn {
    background: var(--danger-soft);
    color: var(--danger);
}

.delete-btn:hover {
    background: var(--danger);
    color: var(--white);
}

/* ==========================================================================
   Staff / Faculty Section
   ========================================================================== */
.staff-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.staff-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.staff-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
}

.staff-avatar-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    object-fit: cover;
    object-position: top center;
    border: 3px solid #38bdf8;
    box-shadow: var(--shadow-md);
    display: block;
}

.staff-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.staff-designation {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.staff-qualification {
    font-size: 12px;
    color: var(--slate-500);
    background: var(--slate-100);
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.staff-bio {
    font-size: 13px;
    color: var(--slate-600);
    line-height: 1.5;
}

/* ==========================================================================
   Fee Structure Section
   ========================================================================== */
.fee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.fee-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1.5px solid var(--slate-200);
    padding: 32px 28px;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.fee-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(to bottom, #ffffff, #f0f7ff);
}

.fee-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
}

.fee-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.fee-subtitle {
    font-size: 13px;
    color: var(--slate-500);
    margin-bottom: 20px;
}

.fee-price {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--slate-100);
}

.fee-price span {
    font-size: 14px;
    color: var(--slate-500);
    font-weight: 500;
    font-family: var(--font-body);
}

.fee-features {
    margin-bottom: 28px;
    flex-grow: 1;
}

.fee-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13.5px;
    color: var(--slate-600);
}

.fee-features li i {
    color: var(--success);
    font-size: 14px;
    flex-shrink: 0;
}

/* ==========================================================================
   Timings & Schedule Section
   ========================================================================== */
.timing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.timing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timing-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.timing-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--slate-100);
}

.timing-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.timing-header h3 {
    font-size: 18px;
    color: var(--dark);
}

.timing-header span {
    font-size: 12px;
    color: var(--slate-500);
}

.timing-slots li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--slate-200);
    font-size: 13.5px;
}

.timing-slots li:last-child {
    border-bottom: none;
}

.timing-subject {
    font-weight: 600;
    color: var(--slate-800);
}

.timing-time {
    background: var(--slate-100);
    color: var(--primary);
    font-weight: 700;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   Contacts Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-shadow: var(--shadow-sm);
}

.contact-icon-circle {
    width: 46px;
    height: 46px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item-card h4 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-item-card p,
.contact-item-card a {
    font-size: 14px;
    color: var(--slate-600);
    line-height: 1.5;
}

.contact-form-box {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--slate-200);
    padding: 36px 32px;
    box-shadow: var(--shadow-lg);
}

.contact-form-box h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.contact-form-box p {
    font-size: 14px;
    color: var(--slate-500);
    margin-bottom: 24px;
}

/* ==========================================================================
   Auth Section (Login & Register Cards)
   ========================================================================== */
.auth-page-section {
    padding: 50px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    background: radial-gradient(circle at top right, #e0f2fe 0%, #f8fafc 60%);
}

.auth-card-container {
    width: 100%;
    max-width: 520px;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--slate-200);
    padding: 36px 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-header .auth-icon-badge {
    width: 56px;
    height: 56px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

.auth-header h2 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 6px;
}

.auth-header p {
    color: var(--slate-500);
    font-size: 14px;
}

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

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 7px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--slate-400);
    font-size: 15px;
    pointer-events: none;
    transition: var(--transition);
}

.form-control {
    width: 100%;
    padding: 12px 14px 12px 42px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--slate-800);
    background-color: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-md);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    background-color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}

.form-control:focus + .input-icon,
.input-group:focus-within .input-icon {
    color: var(--primary);
}

select.form-control {
    cursor: pointer;
}

.password-toggle {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: var(--slate-400);
    cursor: pointer;
    font-size: 15px;
    padding: 0;
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--slate-700);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.auth-footer-links {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--slate-200);
    font-size: 14px;
    color: var(--slate-600);
}

.auth-footer-links a {
    font-weight: 700;
}

/* ==========================================================================
   Dashboard Styling
   ========================================================================== */
.dashboard-container {
    padding: 40px 0 60px;
}

.dashboard-welcome {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-xl);
    padding: 36px 40px;
    color: var(--white);
    margin-bottom: 32px;
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.dashboard-welcome h2 {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 6px;
}

.dashboard-welcome p {
    color: #e0f2fe;
    font-size: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 18px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.stat-details h4 {
    font-size: 13px;
    color: var(--slate-500);
    font-weight: 600;
    text-transform: uppercase;
}

.stat-details .stat-number {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
}

.dash-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
    padding: 28px;
}

.dash-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--slate-100);
}

.dash-panel-header h3 {
    font-size: 18px;
}

.profile-info-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--slate-100);
    font-size: 14px;
}

.profile-info-list li:last-child {
    border-bottom: none;
}

.profile-info-list .label {
    color: var(--slate-500);
    font-weight: 600;
}

.profile-info-list .val {
    color: var(--slate-800);
    font-weight: 700;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--dark);
    color: #cbd5e1;
    padding: 60px 0 24px;
    border-top: 1px solid var(--slate-800);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo i {
    color: #38bdf8;
}

.footer-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--slate-400);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: var(--slate-800);
    color: var(--slate-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--primary-light);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--slate-400);
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--slate-400);
    font-size: 13.5px;
    margin-bottom: 12px;
}

.contact-info li i {
    color: #38bdf8;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--slate-500);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1280px) {
    .navbar-container {
        padding: 0 16px;
        gap: 12px;
    }

    .nav-links {
        gap: 2px;
    }

    .nav-links a {
        padding: 7px 9px;
        font-size: 13px;
        gap: 5px;
    }

    .nav-links a i {
        font-size: 11px;
    }

    .btn-sm {
        padding: 7px 12px;
        font-size: 13px;
    }
}

@media (max-width: 1080px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 24px 20px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--slate-200);
        gap: 18px;
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: stretch;
        margin: 0;
        gap: 6px;
    }

    .nav-links a {
        padding: 10px 14px;
        font-size: 14px;
    }

    .nav-links a i {
        display: inline-block;
        font-size: 14px;
    }
    
    .nav-actions {
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
        gap: 10px;
        padding-top: 16px;
        border-top: 1px solid var(--slate-200);
    }
}

@media (max-width: 992px) {
    .hero-grid,
    .about-main-grid,
    .why-us-grid,
    .contact-grid,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0 16px;
    }

    .college-name {
        font-size: 16px;
    }

    .college-sub {
        font-size: 9px;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    .stats-2x2-grid,
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .about-heading {
        font-size: 26px;
    }
    
    .auth-card {
        padding: 24px 20px;
    }

    .programs-data-table th, 
    .programs-data-table td {
        padding: 12px 10px;
        font-size: 13px;
    }
}
