/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c6fb0;      /* Medical blue */
    --secondary-color: #4CAF50;    /* Healing green */
    --accent-color: #e74c3c;       /* Medical red */
    --text-color: #2c3e50;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    background: #1e3a8a;
    background-size: cover;
    background-position: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 50px;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    gap: 30px;
}

.hero-content {
    flex: 1;
    max-width: 800px;
    padding: 20px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.2rem, 4vw + 0.5rem, 3rem);
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: none;
    font-weight: 700;
    text-align: center;
}

.hero p {
    font-size: clamp(0.9rem, 2vw + 0.3rem, 1.5rem);
    margin-bottom: 0;
    color: #ffffff;
    text-shadow: none;
    text-align: center;
}

.hero-logo {
    background: transparent;
    padding: 5px;
    border-radius: 4px;
    box-shadow: none;
    flex-shrink: 1;
    min-width: 0;
}

.hero-logo img {
    width: clamp(50px, 8vw, 100px);
    height: auto;
    max-height: clamp(120px, 15vw, 240px);
    object-fit: contain;
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero {
        height: 150px;
    }

    .hero h1 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 1em;
    }
}

/* Header Styles */
.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: clamp(8px, 2vw, 15px) clamp(15px, 5vw, 50px);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    z-index: 1000;
    flex-wrap: nowrap;
    gap: clamp(10px, 2vw, 30px);
    overflow-x: auto;
    overflow-y: hidden;
}
    overflow-y: hidden;
}

/* Top Contact Info Bar */
.top-contact-bar {
    background: #0080ff;
    color: var(--white);
    padding: 10px 20px;
    width: 100%;
    z-index: 1001;
}

.contact-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    width: 100%;
    overflow: visible;
}

/* Left Contact Info */
.contact-left {
    display: flex;
    gap: 20px;
    align-items: center;
    flex: 0 1 auto;
    min-width: auto;
    flex-wrap: nowrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.95);
    flex-shrink: 0;
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    min-width: 16px;
    text-align: center;
}

.contact-item span {
    color: rgba(255, 255, 255, 0.95);
}

/* Middle Apply Button */
.apply-section {
    flex: 0 0 auto;
    padding: 0 10px;
    margin-left: auto;
}

.apply-now-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

/* Right side floating Apply Now button */
.apply-now-btn-floating {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    flex: 0 0 auto;
    font-size: 1.1rem;
    margin-left: auto;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    position: relative;
    z-index: 100;
}

.apply-now-btn:hover,
.apply-now-btn-floating:hover {
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Blinking Animation */
@keyframes blink-animation {
    0%, 50%, 100% {
        opacity: 1;
        box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    }
    25%, 75% {
        opacity: 0.7;
        box-shadow: 0 6px 18px rgba(30, 58, 138, 0.5);
    }
}

.apply-now-btn.blink-animation,
.apply-now-btn-floating.blink-animation {
    animation: blink-animation 2s infinite;
}

/* Right Social Media */
.social-media {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    flex-wrap: nowrap;
}

.social-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.3);
}

.social-icon.facebook:hover {
    background: #1877f2;
}

.social-icon.twitter:hover {
    background: #1da1f2;
}

.social-icon.linkedin:hover {
    background: #0a66c2;
}

.social-icon.instagram:hover {
    background: #e4405f;
}

.social-icon.youtube:hover {
    background: #ff0000;
}

.social-icon i {
    font-size: 0.9rem;
}

@media (max-width: 1400px) {
    .contact-left {
        gap: 30px;
    }
    
    .contact-container {
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .contact-left {
        gap: 25px;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
    
    .contact-container {
        gap: 15px;
        padding: 10px 15px;
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }
    
    .social-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .top-contact-bar {
        padding: 10px 10px;
    }
    
    .contact-container {
        gap: 10px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        overflow: visible;
    }
    
    .apply-now-btn-floating {
        margin-left: 0;
        padding: 8px 16px;
        font-size: 0.85rem;
        flex-shrink: 0;
    }
    
    .contact-left {
        flex: 0 1 auto;
        gap: 12px;
        width: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
        min-width: auto;
    }
    
    .apply-section {
        flex-shrink: 0;
    }
    
    .social-media {
        gap: 8px;
        flex: 0 0 auto;
        width: auto;
        flex-shrink: 0;
    }
    
    .social-label {
        font-size: 0.8rem;
    }
    
    .contact-item {
        font-size: 0.8rem;
    }
    
    .apply-now-btn {
        padding: 7px 14px;
        font-size: 0.9rem;
    }
    
    .social-icon {
        width: 26px;
        height: 26px;
    }
    
    .social-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .top-contact-bar {
        padding: 8px 8px;
    }
    
    .contact-container {
        gap: 10px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        overflow: visible;
    }
    
    .contact-left {
        flex-direction: row;
        width: auto;
        gap: 15px;
        flex: 0 1 auto;
        min-width: auto;
    }
    
    .contact-item span {
        display: none;
    }
    
    .contact-item {
        justify-content: center;
        width: auto;
        font-size: 0.9rem;
    }
    
    .social-label {
        font-size: 0.75rem;
    }
    
    .social-media {
        width: auto;
        justify-content: flex-start;
        gap: 6px;
        flex: 0 0 auto;
        flex-shrink: 0;
    }
    
    .social-icon {
        width: 24px;
        height: 24px;
    }
    
    .social-icon i {
        font-size: 0.75rem;
    }
    
    .apply-now-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .apply-now-btn-floating {
        margin-left: 0;
        padding: 6px 12px;
        font-size: 0.8rem;
        flex-shrink: 0;
    }
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 30px);
    flex: 0 1 auto;
    flex-wrap: nowrap;
    min-width: 0;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 30px);
    flex: 0 0 auto;
    flex-wrap: nowrap;
    min-width: auto;
    margin-left: auto;
}

/* Top Bar Specific Styles */
.top-bar-left .contact-info {
    display: flex;
    flex-direction: row;
    gap: clamp(8px, 1.5vw, 15px);
    align-items: center;
    flex-wrap: nowrap;
    min-width: auto;
}

.top-bar-left .contact-info span {
    font-size: clamp(0.7rem, 1.2vw, 0.95rem);
    white-space: nowrap;
    flex-shrink: 0;
}

.top-bar-left .social-links {
    display: flex;
    gap: clamp(6px, 1vw, 12px);
    align-items: center;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.top-bar-left .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Button Styles */
.nav-buttons {
    display: flex;
    gap: clamp(8px, 1.5vw, 15px);
    flex-wrap: nowrap;
    flex: 0 0 auto;
}

.btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Top Bar Button Specific Styles */
.nav-buttons .btn {
    padding: clamp(6px, 1vw, 8px) clamp(12px, 2vw, 20px);
    font-size: clamp(0.7rem, 1.2vw, 1rem);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-portal {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-portal:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-apply {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
}

.btn-apply:hover {
    background: #3d8b40;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Navigation Dropdown Styles */
.dropdown-content {
    list-style: none;
    padding: 0;
}

.dropdown-content li {
    list-style-type: none;
}

.main-nav .nav-links .dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Header and Navigation Container */
header {
    width: 100%;
    z-index: 999;
    position: relative;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    position: absolute;
    top: 10px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.5em;
    z-index: 1000;
    transition: background 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: #1e3a8a;
}

.mobile-menu-toggle i {
    pointer-events: none;
}

/* Main Navigation Styles */
.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    padding: 9px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 100%;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    padding: 4px 8px;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-size: clamp(0.4rem, 0.6vw + 0.1rem, 0.48rem);
    letter-spacing: 0.3px;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-links a.active {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-bottom: 3px solid #10b981;
}

.contact-info span {
    margin-right: 20px;
}

.social-links a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-buttons .btn {
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.nav-buttons .btn-portal {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.nav-buttons .btn-apply {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
}

.nav-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.nav-buttons .btn-portal:hover {
    background: rgba(255,255,255,0.1);
}

.nav-buttons .btn-apply:hover {
    background: #45a049;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .top-bar {
        padding: 10px 20px;
    }

    .nav-buttons .btn {
        padding: 6px 12px;
        font-size: 0.85em;
    }
}

/* Tablet - Medium (1024px and below) */
@media (max-width: 1024px) {
    .main-nav {
        padding: 7px 0;
    }
    
    .nav-links {
        gap: 18px;
    }
    
    .nav-links a {
        font-size: clamp(0.38rem, 0.55vw + 0.1rem, 0.45rem);
        padding: 3px 7px;
        letter-spacing: 0.2px;
    }
    
    .dropdown-content {
        min-width: 180px;
    }
    
    .dropdown-content a {
        padding: 8px 12px 8px 25px;
        font-size: 0.8em;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: row;
        gap: 8px;
        text-align: center;
        padding: 8px 10px;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .top-bar-left, .top-bar-right {
        flex-direction: row;
        gap: 8px;
        width: auto;
        flex: 0 1 auto;
        min-width: auto;
        flex-wrap: nowrap;
    }

    .top-bar-left .contact-info {
        display: flex;
        flex-direction: row;
        gap: clamp(8px, 1.5vw, 15px);
        align-items: center;
        flex-wrap: nowrap;
        min-width: auto;
    }
    
    .top-bar-left .contact-info span {
        margin: 0;
        font-size: clamp(0.7rem, 1.2vw, 0.95rem);
        white-space: nowrap;
        flex-shrink: 0;
    }

    .top-bar-left .social-links {
        display: flex;
        gap: clamp(6px, 1vw, 12px);
        margin-top: 0;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .top-bar-left .social-links a {
        flex-shrink: 0;
        font-size: clamp(0.8rem, 2vw, 1rem);
    }

    .nav-buttons {
        display: flex;
        flex-direction: row;
        gap: clamp(8px, 1.5vw, 15px);
        width: auto;
        flex-wrap: nowrap;
        flex-shrink: 0;
    }

    .nav-buttons .btn {
        width: auto;
        text-align: center;
        padding: clamp(6px, 1vw, 12px) clamp(10px, 2vw, 20px);
        font-size: clamp(0.7rem, 1.2vw, 0.95rem);
        white-space: nowrap;
    }

    /* Hero responsive styles */
    .hero {
        height: 200px;
        padding: 20px 0;
    }

    .hero-content h1 {
        font-size: 1.8em;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 1em;
        padding: 0 15px;
    }
}

.main-nav {
    background: white;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 3;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #003366;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    border-radius: 4px;
    overflow: hidden;
    border-top: 3px solid #10b981;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-content li:last-child {
    border-bottom: none;
}

.dropdown-content a {
    color: #1e3a8a !important;
    padding: 12px 20px !important;
    display: block;
    font-weight: 500 !important;
    background: transparent !important;
    font-size: 1.1rem !important;
}

.dropdown-content a:hover {
    background: #f5f7fa !important;
    color: #2563eb !important;
    padding-left: 25px !important;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-portal {
    background: #003366;
    color: white;
    margin-right: 10px;
}

.btn-apply {
    background: #ff6b00;
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 2.2em;
    margin-bottom: 12px;
    line-height: 1.2;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.1em;
    margin-bottom: 0;
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.btn-primary {
    background: #ff6b00;
    color: white;
    margin-right: 15px;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

/* Welcome Info Section - Principal, Links, and News */
.welcome-info-section {
    padding: 60px 50px;
    background: linear-gradient(to bottom, #ffffff, #f5f5f5);
}

.welcome-info-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 100%;
    margin: 0 auto;
}

/* Welcome Column (Left) */
.welcome-column {
    width: 100%;
}

.welcome-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.welcome-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.welcome-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #2c5aa0 100%);
    padding: 20px;
    color: white;
}

.welcome-header h3 {
    margin: 0;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.welcome-header h3:before {
    content: '👤';
    font-size: 1.2em;
}

.principal-photo {
    padding: 25px 25px 0;
    text-align: center;
}

.principal-photo img {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    object-fit: cover;
    border: 5px solid #1e3a8a;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.principal-photo img:hover {
    transform: scale(1.05);
}

.welcome-content {
    padding: 25px;
    flex-grow: 1;
    font-size: 0.95em;
    line-height: 1.7;
    color: #333;
}

.welcome-content p {
    margin: 0 0 20px 0;
}

.principal-signature {
    text-align: center;
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e5e9f0 100%);
    border-radius: 8px;
    border-left: 4px solid #1e3a8a;
}

.signature-name {
    font-size: 1.2em;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.signature-title {
    font-size: 1em;
    font-weight: 600;
    color: #10b981;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.signature-institution {
    font-size: 0.85em;
    color: #6b7280;
    font-style: italic;
    line-height: 1.4;
}

/* Links Column (Center) */
.links-column {
    width: 100%;
}

.links-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.links-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.links-card h3 {
    background: linear-gradient(135deg, #1e3a8a 0%, #2c5aa0 100%);
    color: white;
    padding: 20px;
    margin: 0;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.links-card h3:before {
    content: '▶';
    font-size: 0.8em;
}

.important-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.important-links li {
    border-bottom: 1px solid #f0f0f0;
}

.important-links li:last-child {
    border-bottom: none;
}

.important-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    font-weight: 500;
}

.important-links a:hover {
    background: #f5f5f5;
    color: #1e3a8a;
    padding-left: 30px;
}

.important-links a:before {
    content: '🔗';
    font-size: 1em;
    width: 20px;
    text-align: center;
}

.important-links i {
    display: none;
}

/* Joining Instructions Download Section */
.joining-instructions-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    border: 2px solid #e0e7ff;
    border-top: 4px solid #10b981;
    margin-top: 0;
}

.joining-instructions-card h3 {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.instruction-subtitle {
    font-size: 0.9em;
    color: #6b7280;
    padding: 15px 25px 0;
    margin: 0;
    font-weight: 500;
}

.form-label {
    display: block;
    margin: 20px 25px 8px;
    font-weight: 600;
    color: #1f2937;
    font-size: 0.95em;
}

.course-select {
    width: calc(100% - 50px);
    margin: 0 25px;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.95em;
    color: #1f2937;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    font-weight: 500;
}

.course-select:hover {
    border-color: #10b981;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.course-select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    background: rgba(240, 253, 250, 0.5);
}

.course-select option {
    padding: 10px;
    font-size: 0.95em;
    color: #1f2937;
}

.course-select option:hover {
    background: #10b981;
    color: white;
}

.btn-download-joining {
    width: calc(100% - 50px);
    margin: 15px 25px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    text-decoration: none;
}

.btn-download-joining:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.btn-download-joining:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.btn-download-joining i {
    font-size: 1.1em;
}

.instruction-note {
    font-size: 0.85em;
    color: #6b7280;
    padding: 15px 25px 25px;
    margin: 0;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 6px;
    margin: 15px 25px 25px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.instruction-note i {
    color: #10b981;
    font-size: 1em;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Events Column (Right) */
.events-column {
    width: 100%;
}

.events-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.events-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.events-card h3 {
    background: linear-gradient(135deg, #1e3a8a 0%, #2c5aa0 100%);
    color: white;
    padding: 20px;
    margin: 0;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.events-card h3:before {
    content: '📅';
    font-size: 1.2em;
}

.updates-list {
    padding: 25px;
    max-height: 400px;
    overflow-y: auto;
}

.update-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.update-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.update-date {
    display: inline-block;
    background: #1e3a8a;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: bold;
    margin-bottom: 8px;
}

.update-item h4 {
    margin: 10px 0 5px 0;
    color: #1e3a8a;
    font-size: 0.95em;
}

.update-item p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .welcome-info-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .welcome-info-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .welcome-info-section {
        padding: 40px 20px;
    }
    
    .welcome-info-container {
        grid-template-columns: 1fr;
    }
}

/* Featured Programs Section */
.featured-programs {
    padding: 80px 50px;
    background: linear-gradient(to bottom, #f9fafb, #ffffff);
}

.programs-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.programs-header h2 {
    color: #1e3a8a;
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

.programs-intro {
    color: #6b7280;
    font-size: 1.1em;
    line-height: 1.6;
    margin: 0;
}

/* Program Section Styling */
.program-section {
    margin-bottom: 60px;
}

.section-heading {
    text-align: center;
    font-size: 28px;
    color: #1e3a8a;
    margin-bottom: 35px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #2563eb, #10b981);
    border-radius: 2px;
}

.program-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 100%;
    margin: 0 auto;
}

.program-cards {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
    max-width: 100%;
    margin: 0 auto 50px;
}

.program-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    flex: 1;
    min-width: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.program-image {
    position: relative;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.program-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.program-content h3 {
    color: #1e3a8a;
    font-size: 1.4em;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.program-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.program-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 3px solid #10b981;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #374151;
    font-size: 0.9em;
}

.detail-item i {
    color: #1e3a8a;
    width: 18px;
}

.btn-program {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-program:hover {
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Placeholder Program Card */
.program-placeholder {
    opacity: 0.85;
    border: 2px dashed #cbd5e1;
}

.program-placeholder .program-image {
    opacity: 0.7;
}

.program-placeholder .program-content {
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.program-placeholder h3 {
    color: #64748b;
}

.program-placeholder .program-description {
    color: #94a3b8;
}

.programs-footer {
    text-align: center;
    padding: 40px 20px 0;
    border-top: 2px solid #e5e7eb;
    margin-top: 30px;
}

.programs-footer p {
    color: #6b7280;
    font-size: 0.95em;
    margin-bottom: 20px;
}

.btn-apply-large {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-apply-large:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.program-cards {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
    max-width: 100%;
    margin: 0 auto;
}

.program-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 0;
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-card h3 {
    padding: 20px;
    margin: 0;
}

.program-card p {
    padding: 0 20px 20px;
}

/* News and Events Section */
.news-events {
    padding: 80px 50px;
    background: linear-gradient(to bottom, #ffffff 0%, #f9f9f9 100%);
}

.news-events-header {
    text-align: center;
    margin-bottom: 50px;
}

.news-events-header h2 {
    font-size: 2.5em;
    color: #1e3a8a;
    margin-bottom: 10px;
    font-weight: 700;
}

.news-events-header p {
    color: #6b7280;
    font-size: 1.1em;
}

.news-events-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    margin-bottom: 30px;
}

.section-title h3 {
    font-size: 1.8em;
    color: #1e3a8a;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 3px solid #10b981;
}

/* News Cards */
.news-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.15);
}

.news-image {
    width: 250px;
    min-width: 250px;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.9em;
    color: #6b7280;
    margin-bottom: 12px;
    display: block;
    font-weight: 500;
}

.news-content h3 {
    font-size: 1.4em;
    color: #1e3a8a;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.news-content p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 15px;
    flex: 1;
}

.read-more {
    color: #10b981;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.read-more:hover {
    color: #059669;
    transform: translateX(5px);
}

/* Events Cards */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    display: flex;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #10b981;
}

.event-card:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.15);
}

.event-date-box {
    min-width: 70px;
    text-align: center;
    padding: 15px 10px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    border-radius: 10px;
    margin-right: 20px;
    color: white;
}

.event-date-box .day {
    font-size: 2em;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.event-date-box .month {
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
}

.event-date-box .year {
    font-size: 0.75em;
    display: block;
    margin-top: 3px;
    opacity: 0.9;
}

.event-details {
    flex: 1;
}

.event-details h4 {
    color: #1e3a8a;
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.event-time,
.event-location {
    font-size: 0.9em;
    color: #6b7280;
    margin-bottom: 5px;
    font-weight: 500;
}

.event-description {
    color: #4b5563;
    line-height: 1.6;
    margin-top: 10px;
    font-size: 0.95em;
}

.view-all-events {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.view-all-events:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, #059669, #047857);
}

/* Stats Section */
.stats {
    background: #003366;
    color: white;
    padding: 60px 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    display: block;
}

/* Footer */
footer {
    background: #222;
    color: white;
    padding: 60px 50px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

.newsletter-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: row;
        text-align: center;
        padding: 8px 10px;
    }
    
    .contact-info span {
        display: inline;
        margin-bottom: 0;
    }
    
    /* News and Events Responsive */
    .news-events {
        padding: 60px 20px;
    }
    
    .news-events-header h2 {
        font-size: 2em;
    }
    
    .news-events-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title h3 {
        font-size: 1.5em;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-image {
        width: 100%;
        height: 200px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .event-date-box {
        min-width: 60px;
        padding: 12px 8px;
        margin-right: 15px;
    }
    
    .event-date-box .day {
        font-size: 1.5em;
    }
    
    .event-details h4 {
        font-size: 1.1em;
    }
    
    .main-nav {
        flex-direction: column;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
    }
}

/* Accessibility */
.btn:focus,
.nav-links a:focus {
    outline: 3px solid #ff6b00;
    outline-offset: 2px;
}

/* Slider Styles */
.slider-section {
    padding: 40px 0;
    background: var(--light-bg);
}

.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 500px;
    position: relative;
}

.slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s;
}

.slider.loading::before {
    opacity: 1;
}

.slide {
    min-width: 100%;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
}

.slide-content h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: var(--white);
    padding: 15px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(0,0,0,0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--white);
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-content,
.program-card,
.news-card,
.event-card {
    animation: fadeIn 1s ease-in;
}

/* Enhanced Error Message Styling */
.error-message {
    font-family: 'Arial', sans-serif;
    line-height: 1.5;
    border-radius: 6px;
    margin-top: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.duplicate-error {
    background: linear-gradient(135deg, #fdf2f2 0%, #fce4e4 100%);
    border-left: 4px solid #e74c3c;
    animation: slideInError 0.3s ease-out;
}

.duplicate-error strong {
    color: #c0392b;
    font-weight: 600;
}

.duplicate-error a {
    color: #e74c3c;
    text-decoration: underline;
    font-weight: 500;
}

.duplicate-error a:hover {
    color: #c0392b;
    text-decoration: none;
}

/* Error input field styling */
input.error {
    border-color: #e74c3c !important;
    border-width: 2px !important;
    background-color: #fdf9f9 !important;
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25) !important;
}

/* Success message styling for contrast */
.success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 4px solid #28a745;
    color: #155724;
    padding: 12px 15px;
    border-radius: 6px;
    margin-top: 8px;
    animation: slideInSuccess 0.3s ease-out;
}

/* Slide-in animations */
@keyframes slideInError {
    from {
        transform: translateX(-10px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInSuccess {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Enhanced main error message container */
#errorMessage {
    font-family: 'Arial', sans-serif;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.15);
    animation: slideInError 0.4s ease-out;
    line-height: 1.6;
}

#errorMessage strong {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
}

#errorMessage a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 500;
}

#errorMessage a:hover {
    text-decoration: none;
    background-color: rgba(255,255,255,0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE & TABLET
   ======================================== */

/* Tablet - Large (1024px - 1200px) */
@media (max-width: 1200px) {
    .hero {
        padding: 30px 40px;
    }
    
    .hero h1 {
        font-size: 2.5em;
    }
    
    .hero p {
        font-size: 1.3em;
    }
    
    .hero-logo img {
        width: clamp(80px, 10vw, 100px);
        max-height: clamp(100px, 12vw, 120px);
    }
}

/* Tablet - Medium (768px - 1024px) */
@media (max-width: 1024px) {
    /* Hero Section */
    .hero {
        padding: 30px;
        min-height: 250px;
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 2em;
    }
    
    .hero p {
        font-size: 1.1em;
    }
    
    .hero-logo img {
        width: clamp(70px, 9vw, 80px);
        max-height: clamp(90px, 11vw, 100px);
    }
    
    /* Navigation */
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 0.45em;
        padding: 3px 4px;
    }
    
    /* Featured Programs */
    .program-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .section-heading {
        font-size: 26px;
    }
    
    .program-cards {
        flex-direction: row;
        gap: 20px;
    }
    
    /* Welcome Info Section */
    .welcome-info-section {
        padding: 50px 30px;
    }
    
    /* Stats Section */
    .stats {
        padding: 40px 30px;
    }
    
    .stat-number {
        font-size: 2.5em;
    }
}

/* Mobile - Large (600px - 768px) */
@media (max-width: 768px) {
    /* Top Bar */
    .top-bar {
        flex-direction: column;
        padding: 15px 20px;
        gap: 10px;
    }
    
    .top-bar-left,
    .top-bar-right {
        width: 100%;
        justify-content: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .contact-info span {
        margin-right: 0;
    }
    
    .social-links {
        margin-top: 10px;
    }
    
    /* Hero Section */
    .hero {
        flex-direction: column;
        min-height: auto;
        padding: 25px 20px;
        gap: 15px;
    }
    
    .hero-logo {
        padding: clamp(6px, 1.5vw, 10px);
        flex-shrink: 1;
        min-width: auto;
    }
    
    .hero-logo.left-logo,
    .hero-logo.right-logo {
        display: block;
    }
    
    .hero-logo img {
        width: clamp(40px, 5.5vw, 70px);
        max-height: clamp(40px, 5.5vw, 70px);
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        padding: 10px;
    }
    
    .hero h1 {
        font-size: 1.5em !important;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1em !important;
    }
    
    /* Mobile Menu Toggle Button - Show on mobile */
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Navigation - Mobile Dropdown Style */
    header {
        display: block;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 998;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links > li > a {
        display: block;
        padding: 12px 18px;
        font-size: 0.9em;
        width: 100%;
    }
    
    .nav-links a:hover {
        background: #f5f5f5;
    }
    
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background: #f9f9f9;
        margin: 0;
        padding: 0;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown-content li {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .dropdown-content a {
        padding: 10px 18px 10px 35px;
        font-size: 0.85em;
    }
    
    /* Welcome Info Section */
    .welcome-info-section {
        padding: 40px 20px;
    }
    
    .welcome-info-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Featured Programs */
    .featured-programs {
        padding: 50px 20px;
    }
    
    .program-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .section-heading {
        font-size: 24px;
    }
    
    .program-cards {
        flex-direction: column;
        gap: 20px;
    }
    
    .program-card {
        width: 100%;
    }
    
    /* News and Events */
    .news-events {
        grid-template-columns: 1fr;
        padding: 50px 20px;
        gap: 30px;
    }
    
    /* Stats Section */
    .stats {
        flex-direction: column;
        padding: 40px 20px;
        gap: 25px;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .stat-number {
        font-size: 2.5em;
    }
    
    /* Footer */
    footer .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Slider */
    .slider-section {
        padding: 0;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Mobile - Small (max-width: 600px) */
@media (max-width: 600px) {
    /* Hero */
    .hero h1 {
        font-size: 1.5em !important;
    }
    
    .hero p {
        font-size: 1em !important;
    }
    
    /* Navigation - Hamburger style */
    .nav-links {
        flex-direction: column;
        gap: 5px;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        width: 100%;
        padding: 10px;
    }
    
    /* Buttons */
    .btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }
    
    /* News and Events Section */
    .news-events {
        padding: 40px 15px;
    }
    
    .news-events-header h2 {
        font-size: 1.8em;
    }
    
    .news-events-header p {
        font-size: 1em;
    }
    
    .section-title h3 {
        font-size: 1.3em;
    }
    
    .news-content h3 {
        font-size: 1.2em;
    }
    
    .news-content p {
        font-size: 0.95em;
    }
    
    .event-card {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .event-date-box {
        margin: 0 auto 15px;
        padding: 15px;
    }
    
    .event-details h4 {
        font-size: 1em;
    }
    
    .event-time,
    .event-location,
    .event-description {
        font-size: 0.9em;
    }
    
    .view-all-events {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
    
    /* Welcome Cards */
    .welcome-header h3,
    .links-card h3,
    .events-card h3 {
        font-size: 1.1em;
    }
    
    /* Program Cards */
    .program-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-heading {
        font-size: 22px;
    }
    
    .program-section {
        margin-bottom: 40px;
    }
    
    .program-card h3 {
        font-size: 1.2em;
        padding: 15px;
    }
    
    .program-card p {
        font-size: 0.9em;
        padding: 0 15px 15px;
    }
    
    /* Stats */
    .stat-number {
        font-size: 2em;
    }
    
    .stat-label {
        font-size: 0.9em;
    }
}

/* Mobile - Extra Small (max-width: 480px) */
@media (max-width: 480px) {
    .hero {
        padding: 20px 15px;
    }
    
    .hero h1 {
        font-size: 1.2em !important;
        line-height: 1.4;
    }
    
    .hero p {
        font-size: 0.9em !important;
    }
    
    .hero-logo img {
        width: clamp(40px, 5vw, 60px);
        max-height: clamp(40px, 5vw, 60px);
    }
    
    .main-nav {
        padding: 5px 0;
    }
    
    .nav-links a {
        font-size: 0.75em;
        padding: 6px 6px;
        letter-spacing: 0;
    }
    
    .nav-links {
        gap: 12px;
    }
    
    .nav-links > li > a {
        padding: 10px 12px;
        font-size: 0.8em;
    }
    
    .dropdown-content a {
        padding: 8px 12px 8px 28px;
        font-size: 0.75em;
    }
    
    /* News and Events - Extra Small */
    .featured-programs h2,
    .news-events-header h2 {
        font-size: 1.5em;
    }
    
    .section-title h3 {
        font-size: 1.2em;
    }
    
    .news-badge {
        font-size: 0.75em;
        padding: 4px 12px;
    }
    
    .news-content {
        padding: 15px;
    }
    
    .news-content h3 {
        font-size: 1.1em;
    }
    
    .event-date-box {
        min-width: 55px;
        padding: 10px;
    }
    
    .event-date-box .day {
        font-size: 1.3em;
    }
    
    .event-date-box .month {
        font-size: 0.8em;
    }
    
    .event-details h4 {
        font-size: 0.95em;
    }
    
    .welcome-info-section {
        padding: 30px 15px;
    }
    
    .featured-programs,
    .news-events {
        padding: 40px 15px;
    }
}

/* Image-based hero header (scoped) */
.hero-header {
    position: relative;
    width: 100%;
    height: clamp(90px, 12.5vh, 150px);
    overflow: hidden;
    display: block;
}

.hero-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-header-overlay {
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25));
}

.hero-inner {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 3vw, 20px);
    padding: clamp(12px, 2vw, 20px);
    color: #fff;
    flex-wrap: nowrap;
}

.hero-text {
    text-align: center;
    flex: 0 1 auto;
    min-width: 0;
}

.hero-text h1 {
    margin: 0 0 6px 0;
    font-size: clamp(1.25rem, 3.5vw + 0.5rem, 2.4rem);
    letter-spacing: 1px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.hero-text p {
    margin: 0;
    font-size: clamp(0.9rem, 1.6vw + 0.2rem, 1.1rem);
    color: rgba(255,255,255,0.95);
}

@keyframes float-to-center {
    0% {
        opacity: 0;
        transform: translateX(-100vw);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-brand {
    flex: 0 0 auto;
    animation: float-to-center 1.2s ease-out;
}

.hero-brand img {
    height: 64px;
    width: auto;
    display: block;
}

@media (max-width: 900px) {
    .hero-inner {
        flex-direction: row;
        text-align: center;
        gap: clamp(8px, 2vw, 12px);
        padding: clamp(10px, 1.5vw, 16px);
        flex-wrap: nowrap;
    }

    .hero-brand img {
        height: clamp(40px, 6vw, 56px);
    }
}

@media (max-width: 480px) {
    .hero-header {
        height: clamp(75px, 10vh, 100px);
    }

    .hero-text h1 {
        font-size: 1.15rem;
    }

    .hero-brand img {
        height: 44px;
    }
}

/* Mobile - Extra Extra Small (max-width: 360px) */
@media (max-width: 360px) {
    .main-nav {
        padding: 4px 0;
    }
    
    .nav-links a {
        font-size: 0.65em;
        padding: 4px 4px;
        letter-spacing: 0;
    }
    
    .nav-links {
        gap: 8px;
    }
    
    .nav-links > li > a {
        padding: 8px 8px;
        font-size: 0.7em;
    }
    
    .dropdown-content a {
        padding: 6px 10px 6px 24px;
        font-size: 0.65em;
    }
    
    .apply-now-btn-floating {
        order: 3;
        margin-left: auto;
        padding: 5px 10px;
        font-size: 0.7rem;
    }
}

/* Professional Header Info Boxes */
.hero-text div[style*="display: flex"] > div {
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.hero-text div[style*="display: flex"] > div:hover {
    transform: translateY(-3px);
}

.hero-text div[style*="display: flex"] > div span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.hero-text div[style*="display: flex"] > div:hover span {
    background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
    .hero-text div[style*="display: flex"] {
        gap: 15px !important;
    }
    
    .hero-text div[style*="display: flex"] > div {
        flex: 1 1 100%;
    }
}