/* ILBC Custom Styles */

/* CSS Variables for Colors */
:root {
    --primary-color: #2478af;
    /* Official Blue - Primary */
    --secondary-color: #1e6ba8;
    /* Darker Blue - Secondary */
    --accent-color: #3498db;
    /* Light Blue - Accent */
    --light-blue: #e3f2fd;
    /* Very Light Blue - Backgrounds */
    --dark-blue: #1565c0;
    /* Dark Blue - Text */
    --navy-blue: #0d47a1;
    /* Navy Blue - Headers */
    --background-color: #f8fafe;
    /* Slightly blue-tinted white */
    --text-dark: #263238;
    /* Dark blue-gray */
    --text-light: #546e7a;
    /* Medium blue-gray */
    --white: #ffffff;
    --success: #4caf50;
    --warning: #ff9800;
    --gray-light: #eceff1;
    --programs-alt-bg: #f0f7ff;
    /* Alternative background for programs */
    --programs-alt-border: #d1e7ff;
    /* Alternative border for programs */
    --footer-primary: #1a365d;
    /* Dark blue for main footer */
    --footer-secondary: #2d4a6b;
    /* Medium blue for secondary section */
    --footer-tertiary: #3e5c7a;
    /* Lighter blue for tertiary section */
    --footer-bottom: #0f2a44;
    /* Darkest blue for bottom section */
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-color);
    font-size: 14px;
    /* Reduced base font size */
}

/* Typography */
.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px auto;
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.3rem;
    /* Reduced from 1.5rem */
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-1px);
}

/* Top Header Bar Styles */
.top-header-bar {
    background: linear-gradient(135deg, var(--footer-primary) 0%, var(--footer-secondary) 100%);
    color: white;
    padding: 0.75rem 0;
    font-size: 0.8rem;
    /* Reduced from 0.9rem */
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item i {
    font-size: 0.8rem;
    /* Reduced from 0.9rem */
    color: var(--secondary-color);
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    /* Reduced from 35px */
    height: 32px;
    /* Reduced from 35px */
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    /* Reduced from 0.9rem */
}

.social-link:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* Main Navigation Styles */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(36, 120, 175, 0.1);
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-img {
    height: 50px;
    /* Reduced from 60px */
    width: auto;
    object-fit: contain;
    animation: gentle-float 2s ease-in-out infinite;
}

@keyframes gentle-float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0);
    }
}

.brand-logo i {
    font-size: 1.8rem;
    /* Reduced from 2rem */
    color: var(--primary-color);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.3rem;
    /* Reduced from 1.5rem */
    font-weight: 700;
    color: var(--primary-color);
}

.brand-subtitle {
    font-size: 0.7rem;
    /* Reduced from 0.75rem */
    color: var(--text-light);
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-light .navbar-nav .nav-link:hover::after {
    width: 100%;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(36, 120, 175, 0.1);
    border-radius: 8px;
    border-top: 3px solid var(--primary-color);
}

.dropdown-item:hover {
    background-color: var(--light-blue);
    color: var(--primary-color);
}

/* Dropdown Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 220px;
    background: white;
}

.dropdown-item {
    padding: 0.6rem 1rem;
    /* Reduced padding */
    font-size: 0.85rem;
    /* Reduced from 0.95rem */
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: none;
    background: none;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--light-blue);
    color: var(--primary-color);
}



/* Hero Section with Single Image and Text Shadow */
.hero-section {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Image */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../images/banner/heroBannerCircle.webp);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Content with Dark Shadow Background */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text-content {
    color: white;
    text-align: center;
    /*background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 80%);*/
    /*padding: 3rem 2rem;*/
    /*border-radius: 20px;*/
    /*backdrop-filter: blur(5px);*/
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 3rem;
    /* Reduced from 4rem */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    /* Reduced from 1.5rem */
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: white;
    opacity: 0.95;
    font-style: italic;
}

.hero-location {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    /* Reduced from 1.1rem */
    margin-bottom: 2rem;
    /* Reduced margin */
    color: white;
    opacity: 0.9;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #4fc3f7 100%);
    border: none;
    color: white;
    padding: 0.8rem 1.6rem;
    /* Reduced padding */
    font-size: 1rem;
    /* Reduced from 1.1rem */
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    color: white;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.8rem 1.6rem;
    /* Reduced padding */
    font-size: 1rem;
    /* Reduced from 1.1rem */
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: white;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Enhanced Vision & Mission Section */
.vision-mission-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(36, 120, 175, 0.1);
    border: 1px solid rgba(36, 120, 175, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.vision-mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.vision-mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(36, 120, 175, 0.15);
}

.vision-card::before {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.mission-card::before {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #4fc3f7 100%);
}

.card-icon-wrapper {
    margin-bottom: 1.5rem;
}

.vision-mission-card .card-icon {
    width: 60px;
    /* Reduced from 70px */
    height: 60px;
    /* Reduced from 70px */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    /* Reduced from 1.8rem */
    color: white;
    margin: 0;
}

.mission-card .card-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #4fc3f7 100%);
}

.vision-mission-card .card-title {
    font-size: 1.5rem;
    /* Reduced from 1.8rem */
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.vision-mission-card .card-description {
    font-size: 1rem;
    /* Reduced from 1.1rem */
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

/* Enhanced Statistics Section - Side by Side Layout */
.features-stats-wrapper {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 30px rgba(36, 120, 175, 0.1);
    border: 1px solid rgba(36, 120, 175, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.features-stats-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.features-stats-wrapper h3 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
    /* Reduced margin */
    text-align: center;
    font-size: 1.3rem;
    /* Reduced from 1.5rem */
}

.stats-item {
    text-align: center;
    padding: 1.25rem 0.75rem;
    background: rgba(36, 120, 175, 0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(36, 120, 175, 0.1);
    height: 100%;
}

.stats-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(36, 120, 175, 0.15);
    background: rgba(36, 120, 175, 0.05);
}

.stats-icon {
    width: 45px;
    /* Reduced from 50px */
    height: 45px;
    /* Reduced from 50px */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.1rem;
    /* Reduced from 1.3rem */
    color: white;
    box-shadow: 0 3px 10px rgba(36, 120, 175, 0.2);
}

.stats-number {
    font-size: 1.6rem;
    /* Reduced from 2rem */
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stats-label {
    font-size: 0.8rem;
    /* Reduced from 0.85rem */
    color: var(--text-light);
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

/* Enhanced Core Values Section - Side by Side Layout */
.core-values-section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 30px rgba(36, 120, 175, 0.1);
    border: 1px solid rgba(36, 120, 175, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.core-values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #4fc3f7 100%);
}

.core-values-section h3 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
    /* Reduced margin */
    text-align: center;
    font-size: 1.3rem;
    /* Reduced from 1.5rem */
}

.value-item {
    text-align: left;
    padding: 1.5rem;
    background: rgba(36, 120, 175, 0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(36, 120, 175, 0.1);
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.value-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(36, 120, 175, 0.15);
    background: rgba(36, 120, 175, 0.05);
}

.value-icon {
    width: 45px;
    /* Reduced from 50px */
    height: 45px;
    /* Reduced from 50px */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    /* Reduced from 1.3rem */
    color: white;
    box-shadow: 0 3px 10px rgba(36, 120, 175, 0.2);
    flex-shrink: 0;
}

.value-item:nth-child(1) .value-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.value-item:nth-child(2) .value-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #4fc3f7 100%);
}

.value-item:nth-child(3) .value-icon {
    background: linear-gradient(135deg, #4fc3f7 0%, var(--primary-color) 100%);
}

.value-content {
    flex: 1;
}

.value-item h5 {
    font-size: 1rem;
    /* Reduced from 1.1rem */
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.85rem;
    /* Reduced from 0.9rem */
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(36, 120, 175, 0.3);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Simplified News & Notifications Section */
.news-notifications-section {
    background: var(--primary-color);
    color: white;
    overflow: hidden;
    padding: 0.75rem 0;
}

.news-ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.news-ticker-header {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.ticker-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.ticker-label i {
    color: #ffd700;
}

.news-ticker-container {
    flex: 1;
    overflow: hidden;
    height: 40px;
    display: flex;
    align-items: center;
    position: relative;
}



.news-ticker {
    display: flex;
    animation: scroll-news 45s linear infinite;
    white-space: nowrap;
}

.news-ticker:hover {
    animation-play-state: paused;
}

.news-item {
    display: inline-flex;
    align-items: center;
    margin-right: 3rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: background 0.3s ease;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.news-date {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.news-content {
    font-size: 0.9rem;
    font-weight: 400;
}

@keyframes scroll-news {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Simple Tabbed Programs Interface */
.simple-tabbed-programs {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(36, 120, 175, 0.1);
    overflow: hidden;
    margin-top: 2rem;
}

/* Left Sidebar */
.programs-sidebar {
    background: var(--primary-color);
    height: 100%;
    min-height: 500px;
}

.sidebar-header {
    background: rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h4 {
    color: white;
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
}

.programs-tabs {
    padding: 1rem 0;
}

.tab-btn {
    width: 100%;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 1rem 1.5rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 4px solid transparent;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.tab-btn.active {
    background: white;
    color: var(--primary-color);
    border-left-color: var(--secondary-color);
}

.tab-btn i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.tab-btn span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Right Content Area */
.programs-content {
    padding: 2rem;
    background: #f8fafe;
    min-height: 500px;
}

.tab-content {
    display: none;
}

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

.content-header {
    margin-bottom: 2rem;
    text-align: center;
}

.content-header h3 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    /* Reduced from 1.8rem */
    margin-bottom: 0.5rem;
}

.content-header p {
    color: var(--text-light);
    font-size: 0.9rem;
    /* Reduced from 1rem */
    max-width: 600px;
    margin: 0 auto;
}

/* Course Items */
.courses-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.course-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(36, 120, 175, 0.08);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.course-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(36, 120, 175, 0.15);
}

.course-item h4 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    /* Reduced from 1.2rem */
    margin-bottom: 0.75rem;
}

.course-item p {
    color: var(--text-light);
    font-size: 0.85rem;
    /* Reduced from 0.95rem */
    line-height: 1.5;
    /* Slightly reduced line height */
    margin-bottom: 1rem;
}

.course-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.course-meta i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Welcome Section */
.welcome-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 8px 25px rgba(36, 120, 175, 0.15);
    transition: all 0.3s ease;
}

.welcome-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(36, 120, 175, 0.2);
}

.welcome-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.welcome-image-container:hover .welcome-image {
    transform: scale(1.05);
}

.image-overlay-welcome {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(36, 120, 175, 0.9));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.welcome-image-container:hover .image-overlay-welcome {
    transform: translateY(0);
}

.overlay-title {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.overlay-description {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

/* Card Styles */
.card {
    border-radius: 15px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.program-card {
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
    height: 100%;
}

.program-card:hover {
    border-left-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(36, 120, 175, 0.15) !important;
}

.program-card .card-body {
    transition: all 0.3s ease;
}

.program-card:hover .card-body {
    background-color: var(--light-blue);
}

.program-card .card-title {
    font-size: 1rem;
    font-weight: 600;
}

.program-card .card-text {
    line-height: 1.4;
    color: var(--text-dark);
}



/* Feature Items */
.feature-item {
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background-color: rgba(36, 120, 175, 0.1);
    transform: translateY(-3px);
}

.feature-item h4 {
    font-weight: 700;
    font-size: 1.6rem;
    /* Reduced from 2rem */
}

/* Badge Styles */
.badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
}

/* Programs Tabbed Interface Styles */
.programs-nav-wrapper {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(36, 120, 175, 0.1);
    padding: 1rem;
    position: sticky;
    top: 100px;
}

.programs-nav .nav-link {
    border: none;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    text-align: left;
    background: var(--background-color);
    color: var(--text-dark);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.programs-nav .nav-link:hover {
    background: var(--light-blue);
    color: var(--primary-color);
    border-left-color: var(--secondary-color);
    transform: translateX(5px);
}

.programs-nav .nav-link.active {
    background: var(--primary-color);
    color: white;
    border-left-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(36, 120, 175, 0.3);
}

.programs-nav .nav-link.active .badge {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white;
}

.programs-nav .nav-link .fw-semibold {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.programs-nav .nav-link small {
    opacity: 0.8;
}

/* Programs Content Area */
.programs-content {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(36, 120, 175, 0.1);
    min-height: 600px;
}

.programs-content-wrapper {
    padding: 2rem;
}

.content-header {
    border-bottom: 2px solid var(--light-blue);
    padding-bottom: 1rem;
}

.content-header h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Course Cards - Attractive Design */
.course-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(36, 120, 175, 0.08);
    border: 1px solid rgba(36, 120, 175, 0.1);
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(36, 120, 175, 0.2);
    border-color: var(--primary-color);
}

.course-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.course-icon i {
    font-size: 1.3rem;
    /* Reduced from 1.5rem */
    color: white;
}

.course-card:hover .course-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(36, 120, 175, 0.3);
}

.course-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.course-title {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    flex: 1;
    line-height: 1.3;
}

.course-duration {
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 1rem;
    box-shadow: 0 2px 8px rgba(36, 120, 175, 0.2);
}

.course-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.course-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 500;
}

.highlight-item i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .programs-nav-wrapper {
        position: static;
        margin-bottom: 2rem;
    }

    .programs-nav {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .programs-nav .nav-link {
        min-width: 200px;
        margin-right: 0.5rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .programs-content-wrapper {
        padding: 1.5rem;
    }

    .course-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .course-duration {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .course-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .programs-nav .nav-link {
        min-width: 180px;
        padding: 0.75rem;
    }

    .programs-nav .nav-link .fw-semibold {
        font-size: 0.9rem;
    }

    .programs-content-wrapper {
        padding: 1rem;
    }

    .course-card {
        padding: 1rem;
    }

    .course-title {
        font-size: 1rem;
    }

    .course-details h6 {
        font-size: 0.85rem;
    }

    .course-specs li,
    .course-requirements li {
        font-size: 0.8rem;
    }
}

/* New Messages from Leadership Design */
.title-underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto;
    border-radius: 2px;
}

.message-container {
    margin-bottom: 3rem;
}

/* Leader Profile Card */
.leader-profile-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(36, 120, 175, 0.1);
    border: 1px solid rgba(36, 120, 175, 0.1);
    height: 100%;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.leader-profile-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(36, 120, 175, 0.15);
}

.profile-image-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 6px 20px rgba(36, 120, 175, 0.2);
    border: 4px solid var(--white);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.image-placeholder i {
    font-size: 2.5rem;
    /* Reduced from 3rem */
    color: rgba(255, 255, 255, 0.9);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.profile-image:hover .image-overlay {
    transform: translateY(0);
}

.profile-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--white);
    box-shadow: 0 2px 10px rgba(36, 120, 175, 0.3);
}

.chairman-badge {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.principal-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.profile-badge i {
    font-size: 0.9rem;
    color: white;
}

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

.profile-name {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    /* Reduced from 1.4rem */
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.profile-title {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.profile-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.profile-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-color);
    border: 1px solid rgba(36, 120, 175, 0.2);
}

.profile-stat-item i {
    font-size: 0.9rem;
}

/* Message Card */
.message-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(36, 120, 175, 0.1);
    border: 1px solid rgba(36, 120, 175, 0.1);
    height: 100%;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.chairman-msg-card {
    border-left: 5px solid var(--primary-color);
}

.principal-msg-card {
    border-right: 5px solid var(--secondary-color);
}

.message-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(36, 120, 175, 0.15);
}

.message-header-new {
    background: linear-gradient(135deg, var(--background-color), var(--light-blue));
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(36, 120, 175, 0.1);
}

.header-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(36, 120, 175, 0.2);
}

.header-icon i {
    font-size: 1.3rem;
    color: white;
}

.header-content {
    flex: 1;
}

.message-title-new {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.message-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

.message-body-new {
    padding: 2rem;
    height: calc(100% - 100px);
}

.message-scroll {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.message-scroll::-webkit-scrollbar {
    width: 4px;
}

.message-scroll::-webkit-scrollbar-track {
    background: var(--light-blue);
    border-radius: 2px;
}

.message-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
}

.message-scroll p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.opening-line {
    font-weight: 600;
    color: var(--primary-color);
    font-style: italic;
    font-size: 1rem !important;
}

.closing-line {
    font-weight: 600;
    color: var(--primary-color);
    font-style: italic;
    text-align: right;
    margin-top: 2rem !important;
    font-size: 1rem !important;
    position: relative;
}

.closing-line::before {
    content: '—';
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .message-container .row {
        flex-direction: column;
    }

    .leader-profile-card {
        margin-bottom: 2rem;
    }

    .message-header-new {
        padding: 1.25rem 1.5rem;
    }

    .message-body-new {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .leader-profile-card {
        padding: 1.5rem;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .image-placeholder i {
        font-size: 2.5rem;
    }

    .profile-name {
        font-size: 1.2rem;
    }

    .message-title-new {
        font-size: 1.1rem;
    }

    .message-scroll p {
        font-size: 0.9rem;
    }

    .profile-stats {
        flex-direction: column;
        align-items: center;
    }

    .profile-stat-item {
        width: 100%;
        justify-content: center;
    }
}

/* Gallery Styles */
.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(36, 120, 175, 0.1);
    height: 100%;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(36, 120, 175, 0.2);
}

.gallery-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 250px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(36, 120, 175, 0.8), rgba(52, 152, 219, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: white;
    padding: 1rem;
}

.gallery-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.gallery-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.gallery-btn:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.gallery-btn i {
    margin-right: 0.5rem;
}

/* Gallery Modal */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 15px 15px 0 0;
}

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

.modal-body {
    padding: 2rem;
}

#modalImage {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(36, 120, 175, 0.2);
}

/* Mobile Responsive for Gallery */
@media (max-width: 767.98px) {
    .gallery-image-container {
        height: 200px;
    }

    .gallery-title {
        font-size: 1rem;
    }

    .gallery-description {
        font-size: 0.8rem;
    }

    .gallery-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
}

/* Gallery Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.gallery-placeholder {
    background-color: #e9ecef;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 2px dashed #dee2e6;
    border-radius: 15px;
    transition: all 0.3s ease;
}

/* Gallery Page Specific Styles */
.gallery-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

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

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

.gallery-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.gallery-hero-title {
    font-size: 2.8rem;
    /* Reduced from 3.5rem */
    font-weight: 700;
    margin: 1.5rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gallery-hero-subtitle {
    font-size: 1.1rem;
    /* Reduced from 1.2rem */
    line-height: 1.5;
    /* Slightly reduced line height */
    margin-bottom: 1.8rem;
    /* Reduced margin */
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.gallery-stats .stat-item {
    text-align: center;
}

.gallery-stats .stat-number {
    display: block;
    font-size: 2rem;
    /* Reduced from 2.5rem */
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gallery-stats .stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Enhanced Gallery Grid */
#gallery-grid .gallery-item {
    height: 280px;
    margin-bottom: 1.5rem;
}

#gallery-grid .gallery-image-container {
    height: 100%;
}

#gallery-grid .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

#gallery-grid .gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

/* Enhanced Modal Styles */
.modal-xl {
    max-width: 90vw;
}

.modal-nav-buttons {
    display: flex;
    align-items: center;
}

.modal-nav-buttons .btn {
    font-size: 0.85rem;
}

.modal-body {
    padding: 0;
}

.modal-body img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

.image-info {
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* Mobile Responsive for Gallery Page */
@media (max-width: 991.98px) {
    .gallery-hero-title {
        font-size: 2.5rem;
    }

    .gallery-stats {
        gap: 2rem;
    }

    .gallery-stats .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .gallery-hero {
        padding: 80px 0 60px;
    }

    .gallery-hero-title {
        font-size: 2rem;
    }

    .gallery-hero-subtitle {
        font-size: 1rem;
    }

    .gallery-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    #gallery-grid .gallery-item {
        height: 220px;
    }

    .modal-xl {
        max-width: 95vw;
    }

    .modal-nav-buttons {
        display: none;
    }
}

.gallery-placeholder:hover {
    background-color: #dee2e6;
    transform: scale(1.02);
}

/* Testimonials */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 20px;
}

.carousel-indicators button {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 12px;
    height: 12px;
}

/* Contact Page Styles */

/* Contact Hero Section */
.contact-hero-section {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.contact-hero-text-content {
    color: white;
    text-align: center;
    padding: 2rem 1rem;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.4rem 1rem;
    /* Reduced padding */
    border-radius: 50px;
    font-size: 0.8rem;
    /* Reduced from 0.9rem */
    font-weight: 600;
    margin-bottom: 1.2rem;
    /* Reduced margin */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-hero-title {
    font-size: 2.5rem;
    /* Reduced from 3rem */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-hero-subtitle {
    font-size: 1.1rem;
    /* Reduced from 1.25rem */
    font-weight: 300;
    margin-bottom: 1.2rem;
    /* Reduced margin */
    color: white;
    opacity: 0.95;
}

.contact-hero-location {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    /* Reduced from 1rem */
    color: white;
    opacity: 0.9;
    font-weight: 500;
}

/* Contact Information Section */
.contact-info-section {
    background: var(--background-color);
}

.contact-details-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(36, 120, 175, 0.1);
    border: 1px solid rgba(36, 120, 175, 0.1);
    height: 100%;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-blue);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.contact-detail-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(36, 120, 175, 0.1);
}

.contact-icon {
    width: 45px;
    /* Reduced from 50px */
    height: 45px;
    /* Reduced from 50px */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    /* Reduced from 1.25rem */
    color: white;
    margin-right: 1.2rem;
    /* Reduced margin */
    flex-shrink: 0;
}

.contact-content h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Office Hours Card */
.office-hours-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(36, 120, 175, 0.1);
    border: 1px solid rgba(36, 120, 175, 0.1);
    height: 100%;
}

.office-header h3 {
    color: var(--primary-color);
    font-weight: 600;
}

.office-icon-header {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.office-icon-header h5 {
    margin: 0;
    font-weight: 600;
}

.office-section {
    padding: 1.5rem;
    background: var(--light-blue);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(36, 120, 175, 0.1);
}

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

.day {
    font-weight: 600;
    color: var(--text-dark);
}

.time {
    color: var(--text-light);
    font-weight: 500;
}

/* Additional Information Section */
.additional-info {
    padding: 0;
}

.info-text {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.info-text:last-child {
    margin-bottom: 0;
}

.info-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Map Section */
.map-section {
    background: var(--light-blue);
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(36, 120, 175, 0.15);
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
}

.map-wrapper iframe {
    border-radius: 20px;
}

.map-overlay-info {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.map-info-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(36, 120, 175, 0.1);
    max-width: 280px;
}

.map-info-header {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-info-header h5 {
    margin: 0;
    font-weight: 600;
}

.map-info-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Contact CTA Section */
.contact-cta-section {
    background: var(--background-color);
}

.contact-cta-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(36, 120, 175, 0.1);
    border: 1px solid rgba(36, 120, 175, 0.1);
}

.cta-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-actions .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 2rem;
        /* Reduced from 2.5rem */
    }

    .contact-detail-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .map-overlay-info {
        position: static;
        margin-top: 1rem;
    }

    .map-info-card {
        max-width: 100%;
    }

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

/* Leadership Messages Section Styles */
.leadership-messages-section {
    background: var(--light-blue);
}

.leadership-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(36, 120, 175, 0.2);
}

.leadership-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 1.5rem 0 1rem;
    letter-spacing: -1px;
}

.leadership-subtitle {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.leadership-message-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(36, 120, 175, 0.1);
    border: 1px solid rgba(36, 120, 175, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.leadership-message-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(36, 120, 175, 0.2);
}

.message-header {
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, rgba(36, 120, 175, 0.05) 0%, rgba(79, 195, 247, 0.05) 100%);
    border-bottom: 1px solid rgba(36, 120, 175, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.leader-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(36, 120, 175, 0.2);
}

.chairman-avatar {
    background: linear-gradient(135deg, #8e24aa 0%, #ab47bc 100%);
}

.principal-avatar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.dean-avatar {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
}

.registrar-avatar {
    background: linear-gradient(135deg, #d84315 0%, #ff5722 100%);
}

.leader-info {
    flex: 1;
}

.leader-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem;
}

.leader-title {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 0 1rem;
    font-size: 1rem;
}

.leader-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.credential-item i {
    color: var(--primary-color);
}

.message-content {
    padding: 0;
}

.message-title-header {
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid rgba(36, 120, 175, 0.1);
}

.message-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
}

.message-body {
    padding: 1.5rem 2rem 2rem;
}

.message-scroll {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
    margin-bottom: 1.5rem;
}

.message-scroll p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.opening-line {
    font-weight: 600;
    color: var(--primary-color);
}

.closing-line {
    font-weight: 600;
    color: var(--primary-color);
    font-style: italic;
}

.signature-line {
    text-align: right;
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
    border-top: 1px solid rgba(36, 120, 175, 0.1);
    padding-top: 1rem;
}

.signature-line strong {
    color: var(--text-dark);
}

/* Custom scrollbar for message content */
.message-scroll::-webkit-scrollbar {
    width: 4px;
}

.message-scroll::-webkit-scrollbar-track {
    background: rgba(36, 120, 175, 0.1);
    border-radius: 2px;
}

.message-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
}

.message-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Enhanced Professional Footer Styles */
.footer {
    margin-top: auto;
    background: none !important;
    /* Override inline styles */
}

/* Main Footer Section */
.footer-main {
    background: linear-gradient(135deg, var(--footer-primary) 0%, var(--footer-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" 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;
}

.footer-main .container {
    position: relative;
    z-index: 2;
}

.footer-section-title {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    /* Reduced from 1.1rem */
    margin-bottom: 1.2rem;
    /* Reduced margin */
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
}

.footer-section-title i {
    margin-right: 0.5rem;
    color: #4fc3f7;
}

/* Secondary Footer Section */
.footer-secondary {
    background: linear-gradient(135deg, var(--footer-secondary) 0%, var(--footer-tertiary) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-secondary .container {
    max-width: 1200px;
}

.footer-secondary .row {
    align-items: stretch;
}

.footer-secondary .col-lg-4 {
    padding: 2rem 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-secondary .col-lg-4:last-child {
    border-right: none;
}

.footer-secondary .col-lg-4::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 0;
    width: 4px;
    height: calc(100% - 2rem);
    background: linear-gradient(to bottom, #4fc3f7, transparent);
    border-radius: 2px;
}

/* Footer Bottom Section */
.footer-bottom {
    background: var(--footer-bottom);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Links and Content */
.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.footer .social-links a:hover {
    background: #4fc3f7;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(79, 195, 247, 0.3);
}

.footer .contact-info i {
    width: 20px;
    text-align: center;
    color: #4fc3f7;
    flex-shrink: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-details {
    flex: 1;
    line-height: 1.3;
}

.contact-details br {
    line-height: 1.2;
}

.contact-details strong {
    color: white;
    font-weight: 600;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.footer-link:hover {
    color: #4fc3f7;
    padding-left: 0.5rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-highlight {
    color: #4fc3f7;
    font-weight: 600;
}

/* Mobile Navigation Styles */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-collapse {
        background: white;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid var(--gray-light);
    }

    .navbar-nav {
        width: 100%;
    }

    .navbar-nav .nav-link {
        color: var(--text-dark) !important;
        padding: 0.75rem 1rem;
        margin: 0;
        border-bottom: 1px solid var(--gray-light);
        border-radius: 0;
        font-weight: 500;
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-link:hover {
        background-color: var(--light-blue);
        color: var(--primary-color) !important;
    }

    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        background: var(--light-blue) !important;
        margin: 0 !important;
        border-radius: 0 !important;
        padding: 0 !important;
        transform: none !important;
        display: none;
    }

    .dropdown-menu.show {
        display: block !important;
    }

    .dropdown-item {
        color: var(--text-dark);
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }

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

    .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.7);
        color: var(--primary-color);
    }

    /* Mobile Mega Menu */
    .mega-menu .dropdown-menu {
        background: var(--background-color) !important;
        padding: 1rem !important;
    }

    .mega-menu-content {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .mega-menu-section {
        padding: 1rem;
        margin-bottom: 0.5rem;
        background: white;
    }

    .mega-menu-section h6 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .mega-menu-section .list-unstyled a {
        padding: 0.4rem 0;
        font-size: 0.85rem;
    }

    .program-duration {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }

    .program-highlight {
        padding: 0.75rem;
        margin-top: 0.5rem;
    }

    .program-highlight h6 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .program-highlight p {
        font-size: 0.8rem;
    }

    /* Mobile Social Icons */
    .social-icons {
        justify-content: center !important;
        margin: 1rem 0 !important;
        padding: 1rem 0;
        border-top: 1px solid var(--gray-light);
    }

    .social-icons a {
        color: var(--primary-color) !important;
        margin: 0 0.75rem;
        font-size: 1.2rem;
    }

    /* Mobile CTA Button */
    .navbar .btn {
        width: 100%;
        margin-top: 1rem;
        padding: 0.75rem;
        font-weight: 600;
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        color: white;
    }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 991.98px) {
    .mega-menu-content {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 991.98px) {
    .mega-menu-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Program Levels Table Styling */
.program-levels-overview {
    background: var(--background-color);
}

.program-levels-overview h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--light-blue);
    padding-bottom: 0.5rem;
}

.program-levels-overview .table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(36, 120, 175, 0.08);
    border: 1px solid var(--light-blue);
    margin-bottom: 1.5rem;
}

.program-levels-overview .table thead th {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    padding: 1rem 0.75rem;
}

.program-levels-overview .table tbody td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
    border-color: var(--light-blue);
    font-size: 0.95rem;
}

.program-levels-overview .table tbody tr:hover {
    background-color: var(--light-blue);
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

.program-levels-overview .table tbody tr:hover td {
    color: var(--primary-color);
}

.program-levels-overview .table tbody td:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

.program-levels-overview .table tbody td:last-child {
    text-align: center;
    font-weight: 600;
    color: var(--secondary-color);
}

.program-info {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(36, 120, 175, 0.06);
    border-left: 4px solid var(--primary-color);
    margin-top: 1rem;
}

.program-info p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.program-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

.program-info small {
    color: var(--text-light);
    line-height: 1.5;
}

.program-summary {
    background: white;
    box-shadow: 0 8px 25px rgba(36, 120, 175, 0.1);
    border: 1px solid var(--light-blue);
    border-top: 4px solid var(--primary-color);
}

.program-summary h4 {
    color: var(--primary-color);
    font-weight: 700;
}

.program-summary h5 {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 2rem;
}

.program-summary hr {
    border-color: var(--light-blue);
    margin: 1.5rem 0;
}

/* Table Responsive Enhancements */
@media (max-width: 768px) {
    .program-levels-overview h4 {
        font-size: 1.2rem;
        text-align: center;
    }

    .program-levels-overview .table {
        font-size: 0.85rem;
    }

    .program-levels-overview .table thead th {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }

    .program-levels-overview .table tbody td {
        padding: 0.75rem 0.5rem;
    }

    .program-info {
        padding: 1rem;
        margin-top: 0.75rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-header-bar {
        padding: 0.5rem 0;
        font-size: 0.8rem;
    }

    .contact-info {
        gap: 1rem;
        justify-content: center;
        text-align: center;
    }

    .contact-item {
        font-size: 0.8rem;
    }

    .social-links {
        justify-content: center;
        margin-top: 0.5rem;
    }

    .social-link {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    /* News Section Responsive */
    .news-ticker-wrapper {
        gap: 0.5rem;
    }

    .news-ticker-header {
        padding: 0.4rem 0.8rem;
    }

    .ticker-label {
        font-size: 0.8rem;
    }

    .news-ticker-container {
        height: 35px;
    }

    .news-item {
        margin-right: 2rem;
        padding: 0.4rem 0.8rem;
    }

    .news-date {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
        margin-right: 0.5rem;
    }

    .news-content {
        font-size: 0.8rem;
    }

    /* Simple Tabbed Programs Responsive */
    .programs-sidebar {
        min-height: auto;
    }

    .programs-tabs {
        display: flex;
        overflow-x: auto;
        padding: 1rem;
        gap: 0.5rem;
    }

    .tab-btn {
        flex-shrink: 0;
        min-width: 180px;
        padding: 0.75rem 1rem;
        border-radius: 10px;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .tab-btn.active {
        border-left: none;
        border-bottom-color: var(--secondary-color);
    }

    .tab-btn i {
        font-size: 1rem;
    }

    .tab-btn span {
        font-size: 0.85rem;
    }

    .programs-content {
        padding: 1.5rem;
        min-height: auto;
    }

    .content-header h3 {
        font-size: 1.5rem;
    }

    .content-header p {
        font-size: 0.9rem;
    }

    .course-item {
        padding: 1rem;
    }

    .course-item h4 {
        font-size: 1.1rem;
    }

    .course-item p {
        font-size: 0.9rem;
    }

    .course-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .course-meta span {
        font-size: 0.85rem;
    }

    .brand-logo i {
        font-size: 1.5rem;
    }

    .brand-logo-img {
        height: 45px;
        /* Reduced from 50px */
    }

    .brand-name {
        font-size: 1.1rem;
        /* Reduced from 1.2rem */
    }

    .brand-subtitle {
        font-size: 0.65rem;
        /* Reduced from 0.7rem */
    }

    .hero-section {
        min-height: 40vh;
    }

    .hero-image {
        background-attachment: scroll;
    }

    .hero-text-content {
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
        /* Reduced from 2.5rem */
    }

    .hero-subtitle {
        font-size: 1rem;
        /* Reduced from 1.2rem */
    }

    .hero-location {
        font-size: 1rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    /* Footer Responsive */
    .footer-secondary .col-lg-4 {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1.5rem 1rem;
    }

    .footer-secondary .col-lg-4:last-child {
        border-bottom: none;
    }

    .footer-secondary .col-lg-4::before {
        display: none;
    }

    .footer-section-title {
        font-size: 1rem;
        margin-bottom: 1rem;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        margin-right: 0.25rem;
        margin-bottom: 0.5rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .vision-mission-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .vision-mission-card .card-title {
        font-size: 1.5rem;
    }

    .vision-mission-card .card-description {
        font-size: 1rem;
    }

    .features-stats-wrapper {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .stats-number {
        font-size: 1.5rem;
        /* Reduced from 1.8rem */
    }

    .stats-item {
        padding: 1rem 0.75rem;
        margin-bottom: 1rem;
    }

    .stats-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .stats-label {
        font-size: 0.8rem;
    }

    .core-values-section {
        padding: 2rem 1.5rem;
    }

    .value-item {
        padding: 1.25rem;
        margin-bottom: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .value-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .value-item h5 {
        font-size: 1rem;
    }

    .value-item p {
        font-size: 0.85rem;
    }

    .welcome-image-container {
        height: 300px;
        margin-top: 2rem;
    }

    .image-overlay-welcome {
        padding: 1.5rem;
    }

    .overlay-title {
        font-size: 1.1rem;
    }

    .gallery-placeholder {
        height: 200px;
    }

    .footer .col-md-6 {
        text-align: center !important;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.8rem;
        /* Reduced from 2rem */
    }

    .btn-lg {
        padding: 0.6rem 1.2rem;
        /* Reduced padding */
        font-size: 0.9rem;
        /* Reduced from 1rem */
    }

    .card-body {
        padding: 1.25rem !important;
        /* Reduced from 1.5rem */
    }

    .section-title {
        font-size: 1.5rem;
        /* Reduced from 1.75rem */
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Enhanced Hover Effects */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 80%;
}

/* Accessibility Improvements */
.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Focus States */
.nav-link:focus,
.dropdown-item:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(36, 120, 175, 0.25);
}

/* Academic Programs Section - Authoritative Design */
.academic-header {
    position: relative;
    padding: 3rem 0;
}

.academic-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(36, 120, 175, 0.2);
}

.academic-title {
    font-size: 2.8rem;
    /* Reduced from 3.5rem */
    font-weight: 800;
    color: var(--text-dark);
    margin: 1.5rem 0 1rem;
    /* Reduced margin */
    letter-spacing: -1px;
}

.academic-subtitle {
    font-size: 1.1rem;
    /* Reduced from 1.3rem */
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    /* Reduced margin */
}

.academic-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    gap: 1rem;
}

.divider-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.divider-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.academic-description {
    font-size: 1rem;
    /* Reduced from 1.1rem */
    color: var(--text-light);
    line-height: 1.6;
    /* Slightly reduced line height */
    max-width: 800px;
    margin: 0 auto;
}

/* Program Level Cards */
.academic-programs-grid {
    margin-top: 4rem;
}

.program-level-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(36, 120, 175, 0.1);
    border: 1px solid rgba(36, 120, 175, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.program-level-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(36, 120, 175, 0.2);
}

.program-level-header {
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, rgba(36, 120, 175, 0.05) 0%, rgba(79, 195, 247, 0.05) 100%);
    border-bottom: 1px solid rgba(36, 120, 175, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.level-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.level-info {
    flex: 1;
}

.level-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem;
}

.level-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0 0 0.5rem;
}

.level-duration {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.program-level-content {
    padding: 2rem;
}

.level-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.programs-list {
    margin-bottom: 2rem;
}

.program-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(36, 120, 175, 0.1);
}

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

.program-item strong {
    color: var(--text-dark);
    font-weight: 600;
    flex: 1;
}

.program-credits {
    background: rgba(36, 120, 175, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.program-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-badge {
    background: rgba(36, 120, 175, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-badge i {
    font-size: 0.7rem;
}

/* Different colors for different levels */
.doctoral-level .level-icon {
    background: linear-gradient(135deg, #8e24aa 0%, #ab47bc 100%);
}

.masters-level .level-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.bachelors-level .level-icon {
    background: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
}

.diploma-level .level-icon {
    background: linear-gradient(135deg, #fb8c00 0%, #ffb74d 100%);
}

.certificate-level .level-icon {
    background: linear-gradient(135deg, #e53935 0%, #ef5350 100%);
}

.basic-level .level-icon {
    background: linear-gradient(135deg, #546e7a 0%, #78909c 100%);
}

/* Academic Excellence Section */
.academic-excellence-section {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 30px rgba(36, 120, 175, 0.1);
    border: 1px solid rgba(36, 120, 175, 0.1);
}

.excellence-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.excellence-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.excellence-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.excellence-feature .feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.excellence-feature .feature-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.excellence-feature .feature-content p {
    color: var(--text-light);
    margin: 0;
}

.academic-cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    color: white;
    text-align: center;
}

.cta-header h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cta-actions .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-width: 2px;
    transition: all 0.3s ease;
}

.cta-actions .btn.rounded-pill {
    padding: 0.875rem 2.5rem;
    border-radius: 50px !important;
}

.cta-actions .btn-outline-primary {
    border-color: white;
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cta-actions .btn-outline-primary:hover {
    background-color: white;
    border-color: white;
    color: var(--primary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.cta-actions .btn-outline-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.cta-note {
    opacity: 0.8;
}

/* Leadership Excellence Section - Authoritative Design */
.leadership-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.leadership-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e9ecef" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.leadership-header {
    position: relative;
    z-index: 2;
}

.leadership-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(36, 120, 175, 0.2);
}

.leadership-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    letter-spacing: -1px;
}

.leadership-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
}

.leadership-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    gap: 1rem;
}

.leadership-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Leadership Cards */
.leadership-grid {
    position: relative;
    z-index: 2;
}

.leadership-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(36, 120, 175, 0.15);
    border: 1px solid rgba(36, 120, 175, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.leadership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(36, 120, 175, 0.25);
}

.leadership-card-header {
    background: linear-gradient(135deg, rgba(36, 120, 175, 0.05) 0%, rgba(79, 195, 247, 0.05) 100%);
    padding: 2rem;
    border-bottom: 1px solid rgba(36, 120, 175, 0.1);
}

.leader-profile {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.leader-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
}

.avatar-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(36, 120, 175, 0.1) 0%, rgba(79, 195, 247, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

.leader-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    border: 2px solid white;
}

.chairman-avatar {
    border-color: #8e24aa;
}

.chairman-badge {
    background: linear-gradient(135deg, #8e24aa 0%, #ab47bc 100%);
}

.principal-avatar {
    border-color: var(--primary-color);
}

.principal-badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.leader-info {
    flex: 1;
}

.leader-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem;
}

.leader-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 1rem;
}

.leader-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.credential-item i {
    color: var(--primary-color);
}

.leadership-card-body {
    padding: 2rem;
}

.message-header {
    margin-bottom: 1.5rem;
}

.message-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
}

.message-tagline {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.message-content {
    position: relative;
}

.message-text {
    margin-bottom: 1.5rem;
}

.message-text p {
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.greeting {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.signature {
    color: var(--primary-color) !important;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 0 !important;
}

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

.read-more-btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(36, 120, 175, 0.3);
}

/* Leadership Excellence Features */
.leadership-excellence {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 30px rgba(36, 120, 175, 0.1);
    border: 1px solid rgba(36, 120, 175, 0.1);
    position: relative;
    z-index: 2;
}

.excellence-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.excellence-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.leadership-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-row {
    display: flex;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.leadership-stats-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    color: white;
    text-align: center;
    box-shadow: 0 8px 30px rgba(36, 120, 175, 0.2);
}

.stats-header h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stats-header p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.2;
}

/* Modal Styles */
.chairman-modal-header {
    background: linear-gradient(135deg, #8e24aa 0%, #ab47bc 100%);
    color: white;
    border-bottom: none;
}

.principal-modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-bottom: none;
}

.modal-title-wrapper {
    flex: 1;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.modal-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.full-message-content {
    padding: 1rem 0;
}

.full-message-content p {
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.2rem;
}

.full-message-content .greeting {
    color: var(--primary-color) !important;
    font-weight: 600;
    font-size: 1.1rem;
}

.full-message-content .signature {
    color: var(--primary-color) !important;
    font-weight: 600;
    font-style: italic;
    margin-top: 1.5rem;
}

.message-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(36, 120, 175, 0.1);
}

.signature-line {
    text-align: right;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.4;
}

.signature-line strong {
    color: var(--text-dark);
}

/* Academic Programs Responsive Design */
@media (max-width: 768px) {
    .academic-title {
        font-size: 2rem;
        /* Reduced from 2.5rem */
    }

    .academic-subtitle {
        font-size: 1rem;
        /* Reduced from 1.1rem */
    }

    .program-level-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

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

    .program-level-content {
        padding: 1.5rem;
    }

    .excellence-feature {
        flex-direction: column;
        text-align: center;
    }

    .cta-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-actions {
        flex-direction: column;
    }

    .academic-excellence-section {
        padding: 2rem;
    }

    /* Leadership Section Responsive */
    .leadership-title {
        font-size: 2.2rem;
        /* Reduced from 2.5rem */
    }

    .leadership-subtitle {
        font-size: 1rem;
        /* Reduced from 1.1rem */
    }

    /* Leadership Messages Responsive */
    .message-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .leader-avatar {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }

    .leader-name {
        font-size: 1.2rem;
    }

    .message-scroll {
        max-height: 300px;
    }

    .message-scroll p {
        font-size: 0.85rem;
    }

    .leader-profile {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .leader-avatar {
        width: 100px;
        height: 100px;
    }

    .avatar-image {
        font-size: 2.5rem;
    }

    .leader-credentials {
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
    }

    .leadership-card-body {
        padding: 1.5rem;
    }

    .feature-row {
        flex-direction: column;
        gap: 1rem;
    }

    .leadership-excellence {
        padding: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .leadership-stats-card {
        padding: 2rem;
        margin-top: 2rem;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .footer,
    .btn {
        display: none !important;
    }

    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }

    body {
        background-color: white !important;
    }
}

/* About Page Specific Styles */
.about-hero-section {
    background: linear-gradient(135deg, rgba(36, 120, 175, 0.05) 0%, rgba(79, 195, 247, 0.05) 100%);
}

.about-badge {
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.about-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.about-hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.about-hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-hero-stats .stat-item {
    text-align: center;
}

.about-hero-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.about-hero-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.history-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(36, 120, 175, 0.1);
    border-left: 4px solid var(--primary-color);
    height: 100%;
    transition: all 0.3s ease;
}

.history-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(36, 120, 175, 0.15);
}

.history-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.history-card h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.special-feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(36, 120, 175, 0.08);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(36, 120, 175, 0.1);
}

.special-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(36, 120, 175, 0.15);
    border-color: var(--primary-color);
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.special-feature-card:hover .feature-icon-large {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(36, 120, 175, 0.3);
}

.special-feature-card h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.special-feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.about-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Page Responsive */
@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2rem;
        /* Reduced from 2.5rem */
    }

    .about-hero-subtitle {
        font-size: 1rem;
        /* Reduced from 1.1rem */
    }

    .about-hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .special-feature-card {
        padding: 1.5rem;
    }

    .feature-icon-large {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Programs Page Specific Styles */
.programs-hero-section {
    background: linear-gradient(135deg, rgba(36, 120, 175, 0.05) 0%, rgba(79, 195, 247, 0.05) 100%);
}

.programs-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.programs-hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
}

.programs-hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.programs-hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.programs-hero-stats .stat-item {
    text-align: center;
}

.programs-hero-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.programs-hero-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Program Section Headers */
.program-section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(36, 120, 175, 0.1);
}

.program-section-title {
    font-size: 2rem;
    /* Reduced from 2.5rem */
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

/* Detailed Course Cards */
.detailed-course-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(36, 120, 175, 0.1);
    border: 1px solid rgba(36, 120, 175, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.detailed-course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(36, 120, 175, 0.2);
}

.course-card-header {
    background: linear-gradient(135deg, rgba(36, 120, 175, 0.05) 0%, rgba(79, 195, 247, 0.05) 100%);
    padding: 2rem;
    border-bottom: 1px solid rgba(36, 120, 175, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.course-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.doctoral-icon {
    background: linear-gradient(135deg, #8e24aa 0%, #ab47bc 100%);
}

.masters-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.bachelors-icon {
    background: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
}

.course-title-section {
    flex: 1;
}

.course-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem;
}

.course-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

.course-level-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.doctoral-badge {
    background: linear-gradient(135deg, #8e24aa 0%, #ab47bc 100%);
}

.masters-badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.bachelors-badge {
    background: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
}

.course-card-body {
    padding: 2rem;
}

.course-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.course-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.course-highlights {
    margin-bottom: 2rem;
}

.course-highlights h6 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.course-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-highlights li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(36, 120, 175, 0.1);
    color: var(--text-light);
}

.course-highlights li:last-child {
    border-bottom: none;
}

.course-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.course-actions .btn {
    flex: 1;
    min-width: 140px;
}

/* Programs CTA Section */
.programs-cta-section {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 30px rgba(36, 120, 175, 0.1);
    border: 1px solid rgba(36, 120, 175, 0.1);
    margin-top: 4rem;
}

.cta-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.cta-features {
    margin-top: 2rem;
}

.cta-features .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-light);
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    color: white;
    text-align: center;
}

.cta-header h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
}

.cta-stats .stat-item {
    text-align: center;
}

.cta-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.cta-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cta-note {
    opacity: 0.8;
}

/* Programs Page Responsive */
@media (max-width: 768px) {
    .programs-hero-title {
        font-size: 2rem;
        /* Reduced from 2.5rem */
    }

    .programs-hero-subtitle {
        font-size: 1rem;
        /* Reduced from 1.1rem */
    }

    .programs-hero-stats {
        gap: 1.5rem;
    }

    .course-card-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .course-level-badge {
        position: static;
        margin-top: 1rem;
    }

    .course-actions {
        flex-direction: column;
    }

    .course-actions .btn {
        flex: none;
    }

    .programs-cta-section {
        padding: 2rem;
    }

    .cta-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-actions {
        flex-direction: column;
    }
}