/*!
Theme Name: Taxila
Theme URI: 
Author: Source Code Web Team
Author URI: https://www.sourcecode.com.mm/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: taxila
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Taxila is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


:root {
    --primary: #BC1D2B;
    --primary-light: #F8E8EA;
    --white: #ffffff;
    --text: #0A0D14;
    --text-soft: #868C98;
    --text-sub: #525866;
    --border: #CDD0D5;
    --radius: 12px;
    --bg: #F6F8FA;
    --bg-soft: #E2E4E9;
    --shadow: 0px 2px 0px 1px #375DFB14;
    --radius-pill: 120px;
    --content-width: 1280px;
    --section-ink: #565f70;
	
	--nav-height: 146px;
}

/* =========================================
   Font Face: Archivo Expanded
   ========================================= */
@font-face {
    font-family: 'Archivo Expanded';
    src: url('/wp-content/themes/taxila/assets/fonts/Poppins-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo Expanded';
    src: url('/wp-content/themes/taxila/assets/fonts/Archivo_Expanded-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo Expanded';
    src: url('/wp-content/themes/taxila/assets/fonts/Archivo_Expanded-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo Expanded';
    src: url('/wp-content/themes/taxila/assets/fonts/Archivo_Expanded-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   Font Face: Poppins
   ========================================= */
@font-face {
    font-family: 'Poppins';
    src: url('/wp-content/themes/taxila/assets/fonts/Poppins-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/wp-content/themes/taxila/assets/fonts/Poppins-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   Base Reset & Typography
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background-color: #ffdad8;
    color: #410006;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Archivo Expanded', sans-serif;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus,
a:hover,
a:active {
    outline: none;
}

li {
	list-style: none;
}

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}


/* =========================================================================
   BASE STYLES (PC-first)
   ========================================================================= */

.container {
    max-width: calc(var(--content-width) + 96px);
    margin: 0 auto;
    padding-left: 48px;
    padding-right: 48px;
}

/* =========================================
   Navigation
   ========================================= */
.nav-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    width: 100%;
	height: var(--nav-height);
    background-color: var(--white);
    transition: box-shadow 0.3s ease;
}

.nav-header-wrapper.is-sticky {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

/* Red utility bar: top links + search toggle */
.nav-utility-bar {
    position: relative;
    z-index: 2;
    overflow: visible;
    background-color: var(--primary);
}

.nav-utility-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: calc(var(--content-width) + 96px);
    height: 52px;
    margin: 0 auto;
    padding: 0 48px;
    gap: 28px;
    transition: opacity 0.2s ease;
}

.nav-utility-bar.search-active .nav-utility-inner {
    opacity: 0;
    pointer-events: none;
}

.utility-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 14px;
}

.utility-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.utility-nav-item {
    position: relative;
}

.utility-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
    border: none;
    background: none;
    color: var(--white);
    font-family: 'Archivo Expanded', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.utility-nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.utility-nav-link.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -20px;
    z-index: 3;
    width: 60px;
    height: 12px;
    background: var(--white);
    border-radius: 10px 10px 0 0;
    transform: translateX(-50%);
}

.utility-chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.utility-nav-item:hover .utility-dropdown-panel,
.utility-nav-item.dropdown-open .utility-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(4px);
}

.utility-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 10;
    min-width: 220px;
    padding: 8px;
    margin-top: 8px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.utility-dropdown-link {
    display: block;
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--text);
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.utility-dropdown-link:hover {
    background: var(--bg-weak);
    color: var(--primary);
}

/* White bar: logo + primary nav */
.nav-main-bar {
    position: relative;
    z-index: 1;
    background-color: var(--white);
}

.nav-inner-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: calc(var(--content-width) + 96px);
    height:  calc(var(--nav-height) - 52px);
    margin: 0 auto;
    padding: 0 48px;
}

.desktop-navigation {
    margin-left: auto;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: opacity 0.25s ease;
}

.logo-img {
    width: 150px;
}

.nav-links-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: clamp(17px, 1.75vw, 30px);
}

.nav-item-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text);
    font-family: 'Archivo Expanded', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: -1.1%;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-item-link:hover,
.nav-item-link.highlight-pink {
    color: var(--primary);
}

.chevron-down {
    width: 0.875rem;
    height: 0.875rem;
    transition: transform 0.3s;
}

.nav-list-item:hover .chevron-down {
    transform: rotate(180deg);
}

.header-right-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-toggle-btn {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 9999px;
    background-color: transparent;
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.search-toggle-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.search-toggle-btn svg {
    width: 16px;
    height: 16px;
}

/* Expands over the red utility bar when search is active */
.header-search-overlay {
    position: absolute;
	display: none;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    padding: 0 24px;
    background-color: var(--primary);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.25s;
}

.header-search-overlay.active {
	display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.search-overlay-inner {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: calc(var(--content-width) + 96px);
    margin: 0 auto;
    gap: 16px;
}

.search-overlay-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--white);
}

.search-overlay-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: var(--white);
    font-size: clamp(16px, 1.25vw, 18px);
    font-weight: 500;
}

.search-overlay-input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.search-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none;
    background: none;
    color: var(--white);
    cursor: pointer;
}

.search-close-btn svg {
    width: 20px;
    height: 20px;
}

/* Mega menu dropdown */
.dropdown-window-frame {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: var(--bg);
    border-radius: 0 0 32px 32px;
    box-shadow: 0px 18px 30px 0px #00000029;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        height 0.32s cubic-bezier(0.25, 1, 0.5, 1);
}

.dropdown-window-frame.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-centering-container {
    display: flex;
    justify-content: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 24px 52px 24px;
}

.mega-inner-layout-grid {
    width: 100%;
    transition: opacity 0.2s ease;
}

.mega-inner-layout-grid.split-mode {
    display: grid;
    grid-template-columns: 300px 1px 380px;
    justify-content: center;
    gap: 0;
}

.mega-inner-layout-grid.centered-isolated-mode {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 380px;
}

.dropdown-left-sidebar {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-right: 48px;
    gap: 0;
}


.centered-isolated-mode .dropdown-left-sidebar {
    width: 380px;
    padding-right: 0;
}

.dropdown-row-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: none;
    color: var(--text);
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, font-weight 0.15s ease;
}

.split-mode .dropdown-row-item {
    padding: 16px 0;
}

.split-mode .dropdown-row-item:last-child {
    border-bottom: none;
}

.dropdown-row-item.active {
    color: var(--primary);
    font-weight: 600;
}

.dropdown-row-item.muted-disabled {
    color: var(--text);
    font-weight: 400;
}

.dropdown-row-item:hover {
    color: var(--primary);
}

.split-mode .dropdown-row-item.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-list-item.is-active > a {
  color: var(--primary);
}

.arrow-up-right-diagonal {
    flex-shrink: 0;
    margin-left: 8px;
    color: var(--primary);
    font-size: clamp(13px, 1.05vw, 15px);
    font-weight: 600;
}

.dropdown-mid-vertical-divider {
    align-self: stretch;
    flex-shrink: 0;
    width: 1px;
    background-color: var(--border);
}

.dropdown-right-links-column {
    display: flex;
    flex-direction: column;
    padding-left: 48px;
}

.submenu-destination-link {
    display: block;
    padding: 18px 0;
    color: var(--text);
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
}

.submenu-destination-link:hover {
    color: var(--primary);
    font-weight: 600;
}

.submenu-destination-link:last-child {
    border-bottom: none;
}

/* Mobile navigation panel (only ever shown ≤768px, see that breakpoint) */
.mobile-dropdown-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9998;
    display: none;
    width: 100%;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-dropdown-container.is-visible {
    max-height: 85vh;
    overflow-y: auto;
    visibility: visible;
    opacity: 1;
}

.mobile-menu-panel {
    width: 100%;
    padding: 24px 24px 48px;
    background-color: var(--primary);
    border-radius: 0;
    box-shadow: none;
}

.mobile-search-box {
    display: flex;
    align-items: center;
    margin: 8px 0 28px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 9999px;
    gap: 10px;
}

.mobile-search-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--white);
}

.mobile-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: var(--white);
    font-size: 15px;
}

.mobile-search-input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.mobile-menu-card {
    width: 100%;
    padding: 0;
}

.mobile-utility-group {
    display: flex;
    flex-direction: column;
}

.mobile-group-divider {
    height: 1px;
    margin: 12px 0 12px;
    background-color: rgba(255, 255, 255, 0.25);
}

.mobile-nav-row-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    width: 100%;
    padding: 12px 4px;
    border-bottom: none;
    gap: 4px;
    color: var(--white);
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

.mobile-sub-accordion-box {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 4px;
    border-bottom: none;
    background-color: transparent;
}

.mobile-level1-box {
    padding: 0 4px;
}

.mobile-level2-box {
    padding: 0 12px 0 0;
}

.mobile-sub-row-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    padding: 14px 0;
    border-bottom: none;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.mobile-top-label {
    flex: 0 1 auto;
    color: inherit;
    font-size: 16px;
    font-weight: 600;
    text-align: right;
    text-decoration: none;
    white-space: nowrap;
}

.mobile-sub-label {
    flex: 0 1 auto;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    text-align: right;
    text-decoration: none;
}

.mobile-chevron-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 4px;
    border: none;
    background: none;
    color: var(--white);
    cursor: pointer;
}

.mobile-lucide-chevron {
    display: block;
    width: 18px;
    height: 18px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-chevron-btn.is-open .mobile-lucide-chevron {
    transform: rotate(180deg);
}

.sub-chevron-btn {
    color: rgba(255, 255, 255, 0.8);
}

.sub-chevron-btn .mobile-lucide-chevron {
    width: 16px;
    height: 16px;
}

.mobile-inner-link {
    display: block;
    width: 100%;
    padding: 10px 0;
    border-bottom: none;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-inner-link:hover {
    color: var(--white);
}

.mobile-hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    z-index: 100000;
    width: 20px;
    height: 14px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.burger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.mobile-hamburger-btn.is-active .line-top {
    transform: translateY(6px) rotate(45deg);
}

.mobile-hamburger-btn.is-active .line-mid {
    opacity: 0;
}

.mobile-hamburger-btn.is-active .line-bot {
    transform: translateY(-6px) rotate(-45deg);
}

/* =========================================
   Page Hero Placeholder (inner pages)
   ========================================= */
.page-hero-placeholder {
    display: flex;
    align-items: flex-end;
    height: 90vh;
    min-height: 580px;
    padding: 0 8% 12% 8%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.25)), url('image_50cbee.jpg');
    background-size: cover;
    background-position: center;
}

.hero-text-content {
    max-width: 650px;
}

.hero-title-header {
    margin-bottom: 24px;
    color: var(--white);
    font-size: clamp(36px, 2.45vw, 42px);
    font-weight: 600;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    background: transparent;
    color: var(--white);
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.hero-cta-btn:hover {
    background-color: var(--white);
    color: var(--text);
}

/* =========================================
   Scroll Stacking Effect
   ========================================= */
.stack-group {
    position: relative;
    z-index: 10;
    width: 100%;
}

.stack-layer {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--white);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease, opacity 0.6s ease;
}

/* Specific layer adjustments */
#group-1.stack-layer {
    z-index: 10;
    overflow: hidden;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.1);
}

#group-2.stack-layer {
    z-index: 20;
    overflow: hidden;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.1);
}

#group-2.stack-layer #footer {
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
}

.partners-section {
    background-color: #e9eaec;
}

.footer {
    background-color: var(--primary);
}

/* Phase transitions: applied to a group once covered by the next one */
.stack-layer.is-stacked {
    filter: brightness(0.8);
    opacity: 0.9;
    transform: scale(0.96) translateY(-30px);
}

/* =========================================
   Hero Section
   100vh, centered content, slider-enabled
   ========================================= */
.hero {
    position: sticky;
    top: 0;
    z-index: 1;
    isolation: isolate;
    overflow: hidden;
    height: 100vh;
    min-height: 480px;
    background-color: var(--text);
}

.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.is-active {
    z-index: 2;
    visibility: visible;
    opacity: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1112px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.hero-title {
    max-width: 960px;
    margin-bottom: 16px;
    color: var(--white);
    font-size: clamp(48px, 4.35vw, 64px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.hero-subtitle {
    max-width: 42rem;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(16px, 1.25vw, 18px);
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.btn-primary {
    min-width: 132px;
    padding: 13px 20px;
    border-radius: var(--radius-pill);
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: clamp(12px, 0.9vw, 13px);
    box-shadow: var(--shadow);
    transition: filter 0.2s;
}

.btn-primary:hover {
    filter: brightness(1.1);
    background-color: var(--white);
    color: var(--primary);
}

.btn-secondary {
    min-width: 132px;
    padding: 13px 20px;
    border-radius: var(--radius-pill);
    background-color: var(--white);
    color: var(--primary);
    font-weight: 600;
    font-size: clamp(12px, 0.9vw, 13px);
    box-shadow: var(--shadow);
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Slider controls: prev / next arrows */
.hero-slider-nav {
    position: absolute;
    inset: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(12px, 3vw, 32px);
    pointer-events: none;
}

.hero-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: clamp(18px, 1.7vw, 22px);
    line-height: 1;
    pointer-events: auto;
    backdrop-filter: blur(6px);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background-color: rgba(255, 255, 255, 0.28);
    transform: scale(1.05);
}

/* Slider controls: dots */
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: clamp(18px, 4vh, 36px);
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.5);
    transition: background-color 0.25s ease, width 0.25s ease;
}

.hero-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.hero-dot.is-active {
    width: 28px;
    background-color: var(--white);
}

/* =========================================
   Section Common
   ========================================= */
.section-padding {
    padding: 56px 0 72px;
}

.section-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 48px;
}

.section-tag {
    color: var(--primary);
    font-weight: 600;
    font-size: clamp(16px, 1.25vw, 18px);
}

.section-title {
    color: var(--section-ink);
    font-size: clamp(36px, 3.1vw, 48px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.035em;
}

/* =========================================
   Schools Grid
   ========================================= */
.schools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.school-card {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1.12 / 1;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    color: inherit;
    text-decoration: none;
}

.school-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.school-card:hover .school-card-img {
    transform: scale(1.05);
}

.school-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2), transparent);
}

.school-card-title {
    color: var(--white);
    font-size: clamp(22px, 1.25vw, 24px);
    font-weight: 700;
    line-height: 1.13;
}

/* =========================================
   Stats Bar
   ========================================= */
.stats-bar {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-height: none;
    padding: 46px 0 42px;
    background-color: #e7e8eb;
    background-image: url("/wp-content/themes/taxila/assets/img/vector-1.svg"), url("/wp-content/themes/taxila/assets/img/vector-2.svg"), url("/wp-content/themes/taxila/assets/img/vector-3.svg");
    background-repeat: repeat-x, repeat-x, repeat-x;
    background-position: center top, center center, center bottom;
    background-size: 1440px auto, 1440px auto, 1440px auto;
}

.stats-text {
    margin-bottom: 24px;
    color: var(--section-ink);
    font-family: 'Archivo Expanded', sans-serif;
    font-size: clamp(19px, 1.5vw, 22px);
    font-weight: 400;
    font-style: italic;
    text-align: center;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px 50px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 9px;
}

.stat-number {
    color: var(--primary);
    font-family: 'Archivo Expanded', sans-serif;
    font-size: clamp(30px, 2.45vw, 36px);
    font-weight: 700;
}

.stat-label {
    color: var(--text-sub);
    font-size: clamp(19px, 1.5vw, 22px);
    font-weight: 700;
}

.bg-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: none;
    opacity: 1;
}

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

/* Offset rows so the zigzags interlace, like the 3 Figma vectors */
.stats-bar .pattern-row:nth-child(1) {
    margin-top: -50px;
}

.stats-bar .pattern-row:nth-child(2) {
    margin-top: -60px;
}

.stats-bar .pattern-row:nth-child(3) {
    margin-top: -60px;
}

/* =========================================
   Learning Modes
   ========================================= */
#modes-section {
    position: relative;
    z-index: 1;
    background-color: var(--white);
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    padding-top: 72px;
    padding-bottom: 72px;
}

.modes-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mode-block {
    display: flex;
    align-items: stretch;
    gap: 14px;
}

.mode-img-container.large {
    flex: 822 1 0;
    min-width: 0;
}

.mode-img-wrapper {
    overflow: hidden;
    height: 332px;
    border-radius: 8px;
}

.mode-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mode-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 434 1 0;
    min-width: 0;
    height: 100%;
    padding: 28px 24px;
    background-color: var(--bg);
    border-radius: var(--radius);
}

.mode-badge {
    display: inline-block;
    width: fit-content;
    margin-bottom: 14px;
    padding: 4px 9px;
    background-color: var(--primary-light);
    border-radius: var(--radius-pill);
    color: var(--primary);
    font-size: clamp(10px, 0.7vw, 12px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mode-title {
    margin-bottom: 10px;
    color: var(--text);
    font-size: clamp(22px, 1.4vw, 24px);
    font-weight: 700;
    line-height: 1.13;
}

.mode-desc {
    color: var(--text-sub);
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 400;
    line-height: 1.45;
}

/* =========================================
   Campus Life
   ========================================= */
.campus-life {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 0;
    background-color: var(--primary);
    background-image: none;
}

.campus-life::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    top: 0;
    z-index: 0;
    height: 240px;
    background-image:
        url("/wp-content/themes/taxila/assets/img/vector-1.svg"), url("/wp-content/themes/taxila/assets/img/vector-1.svg"), url("/wp-content/themes/taxila/assets/img/vector-1.svg"),
        url("/wp-content/themes/taxila/assets/img/vector-2.svg"), url("/wp-content/themes/taxila/assets/img/vector-2.svg"), url("/wp-content/themes/taxila/assets/img/vector-2.svg"),
        url("/wp-content/themes/taxila/assets/img/vector-3.svg"), url("/wp-content/themes/taxila/assets/img/vector-3.svg"), url("/wp-content/themes/taxila/assets/img/vector-3.svg");
    background-repeat: repeat-x;
    background-position: center top, center top, center top, center center, center center, center center, center bottom, center bottom, center bottom;
    background-size: 1440px 76px, 1440px 76px, 1440px 76px, 1440px 162px, 1440px 162px, 1440px 162px, 1440px 77px, 1440px 77px, 1440px 77px;
    filter: invert(1);
}

.campus-life .container,
.campus-life .campus-img-full {
    position: relative;
    z-index: 1;
    max-width: none;
    height: 240px;
    padding-top: 80px;
    padding-left: clamp(72px, 5.5vw, 104px);
    padding-right: clamp(72px, 5.5vw, 104px);
}

.campus-life .campus-img-full {
    height: auto;
    padding: 0;
}

.campus-life .section-tag {
    color: var(--white);
}

.campus-life .section-header {
    margin-bottom: 0;
}

.campus-life .section-title {
    color: var(--white);
    font-size: clamp(50px, 3.4vw, 64px);
    line-height: 1.1;
}

.campus-img-full {
    display: block;
    position: relative;
    width: 100%;
    min-height: 0;
    height: auto;
    max-height: none;
    aspect-ratio: 2.15 / 1;
    object-fit: cover;
    object-position: center;
}

/* =========================================
   News Section
   ========================================= */
.news-section {
    width: 100%;
    padding: 0;
}

.news-container {
    padding: 60px 0 64px;
    background-color: var(--white);
    border: 0;
}

.news-container .section-header {
    margin-bottom: 48px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: calc(var(--content-width) + 96px);
    margin: 0 auto 32px;
    padding: 0 48px;
    gap: 16px;
}

.news-card {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1.12 / 1;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    color: inherit;
    text-decoration: none;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.news-card:hover .news-card-img {
    transform: scale(1.05);
}

.news-card .school-card-overlay {
    padding: 20px;
}

.view-more-btn {
    display: flex;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
    padding: 10px 18px;
    background-color: var(--primary);
    border-radius: 9999px;
    color: var(--white);
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 600;
    gap: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: filter 0.2s;
}

.view-more-btn i[data-lucide] {
    width: 15px;
    height: 15px;
    stroke-width: 2.5;
    transition: transform 0.2s;
}

.view-more-btn:hover i[data-lucide] {
    transform: translateX(4px);
}

.view-more-btn:hover {
    filter: brightness(1.1);
}

.view-more-btn span {
    transition: transform 0.2s;
}

.view-more-btn:hover span {
    transform: translateX(4px);
}

/* =========================================
   Partners
   ========================================= */
.partners-section {
    padding: 50px 48px;
    background-color: #e9eaec;
    text-align: center;
}

.partners-title {
    margin-bottom: 32px;
    color: var(--primary);
    font-size: clamp(30px, 2.45vw, 36px);
    font-weight: 700;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.partner-logo {
    width: 180px;
    height: 100px;
    padding: 10px;
    background-color: var(--white);
    border-radius: 6px;
    object-fit: contain;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* =========================================
   Testimonials
   ========================================= */
.testimonials-section {
    padding: 68px 48px 72px;
}

.testimonials-section .section-header {
    margin-bottom: 48px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: var(--content-width);
    margin: 0 auto 32px;
    gap: 16px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
    background-color: #f3f4f6;
    border: 1px solid #f9fafb;
    border-radius: var(--radius);
}

.quote-icon {
    display: block;
    width: 30px;
    height: 30px;
    margin-bottom: 22px;
    color: var(--primary);
}

.testimonial-name {
    margin-bottom: 0.25rem;
    color: var(--text);
    font-size: clamp(19px, 1.5vw, 22px);
    font-weight: 700;
}

.testimonial-role {
    margin-bottom: 16px;
    color: var(--text-sub);
    font-size: clamp(11px, 0.85vw, 12px);
    font-weight: 600;
    text-transform: uppercase;
}

.testimonial-text {
    color: var(--text-sub);
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 400;
    line-height: 24px;
}

/* =========================================
   Map
   ========================================= */
.map-section {
    position: relative;
    width: 100%;
    height: 600px;
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Page Hero Section */
.page-wrapper {
    background-color: var(--bg);
	padding-top: var(--nav-height);
}

.app-wrapper {
	padding-top: var(--nav-height);
}

.page-hero-section {
    position: relative;
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #1a1a1a;
}

.page-hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: 20% top;
    z-index: 1;
}

.page-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 2;
}

.page-hero-v-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.page-hero-v-shape {
    position: absolute;
    width: auto;
    opacity: 0.8;
    z-index: 2;
}

.page-hero-v-shape--left {
    width: 520px;
    height: 350px;
    left: -2px;
    top: -70px;
}

.page-hero-v-shape--right {
    width: 520px;
    height: 320px;
    right: -30px;
    bottom: -20px;
  
}

.page-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.page-hero-content h1 {
    max-width: 857px;
    margin: 0 auto;
    color: var(--white);
    font-family: 'Archivo Expanded', sans-serif;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.page-content-section {
    position: relative;
    width: 100%;
    background-color: var(--bg);
    overflow: hidden;
}

.page-content-v-shapes {
    width: 100%;
    max-width: 1240px;
    height: 850px;
    left: -40px;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
    opacity: 0.8;
}

.page-content-description {
    max-width: 840px;        
    margin: 0 auto;     
    padding: 40px 20px;    
    text-align: left;
    position: relative;
    z-index: 1;
   
}

.page-content-description p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px; 
    letter-spacing: -1.1%;       
    color: var(--text-sub);          
    margin-bottom: 12px; 
}

.page-image-wrapper {
    position: relative;
    z-index: 1;
    max-height: 670px;;
    margin: 0 auto;
	margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.page-content-image {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    padding: 52px 48px 24px;
    background-color: var(--primary);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: var(--content-width);
    margin: 0 auto;
    gap: 28px;
}

.footer-logo-section {
    grid-column: span 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 0.5rem;
}

.footer-logo-img {
    width: 180px;
    height: auto;
    object-fit: contain;
}

.footer-logo-text {
    font-size: clamp(25px, 2.05vw, 30px);
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 6.67px;
    background: #FFFFFF33;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.25s ease;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.08);
}

.social-icon {
    width: 21px;
    height: 21px;
    filter: brightness(0) invert(1);
}

.footer-column-title {
    margin-bottom: 16px;
    font-size: clamp(17px, 1.4vw, 20px);
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 8px;
}

.footer-links.with-bullets li {
    position: relative;
    padding-left: 13px;
}

.footer-links.with-bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--white);
}

.footer-link {
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 600;
    transition: opacity 0.2s;
}

.footer-link:hover {
    opacity: 1;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item {
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 600;
    line-height: 1.45;
}

.footer-contact-label {
    display: inline;
    font-weight: 700;
}

.footer-contact-value {
    display: inline;
}

.footer-contact-value.block {
    display: block;
    margin-top: 0.25rem;
}

.footer-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: var(--content-width);
    margin: 36px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 1.5rem;
}

.copyright {
    color: var(--white);
    font-size: clamp(11px, 0.85vw, 12px);
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.footer-legal {
    display: flex;
    color: var(--white);
    font-size: clamp(11px, 0.85vw, 12px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    gap: 2rem;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Material Symbols Fix */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.delay-200 {
    animation-delay: 0.2s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.opacity-0 {
    opacity: 0;
}

/* =========================================================================
   Small laptop (max-width: 1280px)
   ========================================================================= */
@media (max-width: 1280px) {
    .container,
    .nav-utility-inner,
    .nav-inner-body,
    .search-overlay-inner {
        padding-left: 32px;
        padding-right: 32px;
    }

    .logo-img {
        width: 130px;
    }

    .nav-item-link {
        gap: 0.2rem;
        font-size: 11px;
    }

    .section-padding {
        padding: 48px 0 60px;
    }

    .schools-grid,
    .news-grid {
        gap: 14px;
    }

    .news-grid {
        padding: 0 32px;
    }

    .mode-img-wrapper {
        height: 300px;
    }

    .testimonials-grid,
    .footer-grid {
        gap: 20px;
    }

    .partners-section,
    .testimonials-section {
        padding-left: 32px;
        padding-right: 32px;
    }

    .footer {
        padding-left: 32px;
        padding-right: 32px;
    }
}

/*----------- Large Desktop(1281px to 1920px) ------------*/
@media screen and (min-width: 1281px) and (max-width: 1920px) {
 
    .page-hero-bg-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; 
        object-position: 20% top; 
        z-index: 1;
    }

    .page-content-v-shapes {
        width: 100%;
        max-width: 1240px;
        height: 850px;
        left: -40px;
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 0;
        overflow: visible;
    }
    
    
}

/* =========================================================================
   Tablet landscape (max-width: 1024px)
   ========================================================================= */
@media (max-width: 1024px) {
	
	:root {
	  --nav-height: 90px;
	}
	
    .container,
    .nav-utility-inner,
    .nav-inner-body,
    .search-overlay-inner {
        padding-left: 25px;
        padding-right: 25px;
    }

    

    .nav-utility-bar {
        display: none;
    }
	
	.nav-header-wrapper {
		height: var(--nav-height);
	}
	
	.page-wrapper,
	.app-wrapper {
		padding-top: var(--nav-height);
	}
	
	.nav-inner-body {
		 height: var(--nav-height);
	}


    .desktop-navigation {
        display: none;
    }

    .mobile-hamburger-btn {
        display: flex;
        width: 18px;
        height: 13px;
    }

    .mobile-dropdown-container {
        display: block;
    }

    .language-pill-badge {
        display: flex;
        padding: 4px 10px;
    }

    .nav-utility-inner {
        gap: 20px;
    }

    .utility-nav-links {
        gap: 18px;
    }

    .nav-links-list {
        gap: 16px;
    }
	
    .section-padding {
        padding: 40px 0 48px;
    }

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

    .news-grid {
        padding: 0 24px;
    }

    .mode-block {
        gap: 10px;
    }

    .mode-img-wrapper {
        height: 260px;
    }

    .campus-life .container,
    .campus-life .campus-img-full {
        padding-left: 40px;
        padding-right: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-logo-section {
        grid-column: span 3;
    }
}


/*------------- Tablet Screen (768px to 1280px) ------------*/
@media screen and (min-width: 768px) and (max-width: 1280px) {

    .page-hero-bg-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 15% top; 
        z-index: 1;
    }

    .page-hero-content h1 {
        font-size: 36px;
        letter-spacing: 0.8px;
    }

    .page-hero-v-shape--left {
        width: 400px;
        height: 260px;
        left: -30px;
        top: -50px;
        opacity: 0.7;
    }

    .page-hero-v-shape--right {
        width: 400px;
        height: 240px;
        right: -30px;
        bottom: -20px;
        opacity: 0.7;
    }

    .page-content-section {
        min-height: auto;
    }

    .page-content-v-shapes {
        width: 100%;
        overflow: hidden;
    }

    .page-content-description {
        max-width: 760px;
    }

    .page-content-description p {
        margin-bottom: 14px;
    }

    .page-image-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .page-content-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}


/* =========================================================================
   Tablet portrait (max-width: 768px)
   ========================================================================= */
@media (max-width: 768px) {
 
	
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
	
	
    .nav-inner-body {
        padding: 0 14px;
    }

    .logo-img {
        width: 100px;
    }

    .hero {
        height: 58svh;
        min-height: 360px;
    }

    .hero-content {
        padding: 0 20px 0;
    }

    .hero-title {
        margin-bottom: 1rem;
        font-size: clamp(30px, 8.2vw, 38px);
        line-height: 1.15;
    }

    .hero-subtitle {
        max-width: 290px;
        margin-bottom: 1.75rem;
        font-size: 13px;
        line-height: 1.35;
    }

    .hero-btns {
        justify-content: center;
        gap: 8px;
    }

    .btn-primary,
    .btn-secondary {
        min-width: 102px;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .hero-slider-nav,
    .hero-dots {
        display: none;
    }

    #group-1.stack-layer,
    #group-2.stack-layer,
    #group-2.stack-layer #footer {
        border-radius: 14px 14px 0 0;
    }
	
    .section-padding {
        padding: 28px 0 32px;
    }

    .section-header {
        align-items: flex-start;
        margin-bottom: 18px;
        gap: 12px;
    }

    .section-tag {
        font-size: 12px;
        line-height: 1.25;
    }

    .section-title {
        font-size: clamp(21px, 6vw, 27px);
        line-height: 1.08;
        letter-spacing: -0.025em;
    }

    .schools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }

    .school-card {
        aspect-ratio: 1.38 / 1;
        border-radius: 5px;
    }

    .school-card-overlay {
        padding: 10px;
    }

    .stats-bar {
        max-height: none;
        padding: 22px 0 20px;
        background-size: 720px auto, 720px auto, 720px auto;
    }

    .stats-text {
        margin: 0 auto 15px;
        font-size: 12px;
        line-height: 1.35;
    }

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

    .stat-item {
        justify-content: center;
        gap: 7px;
    }

    .stat-number {
        font-size: 25px;
    }

    .stat-label {
        font-size: 12px;
    }

    #modes-section {
        padding-top: 30px;
    }

    .mode-block {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .mode-img-container.large { order: 1; }
    .mode-content { order: 2; }


    .campus-life {
        padding: 0;
        margin-top: 0;
    }

    .campus-life::before {
        top: 24px;
        height: 120px;
        background-size:
            720px 38px, 720px 38px, 720px 38px,
            720px 81px, 720px 81px, 720px 81px,
            720px 38px, 720px 38px, 720px 38px;
    }

    .campus-life .container {
        height: 128px;
        padding: 30px 16px 0;
    }

    .campus-life .section-header {
        margin: 0;
    }

    .campus-life .section-title {
        font-size: 23px;
    }

    .campus-img-full {
        min-height: 0;
        height: auto;
        max-height: none;
        aspect-ratio: 1.55 / 1;
        object-position: center;
    }

    .news-container {
        padding: 30px 0;
        border: 0;
    }

    .news-container .section-header {
        margin-bottom: 18px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        margin: 0 0 18px;
        padding: 0 16px;
        gap: 10px;
    }

    .news-card {
        aspect-ratio: .72 / 1;
        border-radius: 5px;
    }

    .news-card .school-card-overlay {
        padding: 18px;
    }

    .view-more-btn i[data-lucide] {
        width: 12px;
        height: 12px;
    }

    .partners-section {
        padding: 30px 16px;
    }

    .partners-title {
        margin-bottom: 18px;
        font-size: 22px;
    }

    .partners-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 7px;
    }

    .partner-logo {
        width: 100%;
        height: 58px;
        padding: 7px;
        border-radius: 4px;
    }

    .testimonials-section {
        padding: 30px 16px;
    }

    .testimonials-section .section-header {
        margin-bottom: 18px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 18px;
        gap: 8px;
    }

    .testimonial-card {
        padding: 17px;
    }

    .quote-icon {
        width: 23px;
        height: 23px;
        margin-bottom: 12px;
    }

    .testimonial-name {
        font-size: 18px;
    }

    .testimonial-role {
        margin-bottom: 10px;
        font-size: 11px;
    }

    .footer {
        padding: 30px 16px 18px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
    }

    .footer-logo-section {
        grid-column: span 2;
    }

    .footer-logo {
        margin-bottom: 20px;
    }

    .footer-logo-img {
        width: 154px;
    }

    .social-links {
        gap: 7px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-icon {
        width: 21px;
        height: 21px;
    }

    .footer-column-title {
        margin-bottom: 10px;
        font-size: 18px;
    }

    .footer-links {
        gap: 6px;
    }

    .footer-links.with-bullets li {
        padding-left: 10px;
    }

    .footer-contact-item {
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 24px;
        padding-top: 12px;
        gap: 8px;
    }

    .copyright,
    .footer-legal {
        font-size: 10px;
        letter-spacing: .04em;
        text-align: left;
    }
}

/*------------- Mobile Screen (320px to 768px) ------------*/
@media screen and (min-width: 320px) and (max-width: 768px) {
   .page-hero-section {
        position: relative;
        width: 100%;
        max-width: 1200px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .page-hero-bg-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 1200px;
        height: 100%;
        object-fit: cover;
        object-position: 5% top; 
        z-index: 1;
    }

    .page-hero-content h1 {
        width: 100%;
		padding: 0 20px;
        font-size: 28px; 
        letter-spacing: 0.5px;
    }

    .page-hero-v-shape--left {
        width: 280px;
        height: 200px;
        left: -50px;
        top: -30px;
        opacity: 0.5; 
    }

    .page-hero-v-shape--right {
        width: 280px;
        height: 180px;
        right: -50px;
        bottom: -20px;
        opacity: 0.5;
    }

     .page-content-section {
        position: relative;
        width: 100%;
        background-color: var(--bg);
        min-height: 760px;
        overflow: hidden;
    }

    
    .page-content-v-shapes {
        position: absolute;
        top: 0;
        bottom: 30%;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 0;
        overflow: hidden;
        opacity: 0.4;
    }

    .page-content-description {
        width: 100%;
        max-width: 600px;
        box-sizing: border-box;
    }

    .page-image-wrapper {
        width: 100%;
        max-width: 100%;  
        box-sizing: border-box;
    }

    .page-content-image {
        width: 100%;
        height: auto;         
        max-height: 260px;    
        object-fit: cover;    
        display: block;
    }

}



/* =========================================================================
   Mobile (max-width: 480px)
   ========================================================================= */
@media (max-width: 480px) {
	:root {
        --nav-height: 70px;
    }
	
	.nav-header-wrapper {
		height: var(--nav-height);
	}

	.app-wrapper,
	.page-wrapper{
		padding-top: var(--nav-height);
	}

	
    .nav-inner-body {
        height: var(--nav-height);
        padding-inline: 14px;
    }

    .logo-img {
        width: 100px;
    }

    .hero {
        height: 72svh;
    }

    .hero-slide {
        align-items: flex-end;
        padding-bottom: 60px;
    }

    .hero-content {
        text-align: left;
        padding: 0 20px 0;
        align-items: flex-start;
    }

    .section-header {
        flex-direction: column;
    }

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

    .stats-text {
        max-width: 270px;
    }

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

    #modes-section {
        border-bottom-left-radius: 14px;
        border-bottom-right-radius: 14px;
    }

    .modes-list {
        gap: 6px;
    }

    .mode-img-wrapper {
        height: 250px;
        border-radius: 5px;
    }

    .mode-content {
        min-height: auto;
        padding: 12px 10px;
        border-radius: 5px;
    }

    .campus-life {
        margin-top: -14px;
    }

    .campus-life::before {
        top: 20px;
        height: 100px;
        background-size:
            480px 32px, 480px 32px, 480px 32px,
            480px 68px, 480px 68px, 480px 68px,
            480px 32px, 480px 32px, 480px 32px;
    }

    .campus-life .container {
        height: 142px;
        padding: 44px 16px 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

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

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

/* =========================================================================
   Small mobile (max-width: 360px)
   ========================================================================= */
@media (max-width: 360px) {
    .nav-inner-body {
        height: 64px;
        padding-inline: 12px;
    }

    .logo-img {
        width: 88px;
    }

    .hero-title {
        font-size: clamp(26px, 8.5vw, 32px);
    }

    .hero-subtitle {
        font-size: 12px;
    }

    .btn-primary,
    .btn-secondary {
        min-width: 0;
        padding: 0.75rem 1.5rem;
        font-size: 13px;
    }

    .section-title {
        font-size: clamp(19px, 6.5vw, 23px);
    }

    .stat-number {
        font-size: 21px;
    }

    .stat-label {
        font-size: 11px;
    }

    .mode-img-wrapper {
        height: 210px;
    }

    .mode-title {
        font-size: 14px;
    }

    .campus-life .section-title {
        font-size: 20px;
    }

    .testimonial-card {
        padding: 14px;
    }

    .footer-grid {
        gap: 20px 12px;
    }
}