/* Base Styles */
:root {
    --primary-color: #1c1d27;
    --secondary-color: #e74c3c;
    --accent-color: #ff6b6b;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #333;
    --text-light: #6c757d;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}
/* 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

/* body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
} */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loader Styles */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    position: relative;
    width: 120px;
    height: 120px;
}

.loader-circle {
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
    animation: rotate linear infinite;
}

.loader-circle-outer {
    width: 100%;
    height: 100%;
    border-top-color: var(--secondary-color);
    animation-duration: 2s;
}

.loader-circle-middle {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-top-color: var(--accent-color);
    animation-duration: 1.5s;
    animation-direction: reverse;
}

.loader-circle-inner {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-top-color: var(--light-color);
    animation-duration: 1s;
}

.loader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
}

.loader-text {
    margin-top: 30px;
    display: flex;
}

.loader-text span {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0 3px;
    animation: pulse 1.5s infinite;
}

.loader-text span:nth-child(1) { animation-delay: 0.1s; }
.loader-text span:nth-child(2) { animation-delay: 0.2s; }
.loader-text span:nth-child(3) { animation-delay: 0.3s; }
.loader-text span:nth-child(4) { animation-delay: 0.4s; }
.loader-text span:nth-child(5) { animation-delay: 0.5s; }
.loader-text span:nth-child(6) { animation-delay: 0.6s; }
.loader-text span:nth-child(7) { animation-delay: 0.7s; }
.loader-text span:nth-child(8) { animation-delay: 0.8s; }
.loader-text span:nth-child(9) { animation-delay: 0.9s; }

@keyframes rotate {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Hero Section */
.hero-section about-hero {
    background: #1a2a3a;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
  }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a2a3a;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
}

.highlight {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 200;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.breadcrumb {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

/* Program Showcase */
.program-showcase {
    padding: 80px 0;
    background-color: var(--light-color);
}

.image-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}

.horizontal-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* About Programs Section */
.about-programs-section {
    padding: 80px 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: var(--font-secondary);
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-container p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Program Features Section */
.program-features-section {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.section-box {
    background: linear-gradient(135deg, rgb(251, 251, 253) 0%, #f9f9f9 100%);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.section-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.section-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--secondary-color);
    transition: height 0.3s ease;
    border-radius: 0 5px 5px 0;
}

.section-box:hover::before {
    height: 100%;
}

.program-icon {
    margin-bottom: 20px;
    font-size: 2.5rem; /* Slightly larger for visual impact */
    color: var(--secondary-color);
}

.section-box h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.section-box p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Optional: subtle inner line on hover for extra depth */
.section-box:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.program-benefits {
    list-style: none;
    margin-bottom: 25px;
}

.program-benefits li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.program-benefits i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.view-more-btn:hover {
    background: var(--secondary-color);
    transform: translateX(5px);
    color: white;
}

.view-more-btn i {
    margin-left: 8px;
    transition: var(--transition);
}

.view-more-btn:hover i {
    transform: translateX(3px);
}

/* CTA Section */
/* .cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #2a3a5a);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.cta-btn i {
    margin-left: 8px;
}

.cta-btn.primary {
    background: var(--secondary-color);
    color: white;
}

.cta-btn.primary:hover {
    background: #1a7fd8;
    transform: translateY(-3px);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
} */

/* Responsive Styles */
@media (max-width: 992px) {
    .main-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .horizontal-image {
        height: 400px;
    }
}
@media (max-width: 768px) {
    .section-grid {
      grid-template-columns: 1fr; /* Stack vertically on small screens */
    }
  }
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        margin-bottom: 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 50vh;
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}