/*
Theme Name: StudyPark Custom
Theme URI: https://website2.susankya.com.np/
Author: Ritesh Mandal 
/* ========== GALLERY SECTION ========== */
.sp-gallery {
    padding: 70px 0;
    background: #ffffff;
}

.sp-gallery-header {
    margin-bottom: 26px;
}

.sp-gallery-header h2 {
    font-size: 24px;
    margin: 0 0 8px;
    color: #0f172a;
}

.sp-gallery-header p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

/* Grid layout */
.sp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* Individual item */
.sp-gallery-item {
    display: flex;
    justify-content: center;
}

/* Circular thumbnail */
.sp-gallery-thumb {
    width: 160px;
    height: 160px;
    border-radius: 999px;
    overflow: hidden;
    border: 4px solid #f97316; 
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sp-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hover effect */
.sp-gallery-thumb:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.3);
    border-color: #fb923c;
}

/* Responsive */
@media (max-width: 900px) {
    .sp-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .sp-gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sp-gallery-thumb {
        width: 140px;
        height: 140px;
    }
}
Gangai
Author URI: https://website2.susankya.com.np/
Description: Custom theme inspired by Study Park Education Network.
Version: 1.0
Text Domain: studypark-custom
*/

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #ffffff;
    color: #111827;
}

/* ====== VARIABLES ====== */
:root {
    --sp-primary: #01589f;    /* main blue */
    --sp-primary-dark: #00417a;
    --sp-accent: #ffb703;     /* highlight */
    --sp-text: #111827;
    --sp-muted: #6b7280;
    --sp-bg: #ffffff;
    --sp-light: #f3f4f6;
    --sp-radius-lg: 16px;
    --sp-radius-md: 10px;
}

/* Reset-ish */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--sp-text);
    background-color: var(--sp-bg);
}

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

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

/* Container */
.sp-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ====== HEADER TOP BAR ====== */
.sp-header {
    position: relative;
    z-index: 20;
    font-size: 14px;
}

.sp-topbar {
    background: var(--sp-primary);
    color: #ffffff;
}

.sp-topbar .sp-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 16px;
}

.sp-topbar-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.sp-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-topbar-right a {
    font-weight: 500;
    font-size: 13px;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.sp-topbar-right a:hover {
    opacity: 1;
}

/* ====== MAIN NAV BAR ====== */
.sp-nav-wrap {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.sp-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    gap: 24px;
}

/* Logo */
.sp-logo a,
.sp-logo img {
    display: inline-flex;
    align-items: center;
}

.sp-logo img {
    max-height: 56px;
    width: auto;
}

/* Menu */
.sp-menu {
    flex: 1;
}

.sp-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    font-size: 14px;
    font-weight: 500;
}

.sp-menu-list li {
    position: relative;
}

.sp-menu-list a {
    padding: 4px 0;
    color: #111827;
    transition: color 0.2s ease, border-color 0.2s ease;
    border-bottom: 2px solid transparent;
}

.sp-menu-list a:hover,
.sp-menu-list .current-menu-item > a,
.sp-menu-list .current_page_item > a {
    color: var(--sp-primary);
    border-bottom-color: var(--sp-primary);
}

/* Header CTA */
.sp-header-cta {
    margin-left: 16px;
}

.sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sp-btn-primary {
    background: var(--sp-primary);
    color: #ffffff;
    border-color: var(--sp-primary);
    box-shadow: 0 8px 20px rgba(1, 88, 159, 0.2);
}

.sp-btn-primary:hover {
    background: var(--sp-primary-dark);
    border-color: var(--sp-primary-dark);
    box-shadow: 0 10px 24px rgba(1, 88, 159, 0.28);
}

.sp-btn-outline {
    background: transparent;
    color: var(--sp-primary);
    border-color: var(--sp-primary);
}

.sp-btn-outline:hover {
    background: var(--sp-primary);
    color: #ffffff;
}

/* Simple mobile behaviour */
@media (max-width: 900px) {
    .sp-nav {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .sp-menu {
        width: 100%;
        order: 3;
    }

    .sp-menu-list {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 12px 18px;
        padding-top: 8px;
    }

    .sp-header-cta {
        order: 2;
        margin-left: auto;
    }

    .sp-topbar .sp-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* ====== HERO SECTION ====== */
.sp-hero {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 55%, #f9fafb 100%);
    padding: 50px 0 40px;
}

.sp-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center;
}

.sp-hero-text h1 {
    font-size: 40px;
    line-height: 1.1;
    margin: 0 0 14px;
    color: #0f172a;
}

.sp-hero-text p {
    margin: 0 0 18px;
    font-size: 15px;
    color: var(--sp-muted);
    max-width: 520px;
}

.sp-hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

/* Hero cards column */
.sp-hero-cards {
    display: grid;
    gap: 12px;
}

.sp-hero-card {
    background: #ffffff;
    border-radius: var(--sp-radius-md);
    padding: 16px 16px 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
}

.sp-hero-card h3 {
    font-size: 16px;
    margin: 0 0 4px;
    color: #0f172a;
}

.sp-hero-card p {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--sp-muted);
}

/* card "Book now" link style */
.sp-link-button {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--sp-primary);
    gap: 4px;
}

.sp-link-button::after {
    content: '→';
    font-size: 12px;
    transform: translateY(1px);
}

/* Stats below hero */
.sp-stats {
    padding: 20px 0 30px;
    background: #ffffff;
}

.sp-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    text-align: center;
}

.sp-stat {
    padding: 16px 8px;
    border-radius: 14px;
    background: #f3f4ff;
}

.sp-stat strong {
    display: block;
    font-size: 24px;
    color: var(--sp-primary);
    margin-bottom: 4px;
}

.sp-stat span {
    font-size: 13px;
    color: var(--sp-muted);
}

/* ====== SERVICES GRID (placeholder styling) ====== */
.sp-services {
    padding: 40px 0 50px;
    background: #f9fafb;
}

.sp-services h2 {
    text-align: center;
    font-size: 26px;
    margin: 0 0 8px;
}

.sp-services > .sp-container > p {
    text-align: center;
    margin: 0 0 24px;
    color: var(--sp-muted);
    font-size: 14px;
}

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

.sp-service-item {
    background: #ffffff;
    padding: 16px 14px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

/* Responsive tweaks */
@media (max-width: 900px) {
    .sp-hero-grid {
        grid-template-columns: 1fr;
    }

    .sp-hero {
        padding: 30px 0 24px;
    }

    .sp-hero-text h1 {
        font-size: 30px;
    }

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

@media (max-width: 600px) {
    .sp-stats-grid,
    .sp-services-grid {
        grid-template-columns: 1fr;
    }
}


/* =======================
   SERVICES SECTION
   ======================= */
.sp-services {
    padding: 70px 0;
    background: #ffffff;
}

.sp-services-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(280px, 1.1fr);
    gap: 28px;
    align-items: stretch;
}

/* Move the CTA button below the section safely */
.sp-services-all-btn-wrapper {
    position: static !important;
    margin : 22px 0 22px 0 !important;
    width: 100%;
    display: flex;
    justify-content: center;
}


/* Style the CTA button properly */
.sp-services-all-btn {
    display: inline-flex;
    align-items: center;
    margin-right: 315px;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 999px;
    background: #f97316;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35);
    white-space: nowrap;
}

.sp-services-all-btn:hover {
    background: #ea580c;
}

.sp-services-all-arrow {
    font-size: 16px;
}


/* Heading block on left */
.sp-services-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sp-services-header {
    max-width: 560px;
}

.sp-services-heading {
    font-size: 30px;
    line-height: 1.25;
    color: #0f172a;
    margin: 6px 0 8px;
}

.sp-services-subtitle {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* Grid: 3 per row, 2 rows */
.sp-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 20px;
}

/* Individual service cards */
.sp-service-card {
    background: #f9fafb;
    border-radius: 18px;
    padding: 26px 26px 20px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sp-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.sp-service-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 999px;
    background: #eef2ff;
    padding: 12px;
}

.sp-service-icon-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    background: #eff4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #1d4ed8;
}

.sp-service-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.sp-service-excerpt {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* CTA banner on right */
.sp-services-cta {
    display: flex;
    align-items: stretch;
}

.sp-services-cta-inner {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
}

.sp-services-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15));
}

.sp-services-cta-content {
    position: relative;
    padding: 22px 24px 26px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.sp-services-cta-kicker {
    font-size: 15px;
    line-height: 1.6;
    max-width: 260px;
}

.sp-services-cta-button {
    align-self: flex-start;
    padding: 10px 26px;
    border-radius: 999px;
    background: #f97316;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.sp-services-cta-button:hover {
    background: #ea580c;
}

/* Responsive */
@media (max-width: 1024px) {
    .sp-services-layout {
        grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr);
        gap: 20px;
    }

    .sp-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sp-services-all-btn {
        position: static;
        align-self: flex-end;
        margin-bottom: 10px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .sp-services-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .sp-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sp-services-cta-inner {
        min-height: 260px;
    }
}

@media (max-width: 600px) {
    .sp-services-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* =======================
   STUDY ABROAD SECTION
   ======================= */
.sp-abroad {
    padding: 70px 0;
    background: #ffffff;
    text-align: center;
}

.sp-abroad-header {
    max-width: 720px;
}

.sp-abroad-title {
    font-size: 30px;
    margin: 6px 0 10px;
    color: #0f172a;
    text-align:start;
}

.sp-abroad-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
    text-align: start;
}

/* Slider layout */
.sp-abroad-slider-wrapper {
    margin-top: 18px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

/* round arrows */
.sp-abroad-arrow {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: none;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
}

.sp-abroad-arrow:hover {
    transform: translateY(-1px);
}

/* scrollable window */
.sp-abroad-slider-window {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.sp-abroad-slider-window::-webkit-scrollbar {
    display: none;
}

.sp-abroad-slider-track {
    display: flex;
    gap: 20px;
}

/* cards */
.sp-abroad-card {
    position: relative;
    flex: 0 0 220px;
    height: 260px;
    border-radius: 18px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.30);
    cursor: pointer;
}

.sp-abroad-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.15));
}

.sp-abroad-card-content {
    position: absolute;
    inset: auto 18px 18px 18px;
    color: #ffffff;
    text-align: left;
}

.sp-abroad-card-content h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

/* bottom CTA button */
.sp-abroad-cta {
    margin-top: 26px;
    display: flex;
    justify-content: center;
}

.sp-abroad-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 30px;
    border-radius: 999px;
    background: #f97316;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.45);
}

.sp-abroad-cta-btn:hover {
    background: #ea580c;
}

.sp-abroad-cta-arrow {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 900px) {
    .sp-abroad-card {
        flex: 0 0 200px;
        height: 230px;
    }
}

@media (max-width: 640px) {
    .sp-abroad-slider-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }
    .sp-abroad-arrow {
        display: none;
    }
}



/* =======================
   ABOUT SECTION (two-column with feature cards)
   ======================= */
.sp-about {
    padding: 70px 0;
    background: #ffffff;
}

.sp-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: center;
}

/* Left side */
.sp-section-kicker-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.sp-section-kicker-line {
    width: 24px;
    height: 2px;
    background: #f97316; /* orange accent */
    border-radius: 999px;
}

.sp-section-kicker {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.16em;
    color: #f97316;
    font-weight: 600;
}

.sp-about-heading {
    font-size: 28px;
    line-height: 1.2;
    color: #0f172a;
    margin: 0 0 10px;
}

.sp-about-text {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
    max-width: 480px;
    margin: 0;
}

/* Right side: cards */
.sp-about-right {
    display: flex;
    justify-content: flex-end;
}

.sp-about-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
}

.sp-about-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 16px 14px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.sp-about-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
    flex-shrink: 0;
}

/* Different subtle colors for each icon */
.sp-about-icon-1 { background: linear-gradient(135deg, #fb7185, #f97316); }
.sp-about-icon-2 { background: linear-gradient(135deg, #34d399, #22c55e); }
.sp-about-icon-3 { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.sp-about-icon-4 { background: linear-gradient(135deg, #facc15, #f97316); }

.sp-about-card-body h3 {
    font-size: 14px;
    margin: 0 0 4px;
    color: #111827;
}

.sp-about-card-body p {
    font-size: 13px;
    margin: 0;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 900px) {
    .sp-about-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sp-about-right {
        justify-content: flex-start;
    }

    .sp-about-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .sp-about-cards {
        grid-template-columns: 1fr;
    }
}


/* =======================
   TEST PREPARATION SECTION
   ======================= */
.sp-testprep {
    padding: 70px 0;
    background: #f9fafb;
}

.sp-testprep-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.sp-testprep-heading {
    font-size: 28px;
    line-height: 1.2;
    color: #0f172a;
    margin: 0 0 8px;
}

.sp-testprep-subtitle {
    font-size: 14px;
    color: #6b7280;
    max-width: 520px;
    margin: 0;
}

/* Nav arrows */
.sp-test-nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.sp-test-nav {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    color: #111827;
    box-shadow: 0 4px 10px rgba(15,23,42,0.06);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.sp-test-nav:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(15,23,42,0.1);
}

/* Slider container: native horizontal scroll */
.sp-test-slider-window,.sp-testi-slider-window  {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
}

.sp-test-slider-window::-webkit-scrollbar,.sp-testi-slider-window::-webkit-scrollbar {
    display: none;
}

.sp-test-slider-window.is-dragging,.sp-testi-slider-window.is-dragging {
    cursor: grabbing;
}

/* Prevent selection / image dragging inside slider */
.sp-test-slider-window,
.sp-test-slider-window *,
.sp-testi-slider-window,
.sp-testi-slider-window * {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
}

/* Track */
.sp-test-slider-track {
    display: flex;
    gap: 18px;
}

/* 3-column cards on desktop */
.sp-test-card,.sp-testi-card {
    flex: 0 0 calc(33.333% - 12px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Banner */
.sp-test-banner {
    position: relative;
    border-radius: 20px 20px 0 0;
    padding: 18px 20px;
    min-height: 160px;
    background: linear-gradient(135deg, #fecaca, #fb7185);
    color: #ffffff;
    overflow: hidden;
}

.sp-test-card:nth-child(2) .sp-test-banner {
    background: linear-gradient(135deg, #bae6fd, #38bdf8);
}
.sp-test-card:nth-child(3) .sp-test-banner {
    background: linear-gradient(135deg, #bfdbfe, #3b82f6);
}

.sp-test-banner-content {
    position: relative;
    z-index: 1;
}

.sp-test-banner-kicker {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.sp-test-banner-title {
    display: block;
    font-size: 26px;
    font-weight: 700;
}

/* Badge */
.sp-test-badge {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0f172a;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
}

/* Info panel */
.sp-test-card-info {
    background: #ffffff;
    border-radius: 0 0 20px 20px;
    padding: 16px 18px 18px;
    box-shadow: 0 10px 26px rgba(15,23,42,0.12);
}

.sp-test-card-info h3 {
    font-size: 15px;
    margin: 0 0 6px;
    color: #111827;
}

.sp-test-card-info p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .sp-test-card {
        flex: 0 0 calc(50% - 9px);
    }
}

@media (max-width: 700px) {
    .sp-testprep-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sp-test-card {
        flex: 0 0 100%;
    }
}


/* =======================
   TESTIMONIALS SECTION
   ======================= */
.sp-testimonials {
    padding: 70px 0;
    background: #ffffff;
}

.sp-testimonials-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.sp-testimonials-heading {
    font-size: 26px;
    line-height: 1.3;
    color: #0f172a;
    margin: 4px 0 8px;
}

.sp-testimonials-subtitle {
    font-size: 14px;
    color: #6b7280;
    max-width: 520px;
    margin: 0;
}

.sp-testi-slider-track {
    display: flex;
    gap: 18px;
}

/* 3 cards in one row on desktop */
.sp-testi-card {
    flex: 0 0 calc(33.333% - 12px);
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Top blue strip */
.sp-testi-topbar {
    height: 4px;
    background: linear-gradient(90deg, #22c1c3 0%, #3b82f6 50%, #06b6d4 100%);
}

/* Main body with quote + scrollable text */
.sp-testi-body {
    padding: 18px 22px 14px;
    display: flex;
    gap: 10px;
}

.sp-testi-quote-icon {
    font-size: 34px;
    line-height: 1;
    color: #0ea5e9;
    margin-top: 4px;
    flex-shrink: 0;
}

.sp-testi-text-scroll {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    max-height: 140px;      /* controls inner scroll height */
    overflow-y: auto;
    padding-right: 6px;
}

/* inner scrollbar style (optional) */
.sp-testi-text-scroll::-webkit-scrollbar {
    width: 4px;
}
.sp-testi-text-scroll::-webkit-scrollbar-thumb {
    background: #cbd5f5;
    border-radius: 999px;
}

/* Footer: avatar + name */
.sp-testi-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px 14px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.sp-testi-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.sp-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #01589f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* name + optional subtitle */
.sp-testi-info strong {
    font-size: 14px;
    color: #111827;
    display: block;
}
.sp-testi-info span {
    font-size: 12px;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 1024px) {
    .sp-testi-card {
        flex: 0 0 calc(50% - 9px);
    }
}

@media (max-width: 700px) {
    .sp-testimonials-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .sp-testi-card {
        flex: 0 0 100%;
    }
}



/* =======================
   CONTACT PAGE
   ======================= */
.sp-page-contact {
    padding: 60px 0;
}

.sp-contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.sp-contact-info .sp-page-title {
    font-size: 30px;
    margin-bottom: 5px;
    color: #0f172a;
}

.sp-contact-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 20px;
}

.sp-contact-details li {
    list-style: none;
    margin-bottom: 10px;
    font-size: 15px;
    color: #374151;
}

.sp-contact-details strong {
    color: #111827;
}

.sp-contact-form {
    background: #f9fafb;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(15,23,42,0.07);
}

.sp-contact-map {
    margin-top: 30px;
}

.sp-map-embed iframe {
    width: 100%;
    height: 380px;
    border: 0;
    border-radius: 14px;
}

@media (max-width: 900px) {
    .sp-contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== GALLERY SECTION ========== */
.sp-gallery {
    padding: 70px 0;
    background: #ffffff;
}

.sp-gallery-header {
    margin-bottom: 26px;
}

.sp-gallery-header h2 {
    font-size: 24px;
    margin: 0 0 8px;
    color: #0f172a;
}

.sp-gallery-header p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

/* Grid layout */
.sp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* Individual item */
.sp-gallery-item {
    display: flex;
    justify-content: center;
}

/* Circular thumbnail */
.sp-gallery-thumb {
    width: 160px;
    height: 160px;
    border-radius: 999px;
    overflow: hidden;
    border: 4px solid #f97316; 
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sp-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hover effect */
.sp-gallery-thumb:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.3);
    border-color: #fb923c;
}

/* Responsive */
@media (max-width: 900px) {
    .sp-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .sp-gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sp-gallery-thumb {
        width: 140px;
        height: 140px;
    }
}


/* ========== GALLERY LIGHTBOX ========== */
.sp-gallery-lightbox {
    position: fixed;
    inset: 0;
    display: none;            /* hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.sp-gallery-lightbox.is-open {
    display: flex;
}

.sp-gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(2px);
}

.sp-gallery-lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 1;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main image */
.sp-gallery-lightbox-inner img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

/* Close button */
.sp-gallery-lightbox-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.9);
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.sp-gallery-lightbox-close:hover {
    background: rgba(249, 115, 22, 0.95);
}

/* Prev / Next navigation buttons */
.sp-gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.sp-gallery-lightbox-prev {
    left: 10px;
}
.sp-gallery-lightbox-next {
    right: 10px;
}

.sp-gallery-lightbox-nav:hover {
    background: rgba(249, 115, 22, 0.95);
}

/* Optional caption under image */
.sp-gallery-lightbox-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    padding: 6px 12px 10px;
    font-size: 13px;
    color: #e5e5e5;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
}

/* ========== APPLY NOW / MAP SECTION ========== */
.sp-apply {
    padding: 70px 0 50px;
    background: #e0f2ff; /* light blue like reference */
}

.sp-apply-header {
    margin-bottom: 20px;
}

.sp-apply-title {
    font-size: 26px;
    margin: 4px 0 8px;
    color: #0f172a;
}

.sp-apply-subtitle {
    margin: 0 0 18px;
    font-size: 14px;
    color: #4b5563;
}

/* Map wrapper */
.sp-apply-map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    background: #ffffff;
}

/* Make iframe responsive */
.sp-apply-map-wrapper iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
}

/* ========== AFFILIATIONS STRIP ========== */
.sp-affiliations {
    margin-top: 36px;
    text-align: center;
}

.sp-affiliations-heading {
    font-size: 18px;
    margin-bottom: 18px;
    color: #0f172a;
}

/* marquee container */
.sp-affiliations-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 10px 0 0;
}

/* track with logos */
.sp-affiliations-track {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
    animation: sp-affiliations-scroll var(--sp-affiliations-speed, 35s) linear infinite;
}

/* cloned track lines up next to first one for seamless loop */
.sp-affiliations-track--clone {
	display : none;
    margin-left: 40px;
}

/* logo item */
.sp-affiliation-logo img {
    height: 60px;
    width: auto;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.18));
}

/* keyframes for smooth scroll */
@keyframes sp-affiliations-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* responsive tweaks */
@media (max-width: 768px) {
    .sp-apply {
        padding: 50px 0 40px;
    }

    .sp-affiliation-logo img {
        height: 48px;
    }
}


/* ============= FOOTER ============= */
.sp-footer {
    background: #021b2c; /* dark navy */
    color: #e5f1ff;
    font-size: 14px;
}

/* Top CTA band */
.sp-footer-cta {
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    padding: 26px 0;
}

.sp-footer-cta-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.sp-footer-cta-box {
    display: flex;
    align-items: center;
    gap: 18px;
}

.sp-footer-cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
}

/* simple icon placeholders */
.sp-footer-icon-phone::before {
    content: "📞";
}
.sp-footer-icon-hat::before {
    content: "🎓";
}

.sp-footer-cta-title {
    margin: 0;
    font-weight: 600;
    color: #f9fafb;
}

.sp-footer-cta-highlight {
    margin: 0;
    font-weight: 600;
    color: #f97316;
}

.sp-footer-cta-sub {
    margin: 0;
    color: #e5f1ff;
}

/* Main footer grids */
.sp-footer-main {
    padding: 32px 0 20px;
}

.sp-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1.2fr));
    gap: 26px 36px;
}

/* Brand column */
.sp-footer-logo img {
    max-width: 170px;
    height: auto;
    display: block;
    margin-bottom: 14px;
}

.sp-footer-brand-text {
    margin: 0 0 16px;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.7;
}

/* Social icons */
.sp-footer-socials {
    display: flex;
    gap: 10px;
}

.sp-footer-social-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #0f172a;
    color: #e5f1ff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
}

/* Headings + menus */
.sp-footer-heading {
    font-size: 15px;
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 12px;
}

.sp-footer-menu,
.sp-footer-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sp-footer-menu li + li {
    margin-top: 6px;
}

.sp-footer-menu a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
}
.sp-footer-menu a:hover {
    color: #f97316;
}

/* Contact list */
.sp-footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sp-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    color: #cbd5e1;
}

.sp-footer-contact-icon {
    font-size: 14px;
    margin-top: 2px;
}

.sp-footer-contact a {
    color: #cbd5e1;
    text-decoration: none;
}
.sp-footer-contact a:hover {
    color: #f97316;
}

/* Bottom bar */
.sp-footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    padding: 12px 0;
    font-size: 12px;
    color: #9ca3af;
}

.sp-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.sp-footer-bottom-menu,
.sp-footer-bottom-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sp-footer-bottom-menu {
    display: flex;
    gap: 16px;
}

.sp-footer-bottom-menu a {
    color: #9ca3af;
    text-decoration: none;
}
.sp-footer-bottom-menu a:hover {
    color: #f97316;
}

/* Responsive */
@media (max-width: 900px) {
    .sp-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sp-footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .sp-footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .sp-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}
