/* ==========================================================================
   DESIGN SYSTEM & CUSTOM VARIABLES
   ========================================================================== */
:root {
    /* Brand Color Palette */
    --primary-dark: #050A30;
    /* Extra deep rich navy for footer/topbar */
    --primary-navy: #050A30;
    /* Core dark navy for Hero/Contact bg */
    --primary-light: #111649;
    /* Lighter navy for cards/inner container bg, tailored for contrast on #050A30 */
    --primary-accent: #0080FF;
    /* Vibrant primary blue */
    --primary-accent-hover: #00229E;
    /* Rich royal blue hover */
    --primary-accent-rgb: 0, 128, 255;
    --primary-navy-rgb: 5, 10, 48;

    /* Secondary / Accent highlight */
    --secondary-accent: #0080FF;
    /* Secondary Gold/Yellow/Orange */
    --secondary-accent-rgb: 0, 128, 255;
    --secondary-light: #DADFE5;
    /* Secondary Light Grey-Blue */

    /* Text Palette */
    --text-main: #050A30;
    /* Deep navy for main headings/body text */
    --text-muted: #4F5E7B;
    /* Slate navy for descriptions/supporting text */
    --text-light: #A3B2C9;
    /* Lighter grey-blue for secondary elements */
    --text-white: #FFFFFF;
    /* Pure white */

    /* Backgrounds */
    --bg-white: #FFFFFF;
    --bg-light: #F2F5F8;
    /* Clean light grey-blue background based on #DADFE5 tint */
    --bg-dark-section: #050A30;

    /* Layout Details */
    --border-color: #DADFE5;
    /* Soft light grey-blue border */
    --border-color-dark: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 12px 24px -10px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
    --shadow-accent: 0 10px 25px -5px rgba(var(--primary-accent-rgb), 0.3);

    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-round: 100px;

    /* Layout Sizing */
    --header-height: 85px;
    --section-padding: 70px;
    /* --card: rgba(255, 255, 255, 0.2); */
    --card: #fff;
    /* Precise section padding for consistent vertical rhythm */
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-white);
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button,
select,
input,
textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
    background: none;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: var(--radius-round);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* ==========================================================================
   REUSABLE UTILITIES & LAYOUT
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--section-padding) 0;
}

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

.accent-text {
    color: var(--primary-accent);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-accent), var(--primary-accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headings);
    color: var(--text-main);
    line-height: 1.25;
    font-weight: 700;
}

/* Common Section Headers */
.section-tag {
    display: inline-block;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-accent);
    background-color: rgba(var(--primary-accent-rgb), 0.08);
    padding: 6px 16px;
    border-radius: var(--radius-round);
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
}

.section-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px auto;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-accent);
    color: var(--text-white);
    box-shadow: var(--shadow-accent);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-accent-hover);
    z-index: -1;
    opacity: 0;
    transform: scale(0.95);
    transition: var(--transition-smooth);
    border-radius: inherit;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -3px rgba(var(--primary-accent-rgb), 0.4);
}

.btn-primary:hover::after {
    opacity: 1;
    transform: scale(1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--primary-accent);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary-accent);
    transform: translateY(-3px);
}

.btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay modifiers */
.reveal.delay-100 {
    transition-delay: 100ms;
}

.reveal.delay-200 {
    transition-delay: 200ms;
}

.reveal.delay-300 {
    transition-delay: 300ms;
}

/* ==========================================================================
   1. TOP INFO BAR
   ========================================================================== */
.top-bar {
    background-color: var(--primary-dark);
    border-bottom: 1px solid var(--border-color-dark);
    padding: 10px 0;
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1001;
}

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

.top-bar-info {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item i {
    color: var(--primary-accent);
}

.top-bar-actions {
    display: flex;
    align-items: center;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.language-selector i {
    color: var(--primary-accent);
}

.language-selector select {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 500;
    border: none;
}

.language-selector select option {
    background-color: var(--primary-dark);
    color: var(--text-white);
}

/* ==========================================================================
   2. NAVIGATION BAR
   ========================================================================== */
.header {
    height: var(--header-height);
    background: #ffffff;
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-color);
    position: absolute;
    width: 100%;
    top: 45px;
    left: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

/* Header Sticky Mode */
.header.sticky {
    position: fixed;
    top: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1050;
}

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

/* Logo Design */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    position: relative;
}

#logo-brand .logo-icon {
    width: auto !important;
    height: 45px !important;
}

#logo-brand .logo-icon img {
    height: 100% !important;
    width: auto !important;
    object-fit: contain !important;
}

.logo-globe {
    position: absolute;
    font-size: 0.65rem;
    bottom: 6px;
    right: 6px;
    color: var(--primary-dark);
}

.logo-text {
    display: none;
    flex-direction: column;
}

.brand-name-top {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text-white);
    letter-spacing: -0.5px;
    line-height: 1.05;
}

.brand-name-bottom {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--primary-accent);
    letter-spacing: -0.5px;
    line-height: 1.05;
}

.brand-tagline {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 3px;
}

/* Navigation Links */
.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-white);
    padding: 8px 0;
    position: relative;
}

.header .nav-link {
    color: var(--primary-dark);
}

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

.header .nav-link:hover,
.header .nav-link.active-link,
.header.sticky .nav-link:hover,
.header.sticky .nav-link.active-link {
    color: var(--primary-accent);
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 230px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition-smooth);
    z-index: 100;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background-color: var(--bg-white);
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
}

.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -24px;
    /* Bridges the 20px gap to prevent hover loss when moving cursor down */
    left: 0;
    width: 100%;
    height: 28px;
    background: transparent;
    z-index: -1;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(72, 83, 108);
    transition: var(--transition-fast);
}

.dropdown-item i {
    font-size: 0.95rem;
    color: rgb(72, 83, 108);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-accent);
    transform: translateX(4px);
}

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

/* Nav Actions Alignments */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Appointment Button */
.btn-appointment {
    background-color: var(--primary-accent);
    color: var(--text-white);
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(var(--primary-accent-rgb), 0.3);
    border: none;
    transition: var(--transition-smooth);
}

.btn-appointment:hover {
    background-color: var(--primary-accent-hover);
    box-shadow: 0 6px 20px rgba(var(--primary-accent-rgb), 0.45);
    transform: translateY(-2px);
}

/* Mobile CTA drawer item hidden on desktop */
.nav-mobile-cta {
    display: none;
}

/* Hamburger Icon for Mobile */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    z-index: 1010;
}

.bar {
    width: 100%;
    height: 2.2px;
    background-color: var(--primary-accent);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

/* Mobile Active States for Hamburger */
.hamburger.active .bar-1 {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar-2 {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active .bar-3 {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero-section {
    background-image: linear-gradient(to right, rgba(5, 10, 48, 0.96) 0%, rgba(5, 10, 48, 0.6) 0%, rgba(5, 10, 48, 0.1) 100%), url('images/banner.png');
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 170px 0 var(--section-padding) 0;
    position: relative;
    overflow: hidden;
    color: var(--text-white);
}

/* Spacer shapes */
.hero-shape {
    position: absolute;
    border-radius: var(--radius-round);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.shape-1 {
    width: 350px;
    height: 350px;
    background-color: rgba(var(--primary-accent-rgb), 0.08);
    top: 10%;
    right: 5%;
    animation: floatShape 10s infinite alternate ease-in-out;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-subtitle {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-accent);
    letter-spacing: 2px;
    margin-bottom: 20px;
    border-left: 3px solid var(--primary-accent);
    padding-left: 12px;
}

.hero-title {
    font-size: 3.75rem;
    color: var(--text-white);
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.15;
}

/* Tagline Container with short Orange Underline */
.hero-tagline-container {
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.hero-tagline-text {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-white);
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
}

.hero-tagline-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 65px;
    height: 3.5px;
    background-color: var(--primary-accent);
    border-radius: var(--radius-round);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Button Arrow Circle Style */
.btn-arrow-circle {
    width: 24px;
    height: 24px;
    background-color: var(--text-white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    transition: var(--transition-fast);
    color: var(--primary-accent);
}

.btn:hover .btn-arrow-circle {
    background-color: var(--primary-accent);
    color: var(--text-white);
    transform: translateX(3px) scale(1.05);
}

/* Right-side visual composite (acts as vertical container spacer on desktop) */
.hero-visual {
    display: flex;
    justify-content: flex-end;
    height: 420px;
    pointer-events: none;
}

.hero-mobile-student-card {
    display: none;
}

/* Animations */
@keyframes floatShape {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-30px) scale(1.1);
    }
}

@keyframes spinInfinite {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes floatUpDown {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-15px);
    }
}

/* ==========================================================================
   4. ABOUT SECTION
   ========================================================================== */
.about-section {
    background-color: var(--bg-white);
}

.about-container-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.2fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.about-card-col {
    height: 420px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.about-card-col:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-accent-rgb), 0.25);
}

.about-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-card-col:hover .about-grid-img {
    transform: scale(1.04);
}

.about-content-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 10px;
}

.about-tag {
    display: inline-block;
    font-family: var(--font-headings);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-accent);
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.about-grid-title {
    font-size: 2.3rem;
    margin-bottom: 20px;
    color: var(--text-main);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.about-grid-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 35px;
}

/* Horizontal Features Row */
.about-features-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    margin-bottom: 40px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
}

.about-feature-box {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.about-feature-icon {
    width: 42px;
    height: 42px;
    background-color: rgba(var(--primary-accent-rgb), 0.08);
    color: var(--primary-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.about-feature-box:hover .about-feature-icon {
    background-color: var(--primary-accent);
    color: var(--text-white);
    transform: translateY(-2px) rotate(5deg);
}

.about-feature-text h4 {
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.35;
}

.about-grid-cta {
    align-self: flex-start;
}

/* ==========================================================================
   5. SERVICES SECTION
   ========================================================================== */
.services-section {
    background-color: var(--bg-light);
    position: relative;
}

/* Flanked Blueprint Title with Orange Horizontal Divider Lines */
.services-header-blueprint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.services-title-blueprint {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.divider-line-left,
.divider-line-right {
    height: 2.2px;
    width: 90px;
    background-color: var(--primary-accent);
    position: relative;
}

.divider-line-left::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3.5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--primary-accent);
}

.divider-line-right::before {
    content: '';
    position: absolute;
    left: 0;
    top: -3.5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--primary-accent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
    /* Setup positioning context for absolute children badges */
}

.service-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-top-left-radius: var(--radius-lg);
    /* Keep top image rounded while preventing badge clipping */
    border-top-right-radius: var(--radius-lg);
}

.service-img {
    width: 100%;
    height: 100%;
    transition: var(--transition-slow);
}

/* Custom Icon Badge overlapping image border */
.service-badge-icon {
    position: absolute;
    top: 214px;
    /* Centered vertically on the 240px image bottom border */
    bottom: auto;
    left: 30px;
    width: 52px;
    height: 52px;
    background-color: var(--primary-accent);
    color: var(--text-white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 8px 20px rgba(var(--primary-accent-rgb), 0.35);
    border: 3px solid var(--bg-white);
    transition: var(--transition-smooth);
    z-index: 5;
    /* Ensure badge layers on top of the image wrapper and card info box */
}

.service-info-box {
    padding: 40px 30px 30px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.service-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-accent);
    align-self: flex-start;
}

.service-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Card Hover Animation */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-accent-rgb), 0.2);
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-card:hover .service-badge-icon {
    transform: translateY(-4px) scale(1.05);
    background-color: var(--primary-navy);
    box-shadow: 0 8px 20px rgba(5, 10, 48, 0.35);
}

.service-card:hover .service-card-title {
    color: var(--primary-accent);
}

.service-card:hover .service-link i {
    transform: translateX(4px);
}

/* ==========================================================================
   6. TESTIMONIALS & FAQ COMBINED SECTION
   ========================================================================== */
.feedback-faq-section {
    background-color: var(--bg-white);
    overflow: hidden;
}

.feedback-faq-container {
    display: grid;
    display: flex;
    flex-direction: column;
    /* Narrower testimonial column on desktop */
    gap: 50px;
    align-items: flex-start;
}

@media screen and (max-width: 992px) {
    .feedback-faq-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.testimonials-column,
.faq-column {
    width: 100%;
    min-width: 0;
}

.column-tag {
    display: inline-block;
    color: var(--primary-accent);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.column-title {
    font-size: 2rem;
    /* Slighly smaller column titles */
    margin-bottom: 24px;
    color: var(--primary-navy);
}

.testimonial-slider-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.testimonial-slide {
    flex: 0 0 100%;
    /* Shows 1 card at a time by default on mobile & tablets */
    box-sizing: border-box;
}

@media screen and (min-width: 1200px) {
    .testimonial-slide {
        flex: 0 0 calc(33.333% - 14px);
        /* Shows 3 cards side-by-side on wide desktops! */
        margin-right: 20px;
    }

    .testimonial-slider-4col .testimonial-slide {
        flex: 0 0 calc(25% - 15px);
        /* Shows 4 cards side-by-side on wide desktops! */
        margin-right: 20px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
    .testimonial-slide {
        flex: 0 0 calc(50% - 10px);
        /* Shows 2 cards side-by-side on medium screens! */
        margin-right: 20px;
    }
}

.testimonial-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    /* More compact card padding */
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--primary-accent-rgb), 0.15);
}

.quote-icon {
    font-family: Georgia, serif;
    font-size: 2.6rem;
    /* Smaller decorative quote */
    color: var(--primary-accent);
    opacity: 0.15;
    position: absolute;
    top: 15px;
    right: 24px;
    line-height: 1;
}

.rating {
    display: flex;
    gap: 4px;
    color: var(--secondary-accent);
    /* Amber star rating */
    margin-bottom: 12px;
    font-size: 0.8rem;
    /* Smaller stars */
}

.testimonial-text {
    font-size: 0.85rem;
    /* Smaller review text */
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-main);
    margin-bottom: 16px;
    font-style: italic;
    flex-grow: 1;
}

.student-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.student-avatar {
    width: 38px;
    /* Compact circular avatar */
    height: 38px;
    border-radius: var(--radius-round);
    border: 2px solid var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.student-details h4 {
    font-size: 0.85rem;
    margin-bottom: 1px;
    color: var(--primary-navy);
}

.student-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Slider Controls & Dots */
.slider-dots-container {
    display: flex;
    justify-content: flex-start;
    margin-top: 24px;
    padding-left: 5px;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-round);
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    width: 24px;
    background-color: var(--primary-accent);
}

/* FAQ Accordion Styling inside the Column */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    text-align: left;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-navy);
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-icon-wrapper {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(5, 10, 48, 0.1);
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.faq-trigger:hover {
    color: var(--primary-accent);
}

.faq-trigger:hover .faq-icon-wrapper {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--text-white);
}

/* Dynamic Active State */
.faq-item.active {
    border-color: rgba(var(--primary-accent-rgb), 0.25);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-trigger {
    color: var(--primary-accent);
}

.faq-item.active .faq-icon-wrapper {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--text-white);
    transform: rotate(45deg);
}

/* Expansion Panel Animation */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content-inner {
    padding: 0 24px 20px 24px;
    color: var(--text-muted);
    font-size: 0.925rem;
    line-height: 1.6;
}

.faq-content-inner p {
    margin-bottom: 0;
}

/* ==========================================================================
   8. CONTACT SECTION (Consultation Block)
   ========================================================================== */
.contact-section {
    background-color: var(--bg-white);
}

.consultation-block {
    background-color: var(--primary-navy);
    border-radius: var(--radius-xl);
    padding: 60px;
    color: var(--text-white);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.consultation-block::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(var(--primary-accent-rgb), 0.03);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    z-index: 0;
}

.consult-info-box {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.consultor-visual-wrapper {
    flex: 0 0 160px;
    height: 220px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 3px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-md);
}

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

.consult-text-content {
    flex: 1;
}

.consult-tag {
    display: inline-block;
    color: var(--primary-accent);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.consult-title {
    color: var(--text-white);
    font-size: 2.1rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.consult-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Minimalist Form Column */
.consult-form-box {
    position: relative;
    z-index: 1;
}

.consult-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    width: 100%;
    transition: var(--transition-smooth);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
    padding-right: 40px;
}

.form-group select option {
    background-color: var(--primary-navy);
    color: var(--text-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-accent);
    background-color: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 3px rgba(var(--primary-accent-rgb), 0.15);
    outline: none;
}

.msg-group {
    grid-column: span 1;
}

.form-btn-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
}

.consult-form .btn-submit {
    min-width: 180px;
    padding: 13px 28px;
}

/* ==========================================================================
   Home Page Consultation Block Adjustments (Aesthetic Polish)
   ========================================================================== */
/* Centered floating button style overlapping bottom border */
.contact-section .form-btn-row {
    justify-content: flex-end;
    margin-top: -38px;
    position: relative;
    z-index: 2;
}

.contact-section .consult-form .btn-submit {
    min-width: 180px;
    padding: 13px 28px;
    background-color: var(--primary-accent);
    /* Brand accent orange */
    color: var(--text-white);
    border: none;
    transform: translateY(38px);
    transition: var(--transition-smooth);
}

.contact-section .consult-form .btn-submit:hover {
    border: 1px solid white;
}

@media screen and (max-width: 992px) {
    .consultation-block {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 24px;
    }

    .consult-info-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .consultor-visual-wrapper {
        flex: 0 0 130px;
        width: 130px;
        height: 130px;
        border-radius: 50%;
        /* Render as circle avatar on mobile! */
    }

    .consult-title {
        font-size: 1.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Reset floating/centering overrides on mobile */
    .contact-section .form-btn-row {
        justify-content: stretch;
        margin-top: 10px;
    }

    .contact-section .consult-form .btn-submit {
        width: 100%;
        transform: none;
    }
}

/* Success alert box simulating dynamic JS action */
.form-success-alert {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-light);
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 3;
}

.form-success-alert.active {
    opacity: 1;
    visibility: visible;
}

.alert-icon {
    font-size: 3.5rem;
    color: #10B981;
    /* Green success check icon */
    margin-bottom: 20px;
    animation: floatUpDown 3s infinite alternate ease-in-out;
}

.form-success-alert h3 {
    color: var(--text-white);
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.form-success-alert p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 320px;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--section-padding) 0 0 0;
    border-top: 1px solid var(--border-color-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.logo-footer .brand-title {
    font-size: 1.5rem;
}

.logo-footer .logo-icon {
    width: auto;
    height: 60px;
}

.logo-footer .logo-icon img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.footer-desc {
    margin: 24px 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

/* Social icons hover effects */
.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--text-white);
    transform: translateY(-4px) rotate(8deg);
    box-shadow: var(--shadow-accent);
}

.footer-title {
    color: var(--text-white);
    font-size: 1.15rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary-accent);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-accent);
    transform: translateX(4px);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-contact-info li i {
    color: var(--primary-accent);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact-info li span {
    line-height: 1.5;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #030712;
    border-top: 1px solid var(--border-color-dark);
    padding: 24px 0;
    font-size: 0.85rem;
}

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

.footer-legal {
    display: flex;
    gap: 24px;
}

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

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: -60px;
    /* Initially hidden */
    width: 44px;
    height: 44px;
    background-color: var(--primary-accent);
    color: var(--text-white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-accent);
    z-index: 999;
    transition: var(--transition-smooth);
}

.back-to-top.active {
    right: 30px;
}

.back-to-top:hover {
    background-color: var(--primary-accent-hover);
    transform: translateY(-4px);
}

/* ==========================================================================
   SUBPAGE GALLERY & TESTIMONIAL GRIDS (DEFAULT STATE)
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 150px;
    gap: 24px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

/* Bento Grid Spans for Subpage Galleries */
.gallery-item:nth-child(1) {
    grid-row: span 2;
}

.gallery-item:nth-child(2) {
    grid-row: span 1;
}

.gallery-item:nth-child(3) {
    grid-row: span 2;
}

.gallery-item:nth-child(4) {
    grid-row: span 1;
}

.gallery-item:nth-child(5) {
    grid-row: span 2;
}

.gallery-item:nth-child(6) {
    grid-row: span 1;
}

.gallery-item:nth-child(7) {
    grid-row: span 2;
}

.gallery-item:nth-child(8) {
    grid-row: span 2;
}

.gallery-item:nth-child(9) {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--primary-accent-rgb), 0.25);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(5, 10, 48, 0.92) 0%, rgba(5, 10, 48, 0.4) 60%, rgba(5, 10, 48, 0) 100%);
    padding: 24px 20px;
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.gallery-category {
    color: var(--primary-accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonials-grid-sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Large Laptops / Desktops */
@media screen and (max-width: 1200px) {
    .container {
        padding: 0 32px;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .about-container {
        gap: 50px;
    }

    .consultation-block {
        padding: 50px;
        gap: 40px;
    }
}

/* Tablet & Mobile Viewports (992px and below) */
@media screen and (max-width: 992px) {
    :root {
        --section-padding: 55px;
        /* Balanced section padding for tablets */
    }

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

    .hero-title {
        font-size: 3rem;
    }

    /* Subpage Layout Fixes */
    .subpage-hero {
        padding: 130px 0 var(--section-padding) 0;
    }

    .subpage-hero-title {
        font-size: 2.6rem;
    }

    .grid-2col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .subpage-img-wrapper {
        height: 350px;
    }

    .grid-3col {
        grid-template-columns: 1fr 1fr;
    }

    .grid-3col>*:nth-child(odd):last-child {
        grid-column: span 2;
        max-width: calc(50% - 15px);
        margin: 0 auto;
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
        gap: 16px;
    }

    /* 2-Column Bento Grid Spans for Tablet/Mobile */
    .gallery-item:nth-child(1) {
        grid-row: span 2;
    }

    .gallery-item:nth-child(2) {
        grid-row: span 1;
    }

    .gallery-item:nth-child(3) {
        grid-row: span 2;
    }

    .gallery-item:nth-child(4) {
        grid-row: span 2;
    }

    .gallery-item:nth-child(5) {
        grid-row: span 1;
    }

    .gallery-item:nth-child(6) {
        grid-row: span 2;
    }

    .gallery-item:nth-child(7) {
        grid-row: span 2;
    }

    .gallery-item:nth-child(8) {
        grid-row: span 2;
    }

    .gallery-item:nth-child(9) {
        grid-row: span 1;
    }

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

    /* Top Info Bar Hidden to Save Space */
    .top-bar {
        display: none;
    }

    .header {
        top: 0;
        height: 80px;
        /*background: var(--card);*/
        background: #fff;
        backdrop-filter: blur(24px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        border-bottom: 1px solid var(--border-color-dark);
    }

    .header.sticky {
        background: #fff;
        /*background: var(--card);*/
        backdrop-filter: blur(24px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        height: 80px !important;
    }

    #logo-brand .logo-icon {
        height: 66px !important;
    }

    .hero-section {
        background-image: none;
        background: radial-gradient(circle at 10% 20%, rgba(5, 10, 48, 0.95) 0%, rgba(5, 10, 48, 1) 100%);
        padding-top: 140px;
    }

    /* Hamburger Menu Toggle Display */
    .hamburger {
        display: flex;
    }

    /* Navigation Menu Overlay for Mobile */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--primary-navy);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        transition: var(--transition-smooth);
        overflow-y: auto;
        padding: 40px 24px;
        z-index: 1005;
        border-top: 1px solid var(--border-color-dark);
    }

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

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .nav-link {
        font-size: 1.15rem;
        display: block;
        padding: 10px 0;
        color: var(--text-white);
    }

    .header .nav-menu .nav-link {
        color: var(--text-white);
    }

    .header.sticky .nav-menu .nav-link:hover,
    .header.sticky .nav-menu .nav-link.active-link {
        color: var(--primary-accent);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none !important;
        left: auto;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.03);
        margin-top: 10px;
        box-shadow: none;
        border: 1px solid rgba(255, 255, 255, 0.08);
        /* soft dark-mode border */
        display: none;
        /* Collapsed by default, toggled via JS */
    }

    .dropdown:hover .dropdown-menu {
        transform: none !important;
        opacity: 1;
        visibility: visible;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 12px 14px;
        color: rgba(255, 255, 255, 0.85);
    }

    .dropdown-item i {
        color: var(--primary-accent);
    }

    /* Mobile CTA inside Drawer Menu */
    .nav-mobile-cta {
        display: block;
        margin-top: 15px;
        text-align: center;
    }

    .btn-mobile-appointment {
        width: 100%;
        padding: 14px;
        box-shadow: var(--shadow-accent);
    }

    /* Hero Columns Stacked */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-subtitle {
        border-left: none;
        padding-left: 0;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        justify-content: center;
        height: auto;
        pointer-events: auto;
    }

    .hero-mobile-student-card {
        display: block;
        width: 100%;
        max-width: 480px;
        height: 380px;
        background-image: url('images/banner.png');
        background-position: right center;
        background-size: cover;
        background-repeat: no-repeat;
        border-radius: var(--radius-lg);
        border: 4px solid var(--primary-light);
        box-shadow: var(--shadow-lg);
    }

    /* About Stacked */
    /* About Section Mobile Stacks */
    .about-container-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-card-col {
        height: 320px;
        max-width: 580px;
        width: 100%;
        margin: 0 auto;
    }

    .right-card {
        display: none;
        /* Hide the second visual image card to optimize scroll spacing */
    }

    .about-content-col {
        align-items: center;
        text-align: center;
    }

    .about-grid-cta {
        align-self: flex-start;
    }

    .about-features-row {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
        border: none;
        padding: 0;
    }

    .about-feature-box {
        justify-content: flex-start;
        text-align: left;
    }

    .about-feature-text h4 {
        font-size: 1.1rem;
    }

    /* Services Card Grid */
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .services-grid>*:nth-child(odd):last-child {
        grid-column: span 2;
        max-width: calc(50% - 12px);
        margin: 0 auto;
        width: 100%;
    }

    /* Slider padding */
    .testimonial-card {
        padding: 40px 24px;
    }

    .testimonial-text {
        font-size: 1.05rem;
    }

    .quote-icon {
        top: 25px;
        right: 25px;
        font-size: 2.5rem;
    }

    .slider-dots-container {
        justify-content: center;
        padding-left: 0;
    }

    /* Footer Grid */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Tablet Portrait Viewports (768px and below) */
@media screen and (max-width: 768px) {

    /* Hide the navbar appointment CTA to prevent crowding */
    .btn-appointment {
        display: none;
    }

    /* Services grid single column stack on portrait screens */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-grid>*:last-child,
    .services-grid>*:nth-child(odd):last-child {
        grid-column: span 1;
        max-width: 100%;
        margin: 0;
    }

    /* Gallery grid Bento layout scaling for mobile screens (2 columns, small images) */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 100px;
        gap: 12px;
    }

    /* Scale down decorative flanked divider lines to prevent title layout overflow */
    .divider-line-left,
    .divider-line-right {
        width: 40px;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Mobile Viewports (576px and below) */
@media screen and (max-width: 576px) {

    /* Responsive Buttons & Fluid Text for Small Screens */
    .btn {
        padding: 12px 20px;
        font-size: 0.875rem;
        white-space: normal;
        text-align: center;
    }

    .subpage-hero-desc {
        font-size: 0.95rem;
    }

    .subpage-intro {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 40px;
    }

    .feature-card-sub {
        padding: 24px 20px;
    }

    /* Scale down the logo properties slightly to fit small viewports */
    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        border-radius: 10px;
    }

    .logo-globe {
        font-size: 0.55rem;
        bottom: 5px;
        right: 5px;
    }

    .brand-title {
        font-size: 1.25rem;
    }

    .brand-tagline {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .container {
        padding: 0 20px;
    }

    :root {
        --section-padding: 40px;
        /* Compact section padding for mobile viewports */
    }

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

    .hero-title {
        font-size: 2.3rem;
        line-height: 1.3;
    }

    .hero-mobile-student-card {
        height: 280px;
    }

    /* Floating cards overlay hidden on very small viewports to maintain spacing */
    .glass-card {
        display: none;
    }

    .img-box-1 {
        grid-column: 1 / 13;
        transform: none;
        margin-bottom: 20px;
    }

    .img-box-2 {
        grid-column: 1 / 13;
        transform: none;
    }

    .experience-badge {
        position: static;
        margin-top: 20px;
        transform: none;
        animation: none;
        display: inline-block;
        padding: 16px 24px;
    }

    /* Services Grid Single Column */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-grid>*:last-child {
        grid-column: span 1;
    }

    /* Form Padding */
    .consult-form-box {
        padding: 24px 20px;
    }

    .consultation-block {
        padding: 30px 20px;
    }

    .consult-title {
        font-size: 1.75rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 24px;
    }

    .footer-col.brand-col {
        align-items: center;
        text-align: center;
    }

    .logo-footer {
        justify-content: center;
    }

    .logo-footer .logo-icon {
        width: auto;
        height: 80px;
    }

    .footer-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    /* Compact FAQ layout on small mobile screens */
    .faq-trigger {
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    .faq-content-inner {
        padding: 0 20px 16px 20px;
        font-size: 0.875rem;
    }

    /* Hide decorative flanked dividers on very small screens to save space and prevent overflow */
    .divider-line-left,
    .divider-line-right {
        display: none;
    }
}

/* ==========================================================================
   SUBPAGE SPECIFIC STYLING
   ========================================================================== */
.subpage-hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-dark) 100%);
    padding: 180px 0 var(--section-padding) 0;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid var(--border-color-dark);
}

.subpage-hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: rgba(var(--primary-accent-rgb), 0.04);
    border-radius: 50%;
    top: -150px;
    right: -100px;
    z-index: 0;
    filter: blur(100px);
}

.subpage-hero::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background-color: rgba(5, 10, 48, 0.2);
    border-radius: 50%;
    bottom: -100px;
    left: -50px;
    z-index: 0;
    filter: blur(80px);
}

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

.subpage-hero-title {
    font-size: 3.2rem;
    color: var(--text-white);
    margin-bottom: 20px;
    letter-spacing: -1px;
    font-weight: 800;
}

.subpage-hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.subpage-hero-accent {
    color: var(--primary-accent);
}

.subpage-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card-sub {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    transition: var(--transition-smooth);
    height: 100%;
}

.feature-card-sub:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--primary-accent-rgb), 0.2);
}

.feature-card-sub-icon {
    width: 52px;
    height: 52px;
    background-color: rgba(var(--primary-accent-rgb), 0.08);
    color: var(--primary-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.feature-card-sub:hover .feature-card-sub-icon {
    background-color: var(--primary-accent);
    color: var(--text-white);
    transform: translateY(-2px);
}

.feature-card-sub h3 {
    font-size: 1.3rem;
    color: var(--primary-navy);
    margin-bottom: 14px;
}

.feature-card-sub p {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.bullet-list-sub {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.bullet-list-sub li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.bullet-list-sub li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-accent);
    font-size: 0.9rem;
}

.subpage-img-wrapper {
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    height: 400px;
}

.subpage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.subpage-img-wrapper:hover .subpage-img {
    transform: scale(1.04);
}

.cta-card-sub {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    color: var(--text-white);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.cta-card-sub::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background-color: rgba(var(--primary-accent-rgb), 0.025);
    border-radius: 50%;
    top: -50px;
    left: -50px;
}

.cta-card-sub h2 {
    color: var(--text-white);
    font-size: 2.2rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-card-sub p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {

    .grid-2col,
    .grid-3col {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .grid-3col>*:last-child,
    .grid-3col>*:nth-child(odd):last-child {
        grid-column: span 1;
        max-width: 100%;
        margin: 0;
    }

    .subpage-hero-title {
        font-size: 2.2rem;
    }

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

    .cta-card-sub {
        padding: 40px 24px;
    }

    .cta-card-sub h2 {
        font-size: 1.75rem;
    }
}

/* ==========================================================================
   ADDITIONAL MULTI-PAGE SUBPAGE STYLING
   ========================================================================== */

/* 1. Contact Us Page Specific Elements */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.contact-info-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--primary-accent-rgb), 0.2);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-navy);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.contact-info-card:hover .contact-info-icon {
    background-color: var(--primary-accent);
    transform: rotate(10deg) scale(1.05);
}

.contact-info-details h3 {
    font-size: 1.15rem;
    color: var(--primary-navy);
    margin-bottom: 6px;
}

.contact-info-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Form and Map Bento Box layout */
.contact-bento-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 60px;
}

.contact-form-container-light {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 45px;
    box-shadow: var(--shadow-sm);
}

.contact-form-title-underlined {
    font-size: 1.85rem;
    color: var(--primary-navy);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.contact-form-title-underlined::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55px;
    height: 3.5px;
    background-color: var(--primary-accent);
    border-radius: var(--radius-round);
}

.contact-form-light {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-light .form-group-light input,
.contact-form-light .form-group-light select,
.contact-form-light .form-group-light textarea {
    background-color: var(--bg-white);
    border: 1.5px solid #E2E8F0;
    color: var(--text-main);
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    width: 100%;
    transition: var(--transition-smooth);
}

.contact-form-light .form-group-light input::placeholder,
.contact-form-light .form-group-light textarea::placeholder {
    color: #94A3B8;
}

.contact-form-light .form-group-light input:focus,
.contact-form-light .form-group-light select:focus,
.contact-form-light .form-group-light textarea:focus {
    border-color: var(--primary-accent);
    background-color: var(--bg-light);
    box-shadow: 0 0 0 4px rgba(var(--primary-accent-rgb), 0.1);
}

.contact-map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    height: 100%;
    min-height: 400px;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* 2. About Us Page Specific Elements */
.about-who-we-are {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

.about-features-checked-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0 35px 0;
}

.about-feature-checked-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-navy);
}

.about-feature-checked-item i {
    width: 22px;
    height: 22px;
    background-color: rgba(var(--primary-accent-rgb), 0.1);
    color: var(--primary-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Vision & Mission Row */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.vision-mission-card {
    border-radius: var(--radius-lg);
    padding: 45px 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.vision-card {
    background-color: #F0F6FF;
    border-color: rgba(37, 99, 235, 0.05);
}

.mission-card {
    background-color: #FFF5F1;
    border-color: rgba(var(--primary-accent-rgb), 0.05);
}

.vision-mission-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-sm);
}

.vision-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
}

.mission-card:hover {
    border-color: rgba(var(--primary-accent-rgb), 0.2);
}

.vision-mission-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.vision-card .vision-mission-card-icon {
    background-color: var(--primary-navy);
    color: var(--text-white);
}

.mission-card .vision-mission-card-icon {
    background-color: var(--primary-accent);
    color: var(--text-white);
}

.vision-mission-card h3 {
    font-size: 1.45rem;
    color: var(--primary-navy);
    margin-bottom: 14px;
}

.vision-mission-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Meet Our Mentors */
.mentor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.mentor-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 35px 24px 30px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 100%;
}

.mentor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-accent-rgb), 0.2);
}

.mentor-img-wrapper {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.mentor-card:hover .mentor-img-wrapper {
    border-color: var(--primary-accent);
    transform: scale(1.04);
}

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

.mentor-name {
    font-size: 1.2rem;
    color: var(--primary-navy);
    margin-bottom: 4px;
}

.mentor-designation {
    font-family: var(--font-headings);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.mentor-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

.mentor-linkedin {
    width: 32px;
    height: 32px;
    background-color: #E2E8F0;
    color: var(--primary-navy);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    align-self: flex-start;
    margin-top: auto;
}

.mentor-linkedin:hover {
    background-color: #0077B5;
    /* LinkedIn signature blue */
    color: var(--text-white);
    transform: translateY(-2px);
}

/* 3. Services Page Specific Elements */
.service-card-checked-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0 24px 0;
    padding: 0;
}

.service-card-checked-item {
    font-size: 0.875rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 22px;
    display: flex;
    align-items: center;
}

.service-card-checked-item::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-accent);
    font-size: 0.8rem;
}

/* Responsive Overrides for new elements */
@media screen and (max-width: 992px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-bento-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-who-we-are {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-who-we-are img {
        max-width: 580px;
        margin: 0 auto;
    }

    .about-features-checked-list {
        align-items: center;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

@media screen and (max-width: 576px) {
    .contact-form-container-light {
        padding: 30px 20px;
    }

    .vision-mission-card {
        padding: 30px 20px;
    }

    .mentor-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   5. BLOG PAGE SPECIFIC ELEMENTS
   ========================================================================== */
.blog-layout-grid {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 40px;
    align-items: start;
}

/* Category Filter Bar */
.blog-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    background: var(--bg-light);
    padding: 16px 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.blog-categories-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-tab-btn {
    background: var(--bg-white);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.blog-tab-btn:hover,
.blog-tab-btn.active {
    background-color: var(--primary-accent);
    color: var(--text-white);
    border-color: var(--primary-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.2);
}

/* Featured Post */
.featured-blog-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
    transition: var(--transition-medium);
}

.featured-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.featured-img-wrapper {
    height: 100%;
    min-height: 380px;
    overflow: hidden;
    position: relative;
}

.featured-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.featured-blog-card:hover .featured-img-wrapper img {
    transform: scale(1.04);
}

.featured-content-box {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Blog Cards Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-card-img-wrapper {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blog-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.blog-card:hover .blog-card-img-wrapper img {
    transform: scale(1.04);
}

.blog-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Common Card Meta & Badges */
.blog-category-badge {
    align-self: flex-start;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.badge-study-abroad {
    background-color: rgba(0, 128, 255, 0.1);
    color: #0080FF;
}

.badge-corporate-training {
    background-color: rgba(0, 128, 255, 0.1);
    color: #0080FF;
}

.badge-finishing-school {
    background-color: rgba(0, 128, 255, 0.1);
    color: #0080FF;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-title {
    font-size: 1.35rem;
    color: var(--primary-navy);
    line-height: 1.4;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.blog-title a {
    color: inherit;
}

.blog-title a:hover {
    color: var(--primary-accent);
}

.featured-blog-card .blog-title {
    font-size: 1.85rem;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.blog-readmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-navy);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.blog-readmore-btn i {
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

.blog-readmore-btn:hover {
    color: var(--primary-accent);
}

.blog-readmore-btn:hover i {
    transform: translateX(4px);
}

/* Sidebar Widgets */
.sidebar-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sidebar-widget {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.2rem;
    color: var(--primary-navy);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-accent);
    border-radius: 2px;
}

/* Search Box Widget */
.sidebar-search-box {
    position: relative;
    width: 100%;
}

.sidebar-search-box input {
    width: 100%;
    padding: 12px 48px 12px 20px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-fast);
    outline: none;
    background-color: var(--bg-light);
}

.sidebar-search-box input:focus {
    border-color: var(--primary-navy);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(5, 10, 48, 0.06);
}

.sidebar-search-box button {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.sidebar-search-box button:hover {
    color: var(--primary-accent);
}

/* Vertical Category List */
.sidebar-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories-list li {
    margin-bottom: 12px;
}

.sidebar-categories-list li:last-child {
    margin-bottom: 0;
}

.sidebar-categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.sidebar-categories-list a:hover {
    background-color: var(--bg-light);
    color: var(--primary-navy);
    padding-left: 16px;
}

.sidebar-categories-list .category-count {
    background-color: #E2E8F0;
    color: var(--primary-navy);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    transition: var(--transition-fast);
}

.sidebar-categories-list a:hover .category-count {
    background-color: var(--primary-navy);
    color: var(--text-white);
}

/* Recent Posts Mini Widget */
.sidebar-recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mini-post-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mini-post-img-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.mini-post-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-fast);
}

.mini-post-item:hover .mini-post-img-wrapper img {
    transform: scale(1.06);
}

.mini-post-info {
    flex-grow: 1;
}

.mini-post-title {
    font-size: 0.9rem;
    color: var(--primary-navy);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
    transition: var(--transition-fast);
}

.mini-post-title a {
    color: inherit;
}

.mini-post-title a:hover {
    color: var(--primary-accent);
}

.mini-post-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    border: none;
    position: relative;
    overflow: hidden;
}

.newsletter-widget::before {
    content: '\f19d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.newsletter-widget .widget-title {
    color: var(--text-white);
}

.newsletter-widget .widget-title::after {
    background-color: var(--primary-accent);
}

.newsletter-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 24px;
}

.newsletter-form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form-group input {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 30px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition-fast);
}

.newsletter-form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form-group input:focus {
    border-color: var(--primary-accent);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.1);
}

.newsletter-submit-btn {
    width: 100%;
    padding: 12px;
    border-radius: 30px;
    background-color: var(--primary-accent);
    color: var(--text-white);
    border: none;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-submit-btn:hover {
    background-color: #d10712;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.25);
}

/* Animations for filter */
.blog-card.fade-out {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.blog-card.fade-in {
    animation: blogCardFadeIn 0.4s ease forwards;
}

@keyframes blogCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

/* Responsive media query overlays for Blog */
@media screen and (max-width: 1200px) {
    .featured-blog-card {
        grid-template-columns: 1fr;
    }

    .featured-img-wrapper {
        min-height: 280px;
        height: 280px;
    }
}

@media screen and (max-width: 992px) {
    .blog-layout-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .sidebar-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-container {
        grid-template-columns: 1fr;
    }

    .blog-filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   11. STUDY ABROAD CUSTOM REDESIGN STYLES
   ========================================================================== */

/* Plain Tag - Orange color with a dash prefix */
.section-tag-plain {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-accent);
    margin-bottom: 20px;
}

.section-tag-plain::before {
    content: '';
    display: inline-block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-accent);
}

/* Classic Subpage Hero */
.subpage-hero-classic {
    padding: 180px 0 100px 0;
    position: relative;
}

.subpage-hero-classic .hero-title {
    font-size: 3.5rem;
}

/* Subpage CTA Banner */
.subpage-cta-banner {
    padding: 40px 60px;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 30px;
}

.subpage-cta-banner .consult-info-box {
    display: flex;
    align-items: center;
    gap: 24px;
}

.subpage-cta-banner .form-btn-row {
    margin: 0;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    display: flex;
}

/* Subpage Split Hero */
.subpage-hero-split {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-dark) 100%);
    padding: 180px 0 90px 0;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
    text-align: left;
    border-bottom: 1px solid var(--border-color-dark);
}

.subpage-hero-split::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    background-color: rgba(var(--primary-accent-rgb), 0.05);
    border-radius: 50%;
    top: -150px;
    right: -100px;
    z-index: 0;
    filter: blur(100px);
}

.subpage-hero-split .subpage-hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Dotted Travel / Airplane Outline Overlay Graphics */
.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.12;
}

.hero-decorations svg {
    position: absolute;
    color: var(--text-white);
}

/* Breadcrumbs styling */
.breadcrumbs {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-headings);
}

.breadcrumbs a {
    color: inherit;
    transition: var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--primary-accent);
}

.breadcrumbs i {
    font-size: 0.75rem;
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumbs span.active {
    color: var(--primary-accent);
}

/* Title Split */
.subpage-hero-title-split {
    font-size: 3.75rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 15px;
    letter-spacing: -1px;
    line-height: 1.15;
}

/* Underline under title */
.title-underline {
    width: 55px;
    height: 3.5px;
    background-color: var(--primary-accent);
    border-radius: var(--radius-round);
    margin-bottom: 30px;
}

/* Hero description */
.subpage-hero-desc-split {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    margin-bottom: 40px;
    max-width: 600px;
}

/* Actions in Split Hero */
.subpage-hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.subpage-hero-actions .btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
}

.subpage-hero-actions .btn-secondary {
    border: 1.5px solid var(--text-white);
    background-color: transparent;
    color: var(--text-white);
}

.subpage-hero-actions .btn-secondary:hover {
    border-color: var(--primary-accent);
    color: var(--primary-accent);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Image wrapper for right side of split hero */
.subpage-hero-image-wrapper {
    width: 100%;
    height: 440px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.subpage-hero-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px -15px rgba(0, 0, 0, 0.6);
}

.subpage-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.subpage-hero-image-wrapper:hover .subpage-hero-image {
    transform: scale(1.03);
}

/* Horizontal CTA Strip Layout */
.cta-strip {
    background-color: var(--primary-dark);
    border-radius: var(--radius-lg);
    padding: 40px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-lg);
}

.cta-strip::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(var(--primary-accent-rgb), 0.03);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    z-index: 0;
    filter: blur(80px);
}

.cta-strip-left {
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 2;
    flex-grow: 1;
}

.cta-strip-icon-box {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-accent);
    opacity: 0.85;
    flex-shrink: 0;
}

.cta-strip-icon-box svg {
    width: 100%;
    height: 100%;
}

.cta-strip-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cta-strip-text h3 {
    font-size: 1.8rem;
    color: var(--text-white);
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

.cta-strip-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin: 0;
}

.cta-strip-right {
    z-index: 2;
    flex-shrink: 0;
    margin-left: 30px;
}

.cta-strip-right .btn-primary {
    background-color: var(--primary-accent);
    color: var(--text-white);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 15px 30px;
    box-shadow: 0 8px 20px rgba(var(--primary-accent-rgb), 0.3);
}

.cta-strip-right .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(var(--primary-accent-rgb), 0.45);
}

.cta-strip-right .btn-primary i {
    font-size: 0.85rem;
}

/* Background Airplane path graphic in CTA */
.cta-airplane-decor {
    position: absolute;
    right: 0px;
    bottom: -10px;
    width: 250px;
    height: 120px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    color: var(--primary-accent);
}

.cta-airplane-decor svg {
    width: 100%;
    height: 100%;
}

/* Footer Link list customization */
.footer-links li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a i {
    font-size: 0.75rem;
    color: var(--primary-accent);
    transition: var(--transition-fast);
}

.footer-links li a:hover i {
    transform: translateX(3px);
}

/* Active underline in navigation menu */
.header .nav-link.active-link::after {
    background-color: var(--primary-accent) !important;
}

/* Responsiveness overrides for redesign */
@media screen and (max-width: 992px) {
    .subpage-hero-split {
        padding: 150px 0 60px 0;
    }

    .subpage-hero-split .subpage-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .title-underline {
        margin: 0 auto 25px auto;
    }

    .subpage-hero-desc-split {
        margin-left: auto;
        margin-right: auto;
    }

    .subpage-hero-actions {
        justify-content: center;
    }

    .subpage-hero-image-wrapper {
        height: 380px;
        max-width: 580px;
        margin: 0 auto;
    }

    .cta-strip {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 40px 30px;
    }

    .cta-strip-left {
        flex-direction: column;
        gap: 15px;
    }

    .cta-strip-right {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    /* Subpage Classic Hero Tablet overrides */
    .subpage-hero-classic {
        padding: 140px 0 60px 0;
        text-align: center;
    }

    .subpage-hero-classic .hero-content {
        align-items: center;
    }

    .subpage-hero-classic .hero-title {
        font-size: 2.6rem;
    }

    /* Subpage CTA Banner Tablet overrides */
    .subpage-cta-banner {
        grid-template-columns: 1fr;
        padding: 40px 30px;
        gap: 24px;
        text-align: center;
    }

    .subpage-cta-banner .consult-info-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .subpage-cta-banner .form-btn-row {
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    .subpage-hero-title-split {
        font-size: 2.8rem;
    }

    .subpage-hero-image-wrapper {
        height: 280px;
    }

    /* Subpage Classic Hero Mobile overrides */
    .subpage-hero-classic {
        padding: 120px 0 50px 0;
    }

    .subpage-hero-classic .hero-title {
        font-size: 2.2rem;
    }

    /* Subpage CTA Banner Mobile overrides */
    .subpage-cta-banner {
        padding: 30px 20px;
    }

    /* Tagline Underline Mobile full-width */
    .hero-tagline-text::after {
        width: 100%;
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 54px;
    height: 54px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    background-color: #128C7E;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    color: #FFF;
}
.back-to-top {
    bottom: 100px !important;
}