:root {
    --primary: #153462;
    --secondary: #5c9ab5;
    --accent: #153462;
    --dark: #153462;
    --darker: #0f2847;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--primary);
    color: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 280px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 5px;
    margin-top: 5px;
    padding-top: 5px;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
}

.dropdown-menu li {
    border-bottom: 1px solid #e9ecef;
}

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

.dropdown-menu a {
    color: var(--dark);
    padding: 12px 20px;
    display: block;
    transition: background 0.3s;
    white-space: normal;
}

.dropdown-menu a:hover {
    background: var(--light);
    opacity: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.hero-banner {
    background: linear-gradient(rgba(21, 52, 98, 0.5), rgba(21, 52, 98, 0.7)), url('../assets/banner/healthcare.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 80px 20px 40px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.hero-banner .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 520px;
}

.hero-layout {
    display: flex;
    align-items: center;
    min-height: 400px;
}

.hero-left {
    max-width: 700px;
    text-align: left;
}

.hero-accreditations {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 30px 0;
    border-top: 2px solid rgba(255,255,255,0.2);
}

.hero-accreditations img {
    height: 70px;
    width: auto;
    object-fit: contain;
    opacity: 1;
    transition: all 0.3s;
}

.hero-accreditations img[src*="Ranking 4"],
.hero-accreditations img[src*="Ranking%204"] {
    filter: brightness(0) invert(1);
}

.hero-accreditations img:hover {
    transform: scale(1.05);
}

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

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 15px;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.4;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 50px 0;
    animation: fadeInUp 1.6s ease;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px 35px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 500;
}

.btn-hero {
    animation: fadeInUp 1.8s ease;
    font-size: 1.2rem;
    padding: 18px 50px;
    background: var(--secondary);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.btn-hero:hover {
    background: transparent;
    border-color: var(--white);
    transform: translateY(-3px);
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--accent);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21, 52, 98, 0.3);
    background: #153462;
    border-color: #153462;
}

/* Accreditations Banner */
.accreditations-banner {
    background: linear-gradient(135deg, var(--darker), var(--dark));
    padding: 30px 0;
    overflow: hidden;
    border-top: 3px solid var(--primary);
    border-bottom: 3px solid var(--primary);
}

.accreditations-scroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.accreditations-scroll img {
    height: 80px;
    width: auto;
    object-fit: contain;
    opacity: 1;
    transition: all 0.3s;
}

.accreditations-scroll img:hover {
    transform: scale(1.1);
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--white), var(--light));
}

.about-section .section-title {
    font-size: 2.8rem;
    margin-bottom: 40px;
    color: var(--dark);
}

.intro-text {
    font-size: 1.2rem;
    line-height: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    color: var(--gray);
}

/* Course Grid */
.courses-section {
    padding: 80px 20px;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

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

.course-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(21, 52, 98, 0.1);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(21, 52, 98, 0.2);
    border-color: #153462;
}

.course-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.course-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-content h3 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.course-content p {
    color: var(--gray);
    margin-bottom: 20px;
    flex: 1;
}

.course-content .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Course Detail Page */
.course-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
}

.course-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    z-index: 1;
}

.course-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 50px 20px;
    gap: 40px;
}

.course-hero-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.course-hero-right {
    text-align: right;
    max-width: 650px;
    flex: 1;
}

.course-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 3px 3px 15px rgba(0,0,0,0.8);
    line-height: 1.2;
}

.course-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    line-height: 1.7;
}

.btn-apply {
    display: inline-block;
    padding: 18px 45px;
    background: var(--secondary);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s;
    border: 2px solid var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    align-self: flex-start;
}

.btn-apply:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.back-home {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    z-index: 10;
}

.back-home:hover {
    background: rgba(255,255,255,0.25);
    transform: translateX(-3px);
}

.content-section {
    padding: 60px 20px;
    background: var(--white);
}

.partner-section {
    background: linear-gradient(135deg, #153462, #5c9ab5);
    padding: 60px 40px;
    border-radius: 0;
    margin: 0;
    text-align: center;
    color: var(--white);
}

.partner-section h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.partner-logo {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    margin: 25px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.partner-section p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.highlight-box {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 5px solid #5c9ab5;
    transition: all 0.3s;
}

.highlight-box:hover {
    transform: translateX(8px);
    box-shadow: 0 6px 25px rgba(21, 52, 98, 0.15);
    border-left-color: #153462;
}

.highlight-box h4 {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

/* Eligibility Section */
.eligibility-section {
    background: var(--light);
    padding: 40px;
    border-radius: 10px;
    margin: 40px 0;
}

.eligibility-section h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Course Table */
.course-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.course-table th {
    background: var(--primary);
    color: var(--white);
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.course-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
}

.course-table tr:hover {
    background: #f8f9fa;
}

/* FAQ Section */
.faq-section {
    padding: 60px 20px;
    background: var(--light);
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    color: var(--primary);
    font-size: 1.3rem;
    margin: 0;
    padding: 20px 50px 20px 25px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--light);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.8;
    padding: 0 25px 20px 25px;
    margin: 0;
}

/* Apply Now Nav Button */
.nav-apply-btn {
    background: #5c9ab5;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 700 !important;
    transition: background 0.3s, transform 0.2s !important;
}

.nav-apply-btn:hover {
    background: #fff !important;
    color: #153462 !important;
    opacity: 1 !important;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #0f2847;
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #5c9ab5;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo img {
        height: 50px;
        width: 50px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background: rgba(255,255,255,0.1);
        margin-top: 10px;
    }
    
    .dropdown:hover .dropdown-menu,
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        color: var(--white);
        padding: 8px 20px;
    }
    
    .dropdown-menu a:hover {
        background: rgba(255,255,255,0.1);
    }
    
    .hero-banner {
        padding: 60px 20px 30px;
        min-height: auto;
    }
    
    .hero-layout {
        min-height: auto;
    }
    
    .hero-left {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .hero-accreditations {
        gap: 25px;
        padding: 20px 0;
    }
    
    .hero-accreditations img {
        height: 50px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px 30px;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .accreditations-scroll {
        gap: 30px;
    }
    
    .accreditations-scroll img {
        height: 60px;
    }
    
    .about-section .section-title {
        font-size: 2rem;
    }
    
    .intro-text {
        font-size: 1.1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .course-hero {
        min-height: 500px;
        align-items: flex-end;
    }
    
    .course-hero .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
    
    .course-hero-right {
        text-align: left;
        max-width: 100%;
    }
    
    .course-hero h1 {
        font-size: 2rem;
    }
    
    .course-hero p {
        font-size: 1rem;
    }
    
    .btn-apply {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .course-table {
        font-size: 0.9rem;
    }
    
    .course-table th,
    .course-table td {
        padding: 10px;
    }
    
    .partner-section {
        padding: 40px 20px;
    }
    
    .partner-logo {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-text {
        font-size: 0.95rem;
    }
    
    .hero-accreditations {
        gap: 20px;
    }
    
    .hero-accreditations img {
        height: 45px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .accreditations-scroll {
        gap: 20px;
    }
    
    .accreditations-scroll img {
        height: 50px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .btn-hero {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
}
