/* ==============================================
   RESET & BASE STYLES
   ============================================== */

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.125rem; /* 18px */
    line-height: 1.7;
    color: #1e293b;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* ==============================================
   CSS ANIMATIONS
   ============================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
    }
}

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

@keyframes colorShift {
    0%, 100% {
        color: inherit;
    }
    50% {
        filter: brightness(1.1);
    }
}

@keyframes slideSchoolName {
    0%, 43% {
        opacity: 1;
        transform: translateX(-50%);
    }
    47%, 93% {
        opacity: 0;
        transform: translateX(-80%);
    }
    97%, 100% {
        opacity: 1;
        transform: translateX(-50%);
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

.fade-in-scale {
    animation: fadeInScale 0.6s ease-out;
}

/* ==============================================
   COLOR VARIABLES
   ============================================== */

:root {
    --color-blue: #2563eb;
    --color-orange: #f97316;
    --color-green: #22c55e;
    --color-red: #ef4444;
    --color-dark: #1e293b;
    --color-gray: #475569;
    --color-light-gray: #f8fafc;
}

/* ==============================================
   TYPOGRAPHY
   ============================================== */

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem; /* 40px */
}

h2 {
    font-size: 2rem; /* 32px */
    color: var(--color-blue);
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-green), var(--color-orange), var(--color-blue));
    border-radius: 2px;
}

h3 {
    font-size: 1.375rem; /* 22px */
    color: #1e293b;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1d4ed8;
}

ul {
    list-style: none;
}

/* ==============================================
   LAYOUT & CONTAINERS
   ============================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 4rem 0;
}

/* ==============================================
   RESPONSIVE - SMALL MOBILE (up to 480px)
   ============================================== */

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    section {
        padding: 2.5rem 0;
    }

    h1 {
        font-size: 1.75rem; /* 28px */
    }

    h2 {
        font-size: 1.5rem; /* 24px */
    }

    h3 {
        font-size: 1.125rem; /* 18px */
    }

    .hero {
        min-height: 500px;
        padding: 2rem 0 3rem;
    }

    .logo {
        max-width: 150px;
        margin-bottom: 1.5rem;
    }

    .school-name {
        font-size: 1.25rem; /* 20px */
        margin-bottom: 1rem;
    }

    .school-name-unique-wrapper {
        min-width: 280px;
        max-width: 100%;
        width: 100%;
        padding: 0 0.5rem;
        min-height: 2.6em;
    }

    .school-name-unique {
        white-space: normal;
        text-align: center;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 90%;
        width: 90%;
        line-height: 1.3;
    }

    .hero-headline {
        font-size: 2rem; /* 32px */
        margin-bottom: 0.5rem;
    }

    .hero-subheadline {
        font-size: 1rem; /* 16px */
        margin-bottom: 1rem;
    }

    .hero-tagline {
        font-size: 1.125rem; /* 18px */
        margin-bottom: 1.5rem;
        gap: 0.25rem;
    }

    .tagline-word {
        margin: 0.125rem 0.25rem;
    }

    .btn {
        min-width: 240px;
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }

    .cta-buttons {
        gap: 0.75rem;
    }

    .about p {
        font-size: 1.0625rem; /* 17px */
        line-height: 1.7;
    }

    .about-name-unique-wrapper {
        min-width: 150px;
    }

    .highlights-grid {
        gap: 1.5rem;
    }

    .highlight-card {
        padding: 1.75rem 1.5rem;
    }

    .highlight-card h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .highlight-card li {
        font-size: 1rem;
        padding: 0.5rem 0;
        padding-left: 1.5rem;
    }

    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 3rem;
        padding: 0.75rem;
    }

    .trust-list li {
        font-size: 1.0625rem; /* 17px */
        padding: 0.875rem 0;
    }

    .checkmark {
        width: 24px;
        height: 24px;
        font-size: 1.25rem;
    }

    .systems-banner {
        padding: 2rem 0;
    }

    .systems-main {
        font-size: 1.25rem;
    }

    .systems-note {
        font-size: 0.9375rem; /* 15px */
    }

    .contact-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .branch-card {
        padding: 1.75rem 1.5rem;
    }

    .branch-name {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .branch-info {
        gap: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .branch-detail {
        gap: 1rem;
    }

    .branch-detail .contact-icon {
        width: 48px;
        height: 48px;
        padding: 0.625rem;
    }

    .branch-detail .contact-icon svg {
        width: 32px;
        height: 32px;
    }

    .branch-detail-text strong {
        font-size: 0.8125rem; /* 13px */
    }

    .branch-detail-text p {
        font-size: 1rem;
    }

    .branch-cta .btn {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
    }
}

/* ==============================================
   HERO SECTION
   ============================================== */

.hero {
    position: relative;
    padding: 3rem 0 4rem;
    text-align: center;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: slideShow 40s infinite;
    filter: brightness(0.90);
    will-change: opacity, transform;
}

.slider-image:nth-child(1) {
    animation-delay: 0s;
}

.slider-image:nth-child(2) {
    animation-delay: 5s;
}

.slider-image:nth-child(3) {
    animation-delay: 10s;
}

.slider-image:nth-child(4) {
    animation-delay: 15s;
}

.slider-image:nth-child(5) {
    animation-delay: 20s;
}

.slider-image:nth-child(6) {
    animation-delay: 25s;
}

.slider-image:nth-child(7) {
    animation-delay: 30s;
}

.slider-image:nth-child(8) {
    animation-delay: 35s;
}

@keyframes slideShow {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }
    4% {
        opacity: 1;
        transform: scale(1);
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    14% {
        opacity: 0;
        transform: scale(1.05);
    }
    100% {
        opacity: 0;
        transform: scale(1.05);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.70) 0%, rgba(224, 242, 254, 0.60) 100%);
    z-index: 2;
    pointer-events: none;
}

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

.logo {
    max-width: 200px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    padding: 0.5rem;
}

.logo:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), 0 6px 12px rgba(0, 0, 0, 0.12);
}

.school-name {
    font-size: 1.75rem; /* 28px */
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    display: block;
}

.school-name-unique-wrapper {
    display: block;
    position: relative;
    width: auto;
    max-width: 600px;
    min-width: 500px;
    min-height: 1.3em;
    margin: 0 auto;
    text-align: center;
}

.school-name-unique {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
    opacity: 0;
    animation: slideSchoolName 8s ease-in-out infinite;
    text-align: center;
    line-height: 1.3;
}

.school-name-unique:nth-child(1) {
    animation-delay: 0s;
}

.school-name-unique:nth-child(2) {
    animation-delay: 4s;
}

.school-name-common {
    display: none;
}

.hero-headline {
    font-size: 3rem; /* 48px */
    color: #2563eb;
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
}

.hero-subheadline {
    font-size: 1.25rem; /* 20px */
    color: #475569;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.8);
}

.hero-tagline {
    font-size: 1.5rem; /* 24px */
    color: #1e293b;
    margin-bottom: 2rem;
    font-weight: 600;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.8);
}

.tagline-word {
    display: inline-block;
    animation: slideInLeft 0.6s ease-out both;
    transition: transform 0.2s ease;
}

.tagline-word:hover {
    transform: translateY(-2px);
}

.tagline-academics {
    color: var(--color-green);
    animation-delay: 0.1s;
}

.tagline-skills {
    color: var(--color-orange);
    animation-delay: 0.2s;
}

.tagline-discipline {
    color: var(--color-blue);
    animation-delay: 0.3s;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* ==============================================
   BUTTONS
   ============================================== */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
    min-width: 280px;
}

.btn-primary {
    background-color: var(--color-orange);
    color: #ffffff;
    border-color: var(--color-orange);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background-color: #ea580c;
    border-color: #ea580c;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.95);
    color: #2563eb;
    border-color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.btn-secondary:hover {
    background-color: #2563eb;
    color: #ffffff;
}

.btn:focus {
    outline: 3px solid #93c5fd;
    outline-offset: 2px;
}

/* ==============================================
   ABOUT SECTION
   ============================================== */

.about {
    background-color: #ffffff;
    text-align: center;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-green), var(--color-orange), var(--color-blue));
    border-radius: 0 0 2px 2px;
}

.about p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #475569;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    position: relative;
}

.about-name-unique-wrapper {
    display: inline-block;
    position: relative;
    min-width: 200px;
    text-align: left;
    vertical-align: baseline;
}

.about-name-unique {
    position: absolute;
    left: 0;
    white-space: nowrap;
    opacity: 0;
    animation: slideSchoolName 8s ease-in-out infinite;
    font-weight: 600;
}

.about-name-unique:nth-child(1) {
    animation-delay: 0s;
    position: relative;
}

.about-name-unique:nth-child(2) {
    animation-delay: 4s;
    position: absolute;
    left: 0;
    top: 0;
}

.about-name-common {
    display: inline-block;
}

.about-location-wrapper {
    display: inline-block;
    position: relative;
    min-width: 100px;
    text-align: left;
    vertical-align: baseline;
}

.about-location {
    position: absolute;
    left: 0;
    white-space: nowrap;
    opacity: 0;
    animation: slideSchoolName 8s ease-in-out infinite;
}

.about-location:nth-child(1) {
    animation-delay: 0s;
    position: relative;
}

.about-location:nth-child(2) {
    animation-delay: 4s;
    position: absolute;
    left: 0;
    top: 0;
}

/* ==============================================
   HIGHLIGHTS SECTION
   ============================================== */

.highlights {
    background-color: #f8fafc;
}

.highlights h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.highlights h2::after {
    width: 80px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.highlight-card {
    background-color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(241, 245, 249, 0.8);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.05), transparent);
    transition: left 0.5s ease;
}

.highlight-card:hover::before {
    left: 100%;
}

.highlight-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

.card-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 16px;
    width: 80px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    font-size: 3.5rem;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.highlight-card:hover .card-icon {
    transform: translateY(-4px) scale(1.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.highlight-card h3 {
    color: var(--color-blue);
    margin-bottom: 1.25rem;
    transition: color 0.3s ease;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.highlight-card:hover h3 {
    color: var(--color-blue);
}

.highlight-card ul {
    padding-left: 0;
}

.highlight-card li {
    padding: 0.625rem 0;
    color: #475569;
    position: relative;
    padding-left: 1.75rem;
    transition: color 0.2s ease, transform 0.2s ease;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.highlight-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-orange);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;
    transition: transform 0.2s ease;
}

.highlight-card li:hover {
    color: var(--color-blue);
    transform: translateX(4px);
}

.highlight-card li:hover::before {
    transform: scale(1.2);
}

/* ==============================================
   TRUST SECTION
   ============================================== */

.trust {
    background-color: #ffffff;
    text-align: center;
}

.trust h2 {
    margin-bottom: 2rem;
    text-align: center;
}

.trust h2::after {
    width: 80px;
}

.trust-list {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.trust-list li {
    padding: 1rem 0;
    font-size: 1.25rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease, padding-left 0.2s ease;
    cursor: default;
}

.trust-list li:hover {
    transform: translateX(8px);
    padding-left: 0.5rem;
}

.checkmark {
    color: var(--color-green);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.trust-list li:hover .checkmark {
    background-color: rgba(34, 197, 94, 0.2);
    transform: scale(1.1);
}

/* ==============================================
   SYSTEMS SECTION
   ============================================== */

.systems {
    padding: 0;
}

.systems-banner {
    background: linear-gradient(135deg, var(--color-blue) 0%, #1d4ed8 100%);
    padding: 2.5rem 0;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.systems-main {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.systems-main strong {
    color: #ffffff;
    font-weight: 700;
}

.systems-note {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin: 0;
}

.systems-note a {
    color: #ffffff;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.systems-note a:hover {
    opacity: 0.8;
}

/* ==============================================
   CONTACT SECTION - BRANCHES
   ============================================== */

.contact {
    background-color: #ffffff;
}

.contact h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.branches-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.branch-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid rgba(241, 245, 249, 0.8);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.branch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

.branch-name {
    color: var(--color-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.branch-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.branch-detail {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    text-align: left;
}

.branch-detail .contact-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
    border-radius: 12px;
    width: 56px;
    height: 56px;
    transition: all 0.3s ease;
}

.branch-detail:nth-child(2) .contact-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
}

.branch-detail:nth-child(3) .contact-icon {
    background: linear-gradient(135deg, rgba(37, 213, 102, 0.1) 0%, rgba(18, 140, 126, 0.05) 100%);
}

.whatsapp-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-link:hover {
    transform: scale(1.1);
}

.branch-card:hover .branch-detail .contact-icon {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.branch-detail .contact-icon svg {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.branch-card:hover .branch-detail .contact-icon svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.branch-detail-text {
    flex: 1;
}

.branch-detail-text strong {
    display: block;
    color: var(--color-blue);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.branch-detail-text p {
    font-size: 1.125rem;
    color: #475569;
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

.branch-detail-text a {
    color: #1e293b;
    font-weight: 600;
    transition: color 0.3s ease;
}

.branch-detail-text a:hover {
    color: var(--color-blue);
    text-decoration: underline;
}

.branch-cta {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(241, 245, 249, 0.8);
}

.branch-cta .btn {
    width: 100%;
    min-width: auto;
    font-size: 1.125rem;
    padding: 1rem 1.5rem;
}

/* ==============================================
   FOOTER
   ============================================== */

.footer {
    background-color: #1e293b;
    color: #cbd5e1;
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin: 0;
    font-size: 1rem;
}

/* ==============================================
   RESPONSIVE - MOBILE (up to 767px)
   ============================================== */

@media (max-width: 767px) {
    .container {
        padding: 0 1.25rem;
    }

    section {
        padding: 3rem 0;
    }

    h1 {
        font-size: 2rem; /* 32px */
    }

    h2 {
        font-size: 1.75rem; /* 28px */
    }

    .hero {
        min-height: 550px;
        padding: 2.5rem 0 3.5rem;
    }

    .slider-image {
        filter: brightness(0.85);
    }

    .hero-overlay {
        background: linear-gradient(135deg, rgba(248, 250, 252, 0.75) 0%, rgba(224, 242, 254, 0.70) 100%);
    }

    .logo {
        max-width: 180px;
        margin-bottom: 1.75rem;
    }

    .school-name {
        font-size: 1.5rem; /* 24px */
        margin-bottom: 1.25rem;
    }

    .school-name-unique-wrapper {
        max-width: 100%;
        width: 100%;
        min-width: 320px;
        padding: 0 1rem;
        min-height: 2.6em;
    }
    
    .school-name-unique {
        white-space: normal;
        text-align: center;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 90%;
        width: 90%;
        line-height: 1.3;
    }

    .hero-headline {
        font-size: 2.5rem; /* 40px */
        margin-bottom: 0.625rem;
    }

    .hero-subheadline {
        font-size: 1.125rem; /* 18px */
        margin-bottom: 1.25rem;
    }

    .hero-tagline {
        font-size: 1.375rem; /* 22px */
        margin-bottom: 1.75rem;
    }

    .btn {
        min-width: 260px;
        font-size: 1.0625rem;
        padding: 0.9375rem 1.75rem;
    }

    .cta-buttons {
        gap: 0.875rem;
    }

    .about {
        padding: 3rem 0;
    }

    .about p {
        font-size: 1.125rem; /* 18px */
        line-height: 1.75;
    }
    
    .about-name-unique-wrapper {
        min-width: 180px;
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .about-name-unique {
        white-space: normal;
    }
    
    .about-location-wrapper {
        min-width: 100px;
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .about-location {
        white-space: normal;
    }

    .highlights-grid {
        gap: 1.75rem;
    }

    .highlight-card {
        padding: 2rem 1.75rem;
    }

    .highlight-card h3 {
        font-size: 1.375rem;
    }

    .highlight-card li {
        font-size: 1.0625rem;
    }

    .card-icon {
        width: 75px;
        height: 75px;
        font-size: 3.25rem;
    }

    .trust-list {
        max-width: 100%;
    }

    .trust-list li {
        font-size: 1.125rem;
        padding: 0.9375rem 0;
    }

    .systems-banner {
        padding: 2.25rem 0;
    }

    .systems-main {
        font-size: 1.375rem;
    }

    .systems-note {
        font-size: 0.9375rem;
    }

    .contact-subtitle {
        font-size: 1.0625rem;
        margin-bottom: 2.5rem;
    }

    .branches-grid {
        gap: 2rem;
    }

    .branch-card {
        padding: 2rem 1.75rem;
    }

    .branch-name {
        font-size: 1.375rem;
    }

    .branch-detail-text p {
        font-size: 1.0625rem;
    }

    .branch-cta .btn {
        font-size: 1.0625rem;
        padding: 0.9375rem 1.5rem;
    }
}

/* ==============================================
   RESPONSIVE - TABLET (768px and up)
   ============================================== */

@media (min-width: 768px) {
    .hero {
        min-height: 650px;
    }

    .school-name {
        font-size: 2.25rem; /* 36px */
    }

    .hero-headline {
        font-size: 3.5rem; /* 56px */
    }

    .hero-subheadline {
        font-size: 1.375rem; /* 22px */
    }

    .hero-tagline {
        font-size: 1.75rem;
    }

    .tagline-word {
        margin: 0 0.25rem;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1.25rem;
    }

    .btn {
        min-width: 260px;
    }

    .about p {
        font-size: 1.25rem;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.25rem;
    }

    .highlight-card {
        padding: 2.25rem 2rem;
    }

    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .branch-name {
        font-size: 1.75rem;
    }

    .branch-card {
        padding: 2.25rem 2rem;
    }

    .logo {
        max-width: 250px;
    }

    .card-icon {
        width: 90px;
        height: 90px;
        font-size: 4rem;
    }

    .contact-icon {
        width: 64px;
        height: 64px;
    }

    .contact-icon svg {
        width: 44px;
        height: 44px;
    }
}

/* ==============================================
   RESPONSIVE - DESKTOP (1024px and up)
   ============================================== */

@media (min-width: 1024px) {
    section {
        padding: 5rem 0;
    }

    .hero {
        padding: 4rem 0 5rem;
        min-height: 700px;
    }

    .school-name {
        font-size: 2.75rem; /* 44px */
    }

    .hero-headline {
        font-size: 4rem; /* 64px */
    }

    .hero-subheadline {
        font-size: 1.5rem; /* 24px */
    }

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

    .tagline-word {
        margin: 0 0.5rem;
    }

    .btn {
        min-width: 280px;
        font-size: 1.125rem;
    }

    .cta-buttons {
        gap: 1.5rem;
    }

    .about p {
        font-size: 1.25rem;
    }

    .highlights-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }

    .highlight-card {
        padding: 2.5rem 2rem;
    }

    .logo {
        max-width: 280px;
    }

    .card-icon {
        width: 100px;
        height: 100px;
        padding: 1.25rem;
        font-size: 4.5rem;
    }

    .contact-icon {
        width: 72px;
        height: 72px;
        padding: 1rem;
    }

    .contact-icon svg {
        width: 48px;
        height: 48px;
    }

    .branches-grid {
        gap: 3.5rem;
    }

    .branch-card {
        padding: 2.5rem;
    }
}

/* ==============================================
   RESPONSIVE - LARGE DESKTOP (1440px and up)
   ============================================== */

@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero {
        min-height: 750px;
    }

    .school-name {
        font-size: 3rem; /* 48px */
    }

    .hero-headline {
        font-size: 4.5rem; /* 72px */
    }

    .hero-subheadline {
        font-size: 1.625rem; /* 26px */
    }
}

/* ==============================================
   ACCESSIBILITY & FOCUS STATES
   ============================================== */

a:focus-visible,
button:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 2px;
}

/* Ensure proper contrast for all text */
@media (prefers-contrast: high) {
    body {
        color: #000000;
    }

    .hero-subheadline,
    .about p,
    .highlight-card li,
    .trust-list li {
        color: #1e293b;
    }
}

