/* ==========================================================================
   GLOBAL STYLES & OVERRIDES (Mobile First)
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Mobile */
}
@media (min-width: 768px) { .container { padding: 0 20px; } }

/* ==========================================================================
   HERO SECTION (Mobile First)
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #001f3f 100%);
    color: var(--white);
    padding: 80px 15px 60px; /* Mobile */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 1.8rem; /* Mobile */
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.05rem; /* Mobile */
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    color: var(--white);
}

@media (min-width: 768px) {
    .hero { padding: 120px 5% 80px; }
    .hero h1 { font-size: 2.5rem; margin-bottom: 1.5rem; }
    .hero p { font-size: 1.2rem; }
}

@media (min-width: 1200px) {
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1.3rem; }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    padding: 50px 15px; /* Mobile */
    background: var(--white);
}

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

.about-text h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem; /* Mobile */
    text-align: center;
    font-weight: 600;
}

.about-text h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 0.8rem 0;
    font-size: 1.3rem; /* Mobile */
    font-weight: 600;
    border-left: 4px solid var(--primary-color);
    padding-left: 0.8rem;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: left; /* Better readability on mobile */
}

.about-text ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem; /* Mobile */
}

.about-text li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.about-text strong {
    color: var(--secondary-color);
}

.highlight-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 1.5rem 1rem; /* Mobile */
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
    text-align: center;
    font-size: 1.05rem; /* Mobile */
    font-weight: 600;
    box-shadow: var(--box-shadow);
}

.tagline {
    text-align: center;
    font-size: 1.2rem; /* Mobile */
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0;
    font-style: italic;
}

@media (min-width: 768px) {
    .about-section { padding: 80px 5%; }
    .about-text h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
    .about-text h3 { font-size: 1.5rem; margin: 2rem 0 1rem 0; padding-left: 1rem; }
    .about-text p { font-size: 1.1rem; line-height: 1.8; text-align: justify; margin-bottom: 1.5rem; }
    .about-text ul { padding-left: 2rem; }
    .about-text li { margin-bottom: 1rem; line-height: 1.7; }
    .highlight-text { padding: 2rem; margin: 2rem 0; font-size: 1.2rem; }
    .tagline { font-size: 1.5rem; margin: 2rem 0; }
}

/* ==========================================================================
   ABOUT STATS
   ========================================================================== */
.about-stats {
    display: grid;
    grid-template-columns: 1fr; /* Mobile */
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-card h3 {
    font-size: 2rem; /* Mobile */
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-card p {
    color: var(--text-light);
    font-weight: 600;
    margin: 0;
}

@media (min-width: 576px) {
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .stat-card h3 { font-size: 2.2rem; }
}

@media (min-width: 992px) {
    .about-stats { grid-template-columns: repeat(4, 1fr); margin-top: 4rem; }
    .stat-card h3 { font-size: 2.5rem; }
    .stat-card { padding: 2rem; }
}

/* ==========================================================================
   MISSION VISION SECTION
   ========================================================================== */
.mission-vision {
    padding: 50px 15px; /* Mobile */
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mv-card {
    background: var(--white);
    padding: 1.5rem; /* Mobile */
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

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

.mv-card h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 1.5rem;
}

.mv-card h2 i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.mv-card p {
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 1rem;
    text-align: left !important;
}

@media (min-width: 768px) {
    .mission-vision { padding: 80px 5%; }
    .mv-card { padding: 2rem; }
    .mv-card h2 { font-size: 1.8rem; margin-bottom: 1.5rem; gap: 1rem; }
    .mv-card h2 i { font-size: 1.5rem; }
    .mv-card p { font-size: 1.1rem; line-height: 1.8; }
}

@media (min-width: 992px) {
    .mv-grid { grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 3rem; }
    .mv-card { padding: 3rem; }
}

/* ==========================================================================
   COURSE LIST STYLES
   ========================================================================== */
.course-list {
    margin: 2rem 0;
}

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

.course-category h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.course-items {
    display: grid;
    grid-template-columns: 1fr; /* Mobile */
    gap: 1rem;
}

.course-item {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.course-item:hover {
    transform: translateX(5px);
    box-shadow: var(--box-shadow);
}

@media (min-width: 576px) {
    .course-items { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
}

@media (min-width: 768px) {
    .course-category h4 { font-size: 1.3rem; }
    .course-items { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
    .course-item { padding: 1.5rem; }
}

/* ==========================================================================
   ANIMATIONS, SHAPES & ACCESSIBILITY
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    z-index: 0;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}
.floating-shape.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: currentColor;
}
.floating-shape.square {
    width: 80px;
    height: 80px;
    background: currentColor;
    transform: rotate(45deg);
}
.floating-shape.triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 80px solid currentColor;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(15deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatReverse {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(20px) rotate(-15deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

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

.hero-content, .about-text, .stat-card, .mv-card {
    animation: fadeInUp 0.6s ease-out;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    .stat-card, .mv-card, .hero-content, .about-text {
        animation: none; transition: none;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
    .hero { background: #001f3f !important; color: #000 !important; }
    .stat-card, .mv-card { box-shadow: none; border: 1px solid #ccc; }
}