/* --- ROOT VARIABLES & GLOBAL STYLES --- */
:root {
    --color-dark: #0A090C;
    --color-light: #F0EDEE;
    --color-accent: #07393C;
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --container-width: 1140px;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-light);
    color: var(--color-dark);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 800;
    color: var(--color-dark);
}

h1 { font-size: 4rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-dark); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.body-no-scroll {
    overflow: hidden;
}
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}
.g-flex__ver
{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}
.section-title {
    position: relative;
    z-index: 2;
}

.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* --- BUTTONS & MODULAR COMPONENTS --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
    border: 2px solid transparent;
}
.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-light);
}
.btn-primary:hover {
    background-color: #0c5f63;
    transform: translateY(-3px);
}
.btn-secondary {
    background-color: transparent;
    color: var(--color-dark);
    border-color: var(--color-dark);
}
.btn-secondary:hover {
    background-color: var(--color-dark);
    color: var(--color-light);
    transform: translateY(-3px);
}

/* --- HEADER --- */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(240, 237, 238, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(10, 9, 12, 0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-dark);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 700;
    color: var(--color-dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-fast);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions { display: flex; align-items: center; gap: 20px; }
.mobile-nav-toggle { display: none; }

/* --- HERO SECTION --- */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 120px;
    color: var(--color-light);
    background-color: var(--color-dark);
}

.hero-background-pattern {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 60%;
    height: 140%;
    background-color: var(--color-accent);
    opacity: 0.4;
    transform: rotate(25deg);
    z-index: 0;
    clip-path: polygon(0 0, 100% 20%, 80% 100%, 20% 80%);
}

.hero-container { position: relative; z-index: 1; }
.hero-title { font-size: 3.5rem; color: var(--color-light); margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.2rem; max-width: 600px; margin-bottom: 2rem; }

/* --- ABOUT SECTION --- */
.about-section { background-color: #e8e5e6; }
.about-geometric-pattern {
    position: absolute;
    bottom: 0;
    left: -10%;
    width: 30%;
    height: 60%;
    background-color: rgba(7, 57, 60, 0.05);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    z-index: 0;
}
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-image-wrapper { position: relative; }
.about-image {
    border-radius: 10px;
    box-shadow: 10px 10px 0 var(--color-accent);
}

/* --- COURSES SECTION --- */
.courses-geometric-pattern {
    position: absolute;
    top: 50%;
    right: -15%;
    width: 40%;
    height: 80%;
    transform: translateY(-50%);
    border: 3px solid rgba(7, 57, 60, 0.1);
    border-radius: 50%;
    z-index: 0;
}
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}
.course-card {
    background: var(--color-light);
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.course-card-content { padding: 25px; }
.course-card h3 { margin-bottom: 10px; }
.card-link { font-weight: 700; }

/* --- WHY US SECTION --- */
.why-us-section { background-color: var(--color-dark); color: var(--color-light); }
.why-us-section .section-title { color: var(--color-light); }
.why-us-geometric-pattern {
    position: absolute;
    top: 0;
    left: 10%;
    width: 20%;
    height: 100%;
    background-color: var(--color-accent);
    transform: skewX(-20deg);
    opacity: 0.1;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}
.feature-item { text-align: center; }
.feature-item h3 { color: var(--color-light); margin: 15px 0 10px; }

/* --- TESTIMONIAL SECTION --- */
.testimonial-geometric-pattern {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: linear-gradient(135deg, rgba(240, 237, 238, 0) 60%, var(--color-accent) 60.1%);
    opacity: 0.1;
    z-index: -1;
}
.testimonial-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 900px;
}
.testimonial-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--color-accent);
}
.testimonial-content blockquote {
    font-size: 1.4rem;
    font-style: italic;
    border-left: 4px solid var(--color-accent);
    padding-left: 20px;
    margin-bottom: 1rem;
}
.testimonial-content cite { font-weight: 700; }

/* --- GALLERY PREVIEW --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 300px;
    gap: 20px;
    margin: 3rem 0;
}
.gallery-item {
    overflow: hidden;
    border-radius: 10px;
}
.gallery-item:nth-child(1) { grid-column: 1 / 2; }
.gallery-item:nth-child(2) { grid-column: 2 / 4; }
.gallery-item:nth-child(3) { grid-column: 1 / 3; grid-row: 2; }
.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.gallery-grid img:hover { transform: scale(1.1); }

/* --- CTA SECTION --- */
.cta-section { background-color: var(--color-accent); color: var(--color-light); }
.cta-geometric-pattern {
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 50%;
    height: 150%;
    background: rgba(255,255,255,0.05);
    transform: rotate(45deg);
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}
.cta-container { text-align: center; max-width: 700px; position: relative; z-index: 1; }
.cta-title { font-size: 2.8rem; color: var(--color-light); }
.cta-text { margin: 1rem 0 2rem; }
.cta-section .btn-primary { background-color: var(--color-light); color: var(--color-dark); }
.cta-section .btn-primary:hover { background-color: #d1cfd0; }



/* --- COURSES PAGE STYLES --- */

/* Section 1: Courses Hero */
.courses-hero-section {
    background-color: var(--color-accent);
    color: var(--color-light);
    min-height: 50vh;
    display: flex;
    align-items: center;
}
.courses-hero-pattern {
    position: absolute;
    top: -50%;
    left: -25%;
    width: 80%;
    height: 150%;
    background: rgba(10, 9, 12, 0.1);
    transform: rotate(-30deg);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}
.courses-hero-section .hero-title { color: var(--color-light); }

/* Section 2: Philosophy */
.philosophy-section { background-color: #e8e5e6; }
.philosophy-pattern {
    position: absolute;
    top: 10%;
    right: -5%;
    width: 25%;
    height: 80%;
    border: 3px solid rgba(7, 57, 60, 0.1);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.philosophy-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}
.philosophy-image-wrapper img {
    border-radius: 10px;
    box-shadow: -10px 10px 0 var(--color-accent);
}

/* Section 3: Detailed Courses */
.detailed-courses-pattern {
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 50%;
    height: 70%;
    background: radial-gradient(circle, rgba(7, 57, 60, 0.05) 0%, rgba(7, 57, 60, 0) 70%);
}
.detailed-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}
.detailed-course-card {
    background-color: var(--color-light);
    border: 1px solid #ddd;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.detailed-course-card .card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.detailed-course-card .card-content .btn { margin-top: auto; }
.course-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}
.detailed-course-card h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.detailed-course-card ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1.5rem;
}

/* Section 4: Workshops */
.workshops-section { background-color: var(--color-dark); color: var(--color-light); }
.workshops-section .section-title { color: var(--color-light); }
.workshop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 3rem;
}
.workshop-item { display: flex; align-items: center; gap: 25px; }
.workshop-item img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}
.workshop-item h3 { color: var(--color-light); }

/* Section 5: Facility */
.facility-section { background-color: #e8e5e6; }
.facility-pattern {
    position: absolute;
    top: 50%;
    right: -25%;
    width: 60%;
    height: 80%;
    transform: translateY(-50%) rotate(15deg);
    background-color: var(--color-accent);
    opacity: 0.05;
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}
.facility-intro { max-width: 600px; margin: 0 auto 3rem auto; }
.facility-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Section 6: Enrollment */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    margin: 3rem 0;
}
.step-item h3 {
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

/* Section 7: FAQ */
.faq-section { background-color: #e8e5e6; }
.faq-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(7, 57, 60, 0.05), transparent);
    z-index: 0;
}
.faq-accordion {
    max-width: 800px;
    margin: 2rem auto 0;
    position: relative;
    z-index: 1;
}
.faq-item {
    border-bottom: 1px solid #ccc;
}
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    font-weight: 400;
    transition: transform var(--transition-fast);
}
.faq-question[aria-expanded="true"]::after {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.faq-answer p { padding: 0 0 20px; }

/* --- RESPONSIVE ADJUSTMENTS FOR COURSES PAGE --- */
@media (max-width: 992px) {
    .philosophy-container { grid-template-columns: 1fr; }
    .philosophy-image-wrapper { order: -1; }
    .workshop-grid { grid-template-columns: 1fr; }
    .facility-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; }
    .workshop-item { flex-direction: column; text-align: center; }
}

/* --- SCHOOL PAGE STYLES --- */

/* Section 1: School Hero */
.school-hero-section {
    background-color: var(--color-dark);
    background-size: cover;
    background-position: center;
    color: var(--color-light);
    min-height: 60vh;
}
.school-hero-pattern {
    position: absolute;
    bottom: -1px; /* Align with bottom */
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--color-light); /* Match next section */
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}
.school-hero-section .hero-title, .school-hero-section .hero-subtitle {
    color: var(--color-light);
    position: relative;
    z-index: 2;
}

/* Section 2: Mission */
.mission-section { padding-top: 40px; }
.mission-pattern {
    position: absolute;
    top: 0;
    left: -15%;
    width: 40%;
    height: 100%;
    background: linear-gradient(45deg, rgba(7, 57, 60, 0.05), transparent);
    z-index: 0;
}
.mission-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}
.mission-image-wrapper img {
    border-radius: 10px;
}

/* Section 3: Instructors */
.instructors-section { background-color: #e8e5e6; }
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}
.instructor-card {
    background-color: var(--color-light);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.instructor-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--color-accent);
}
.instructor-card h3 { margin-bottom: 0.25rem; }
.instructor-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

/* Section 4: Campus Tour */
.campus-pattern {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 30%;
    height: 120%;
    background-color: var(--color-accent);
    opacity: 0.04;
    clip-path: polygon(100% 0, 100% 100%, 0 50%);
}
.campus-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 250px 250px;
    gap: 20px;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}
.campus-item { position: relative; border-radius: 10px; overflow: hidden; }
.campus-item img { width: 100%; height: 100%; object-fit: cover; }
.item-large { grid-column: 1 / 3; grid-row: 1 / 3; }
.item-small:nth-child(2) { grid-column: 3 / 4; grid-row: 1 / 2; }
.item-small:nth-child(3) { grid-column: 3 / 4; grid-row: 2 / 3; }
.campus-item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 9, 12, 0.8), transparent);
    color: var(--color-light);
    padding: 30px 20px 15px;
    font-weight: 700;
}

/* Section 5: Curriculum Pathway */
.curriculum-section { background-color: #e8e5e6; }
.pathway-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-top: 3rem;
    position: relative;
}
.pathway-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.pathway-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-color: var(--color-accent);
    color: var(--color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}
.pathway-connector {
    flex-grow: 1;
    height: 2px;
    background-color: var(--color-accent);
    margin-top: 80px;
    opacity: 0.2;
}

/* Section 6: Partners */
.partners-pattern {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 30%;
    height: 80%;
    border-radius: 50%;
    border: 3px solid rgba(7, 57, 60, 0.1);
}
.partners-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}
.partners-image-wrapper img { border-radius: 10px; }

/* Section 7: Community */
.community-section { background-color: var(--color-dark); color: var(--color-light); }
.community-section .section-title, .community-section h3 { color: var(--color-light); }
.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 2rem;
}
.event-item img { border-radius: 10px; margin-bottom: 1.5rem; }

/* --- RESPONSIVE ADJUSTMENTS FOR SCHOOL PAGE --- */
@media (max-width: 992px) {
    .mission-container { grid-template-columns: 1fr; }
    .mission-image-wrapper { order: -1; }
    .campus-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 250px 250px 250px; }
    .item-large { grid-column: 1 / 3; grid-row: 1 / 2; }
    .item-small:nth-child(2) { grid-column: 1 / 2; grid-row: 2 / 3; }
    .item-small:nth-child(3) { grid-column: 2 / 3; grid-row: 2 / 3; }
    .partners-container { grid-template-columns: 1fr; }
    .pathway-grid { flex-direction: column; align-items: center; }
    .pathway-connector { display: none; }
    .pathway-step { max-width: 400px; }
    .events-grid { grid-template-columns: 1fr; }
}

/* --- BUSINESS PAGE STYLES --- */

/* Section 1: Business Hero */
.business-hero-section {
    background-color: var(--color-accent);
    color: var(--color-light);
    min-height: 60vh;
}
.business-hero-pattern {
    position: absolute;
    top: 0;
    right: -10%;
    width: 50%;
    height: 150%;
    background: rgba(10, 9, 12, 0.1);
    transform: skewX(25deg);
}
.business-hero-section .hero-title, .business-hero-section .hero-subtitle {
    color: var(--color-light);
}

/* Section 2: Advantage */
.advantage-section { background-color: #e8e5e6; }
.advantage-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}
.advantage-image-wrapper img {
    border-radius: 10px;
}

/* Section 3: Services */
.services-section { position: relative; }
.services-pattern {
    position: absolute;
    top: -10%;
    left: -20%;
    width: 50%;
    height: 120%;
    background: radial-gradient(circle, rgba(7, 57, 60, 0.05) 0%, rgba(7, 57, 60, 0) 60%);
    z-index: 0;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}
.service-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.service-card img {
    height: 150px;
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

/* Section 4: Methodology */
.methodology-section { background-color: #e8e5e6; }
.methodology-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 4rem;
    position: relative;
}
.methodology-timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 5%;
    right: 5%;
    height: 2px;
    background-color: var(--color-accent);
    opacity: 0.2;
}
.timeline-item {
    text-align: center;
    position: relative;
}
.timeline-step {
    width: 50px;
    height: 50px;
    background-color: var(--color-light);
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

/* Section 5: Case Study */
.case-study-section { background-color: var(--color-dark); color: var(--color-light); }
.case-study-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background-color: var(--color-accent);
    opacity: 0.4;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}
.case-study-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.case-study-image img { border-radius: 10px; }
.case-study-subtitle {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--color-light);
    opacity: 0.7;
}
.case-study-content .section-title { color: var(--color-light); }

/* Section 6: Client Gallery */
.client-gallery-section { background-color: #e8e5e6; }
.client-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    margin-top: 3rem;
}
.gallery-img-wrapper { border-radius: 10px; overflow: hidden; }
.gallery-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.gallery-img-wrapper:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; }
.gallery-img-wrapper:nth-child(2) { grid-column: 2 / 4; grid-row: 1 / 2; }
.gallery-img-wrapper:nth-child(3) { grid-column: 2 / 3; grid-row: 2 / 3; }
.gallery-img-wrapper:nth-child(4) { grid-column: 3 / 4; grid-row: 2 / 3; }


/* --- RESPONSIVE ADJUSTMENTS FOR BUSINESS PAGE --- */
@media (max-width: 992px) {
    .advantage-container { grid-template-columns: 1fr; }
    .advantage-image-wrapper { order: -1; }
    .methodology-timeline { grid-template-columns: 1fr 1fr; gap: 40px; }
    .methodology-timeline::before { display: none; }
    .case-study-container { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .methodology-timeline { grid-template-columns: 1fr; }
    .client-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    .gallery-img-wrapper:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }
}

/* --- GALLERY PAGE STYLES --- */

/* Section 1: Gallery Hero */
.gallery-hero-section {
    background-color: var(--color-dark);
    color: var(--color-light);
}
.gallery-hero-pattern {
    position: absolute;
    bottom: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    border-top: 3px solid rgba(7, 57, 60, 0.5);
    border-radius: 50%;
}
.gallery-hero-section .hero-title, .gallery-hero-section .hero-subtitle {
    color: var(--color-light);
}

/* Section 2: Photo Grid */
.filter-controls {
    text-align: center;
    margin-bottom: 2.5rem;
}
.filter-btn {
    background: transparent;
    border: 2px solid #ccc;
    border-radius: 50px;
    padding: 8px 20px;
    margin: 0 5px;
    cursor: pointer;
    font-weight: 700;
    transition: all var(--transition-fast);
}
.filter-btn:hover {
    background-color: #ddd;
}
.filter-btn.active {
    background-color: var(--color-accent);
    color: var(--color-light);
    border-color: var(--color-accent);
}
.gallery-photo-grid {
    display: grid;
    align-items: start;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
}
.grid-item {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.grid-item.hide {
    transform: scale(0.8);
    opacity: 0;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}
.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section 3: Behind the Scenes */
.behind-scenes-section { background-color: #e8e5e6; }
.behind-scenes-pattern {
    position: absolute;
    top: 50%;
    right: -20%;
    transform: translateY(-50%) rotate(45deg);
    width: 40%;
    height: 100%;
    background: linear-gradient(to right, rgba(7, 57, 60, 0.05), transparent);
}
.behind-scenes-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.behind-scenes-image img { border-radius: 10px; }

/* Section 4: Art Focus */
.art-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 3rem;
}
.art-item { border-radius: 10px; overflow: hidden; }
.art-item img { width: 100%; height: 100%; object-fit: cover; }

/* Section 5: Video Showcase */
.video-section { background-color: var(--color-dark); color: var(--color-light); }
.video-pattern {
    position: absolute;
    bottom: 0;
    left: -10%;
    width: 30%;
    height: 60%;
    background-color: var(--color-accent);
    opacity: 0.1;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
}
.video-section .section-title { color: var(--color-light); }
.video-wrapper {
    max-width: 800px;
    margin: 2rem auto 0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.video-placeholder { aspect-ratio: 16 / 9; }
.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(240, 237, 238, 0.9);
    border-radius: 50%;
    transition: transform var(--transition-fast);
}
.play-button-overlay::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 53%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid var(--color-dark);
}
.video-wrapper:hover .play-button-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Section 6: Alumni Success */
.alumni-success-section { background-color: #e8e5e6; }
.alumni-pattern {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, rgba(7, 57, 60, 0.05), transparent);
    clip-path: ellipse(80% 50% at 50% 0%);
}
.success-stories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 3rem;
}
.story-card {
    background-color: var(--color-light);
    border-radius: 10px;
    overflow: hidden;
}
.story-card img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}
.story-card h3, .story-card p { padding: 0 25px; }
.story-card h3 { margin: 20px 0 10px; }
.story-card p { padding-bottom: 25px; }

/* Section 7: Share CTA */
.hashtag {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    background-color: #e8e5e6;
    display: inline-block;
    padding: 10px 15px;
    border-radius: 50px;
    margin-top: 1.5rem;
}

/* --- RESPONSIVE ADJUSTMENTS FOR GALLERY PAGE --- */
@media (max-width: 992px) {
    .behind-scenes-container { grid-template-columns: 1fr; }
    .art-focus-grid { grid-template-columns: 1fr; }
    .success-stories-grid { grid-template-columns: 1fr; }
}


/* --- REVIEWS PAGE STYLES --- */

/* Section 1: Reviews Hero */
.reviews-hero-section {
    background-color: var(--color-dark);
    background-size: cover;
    background-position: center;
    color: var(--color-light);
}
.reviews-hero-pattern {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: transparent;
    border: 3px solid rgba(7, 57, 60, 0.5);
    transform: rotate(45deg);
}
.reviews-hero-section .hero-title, .reviews-hero-section .hero-subtitle {
    color: var(--color-light);
}

/* Section 2: Stats */
.stats-section { background-color: #e8e5e6; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 3rem;
    text-align: center;
}
.stat-item h3 {
    font-size: 3.5rem;
    color: var(--color-accent);
    line-height: 1;
}
.stat-item p {
    font-weight: 700;
    color: var(--color-dark);
}

/* Section 3: Testimonials Grid */
.testimonials-pattern {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 30%;
    height: 60%;
    background: radial-gradient(circle, rgba(7, 57, 60, 0.05) 0%, rgba(7, 57, 60, 0) 70%);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}
.testimonial-card {
    background-color: var(--color-light);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.testimonial-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--color-accent);
}
.rating {
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.testimonial-card blockquote {
    font-style: italic;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.testimonial-card cite {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Section 4: Spotlight */
.spotlight-section { background-color: var(--color-dark); color: var(--color-light); }
.spotlight-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: var(--color-accent);
    opacity: 0.1;
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
}
.spotlight-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.spotlight-image img { border-radius: 10px; }
.spotlight-subtitle { color: var(--color-light); opacity: 0.7; font-weight: 700; }
.spotlight-content .section-title { color: var(--color-light); }

/* Section 5: Course Reviews */
.course-review-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
    background-color: var(--color-light);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
}
.course-review-item:nth-child(even) {
    grid-template-columns: 2fr 1fr;
}
.course-review-item:nth-child(even) .course-review-image {
    order: 2;
}
.course-review-image img { border-radius: 5px; }

/* Section 6: External Reviews */
.external-reviews-section { background-color: #e8e5e6; }
.external-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 3rem;
}
.external-card {
    background-color: var(--color-light);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid #ddd;
}
.external-logo {
    height: 30px;
    width: auto;
    margin-bottom: 1rem;
}
.external-card .rating { margin-bottom: 1rem; }
.external-card .rating[aria-label="Publication Endorsement"] {
    font-weight: 700;
    color: var(--color-dark);
}

/* Section 7: Leave Review CTA */
.leave-review-cta {
    background-color: var(--color-accent);
    color: var(--color-light);
}
.leave-review-cta .cta-title { color: var(--color-light); }
.leave-review-cta .btn-primary {
    background-color: var(--color-light);
    color: var(--color-dark);
}

/* --- RESPONSIVE ADJUSTMENTS FOR REVIEWS PAGE --- */
@media (max-width: 992px) {
    .spotlight-container { grid-template-columns: 1fr; }
    .spotlight-image { order: -1; }
    .external-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .course-review-item, .course-review-item:nth-child(even) {
        grid-template-columns: 1fr;
    }
    .course-review-item:nth-child(even) .course-review-image {
        order: -1;
    }
}

/* --- HELP PAGE STYLES --- */

/* Section 1: Help Hero */
.help-hero-section {
    background-color: var(--color-accent);
    color: var(--color-light);
}
.help-hero-pattern {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 120%;
    background: rgba(10, 9, 12, 0.1);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.help-hero-section .hero-title, .help-hero-section .hero-subtitle {
    color: var(--color-light);
}

/* Section 2: Quick Links */
.quick-links-section {
    background-color: #e8e5e6;
    padding: 60px 0;
}
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}
.quick-link-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    color: var(--color-light);
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.quick-link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.quick-link-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: filter var(--transition-fast), transform var(--transition-fast);
}
.quick-link-card:hover img {
    filter: brightness(0.4);
    transform: scale(1.05);
}
.quick-link-card h3 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 1.5rem;
    color: var(--color-light);
}

/* Section 3: Main FAQ */
.main-faq-section { position: relative; }
.faq-bg-pattern {
    position: absolute;
    top: 50%;
    left: -15%;
    transform: translateY(-50%);
    width: 30%;
    height: 80%;
    background: linear-gradient(to right, rgba(7, 57, 60, 0.05), transparent);
}
/* Note: .faq-accordion styles are already defined in previous page CSS */

/* Section 4: Location */
.location-section { background-color: #e8e5e6; }
.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.location-map img { border-radius: 10px; }
.location-details ul {
    list-style: none;
    margin-top: 1.5rem;
}
.location-details ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}
.location-details ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* Section 5: Resources */
.resources-pattern {
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 40%;
    height: 80%;
    border: 3px solid rgba(7, 57, 60, 0.08);
    border-radius: 50%;
}
.resource-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}
.resource-card {
    background-color: #e8e5e6;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}
.resource-icon {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

/* Section 6: Contact Info */
.contact-info-section { background-color: #e8e5e6; }
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}
.contact-intro img {
    border-radius: 10px;
    margin-top: 1.5rem;
}
.contact-channel {
    background-color: var(--color-light);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 5px solid var(--color-accent);
}
.contact-channel a {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Section 7: Final CTA */
.final-cta-section { background-color: var(--color-dark); color: var(--color-light); }
.final-cta-section .section-title { color: var(--color-light); }
.final-cta-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(7, 57, 60, 0.3) 0%, rgba(7, 57, 60, 0) 60%);
}

/* --- RESPONSIVE ADJUSTMENTS FOR HELP PAGE --- */
@media (max-width: 992px) {
    /* .quick-links-grid { grid-template-columns: 1fr; } */
    .location-container { grid-template-columns: 1fr; }
    .resource-grid { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; }
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-logo { color: #09979f !important; font-size: 25px !important;  }
.footer-links h4, .footer-contact h4, .footer-social h4 {
    margin-bottom: 1rem;
    color: var(--color-light);
    opacity: 0.8;
}
.footer-links ul li { margin-bottom: 10px; }
.footer-links a, .footer-contact a { color: var(--color-light); opacity: 0.7; }
.footer-links a:hover, .footer-contact a:hover { opacity: 1; }
.footer-social a {
    display: inline-block;
    margin-right: 15px;
    font-weight: 700;
}
.footer-bottom {
    border-top: 1px solid rgba(240, 237, 238, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- ANIMATIONS --- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in { transform: translateY(20px); }
.slide-up { transform: translateY(50px); }
.zoom-in { transform: scale(0.9); }

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.slide-up-delay { transition-delay: 0.2s; }
.slide-up-delay-2 { transition-delay: 0.4s; }
.zoom-in-delay { transition-delay: 0.2s; }
.zoom-in-delay-2 { transition-delay: 0.4s; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    section { padding: 60px 0; }
    .about-container { grid-template-columns: 1fr; }
    .courses-grid { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
    .features-grid { grid-template-columns: 1fr; }
    .testimonial-container { flex-direction: column; text-align: center; }
    .testimonial-content blockquote { border-left: none; border-top: 4px solid var(--color-accent); padding-left: 0; padding-top: 20px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .gallery-item:nth-child(n) { grid-column: auto; grid-row: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    /* From display: none to transform/opacity for animation */
    .main-nav {
        /* Take up the full screen */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 999; /* Position it behind the header (z-index: 1000) */

        /* Style the background */
        background-color: var(--color-dark);
        
        /* Center the navigation links */
        display: flex;
        justify-content: center;
        align-items: center;

        /* INITIAL HIDDEN STATE */
        opacity: 0;
        visibility: hidden; /* Hide from screen readers and interactions when not visible */
        transform: translateY(-100%); /* Start fully above the viewport */

        /* THE ANIMATION */
        transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1), 
                    opacity 0.4s ease, 
                    visibility 0s 0.5s;
    }

    /* VISIBLE STATE (when JS adds the .active class) */
    .main-nav.active {
        opacity: 1;
        padding-top: 0rem;
        visibility: visible;
        transform: translateY(0); /* Slide into view */
        transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1), 
                    opacity 0.4s ease, 
                    visibility 0s 0s;
    }

    /* --- Navigation Links List (.nav-list) --- */
    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 0; /* Control gap with li padding */
    }
    
    .nav-list li {
        /* INITIAL HIDDEN STATE for staggered animation */
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    }

    .nav-link {
        color: var(--color-light);
        font-size: 2rem;
        font-weight: 800;
        padding: 15px;
        display: block;
    }

    /* Staggered link animation when menu becomes active */
    .main-nav.active .nav-list li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Add delays for each list item to create the staggered effect */
    .main-nav.active .nav-list li:nth-child(1) { transition-delay: 0.2s; }
    .main-nav.active .nav-list li:nth-child(2) { transition-delay: 0.3s; }
    .main-nav.active .nav-list li:nth-child(3) { transition-delay: 0.4s; }
    .main-nav.active .nav-list li:nth-child(4) { transition-delay: 0.5s; }
    .main-nav.active .nav-list li:nth-child(5) { transition-delay: 0.6s; }
    .main-nav.active .nav-list li:nth-child(6) { transition-delay: 0.7s; }
    .main-nav.active .nav-list li:nth-child(7) { transition-delay: 0.8s; }


    /* --- Mobile Toggle Button (.mobile-nav-toggle) --- */
    .mobile-nav-toggle { 
        display: block; 
        z-index: 1001; /* Ensure it's above the menu overlay */
    }
    /* Change icon color to be visible on the dark overlay */
    .mobile-nav-toggle[aria-expanded="true"] .menu-icon::before,
    .mobile-nav-toggle[aria-expanded="true"] .menu-icon::after {
        background-color: var(--color-light);
    }
    .header-actions .btn { 
        display: none; 
    }
}

/* Mobile Nav Toggle Icon - simple CSS version */
.menu-icon {
    width: 25px;
    height: 2px;
    background-color: var(--color-dark);
    position: relative;
    transition: background-color 0s 0.3s;
}
.menu-icon::before, .menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-dark);
    transition: transform var(--transition-fast);
}
.menu-icon::before { top: -8px; }
.menu-icon::after { top: 8px; }

.mobile-nav-toggle[aria-expanded="true"] .menu-icon {
    background-color: transparent;
}
.mobile-nav-toggle[aria-expanded="true"] .menu-icon::before {
    transform: translateY(8px) rotate(45deg);
}
.mobile-nav-toggle[aria-expanded="true"] .menu-icon::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- POLICY PAGE STYLES --- */

.policy-page-section {
    background-color: #e8e5e6;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.policy-pattern {
    position: absolute;
    top: 0;
    left: -20%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(7, 57, 60, 0.03) 0%, rgba(7, 57, 60, 0) 100%);
    z-index: 0;
}

.policy-content {
    max-width: 800px;
    background-color: var(--color-light);
    border-radius: 10px;
    padding: 40px 50px;
    border: 1px solid #ddd;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1;
}

.policy-content h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.policy-subtitle {
    font-weight: 700;
    color: #555;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.policy-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

.policy-content p, .policy-content ul {
    line-height: 1.7;
    color: #333;
}

.policy-content ul {
    list-style: disc;
    padding-left: 25px;
}

.policy-content ul li {
    margin-bottom: 0.75rem;
}

.contact-link-wrapper {
    margin-top: 2rem;
}

/* Footer Legal Links */
.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal-links a {
    color: var(--color-light);
    opacity: 0.7;
    margin-left: 20px;
    font-size: 0.9rem;
}
.footer-legal-links a:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .policy-content {
        padding: 30px 25px;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-legal-links a {
        margin: 0 10px;
    }
}

/* --- THANK YOU PAGE STYLES --- */

/* We use a flex layout on the body to push the footer down */
.thank-you-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#thank-you-main {
    flex-grow: 1; /* Allows this section to take up available space */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e8e5e6;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.thank-you-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: var(--color-accent);
    opacity: 0.05;
    clip-path: polygon(0 0, 30% 0, 60% 100%, 0 100%), polygon(100% 0, 100% 100%, 70% 100%, 90% 0);
}

.thank-you-box {
    background-color: var(--color-light);
    border-radius: 10px;
    padding: 40px 50px;
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.thank-you-box h1 {
    color: var(--color-dark);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.thank-you-box p {
    color: #333;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Checkmark Animation */
.checkmark-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.checkmark-svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: var(--color-accent);
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px var(--color-accent);
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: var(--color-accent);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: checkmark 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes checkmark {
    100% {
        stroke-dashoffset: 0;
    }
}

@media (max-width: 768px) {
    .thank-you-box {
        padding: 30px 25px;
    }
    .thank-you-box h1 {
        font-size: 1.8rem;
    }
}

/* --- COURSE TABS COMPONENT STYLES --- */

.course-tabs-container {
    max-width: 1000px;
    margin: 3rem auto 0;
}

/* Tab Navigation Styling */
.course-tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--color-accent);
    margin-bottom: 0;
}

.course-tab-btn {
    /* Reset default styles */
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;

    padding: 15px 25px;
    color: var(--color-dark);
    background-color: #e0e0e0;
    border: 2px solid #e0e0e0;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    margin-right: 5px;
    position: relative;
    bottom: -2px; /* Sits on top of the content border */
    transition: all var(--transition-fast);
}

.course-tab-btn:hover {
    background-color: #ebebeb;
}

/* Active Tab Button State */
.course-tab-btn.active {
    background-color: var(--color-light);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Tab Content Area */
.course-tabs-content {
    background-color: var(--color-light);
    border: 2px solid var(--color-accent);
    border-radius: 0 10px 10px 10px;
    padding: 40px;
}

/* Tab Panel Styling */
.course-tab-panel {
    display: none; /* Hide inactive panels */
    animation: fadeInContent 0.6s ease;
}

/* Active Panel State */
.course-tab-panel.active {
    display: block;
}

.panel-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: flex-start;
}

.panel-image-container img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.panel-text-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.panel-text-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1.5rem;
}

.panel-text-content .btn {
    margin-top: 1rem;
}

/* Fade-in Animation for Panel Content */
@keyframes fadeInContent {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE ADJUSTMENTS FOR COURSE TABS --- */
@media (max-width: 992px) {
    .panel-grid {
        grid-template-columns: 1fr;
    }
    .panel-image-container {
        max-width: 400px;
        margin: 0 auto 2rem;
    }
}
@media (max-width: 768px) {
    .course-tabs-nav {
        flex-wrap: wrap; /* Allow buttons to wrap */
        margin-bottom: 10px;
    }
    .course-tab-btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 2px;
        border-radius: 10px;
        border-bottom: 2px solid #e0e0e0;
    }
    .course-tab-btn.active {
        border-color: var(--color-accent);
    }
    .course-tabs-content {
        border-radius: 10px;
    }
}

.school-hero-section-reimagined {
    background-color: var(--color-dark);
    color: var(--color-light);
    min-height: 90vh;
    padding: 100px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr; /* Asymmetrical split */
    align-items: center;
    gap: 50px;
}

.hero-content .hero-title,
.hero-content .hero-subtitle {
    color: var(--color-light);
}

.hero-content .hero-title {
    font-size: 3.8rem;
}

.hero-content .hero-subtitle {
    font-size: 1.1rem;
    margin: 1.5rem 0 2rem;
    max-width: 500px;
}

/* Visuals Container */
.hero-visuals {
    position: relative;
    height: 500px; /* Define a height for the collage area */
}

/* New Geometric Pattern */
.hero-background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hero-background-shapes::before,
.hero-background-shapes::after {
    content: '';
    position: absolute;
    background-color: var(--color-accent);
    border-radius: 10px;
}
.hero-background-shapes::before {
    width: 80%;
    height: 80%;
    top: 0;
    right: 0;
    opacity: 0.1;
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 20% 100%);
}
.hero-background-shapes::after {
    width: 50%;
    height: 50%;
    bottom: 0;
    left: 0;
    opacity: 0.15;
    transform: rotate(-15deg);
}


/* Image Collage Styling */
.hero-img-wrapper {
    position: absolute;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 3px solid rgba(240, 237, 238, 0.5);
    transition: transform 0.3s ease-out; /* For smooth parallax reset */
}
.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-1 {
    width: 70%;
    height: 70%;
    top: 0;
    left: 0;
    z-index: 2;
}
.hero-img-2 {
    width: 50%;
    height: 50%;
    bottom: 0;
    right: 0;
    z-index: 3;
}
.hero-img-3 {
    width: 40%;
    height: 40%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* --- RESPONSIVE ADJUSTMENTS FOR REIMAGINED HERO --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr; /* Stack on smaller screens */
        text-align: center;
    }
    .hero-content {
        order: 2; /* Move text below images */
        margin-top: 40px;
    }
    .hero-visuals {
        order: 1;
        height: 400px; /* Adjust height for mobile */
    }
    .hero-content .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 768px) {
    .hero-content .hero-title {
        font-size: 2.8rem;
    }
}

/* --- PHILOSOPHY TABS COMPONENT STYLES --- */

.philosophy-tabs-container {
    margin-top: 2rem;
}

/* Tab Navigation Styling */
.philosophy-tabs-nav {
    display: flex;
    gap: 10px; /* Space between buttons */
    margin-bottom: 1.5rem;
}

.philosophy-tab-btn {
    /* Reset default button styles */
    background: none;
    border: 2px solid #ddd;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    
    padding: 10px 20px;
    border-radius: 50px; /* Pill shape */
    color: #333; /* Inactive color */
    transition: all var(--transition-fast);
}

.philosophy-tab-btn:hover {
    background-color: #e8e5e6;
    border-color: #ccc;
}

/* Active Tab Button State */
.philosophy-tab-btn.active {
    background-color: var(--color-accent);
    color: var(--color-light);
    border-color: var(--color-accent);
}

/* Tab Content Panel Styling */
.philosophy-tabs-content {
    position: relative;
    min-height: 200px; /* Prevent layout shift during transitions */
}

.philosophy-tab-panel {
    display: none; /* Hide inactive panels */
    animation: fadeInPanel 0.5s ease-out;
}

/* Active Tab Panel State */
.philosophy-tab-panel.active {
    display: block;
}

.philosophy-tab-panel p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Simple fade-in animation */
@keyframes fadeInPanel {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* --- VERTICAL SLIDER COMPONENT STYLES --- */

.vertical-slider-container {
    display: grid;
    grid-template-columns: 1fr 2.5fr; /* Asymmetrical layout: nav | content */
    gap: 40px;
    margin-top: 3rem;
    background-color: var(--color-light);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

/* Navigation Styling (Left Column) */
.slider-nav ul {
    list-style: none;
}
.slider-nav li {
    margin-bottom: 10px;
}
.slider-nav-btn {
    /* Reset button styles */
    background: transparent;
    border: none;
    border-left: 4px solid transparent;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    
    padding: 15px 20px;
    text-align: left;
    width: 100%;
    color: #555; /* Inactive color */
    transition: all var(--transition-fast);
}
.slider-nav-btn:hover {
    background-color: #f0edee;
    color: var(--color-dark);
}

/* Active Navigation Button State */
.slider-nav-btn.active {
    color: var(--color-accent);
    border-left-color: var(--color-accent);
    background-color: #f0edee;
}

/* Content Wrapper (Right Column) */
.slider-content-wrapper {
    position: relative;
    overflow: hidden; /* This is crucial for the sliding effect */
    /* REMOVED: min-height: 400px; */
    /* ADDED: Smooth transition for the height property */
    transition: height 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Individual Content Panels */
.slider-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Animation state: hidden */
    opacity: 0;
    transform: translateY(30px);
    visibility: hidden;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, visibility 0s 0.5s;
}

/* Active Panel State */
.slider-panel.active {
    /* Animation state: visible */
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, visibility 0s 0s;
}

.panel-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.panel-text h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

/* --- RESPONSIVE ADJUSTMENTS FOR VERTICAL SLIDER --- */
@media (max-width: 992px) {
    .vertical-slider-container {
        /* grid-template-columns: 1fr;  */
        display: block;
    }
    .slider-nav ul {
        display: flex; /* Change nav to a horizontal row */
        justify-content: center;
        border-bottom: 2px solid #ddd;
        padding-bottom: 15px;
        margin-bottom: 30px;
    }
    .slider-nav-btn {
        border-left: none;
        border-bottom: 4px solid transparent;
        text-align: center;
    }
    .slider-nav-btn.active {
        border-bottom-color: var(--color-accent);
    }
}
@media (max-width: 768px) {
    .slider-nav ul {
        flex-direction: column; /* Stack buttons vertically on smallest screens */
        border-bottom: none;
    }
    .slider-nav-btn {
        border-bottom: 2px solid #ddd;
    }
    .slider-nav-btn.active {
        border-bottom: 4px solid var(--color-accent);
    }
}

/* --- ACCORDION COMPONENT STYLES --- */

.accordion-container {
    margin-top: 2rem;
    border: 2px solid rgba(240, 237, 238, 0.2);
    border-radius: 10px;
    overflow: hidden; /* Ensures child borders don't poke out */
}

.accordion-item {
    /* Each item has a border to separate it from the next */
    border-bottom: 2px solid rgba(240, 237, 238, 0.2);
}
.accordion-item:last-child {
    border-bottom: none; /* No border on the last item */
}

.accordion-header {
    margin: 0; /* Reset heading margin */
}

/* The clickable button */
.accordion-trigger {
    /* Reset button styles */
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    text-align: left;
    width: 100%;
    
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    color: #ccc; /* Inherits color from the parent section */
    font-size: 1.2rem;
    font-weight: 700;
    transition: background-color var(--transition-fast);
}

.accordion-trigger:hover {
    background-color: rgba(240, 237, 238, 0.1);
}

/* The '+' icon */
.accordion-icon {
    position: relative;
    width: 20px;
    height: 2px;
    background-color: var(--color-light); /* Horizontal bar */
    opacity: 0.8;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.accordion-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: inherit;
    transform: rotate(90deg); /* Vertical bar */
}

/* The content panel */
.accordion-content {
    /* Hidden state */
    display: grid;
    grid-template-rows: 0fr; /* Animatable version of height: 0 */
    opacity: 0;
    transition: grid-template-rows 0.5s ease-out, opacity 0.3s ease-out 0.1s;
}
.accordion-content > p {
    overflow: hidden; /* Crucial for the grid animation to work */
    padding: 0 20px;
    margin: 0;
    color: var(--color-light);
    opacity: 0.9;
}


/* --- ACTIVE STATE (controlled by JS) --- */
.accordion-item.is-open .accordion-icon {
    transform: rotate(45deg); /* Rotates '+' into a tilted cross */
}

.accordion-item.is-open .accordion-content {
    /* Visible state */
    grid-template-rows: 1fr; /* Animates height to content size */
    opacity: 1;
}

.accordion-item.is-open .accordion-content > p {
    padding-bottom: 20px;
}

.alumni-slider-container {
    max-width: 600px; /* Adjust width as needed */
    margin: 3rem auto 0;
}

.alumni-slider-container .slider-wrapper {
    position: relative;
    overflow: hidden;
}

.alumni-slider-container .slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.alumni-slider-container .slider-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 10px; /* Add some spacing if needed */
}

/* Recreating the .story-card style inside the slide */
.slide-content {
    background-color: var(--color-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.slide-content img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}
.story-text {
    padding: 25px;
}
.story-text h3 { margin-bottom: 10px; }


/* Navigation and Pagination styles are reused from the art-slider */
/* If you already have these in your CSS from the previous task, you don't need to add them again */
.alumni-slider-container .slider-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}
.alumni-slider-container .slider-btn {
    pointer-events: all;
    background-color: rgba(10, 9, 12, 0.5);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-light);
    margin: 0 20px;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}
.alumni-slider-container .slider-btn:hover {
    background-color: var(--color-accent);
    transform: scale(1.1);
}
.alumni-slider-container .slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: scale(1);
}
.alumni-slider-container .slider-btn svg {
    width: 30px;
    height: 30px;
}
.alumni-slider-container .slider-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.alumni-slider-container .pagination-dot {
    background-color: #ccc;
    border: none;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    cursor: pointer;
    padding: 0;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}
.alumni-slider-container .pagination-dot:hover {
    background-color: #aaa;
}
.alumni-slider-container .pagination-dot.active {
    background-color: var(--color-accent);
    transform: scale(1.2);
}

/* --- TESTIMONIAL SLIDER COMPONENT STYLES --- */

/* Note: You can remove the old .testimonials-grid styles. The .testimonial-card styles are reused. */

.testimonial-slider-container {
    max-width: 700px; /* Optimal width for a single testimonial card */
    margin: 3rem auto 0;
}

.testimonial-slider-container .slider-wrapper {
    position: relative;
    overflow: hidden;
}

.testimonial-slider-container .slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slider-container .slider-slide {
    flex: 0 0 100%;
    min-width: 100%;
    /* Padding to prevent card from touching the edges of the wrapper */
    padding: 10px 40px; 
}

/* Make sure the existing card style works well inside the slider */
.testimonial-slider-container .testimonial-card {
    width: 100%; /* Ensure the card fills the slide */
}


/* Navigation and Pagination styles can be reused */
/* If you have these from other sliders, you can put them in a shared class */
/* For this example, we'll scope them to this container */
.testimonial-slider-container .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}
.testimonial-slider-container .slider-btn {
    pointer-events: all;
    background-color: transparent;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    transition: color var(--transition-fast), transform var(--transition-fast);
}
.testimonial-slider-container .slider-btn:hover {
    color: var(--color-accent);
    transform: scale(1.2);
}
.testimonial-slider-container .slider-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
    transform: scale(1);
}
.testimonial-slider-container .slider-btn svg {
    width: 40px;
    height: 40px;
}
.testimonial-slider-container .slider-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.testimonial-slider-container .pagination-dot {
    background-color: #ccc;
    border: none;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    cursor: pointer;
    padding: 0;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}
.testimonial-slider-container .pagination-dot:hover {
    background-color: #aaa;
}
.testimonial-slider-container .pagination-dot.active {
    background-color: var(--color-accent);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonial-slider-container .slider-slide {
        padding: 10px 0; /* Remove side padding on mobile */
    }
    .testimonial-slider-container .slider-btn {
        /* Move buttons inside the card area on mobile */
        background-color: rgba(240, 237, 238, 0.7);
        border-radius: 50%;
        color: var(--color-dark);
        margin: 0 5px;
        width: 40px;
        height: 40px;
    }
}