/* ===================================================================
   CLARITY MINDS INSTITUTE — ACADEMIC CLASSIC STYLESHEET
   Serif headings, bordered sections, traditional card grid, navy/lavender
   =================================================================== */

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.7;
    background: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #1B2A4A;
    line-height: 1.3;
}

a {
    color: #9B8EC4;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #1B2A4A;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.section-subtitle {
    font-size: 1rem;
    color: #9B8EC4;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 600;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 20px;
    position: relative;
}

.text-center .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #9B8EC4;
    margin: 16px auto 0;
}

.section-desc {
    max-width: 680px;
    margin: 0 auto 48px;
    color: #555;
    font-size: 1.05rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #9B8EC4;
    color: #fff;
    border: 2px solid #9B8EC4;
}

.btn-primary:hover {
    background: #7b6dab;
    border-color: #7b6dab;
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: #9B8EC4;
    border: 2px solid #9B8EC4;
}

.btn-secondary:hover {
    background: #9B8EC4;
    color: #fff;
}

.btn-dark {
    background: #1B2A4A;
    color: #fff;
    border: 2px solid #1B2A4A;
}

.btn-dark:hover {
    background: #2d4270;
    border-color: #2d4270;
    color: #fff;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== HEADER (Sticky, Traditional) ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e8e4f0;
    transition: box-shadow 0.3s, background 0.3s;
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(27, 42, 74, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.logo svg {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: Georgia, serif;
    font-size: 1.2rem;
    color: #1B2A4A;
    font-weight: 700;
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 0.7rem;
    color: #9B8EC4;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
}

/* ===== NAV — Underline on Hover ===== */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    color: #1B2A4A;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    text-decoration: none;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #9B8EC4;
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: #9B8EC4;
}

.nav-cta {
    padding: 10px 24px;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: #1B2A4A;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO — Navy Gradient with Text Overlay ===== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #1B2A4A 0%, #2d4270 60%, #3a5590 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 42, 74, 0.85) 0%, rgba(27, 42, 74, 0.6) 100%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9B8EC4, #7b6dab, #9B8EC4);
}

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

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: rgba(155, 142, 196, 0.2);
    color: #c4b8e8;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 24px;
    letter-spacing: 1px;
    border: 1px solid rgba(155, 142, 196, 0.3);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat h3 {
    font-size: 2.2rem;
    color: #9B8EC4;
    font-family: Georgia, serif;
}

.hero-stat p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

/* ===== STATS COUNTER ===== */
.stats-section {
    background: #f8f7fc;
    border-top: 1px solid #e8e4f0;
    border-bottom: 1px solid #e8e4f0;
}

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

.stat-card {
    text-align: center;
    padding: 40px 20px;
    border-right: 1px solid #e8e4f0;
}

.stat-card:last-child {
    border-right: none;
}

.stat-icon {
    margin-bottom: 16px;
}

.stat-icon svg {
    width: 40px;
    height: 40px;
    color: #9B8EC4;
}

.stat-number {
    font-size: 2.8rem;
    font-family: Georgia, serif;
    color: #1B2A4A;
    font-weight: 700;
}

.stat-label {
    color: #666;
    margin-top: 4px;
    font-size: 0.95rem;
}

/* ===== COURSES CARDS — Traditional with Borders ===== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.course-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #d8d3e8;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(27, 42, 74, 0.12);
    border-color: #9B8EC4;
}

.course-card-header {
    background: linear-gradient(135deg, #1B2A4A, #2d4270);
    padding: 28px 24px;
    position: relative;
}

.course-card-header .course-level {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(155, 142, 196, 0.3);
    color: #c4b8e8;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid rgba(155, 142, 196, 0.4);
}

.course-card-header .course-icon {
    width: 48px;
    height: 48px;
    background: rgba(155, 142, 196, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid rgba(155, 142, 196, 0.3);
}

.course-card-header .course-icon svg {
    width: 24px;
    height: 24px;
    color: #9B8EC4;
}

.course-card-header h3 {
    color: #fff;
    font-size: 1.15rem;
}

.course-card-body {
    padding: 24px;
    border-top: 3px solid #9B8EC4;
}

.course-card-body p {
    color: #555;
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.course-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8e4f0;
}

.course-meta span {
    font-size: 0.82rem;
    color: #777;
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-meta svg {
    width: 14px;
    height: 14px;
}

.course-price {
    font-size: 1.3rem;
    font-family: Georgia, serif;
    color: #1B2A4A;
    font-weight: 700;
}

.course-price small {
    font-size: 0.8rem;
    color: #999;
    font-weight: 400;
    font-family: 'Segoe UI', sans-serif;
}

/* ===== FEATURED INSTRUCTORS ===== */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 32px;
}

.instructor-card {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #d8d3e8;
    transition: border-color 0.3s;
}

.instructor-card:hover {
    border-color: #9B8EC4;
}

.instructor-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1B2A4A, #9B8EC4);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #9B8EC4;
}

.instructor-avatar svg {
    width: 48px;
    height: 48px;
    color: #fff;
}

.instructor-card h4 {
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.instructor-card .credential {
    color: #9B8EC4;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.instructor-card p {
    font-size: 0.88rem;
    color: #666;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: #1B2A4A;
    color: #fff;
    border-top: 4px solid #9B8EC4;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(155, 142, 196, 0.3);
    border-radius: 4px;
    padding: 32px;
}

.testimonial-card:hover {
    border-color: #9B8EC4;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    color: #9B8EC4;
    fill: #9B8EC4;
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
    border-left: 3px solid #9B8EC4;
    padding-left: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(155, 142, 196, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #9B8EC4;
}

.testimonial-author-avatar svg {
    width: 22px;
    height: 22px;
    color: #9B8EC4;
}

.testimonial-author-info h4 {
    font-size: 0.95rem;
    color: #fff;
}

.testimonial-author-info p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
    background: linear-gradient(135deg, #9B8EC4 0%, #7b6dab 100%);
    color: #fff;
    padding: 60px 0;
    border-top: 4px solid #1B2A4A;
    border-bottom: 4px solid #1B2A4A;
}

.newsletter-section h2 {
    color: #fff;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.95);
}

.newsletter-form input:focus {
    outline: none;
    border-color: #1B2A4A;
}

.newsletter-form .btn {
    white-space: nowrap;
}

/* ===== PAGE HERO (Inner Pages) ===== */
.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #1B2A4A, #2d4270);
    color: #fff;
    text-align: center;
    border-bottom: 4px solid #9B8EC4;
}

.page-hero h1 {
    color: #fff;
    font-size: 2.6rem;
    margin-bottom: 12px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: #9B8EC4;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== ABOUT PAGE ===== */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-content h2 {
    margin-bottom: 16px;
}

.mission-content p {
    color: #555;
    margin-bottom: 16px;
}

.values-list {
    margin-top: 24px;
}

.values-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8e4f0;
}

.values-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.values-list li svg {
    width: 24px;
    height: 24px;
    color: #9B8EC4;
    flex-shrink: 0;
    margin-top: 2px;
}

.values-list li strong {
    color: #1B2A4A;
}

.mission-image {
    background: linear-gradient(135deg, #f8f7fc, #ece8f5);
    border-radius: 4px;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid #d8d3e8;
}

.mission-image svg {
    width: 200px;
    height: 200px;
    color: #9B8EC4;
    opacity: 0.4;
}

/* ===== TEAM GRID ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 28px;
}

.team-card {
    text-align: center;
    padding: 28px 16px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #d8d3e8;
    transition: border-color 0.3s;
}

.team-card:hover {
    border-color: #9B8EC4;
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1B2A4A, #9B8EC4);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #9B8EC4;
}

.team-avatar svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

.team-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.team-card .role {
    color: #9B8EC4;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-card .creds {
    font-size: 0.78rem;
    color: #999;
    margin-bottom: 8px;
}

.team-card p {
    font-size: 0.85rem;
    color: #666;
}

/* ===== PARTNERS ===== */
.partners-strip {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    align-items: center;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo svg {
    width: 48px;
    height: 48px;
    color: #1B2A4A;
}

.partner-logo span {
    font-size: 0.8rem;
    color: #777;
}

/* ===== COURSES PAGE (Detail Cards) ===== */
.courses-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid #d8d3e8;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 0.88rem;
    transition: all 0.3s;
    color: #555;
}

.filter-btn:hover,
.filter-btn.active {
    background: #9B8EC4;
    color: #fff;
    border-color: #9B8EC4;
}

.course-detail-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #d8d3e8;
    margin-bottom: 28px;
    transition: border-color 0.3s;
}

.course-detail-card:hover {
    border-color: #9B8EC4;
}

.course-detail-header {
    background: linear-gradient(135deg, #1B2A4A, #2d4270);
    padding: 32px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 3px solid #9B8EC4;
}

.course-detail-header h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.course-detail-header .course-level {
    background: rgba(155, 142, 196, 0.3);
    color: #c4b8e8;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
    border: 1px solid rgba(155, 142, 196, 0.4);
}

.course-detail-header .price-tag {
    font-size: 2rem;
    font-family: Georgia, serif;
    color: #9B8EC4;
}

.course-detail-header .price-tag small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    font-family: 'Segoe UI', sans-serif;
}

.course-detail-body {
    padding: 32px;
}

.course-detail-body p {
    color: #555;
    margin-bottom: 16px;
}

.curriculum-list {
    margin-top: 12px;
}

.curriculum-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e8e4f0;
    color: #444;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.curriculum-list li svg {
    width: 16px;
    height: 16px;
    color: #9B8EC4;
    flex-shrink: 0;
}

.course-detail-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e8e4f0;
}

.course-detail-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: #777;
}

.course-detail-meta svg {
    width: 16px;
    height: 16px;
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.pricing-card {
    background: #fff;
    border-radius: 4px;
    padding: 40px 32px;
    border: 2px solid #d8d3e8;
    transition: border-color 0.3s;
    position: relative;
}

.pricing-card:hover {
    border-color: #9B8EC4;
}

.pricing-card.featured {
    border-color: #9B8EC4;
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #9B8EC4;
    color: #fff;
    padding: 4px 20px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.pricing-card .price {
    font-size: 2.6rem;
    font-family: Georgia, serif;
    color: #1B2A4A;
    margin: 16px 0;
}

.pricing-card .price small {
    font-size: 0.9rem;
    color: #999;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 400;
}

.pricing-card .price-desc {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e8e4f0;
}

.pricing-features {
    margin-bottom: 28px;
}

.pricing-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: #555;
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    color: #9B8EC4;
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 48px;
    border: 1px solid #d8d3e8;
}

.comparison-table th,
.comparison-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid #e8e4f0;
    font-size: 0.92rem;
}

.comparison-table th {
    background: #1B2A4A;
    color: #fff;
    font-family: Georgia, serif;
    font-weight: 600;
}

.comparison-table th:first-child {
    border-radius: 0;
}

.comparison-table th:last-child {
    border-radius: 0;
}

.comparison-table td:first-child {
    font-weight: 600;
    color: #1B2A4A;
}

.comparison-table tr:hover {
    background: #f8f7fc;
}

.comparison-table .check-icon {
    color: #9B8EC4;
}

.comparison-table .dash {
    color: #ccc;
}

/* ===== BLOG LISTING ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.blog-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #d8d3e8;
    transition: transform 0.3s, border-color 0.3s;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: #9B8EC4;
}

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, #1B2A4A, #2d4270);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-image svg {
    width: 60px;
    height: 60px;
    color: rgba(155, 142, 196, 0.4);
}

.blog-card-image .category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(155, 142, 196, 0.9);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-card-body {
    padding: 24px;
    border-top: 3px solid #9B8EC4;
}

.blog-card-body .date {
    font-size: 0.82rem;
    color: #999;
    margin-bottom: 8px;
}

.blog-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.blog-card-body h3 a {
    color: #1B2A4A;
}

.blog-card-body h3 a:hover {
    color: #9B8EC4;
}

.blog-card-body p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 16px;
}

.blog-read-more {
    font-size: 0.88rem;
    font-weight: 600;
    color: #9B8EC4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.blog-read-more:hover {
    color: #1B2A4A;
}

.blog-read-more svg {
    width: 16px;
    height: 16px;
}

/* ===== BLOG ARTICLE (Single Post) ===== */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
}

.blog-article-banner {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 32px;
    border: 1px solid #d8d3e8;
}

.blog-article-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e4f0;
}

.blog-article-meta span {
    font-size: 0.88rem;
    color: #777;
}

.blog-article-category {
    color: #9B8EC4 !important;
    font-weight: 600;
}

.blog-article-content h2 {
    font-size: 1.6rem;
    margin: 36px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8e4f0;
}

.blog-article-content h3 {
    font-size: 1.25rem;
    margin: 28px 0 12px;
}

.blog-article-content p {
    color: #444;
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.8;
}

.blog-article-cta {
    background: #f8f7fc;
    border: 1px solid #d8d3e8;
    border-radius: 4px;
    padding: 32px;
    text-align: center;
    margin: 48px 0;
}

.blog-article-cta h3 {
    margin-bottom: 8px;
}

.blog-article-cta p {
    color: #555;
    margin-bottom: 20px;
}

/* ===== RELATED ARTICLES ===== */
.related-articles {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid #e8e4f0;
}

.related-articles h3 {
    margin-bottom: 24px;
    font-size: 1.3rem;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.related-article-card {
    display: block;
    padding: 20px;
    background: #f8f7fc;
    border: 1px solid #d8d3e8;
    border-radius: 4px;
    transition: border-color 0.3s;
    text-decoration: none;
}

.related-article-card:hover {
    border-color: #9B8EC4;
}

.related-article-card h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #1B2A4A;
}

.related-article-card p {
    font-size: 0.85rem;
    color: #666;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #1B2A4A;
    font-size: 0.92rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d8d3e8;
    border-radius: 4px;
    margin-bottom: 20px;
    transition: border-color 0.3s;
    background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #9B8EC4;
    box-shadow: 0 0 0 3px rgba(155, 142, 196, 0.1);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: #f8f7fc;
    border-radius: 4px;
    border: 1px solid #e8e4f0;
}

.contact-info-card svg {
    width: 24px;
    height: 24px;
    color: #9B8EC4;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 0.9rem;
    color: #555;
}

.office-hours {
    background: #1B2A4A;
    color: #fff;
    border-radius: 4px;
    padding: 28px;
    margin-top: 20px;
    border: 1px solid #2d4270;
}

.office-hours h4 {
    color: #fff;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(155, 142, 196, 0.3);
}

.office-hours li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.office-hours li span:first-child {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #d8d3e8;
    border-radius: 4px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: #fff;
    cursor: pointer;
    gap: 16px;
    border: none;
    width: 100%;
    text-align: left;
    font-family: Georgia, serif;
    font-size: 1rem;
    color: #1B2A4A;
    font-weight: 600;
}

.faq-question:hover {
    background: #f8f7fc;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: #9B8EC4;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.active .faq-question {
    border-bottom: 1px solid #e8e4f0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ===== THANK YOU PAGE ===== */
.thank-you-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
}

.thank-you-content svg {
    width: 80px;
    height: 80px;
    color: #9B8EC4;
    margin-bottom: 24px;
}

.thank-you-content h1 {
    margin-bottom: 12px;
}

.thank-you-content p {
    color: #555;
    margin-bottom: 24px;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 32px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8e4f0;
}

.legal-content h3 {
    font-size: 1.2rem;
    margin: 24px 0 8px;
}

.legal-content p {
    color: #555;
    margin-bottom: 12px;
}

.legal-content ul {
    margin: 12px 0 12px 24px;
}

.legal-content ul li {
    color: #555;
    margin-bottom: 6px;
    list-style: disc;
}

/* ===== FOOTER — 4-Column Traditional ===== */
.site-footer {
    background: #1B2A4A;
    color: #fff;
    padding: 60px 0 0;
    border-top: 4px solid #9B8EC4;
}

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

.footer-about .logo {
    margin-bottom: 16px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-social a:hover {
    background: #9B8EC4;
    border-color: #9B8EC4;
}

.footer-social svg {
    width: 18px;
    height: 18px;
    color: #fff;
}

.footer-column h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #9B8EC4;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-column a:hover {
    color: #9B8EC4;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
}

.footer-bottom-links a:hover {
    color: #9B8EC4;
}

/* ===== RESPONSIVE — Tablet ===== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.4rem;
    }

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

    .stat-card {
        border-right: none;
        border-bottom: 1px solid #e8e4f0;
    }

    .stat-card:nth-child(2n) {
        border-left: 1px solid #e8e4f0;
    }

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

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

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== RESPONSIVE — Mobile ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 32px 32px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s;
        align-items: flex-start;
        gap: 20px;
        border-left: 3px solid #9B8EC4;
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

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

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

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

    .newsletter-form {
        flex-direction: column;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .comparison-table {
        font-size: 0.8rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-article-banner {
        height: 220px;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== RESPONSIVE — Small Mobile ===== */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

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

    .stat-card {
        border-right: none;
        border-left: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        text-align: center;
    }

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

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .blog-article-content h2 {
        font-size: 1.3rem;
    }
}