/* Base Styles */
:root {
    --primary-color: #151622; /* #3b4bf9 */
    --primary-hover: #2938d8;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --header-height: 80px;
    --font-main: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: #f9fafb; /* Light background for the body */
    /* Add some padding to see the sticky effect when scrolling */
    min-height: 200vh;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--bg-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* Subtle shadow like in the image */
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
    border-radius: 8px; /* Soft edges for logo container if needed */
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text-dark);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px; /* Offset for the underline as seen in the image */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    gap: 8px; /* space between icon and text */
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    box-shadow: 0 2px 4px rgba(59, 75, 249, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(59, 75, 249, 0.3);
}

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

.btn-outline:hover {
    background-color: rgba(59, 75, 249, 0.05); /* Light blue tint */
}

.icon {
    display: inline-block;
}

/* ==================== PAGE HEADER SECTION ==================== */
.page-header {
    margin-top: var(--header-height);
    padding: 6rem 0 5rem;
    background-color: #f9fafb;
    text-align: center;
}

.page-header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.breadcrumb a {
    color: #f97316; /* Orange color */
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #ea580c;
}

.breadcrumb .separator {
    color: var(--text-light);
    font-size: 1.25rem;
    line-height: 1;
    margin: 0 0.25rem;
}

.breadcrumb .current {
    color: var(--primary-color);
}

/* ==================== PAGE BANNER SECTION ==================== */
.page-banner {
    margin-top: var(--header-height);
    padding: 8rem 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    color: white;
}

.page-banner-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    text-align: start;
}

.page-banner-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
}

.page-banner-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

/* ==================== TRAINER STATS SECTION ==================== */
.trainer-stats {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    padding: 4.5rem 0;
    color: white;
}

.trainer-stats-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stats-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.stat-icon-wrapper svg {
    color: white;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-item p {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* ==================== FACULTY SECTION ==================== */
.faculty-section {
    padding: 6rem 0;
    background-color: #f9fafb;
}

.faculty-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faculty-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faculty-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.faculty-header p {
    font-size: 1.15rem;
    color: var(--text-light);
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.faculty-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #ebedf0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.faculty-image-wrapper {
    position: relative;
    height: 240px;
    width: 100%;
}

.faculty-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
}

.subject-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.5rem;
    background-color: #ffffff;
    color: var(--primary-color);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

.faculty-info {
    padding: 2rem 1.5rem;
}

.faculty-info h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.faculty-info .qualification {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.faculty-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faculty-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.highlight-icon {
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.faculty-highlights span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ==================== COURSES SECTION ==================== */
.courses-section {
    padding: 4rem 0 6rem;
    background-color: #ffffff;
}

.courses-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.course-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 3.5rem;
    box-shadow: 0 4px 25px 0px rgb(0 0 0 / 12%);
}

.course-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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

.course-highlight {
    background-color: #f0f7ff;
    border-left: 3px solid #3b82f6;
    padding: 1.5rem 2rem;
    border-radius: 4px 8px 8px 4px;
    margin-bottom: 3rem;
}

.course-highlight p {
    font-style: italic;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.7;
}

.course-details-wrapper {
    background-color: #f9fafb;
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid #ebedf0;
}

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

.details-tab h3 {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ea580c; /* Orange border */
}

.details-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    background-color: #ffffff;
    border: 1px solid #ebedf0;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.01);
}

.detail-item .primary-detail {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.detail-item .primary-detail strong {
    color: #3b82f6; /* Blue text */
}

.detail-item .secondary-detail {
    font-size: 0.85rem;
    color: var(--text-light);
    padding-left: 1.25rem;
    border-left: 2px solid #e5e7eb;
}

/* ==================== ELIGIBILITY SECTION ==================== */
.eligibility-section {
    padding: 2rem 0;
    background-color: #f9fafb;
}

.eligibility-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.eligibility-category {
    margin-bottom: 4rem;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.category-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #ea580c; /* Orange color */
    padding-left: 1.25rem;
    position: relative;
    letter-spacing: -0.5px;
}

.category-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 4px;
    background-color: #ea580c;
    border-radius: 2px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 25px 0px rgb(0 0 0 / 12%);
    border: 1px solid #ebedf0;
}

.eligibility-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.eligibility-table th {
    background-color: #f97316; /* Orange header background */
    color: #ffffff;
    text-align: left;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.eligibility-table th:first-child {
    border-top-left-radius: 12px;
    width: 30%;
}

.eligibility-table th:last-child {
    border-top-right-radius: 12px;
}

.eligibility-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #ebedf0;
    color: var(--text-dark);
    font-size: 0.8rem;
    background-color: #ffffff;
}

.eligibility-table tbody tr:last-child td {
    border-bottom: none;
}

.eligibility-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.eligibility-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

.eligibility-table td strong {
    font-weight: 700;
    color: var(--text-dark);
}

.eligibility-table td span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ==================== MEDICAL SECTION ==================== */
.medical-section {
    padding: 3rem 0;
    background-color: #ffffff;
}

.medical-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.medical-header h2 {
    color: var(--text-dark);
}

.medical-header h2::before {
    background-color: #3b82f6; /* Blue bar */
}

.medical-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 25px 0px rgb(0 0 0 / 12%);
    border: 1px solid #ebedf0;
}

.medical-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.medical-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.list-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background-color: #3b4bf9; /* Primary blue color */
    color: #ffffff;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 600;
}

.medical-list p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-top: 6px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - var(--header-height));
    margin-top: var(--header-height);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    position: relative;
}

.hero-content {
    max-width: 650px;
    color: white;
    /* Move slightly up to balance the scroll indicator visually */
    transform: translateY(-20px);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.text-gradient {
    /* Gentle light blue to soft purple gradient for "Success" */
    background: linear-gradient(90deg, #81a1f0, #c0a9fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hero Variant Buttons */
.btn-white {
    background-color: white;
    color: var(--text-dark);
    border: 1px solid white;
}

.btn-white:hover {
    background-color: #f3f4f6;
    border-color: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-white .icon {
    color: var(--primary-color);
    transition: transform 0.2s ease;
}

.btn-white:hover .icon {
    transform: translateX(4px);
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

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

/* Scroll Mouse Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
}

.mouse {
    width: 25px;
    height: 42px;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    position: relative;
    animation: bounce 2s infinite;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 8px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 50%;
    animation: scroll 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 5px); opacity: 0.5; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}

@keyframes bounce {
    0% { transform: translateY(0); }
    50% { transform: translateY(5px); }
    100% { transform: translateY(0); }
}

/* ==================== ABOUT US SECTION ==================== */
.about-us {
    padding: 6rem 0;
    background-color: #ffffff;
}

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

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.about-header p {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 600;
}

.about-text {
    background-color: #f9fafb;
    border-radius: 16px;
    padding: 3.5rem;
    border: 1px solid #ebedf0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
}

.about-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.locations-box {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid #ebedf0;
}

.locations-box h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.locations-box p {
    margin-bottom: 0;
}

/* ==================== ACHIEVEMENTS SECTION ==================== */
.achievements {
    padding: 6rem 0;
}

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

.achievements-header {
    text-align: center;
    margin-bottom: 4rem;
}

.achievements-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.achievements-header p {
    font-size: 1.15rem;
    color: var(--text-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-card h3 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    line-height: 1;
}

.stat-card p {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ==================== FEATURES SECTION ==================== */
.features {
    padding: 6rem 0;
    background-color: #ffffff;
}

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

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.features-header p {
    font-size: 1.15rem;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background-color: #ffffff;
    border: 1px solid #ebedf0;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== MD'S MESSAGE SECTION ==================== */
.md-message {
    padding: 2rem 0;
    background-color: #f9fafb; /* Separation from white features section */
}

.md-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.md-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 3.5rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
    border: 1px solid #ebedf0;
}

.md-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #ebedf0;
    padding-bottom: 2rem;
}

.md-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(59, 75, 249, 0.15);
    border: 2px solid white;
}

.md-title h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
}

.md-title span {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
}

.md-content {
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: -20px;
    color: rgba(59, 75, 249, 0.08);
    z-index: 0;
}

.md-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.md-content p:last-child {
    margin-bottom: 0;
}

/* ==================== CTA SECTION ==================== */
.cta {
    padding: 6rem 0;
    /* Vibrant blue-purple gradient */
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: white;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.cta p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-btn {
    border-radius: 8px;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    color: var(--primary-color);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.cta-orange {
    background: linear-gradient(90deg, #ea580c, #dc2626); /* Orange to Red */
}

.cta-orange .cta-btn {
    color: #ea580c;
}

.cta-orange .btn-white .icon {
    color: #ea580c;
}

/* ==================== CTA LIGHT SECTION ==================== */
.cta-light {
    padding: 6rem 0;
    background-color: #ffffff;
    text-align: center;
}

.cta-light-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-light h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.cta-light p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.btn-gradient {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-gradient:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    color: white; /* Keep white on hover */
}

/* ==================== FOOTER SECTION ==================== */
.footer {
    background-color: #111827; /* very dark slate base */
    color: #9ca3af; /* muted gray */
    padding-top: 5rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.25rem;
}

.footer-logo .logo-img {
    height: 36px;
}

.footer-logo .logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 85%;
}

.footer-heading {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer a {
    transition: color 0.2s ease;
    color: inherit;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(156, 163, 175, 0.8);
}

/* Mobile Menu Toggle (hidden on desktop) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto; /* push it right if actions are hidden */
}

/* Responsive */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 2rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        gap: 1.5rem;
        
        /* Hidden state */
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link.active::after {
        display: none; /* remove absolute underline on mobile block design */
    }
    .about-text {
        padding: 2.5rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .md-card {
        padding: 2.5rem;
    }
    .md-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .footer-brand {
        grid-column: span 2;
    }
    .footer-desc {
        max-width: 100%;
    }
    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .header-actions {
        display: none;
    }
    
    .header-container {
        padding: 0 1rem;
    }

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

    .achievements-header h2, .features-header h2 {
        font-size: 2.25rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    .course-card {
        padding: 1.5rem;
    }
    .course-details-wrapper{
        padding: 1.5rem 1rem;
    }
    .stats-grid-3 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .faculty-grid {
        grid-template-columns: 1fr;
    }
}
