@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --accent-color: #06b6d4;
    --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;

    /* Heading scale */
    --heading-hero: calc(1.85rem + 1.1vw);
    --heading-display-4: calc(1.55rem + 1.25vw);
    --heading-display-5: calc(1.3rem + 0.85vw);
    --heading-section: clamp(1.3rem, 1.8vw, 1.65rem);
    --heading-card: 1.1rem;
    --heading-stat: 2.1rem;

    /* Fixed navbar clearance for inner pages */
    --nav-offset: 5.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    font-display: swap;
}

body {
    background: var(--bg-gradient);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Section heading typography */
.display-4 {
    font-size: var(--heading-display-4);
}

.display-5 {
    font-size: var(--heading-display-5);
}

main h2.fw-bold:not(.display-5):not(.counter) {
    font-size: var(--heading-section);
}

main h3.fw-bold {
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
}

main .glass-card h4.fw-bold,
main h4.fw-bold.mb-3 {
    font-size: var(--heading-card);
}

.cta-band h2.fw-bold,
.cta-section h2.fw-bold,
.glass-card.text-white h2.fw-bold,
main .glass-card.p-5.text-white h2.fw-bold {
    font-size: clamp(1.25rem, 1.8vw, 1.6rem);
}

/* Premium Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
}

.spinner-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.spinner-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-inner {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 3px solid transparent;
    border-left-color: var(--secondary-color);
    border-right-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin-reverse 1s linear infinite;
}

.loader-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

.loader-icon-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    object-fit: contain;
    animation: pulse 2s ease-in-out infinite;
}

.loader-logo-img {
    height: 32px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

.loader-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.loader-line {
    width: 150px;
    height: 2px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.loader-line::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    animation: loading-line 2s infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    to { transform: rotate(-360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes loading-line {
    to { left: 100%; }
}

/* Glassmorphism Utility */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.2);
}

/* Navbar Styling */
.glass-nav {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 0;
}

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

.brand-ext {
    color: var(--secondary-color);
}

/* Navbar Logo */
.navbar-logo {
    height: 52px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    transition: height 0.3s ease;
}

.navbar-scrolled .navbar-logo {
    height: 44px;
}

/* Footer Logo */
.footer-logo-img {
    height: 48px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 10px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

/* Buttons */
.btn-premium {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: 2px solid transparent; /* Match outline border width */
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-premium:hover {
    transform: translateY(-2px);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

.btn-outline-premium {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-premium:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px !important;
    font-size: 0.85rem;
}


/* Hero Section */
.hero-section {
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-image-wrapper {
    position: relative;
    padding: 20px;
}

.hero-content h1 {
    font-size: var(--heading-hero);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--primary-color);
}



.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html {
    scroll-padding-top: calc(var(--nav-offset) + 1rem);
}

/* Inner pages — offset for fixed navbar (overrides Bootstrap .py-5 !important) */
main > section:first-of-type:not(.hero-section) {
    padding-top: calc(var(--nav-offset) + 2rem) !important;
}

@media (max-width: 768px) {
    main > section:first-of-type:not(.hero-section) {
        padding-top: calc(var(--nav-offset) + 1.5rem) !important;
    }
}

/* About page — mission feature cards */
.about-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-left: 3px solid var(--primary-color);
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.06);
    transition: all 0.3s ease;
}

.about-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.11);
    border-left-color: var(--secondary-color);
}

.about-feature-card__icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: #fff;
}

.about-feature-card__icon--primary {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.about-feature-card__icon--secondary {
    background: linear-gradient(135deg, var(--secondary-color), #9333ea);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.about-feature-card__title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.2rem;
    line-height: 1.3;
}

.about-feature-card__text {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.45;
}

/* About page — why choose us value cards */
.about-values-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(224, 242, 254, 0.3) 100%);
}

.about-value-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.1);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(37, 99, 235, 0.12);
}

.about-value-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.about-value-card__desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.about-value-card__head {
    height: 88px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 1rem 0.75rem;
    position: relative;
    overflow: hidden;
}

.about-value-card__head::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -30px;
    left: -20px;
}

.about-value-card__head-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.about-value-card__content {
    padding: 1.1rem 1.15rem 1.25rem;
}

/* Inner Hero */
.inner-hero {
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 100px 0 60px;
}

@media (max-width: 768px) {
    .inner-hero {
        padding: 80px 0 40px;
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--secondary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

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

/* Abstract Blobs */

.blob {
    position: absolute;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    bottom: -50px;
    left: -50px;
}

.hero-services-grid {
    padding: 0.25rem 0;
}

.small-service-card {
    padding: 0.75rem 0.9rem !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(37, 99, 235, 0.09) !important;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.small-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.small-service-card:hover {
    background: rgba(255, 255, 255, 0.96) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.12) !important;
    border-color: rgba(124, 58, 237, 0.18) !important;
}

.small-service-card:hover::before {
    opacity: 1;
}

.small-service-card__inner {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-align: left;
}

.small-service-card__body {
    min-width: 0;
    flex: 1;
}

.small-service-card h6 {
    font-size: 0.8rem;
    line-height: 1.25;
    color: var(--text-dark);
}

.small-service-card .extra-small {
    font-size: 0.67rem;
    line-height: 1.3;
    margin-top: 0.1rem;
    opacity: 0.85;
}

.card-icon-sm {
    width: 36px;
    height: 36px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    margin: 0;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.small-service-card:hover .card-icon-sm {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    transform: scale(1.05);
}

.card-icon-sm.secondary {
    background: rgba(124, 58, 237, 0.1);
    color: var(--secondary-color);
}

.card-icon-sm.accent {
    background: rgba(6, 182, 212, 0.12);
    color: var(--accent-color);
}

.small-service-card:hover .card-icon-sm.secondary,
.small-service-card:hover .card-icon-sm.accent {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.extra-small {
    font-size: 0.72rem;
    font-weight: 500;
}

/* Stats Section */
.stats-section {
    position: relative;
}

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

.stat-card {
    height: 100%;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.22);
    box-shadow: 0 14px 36px rgba(37, 99, 235, 0.14);
    background: rgba(255, 255, 255, 0.97);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card__inner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    position: relative;
    z-index: 1;
}

.stat-card__icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.1rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stat-card__icon--secondary {
    background: linear-gradient(135deg, var(--secondary-color), #9333ea);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
}

.stat-card__icon--accent {
    background: linear-gradient(135deg, var(--accent-color), #0891b2);
    box-shadow: 0 6px 16px rgba(6, 182, 212, 0.25);
}

.stat-card:hover .stat-card__icon {
    transform: scale(1.08);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.3);
}

.stat-card__body {
    min-width: 0;
    flex: 1;
}

.stat-card__value {
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.stat-card__value .counter,
.stat-card__value .gradient-text {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.stat-card__suffix {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card__label {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    line-height: 1.35;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(30, 58, 138, 0.1);
    color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto;
}

.stat-icon.secondary {
    background: rgba(124, 58, 237, 0.1);
    color: var(--secondary-color);
}

.stat-icon.accent {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-color);
}


.stat-item h2 {
    font-size: var(--heading-stat);
    font-weight: 700;
    color: var(--primary-color);
}

/* Services Section */
.services-section {
    position: relative;
}

.services-page {
    position: relative;
}

/* Google Classroom–style cards */
.classroom-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow:
        0 4px 6px -1px rgba(37, 99, 235, 0.08),
        0 12px 28px -4px rgba(37, 99, 235, 0.14);
}

.classroom-card__banner {
    position: relative;
    height: 108px;
    padding: 14px 16px 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.classroom-card__banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, transparent 45%, rgba(0, 0, 0, 0.06) 100%);
    pointer-events: none;
}

.classroom-card__banner--blue { background: linear-gradient(135deg, #1a73e8, #2563eb); }
.classroom-card__banner--purple { background: linear-gradient(135deg, #9334e6, #7c3aed); }
.classroom-card__banner--teal { background: linear-gradient(135deg, #00897b, #06b6d4); }
.classroom-card__banner--green { background: linear-gradient(135deg, #0d904f, #16a34a); }
.classroom-card__banner--orange { background: linear-gradient(135deg, #e8710a, #f59e0b); }
.classroom-card__banner--red { background: linear-gradient(135deg, #d93025, #ef4444); }

.classroom-card__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.classroom-card__decor span {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.classroom-card__decor span:nth-child(1) {
    width: 120px;
    height: 120px;
    top: -40px;
    right: -20px;
}

.classroom-card__decor span:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 20px;
    right: 60px;
    background: rgba(255, 255, 255, 0.08);
}

.classroom-card__decor span:nth-child(3) {
    width: 50px;
    height: 50px;
    bottom: -10px;
    left: 40%;
    background: rgba(255, 255, 255, 0.1);
}

.classroom-card__icon {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #5f6368;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.9);
    z-index: 2;
}

.classroom-card__title {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.35;
    letter-spacing: 0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.classroom-card__body {
    flex: 1;
    padding: 14px 16px 10px;
    background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
}

.classroom-card__meta {
    margin: 0 0 6px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    line-height: 1.3;
}

.classroom-card__desc {
    margin: 0;
    font-size: 0.8rem;
    color: #80868b;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.classroom-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px 8px 12px;
    border-top: 1px solid rgba(37, 99, 235, 0.08);
    background: #f8fafc;
    min-height: 46px;
}

.classroom-card__tools {
    display: flex;
    align-items: center;
    gap: 4px;
}

.classroom-card__tool {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #5f6368;
    text-decoration: none;
    font-size: 0.95rem;
    background: #fff;
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.06);
}

.classroom-card__open {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.classroom-card__open i {
    font-size: 0.65rem;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--secondary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* How It Works — consistent gradient-header cards */
.how-it-works {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(224, 242, 254, 0.25) 100%);
}

.process-heading-line {
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.process-flow {
    position: relative;
}

@media (min-width: 992px) {
    .process-step-col:not(:last-child)::after {
        content: '\f061';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        top: 50%;
        right: -6px;
        transform: translate(50%, -50%);
        color: var(--secondary-color);
        opacity: 0.35;
        font-size: 0.85rem;
        z-index: 2;
    }

    .process-step-col {
        position: relative;
    }
}

.process-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.12);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(124, 58, 237, 0.15);
}

.process-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, var(--secondary-color), #9333ea);
}

.process-card__badge {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.18);
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
}

.process-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.process-card__body {
    flex: 1;
    padding: 1rem 1.1rem 1.15rem;
}

.process-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.45rem;
    line-height: 1.35;
}

.process-card__text {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 991px) {
    .process-step-col:not(:last-child)::after {
        display: none;
    }
}

/* Dissertation chapter cards */
.dissertation-chapters-section {
    position: relative;
}

.dissertation-chapter-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.09);
    box-shadow: 0 6px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.dissertation-chapter-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(37, 99, 235, 0.14);
    border-color: rgba(124, 58, 237, 0.22);
}

.dissertation-chapter-card__banner {
    position: relative;
    min-height: 124px;
    padding: 1rem 1.15rem 1.05rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.dissertation-chapter-card__banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.12) 100%);
    pointer-events: none;
}

.dissertation-chapter-card__banner--blue { background: linear-gradient(135deg, #1e40af, #2563eb 55%, #3b82f6); }
.dissertation-chapter-card__banner--purple { background: linear-gradient(135deg, #6d28d9, #7c3aed 55%, #9333ea); }
.dissertation-chapter-card__banner--teal { background: linear-gradient(135deg, #0f766e, #0d9488 55%, #14b8a6); }
.dissertation-chapter-card__banner--green { background: linear-gradient(135deg, #15803d, #16a34a 55%, #22c55e); }
.dissertation-chapter-card__banner--orange { background: linear-gradient(135deg, #c2410c, #ea580c 55%, #f97316); }
.dissertation-chapter-card__banner--violet { background: linear-gradient(135deg, #5b21b6, #7c3aed 55%, #a855f7); }

.dissertation-chapter-card__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.dissertation-chapter-card__decor span {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.dissertation-chapter-card__decor span:nth-child(1) {
    width: 130px;
    height: 130px;
    top: -45px;
    right: -30px;
}

.dissertation-chapter-card__decor span:nth-child(2) {
    width: 70px;
    height: 70px;
    bottom: -20px;
    left: -15px;
    background: rgba(255, 255, 255, 0.07);
}

.dissertation-chapter-card__decor span:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 18px;
    left: 42%;
    background: rgba(255, 255, 255, 0.06);
}

.dissertation-chapter-card__step {
    position: absolute;
    top: -6px;
    right: 10px;
    font-size: 4.25rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.11);
    pointer-events: none;
    z-index: 1;
    letter-spacing: -0.04em;
}

.dissertation-chapter-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.55rem;
    position: relative;
    z-index: 2;
}

.dissertation-chapter-card__badge {
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.16);
    padding: 0.28rem 0.72rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(4px);
}

.dissertation-chapter-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
    flex-shrink: 0;
}

.dissertation-chapter-card__icon--blue { color: #2563eb; }
.dissertation-chapter-card__icon--purple { color: #7c3aed; }
.dissertation-chapter-card__icon--teal { color: #0d9488; }
.dissertation-chapter-card__icon--green { color: #16a34a; }
.dissertation-chapter-card__icon--orange { color: #ea580c; }
.dissertation-chapter-card__icon--violet { color: #7c3aed; }

.dissertation-chapter-card__title {
    position: relative;
    z-index: 2;
    font-size: 1.02rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.35;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}

.dissertation-chapter-card__body {
    flex: 1;
    padding: 1.15rem 1.2rem 0.75rem;
}

.dissertation-chapter-card__desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.62;
    margin: 0;
}

.dissertation-chapter-card__footer {
    padding: 0 1.2rem 1.15rem;
}

.dissertation-chapter-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.38rem 0.8rem;
    border-radius: 50px;
    letter-spacing: 0.02em;
}

.dissertation-chapter-card__tag--blue { color: #1d4ed8; background: rgba(37, 99, 235, 0.1); }
.dissertation-chapter-card__tag--purple { color: #6d28d9; background: rgba(124, 58, 237, 0.1); }
.dissertation-chapter-card__tag--teal { color: #0f766e; background: rgba(13, 148, 136, 0.1); }
.dissertation-chapter-card__tag--green { color: #15803d; background: rgba(22, 163, 74, 0.1); }
.dissertation-chapter-card__tag--orange { color: #c2410c; background: rgba(234, 88, 12, 0.1); }
.dissertation-chapter-card__tag--violet { color: #5b21b6; background: rgba(124, 58, 237, 0.1); }



.swiper-pagination-bullet {
    background: var(--text-muted);
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color);
    opacity: 1;
    width: 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Pricing Section */

.pricing-card {
    padding: 40px;
}

.pricing-card.popular {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
}

main .glass-card h2.counter,
main .glass-card h2.gradient-text {
    font-size: var(--heading-stat);
}

.price-tag {
    font-size: calc(1.9rem + 1.2vw);
    font-weight: 700;
    color: var(--primary-color);
}

.payment-icon {
    width: 44px;
    height: 30px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.payment-icon:hover {
    background: var(--white);
    transform: translateY(-2px);
    border-color: rgba(124, 58, 237, 0.25);
    color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.payment-icon--secure {
    color: #16a34a;
    font-size: 0.9rem;
}

/* Floating Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    z-index: 1000;
}

.floating-actions--left {
    left: 30px;
}

.floating-actions--right {
    right: 30px;
}

.btn-whatsapp {
    width: 58px;
    height: 58px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

.btn-scroll-top {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
}

.btn-scroll-top.visible {
    opacity: 1;
}

/* CTA Band — full width */
.cta-band {
    position: relative;
    width: 100%;
    margin-top: 3.5rem;
    padding: 1.35rem 0;
    background: linear-gradient(110deg, #1d4ed8 0%, var(--primary-color) 30%, var(--secondary-color) 70%, #6d28d9 100%);
    overflow: hidden;
}

.cta-band__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 120% at 0% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 40% 100% at 100% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
}

.cta-band__glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-band__badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.5rem;
    backdrop-filter: blur(6px);
}

.cta-band__title {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0.25rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.cta-band__text {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.45;
    max-width: 520px;
}

.cta-band__actions {
    flex-shrink: 0;
}

.cta-band__btn {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-band__btn:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    background: var(--white);
}

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

.cta-band__btn:hover i {
    transform: translateX(3px);
}

.cta-band + .site-footer {
    margin-top: 0;
}

/* Footer */
.site-footer {
    position: relative;
    margin-top: 4rem;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(224, 242, 254, 0.45) 100%);
}

.footer-main {
    padding: 3.5rem 0 2.5rem;
}

.footer-grid {
    margin-bottom: 2.5rem;
}

.footer-logo {
    display: inline-block;
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.footer-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-trust-pills span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(37, 99, 235, 0.12);
    padding: 0.35rem 0.7rem;
    border-radius: 50px;
    backdrop-filter: blur(6px);
}

.footer-trust-pills i {
    font-size: 0.65rem;
    color: var(--secondary-color);
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.65rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.social-links a {
    width: 42px;
    height: 42px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.08);
    text-decoration: none;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
    border-color: transparent;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links li a i {
    font-size: 0.55rem;
    color: var(--secondary-color);
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.25s ease;
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 2px;
}

.footer-links li a:hover i {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    margin-bottom: 0.6rem;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 14px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.footer-contact li:hover {
    background: var(--white);
    border-color: rgba(124, 58, 237, 0.2);
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.08);
}

.footer-contact-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    font-size: 0.8rem;
}

.footer-contact li small {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.footer-contact li a,
.footer-contact li span:not(.footer-contact-icon) {
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    word-break: break-all;
}

.footer-contact li div {
    min-width: 0;
    overflow: hidden;
}

.footer-contact li a:hover {
    color: var(--secondary-color);
}

.footer-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(8px);
}

.footer-disclaimer-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--secondary-color);
    font-size: 1rem;
}

.footer-disclaimer p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.footer-disclaimer strong {
    color: var(--text-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(37, 99, 235, 0.08);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    padding: 1.35rem 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.footer-payments {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-payments-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

/* Contact Page — info cards */
.contact-info-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(37, 99, 235, 0.09);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    background: var(--white);
    border-color: rgba(124, 58, 237, 0.2);
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.08);
}

.contact-info-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--secondary-color), #9333ea);
    color: var(--white);
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.contact-info-icon--primary {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.contact-info-icon--green {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

.contact-info-body {
    min-width: 0;
    overflow: hidden;
}

.contact-info-body small {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.1rem;
}

.contact-info-body a {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    word-break: break-all;
    transition: color 0.2s ease;
}

.contact-info-body a:hover {
    color: var(--secondary-color);
}

@media (max-width: 576px) {
    .contact-info-card {
        padding: 0.85rem 1rem;
        gap: 0.75rem;
    }

    .contact-info-icon {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
        border-radius: 10px;
    }

    .contact-info-body a {
        font-size: 0.82rem;
    }
}

/* Form Styling */
.glass-form .form-label {
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
}

.glass-form .form-control {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.glass-form .form-control::placeholder {
    color: #94a3b8;
    opacity: 1;
    font-weight: 400;
}

.glass-form .form-control::-webkit-input-placeholder {
    color: #94a3b8;
    opacity: 1;
}

.glass-form .form-control::-moz-placeholder {
    color: #94a3b8;
    opacity: 1;
}

.glass-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.glass-form .form-control:hover {
    border-color: #cbd5e1;
    background: #fff;
}

.glass-form .form-control:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    outline: none;
    color: var(--text-dark);
}

.glass-form .form-control:focus::placeholder {
    color: #b0bac9;
}

/* ==========================================================================
   RESPONSIVE — organised by breakpoint, widest to narrowest
   ========================================================================== */

/* ---------- XL desktops (≤1200px) — small laptops ---------- */
@media (max-width: 1200px) {
    .hero-section {
        padding: 140px 0 80px;
    }

    .pricing-card {
        padding: 30px;
    }
}

/* ---------- Tablets / landscape phones (≤991px) ---------- */
@media (max-width: 991px) {
    /* Navbar */
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        margin-top: 15px;
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-link {
        margin: 8px 0;
        text-align: center;
        font-size: 0.95rem;
    }

    /* Hero */
    .hero-section {
        padding: 130px 0 50px;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-content .d-flex.flex-wrap {
        justify-content: center;
    }

    /* Reduce section vertical spacing */
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .mt-5 {
        margin-top: 2rem !important;
    }

    /* Pricing */
    .pricing-card.popular {
        transform: scale(1);
        margin: 20px 0;
    }

    .pricing-card {
        padding: 28px 24px;
    }

    /* Contact & Order forms */
    .glass-card.p-5 {
        padding: 1.75rem !important;
    }

    /* Inner Hero Stats */
    .inner-hero .col-lg-5 {
        margin-top: 30px;
    }

    .inner-hero .d-flex.flex-column.h-100 {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center !important;
    }

    .inner-hero .glass-card {
        flex: 1 1 200px;
        min-height: 120px;
    }

    /* Footer */
    .footer-tagline {
        max-width: 100%;
    }

    .navbar-logo {
        height: 46px;
        max-width: 260px;
    }

    .navbar-scrolled .navbar-logo {
        height: 40px;
    }

    .footer-logo-img {
        height: 42px;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Service pages — reduce icon sizes */
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Glass card hover — soften on touch-capable */
    .glass-card:hover {
        transform: translateY(-5px);
    }

    /* Editing table */
    .table th,
    .table td {
        font-size: 0.82rem;
        padding: 0.6rem 0.5rem;
    }
}

/* ---------- Large phones / portrait tablets (≤768px) ---------- */
@media (max-width: 768px) {
    /* Typography */
    .display-5 {
        font-size: calc(1.3rem + 0.7vw);
    }

    .display-4 {
        font-size: calc(1.4rem + 1vw);
    }

    .stat-item h2 {
        font-size: 1.65rem;
    }

    /* Section spacing tightened */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .mt-5 {
        margin-top: 1.5rem !important;
    }

    .mb-5 {
        margin-bottom: 1.5rem !important;
    }

    /* Hero */
    .hero-section {
        padding: 110px 0 40px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-content .lead {
        font-size: 0.92rem;
    }

    /* Hero services grid — 2 columns preserved but tighter */
    .hero-services-grid .row {
        --bs-gutter-x: 0.4rem;
        --bs-gutter-y: 0.4rem;
    }

    /* Stats */
    .stat-card {
        padding: 0.85rem 0.95rem;
    }

    .stat-card__icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .stat-card__value .counter,
    .stat-card__value .gradient-text {
        font-size: 1.35rem;
    }

    .stat-card__label {
        font-size: 0.62rem;
    }

    /* Classroom / Service cards */
    .classroom-card__banner {
        height: 100px;
    }

    .classroom-card__icon {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    /* Process cards */
    .process-card__head {
        padding: 0.75rem 0.9rem;
    }

    .process-card__body {
        padding: 0.9rem 1rem;
    }

    /* Dissertation cards */
    .dissertation-chapter-card__banner {
        min-height: 110px;
    }

    /* Floating buttons */
    .floating-actions {
        bottom: 20px;
    }

    .floating-actions--left {
        left: 16px;
    }

    .floating-actions--right {
        right: 16px;
    }

    .btn-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .btn-scroll-top {
        width: 42px;
        height: 42px;
    }

    /* Contact & Order forms */
    .glass-card.p-5 {
        padding: 1.5rem !important;
    }

    .glass-form .form-control {
        padding: 0.65rem 0.85rem;
        font-size: 0.88rem;
    }

    /* Order sidebar — unstick on mobile */
    .sticky-top {
        position: relative !important;
        top: auto !important;
    }

    /* Pricing — stack single column */
    .pricing-card {
        padding: 24px 20px;
    }

    .price-tag {
        font-size: 2.2rem;
    }

    /* Buttons */
    .btn-premium,
    .btn-outline-premium {
        padding: 9px 24px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 10px 28px !important;
        font-size: 0.92rem !important;
    }

    /* Service icon */
    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    /* Navbar logo */
    .navbar-logo {
        height: 42px;
        max-width: 240px;
    }

    .navbar-scrolled .navbar-logo {
        height: 36px;
    }

    /* Preloader logo */
    .loader-icon-img {
        width: 32px;
        height: 32px;
    }

    .loader-logo-img {
        height: 26px;
        max-width: 220px;
    }

    /* Footer */
    .footer-brand-block {
        text-align: center;
    }

    .footer-logo-img {
        height: 38px;
        max-width: 230px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-trust-pills {
        justify-content: center;
    }

    .footer-social {
        display: flex;
        justify-content: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact li {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

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

    .footer-disclaimer {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    /* CTA band stacking */
    .cta-band {
        margin-top: 2rem;
        padding: 1.15rem 0;
        text-align: center;
    }

    .cta-band__inner {
        flex-direction: column;
        justify-content: center;
    }

    .cta-band__content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cta-band__text {
        font-size: 0.82rem;
    }

    .cta-band__btn {
        width: 100%;
        justify-content: center;
    }

    /* About page cards */
    .about-value-card__head {
        height: 78px;
    }

    .about-value-card__content {
        padding: 1rem;
    }

    /* Review cards */
    .review-card {
        padding: 1.15rem !important;
    }

    /* Glass card hover — disable transform on mobile to prevent jank */
    .glass-card:hover {
        transform: translateY(-3px);
    }

    /* Preloader */
    .spinner-wrapper {
        width: 80px;
        height: 80px;
    }

    .loader-icon {
        font-size: 1.4rem;
    }

    .loader-brand {
        font-size: 1.2rem;
    }
}

/* ---------- Small phones (≤576px) ---------- */
@media (max-width: 576px) {
    /* Container edge breathing room */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Hero */
    .hero-section {
        padding: 100px 0 30px;
    }

    .hero-content h1 {
        font-size: 1.55rem;
        line-height: 1.3;
    }

    .hero-content .lead {
        font-size: 0.88rem;
        margin-bottom: 1.5rem !important;
    }

    .hero-content .d-flex.flex-wrap.gap-3 {
        gap: 0.5rem !important;
    }

    .btn-premium,
    .btn-outline-premium {
        width: 100%;
        margin-bottom: 5px;
        padding: 10px 20px;
        font-size: 0.88rem;
    }

    /* Glass cards */
    .glass-card {
        padding: 20px 14px !important;
        border-radius: 16px;
    }

    .glass-card:hover {
        transform: translateY(-2px);
    }

    /* Hero services grid */
    .hero-services-grid .row {
        --bs-gutter-x: 0.35rem;
        --bs-gutter-y: 0.35rem;
    }

    .small-service-card {
        padding: 0.6rem 0.65rem !important;
    }

    .small-service-card__inner {
        gap: 0.5rem;
    }

    .card-icon-sm {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        border-radius: 8px;
    }

    .small-service-card h6 {
        font-size: 0.72rem;
    }

    .small-service-card .extra-small {
        font-size: 0.6rem;
    }

    /* Stats */
    .stat-card {
        padding: 0.75rem 0.85rem;
    }

    .stat-card__inner {
        gap: 0.6rem;
    }

    .stat-card__icon {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    .stat-card__value .counter,
    .stat-card__value .gradient-text {
        font-size: 1.2rem;
    }

    .stat-card__suffix {
        font-size: 0.85rem;
    }

    .stat-card__label {
        font-size: 0.58rem;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        margin-bottom: 8px !important;
    }

    .stat-item h2 {
        font-size: 1.4rem !important;
    }

    .text-uppercase.fw-bold.mb-0 {
        font-size: 0.65rem !important;
    }

    /* Section headings */
    .text-center.mb-5 h6 {
        font-size: 0.7rem;
    }

    /* Classroom / Service cards */
    .classroom-card__banner {
        height: 92px;
        padding: 12px 14px 10px;
    }

    .classroom-card__title {
        font-size: 0.92rem;
    }

    .classroom-card__body {
        padding: 10px 12px 8px;
    }

    .classroom-card__desc {
        font-size: 0.76rem;
    }

    .classroom-card__footer {
        padding: 6px 8px 6px 10px;
        min-height: 42px;
    }

    .classroom-card__tool {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .classroom-card__open {
        font-size: 0.72rem;
        padding: 0.35rem 0.7rem;
    }

    /* Process cards */
    .process-card__title {
        font-size: 0.85rem;
    }

    .process-card__text {
        font-size: 0.74rem;
    }

    .process-card__head {
        padding: 0.7rem 0.85rem;
    }

    .process-card__badge {
        font-size: 0.62rem;
    }

    .process-card__icon {
        width: 32px;
        height: 32px;
        font-size: 0.82rem;
    }

    .process-card__body {
        padding: 0.85rem 0.9rem 0.95rem;
    }

    /* Dissertation cards */
    .dissertation-chapter-card__banner {
        min-height: 105px;
        padding: 0.85rem 0.95rem 0.9rem;
    }

    .dissertation-chapter-card__step {
        font-size: 3.25rem;
        right: 6px;
    }

    .dissertation-chapter-card__title {
        font-size: 0.92rem;
    }

    .dissertation-chapter-card__body {
        padding: 1rem 1rem 0.7rem;
    }

    .dissertation-chapter-card__desc {
        font-size: 0.78rem;
    }

    .dissertation-chapter-card__footer {
        padding: 0 1rem 1rem;
    }

    .dissertation-chapter-card__tag {
        font-size: 0.62rem;
    }

    /* Pricing */
    .price-tag {
        font-size: 2rem;
    }

    .pricing-card {
        padding: 22px 18px;
    }

    /* Review cards */
    .review-card {
        padding: 1rem !important;
    }

    .review-card img {
        width: 42px !important;
        height: 42px;
    }

    .review-card h6 {
        font-size: 0.82rem;
    }

    /* About cards */
    .about-feature-card {
        padding: 0.7rem 0.8rem;
    }

    .about-feature-card__icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .about-feature-card__title {
        font-size: 0.82rem;
    }

    .about-feature-card__text {
        font-size: 0.68rem;
    }

    .about-value-card__title {
        font-size: 0.9rem;
    }

    .about-value-card__desc {
        font-size: 0.76rem;
    }

    .about-value-card__head {
        height: 72px;
    }

    .about-value-card__head-icon {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .about-value-card__content {
        padding: 0.9rem;
    }

    /* Service icons */
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 12px;
        border-radius: 12px;
    }

    /* Contact & Order forms */
    .glass-form .form-label {
        font-size: 0.75rem;
    }

    .glass-form .form-control {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        border-radius: 10px;
    }

    .glass-form textarea.form-control {
        min-height: 110px;
    }

    /* Order sidebar */
    .sticky-top {
        position: relative !important;
        top: auto !important;
    }

    /* Inner hero */
    .inner-hero .d-flex.flex-column.h-100 {
        flex-direction: column !important;
    }

    /* Floating actions */
    .floating-actions {
        z-index: 1050;
        bottom: 16px;
    }

    .floating-actions--left {
        left: 14px;
    }

    .floating-actions--right {
        right: 14px;
    }

    .btn-whatsapp {
        width: 46px;
        height: 46px;
        font-size: 1.35rem;
    }

    .btn-scroll-top {
        width: 38px;
        height: 38px;
        font-size: 0.8rem;
    }

    /* Social links */
    .social-links {
        justify-content: center;
        display: flex;
    }

    .social-links a {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        font-size: 0.85rem;
        margin-right: 0.4rem;
    }

    /* Footer */
    .site-footer {
        margin-top: 2rem;
    }

    .footer-main {
        padding: 1.75rem 0 1.25rem;
    }

    .footer-grid > .col-6 {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }

    .navbar-logo {
        height: 36px;
        max-width: 210px;
    }

    .navbar-scrolled .navbar-logo {
        height: 30px;
    }

    .footer-logo-img {
        height: 34px;
        max-width: 210px;
    }

    .loader-icon-img {
        width: 26px;
        height: 26px;
    }

    .loader-logo-img {
        height: 22px;
        max-width: 180px;
    }

    .footer-heading {
        font-size: 0.7rem;
        margin-bottom: 0.9rem;
        padding-bottom: 0.55rem;
    }

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links li a {
        font-size: 0.8rem;
    }

    .footer-trust-pills span {
        font-size: 0.62rem;
        padding: 0.3rem 0.55rem;
    }

    .footer-contact li {
        padding: 0.6rem 0.7rem;
        gap: 0.6rem;
        margin-bottom: 0.5rem;
    }

    .footer-contact-icon {
        width: 32px;
        height: 32px;
        font-size: 0.72rem;
        border-radius: 8px;
    }

    .footer-contact li small {
        font-size: 0.6rem;
    }

    .footer-contact li a,
    .footer-contact li span:not(.footer-contact-icon) {
        font-size: 0.76rem;
    }

    .footer-disclaimer {
        padding: 0.9rem 1rem;
        gap: 0.75rem;
        border-radius: 12px;
    }

    .footer-disclaimer p {
        font-size: 0.75rem;
    }

    .footer-disclaimer-icon {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .footer-bottom {
        padding: 1rem 0;
    }

    .footer-copyright {
        font-size: 0.78rem;
    }

    .footer-payments-label {
        font-size: 0.68rem;
    }

    .payment-icon {
        width: 38px;
        height: 26px;
        font-size: 1rem;
        border-radius: 6px;
    }

    /* CTA band */
    .cta-band {
        margin-top: 1.5rem;
        padding: 1rem 0;
    }

    .cta-band__badge {
        font-size: 0.6rem;
        padding: 0.25rem 0.6rem;
    }

    .cta-band__title {
        font-size: 1.1rem;
    }

    .cta-band__text {
        font-size: 0.78rem;
    }

    .cta-band__btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.25rem;
    }

    /* Preloader */
    .spinner-wrapper {
        width: 70px;
        height: 70px;
    }

    .loader-icon {
        font-size: 1.2rem;
    }

    .loader-brand {
        font-size: 1rem;
    }

    .loader-line {
        width: 120px;
    }

    /* Editing page table */
    .table th,
    .table td {
        font-size: 0.75rem;
        padding: 0.5rem 0.35rem;
    }

    .table th:first-child,
    .table td:first-child {
        min-width: 100px;
    }

    /* Urgent page CTA */
    .border-danger .lead {
        font-size: 0.9rem !important;
    }

    /* Swiper pagination */
    .swiper-pagination {
        bottom: 0 !important;
    }
}

/* ---------- Extra-small phones (≤400px) ---------- */
@media (max-width: 400px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .hero-content h1 {
        font-size: 1.35rem;
    }

    .hero-content .lead {
        font-size: 0.82rem;
    }

    /* Hero grid — still 2-col but tighter */
    .hero-services-grid .col-6 {
        padding-left: 0.15rem;
        padding-right: 0.15rem;
    }

    .small-service-card {
        padding: 0.5rem 0.55rem !important;
    }

    .card-icon-sm {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
        border-radius: 7px;
    }

    .small-service-card h6 {
        font-size: 0.65rem;
    }

    .small-service-card .extra-small {
        display: none;
    }

    /* Stats — 2-col stays but ultra compact */
    .stat-card {
        padding: 0.65rem 0.7rem;
    }

    .stat-card__icon {
        width: 34px;
        height: 34px;
        font-size: 0.82rem;
        border-radius: 9px;
    }

    .stat-card__value .counter,
    .stat-card__value .gradient-text {
        font-size: 1.05rem;
    }

    .stat-card__suffix {
        font-size: 0.75rem;
    }

    .stat-card__label {
        font-size: 0.52rem;
    }

    /* Glass cards */
    .glass-card {
        padding: 16px 12px !important;
        border-radius: 14px;
    }

    /* Pricing */
    .price-tag {
        font-size: 1.8rem;
    }

    /* Buttons */
    .btn-premium,
    .btn-outline-premium {
        font-size: 0.82rem;
        padding: 9px 16px;
    }

    .btn-lg {
        font-size: 0.85rem !important;
        padding: 9px 20px !important;
    }

    /* Navbar logo */
    .navbar-logo {
        height: 30px;
        max-width: 175px;
    }

    .navbar-scrolled .navbar-logo {
        height: 26px;
    }

    /* Footer */
    .footer-logo-img {
        height: 28px;
        max-width: 175px;
    }

    .footer-tagline {
        font-size: 0.78rem;
    }

    .footer-links li a {
        font-size: 0.75rem;
    }

    .footer-heading {
        font-size: 0.65rem;
    }

    .footer-contact li a,
    .footer-contact li span:not(.footer-contact-icon) {
        font-size: 0.7rem;
    }

    .footer-copyright {
        font-size: 0.72rem;
    }

    /* CTA */
    .cta-band__title {
        font-size: 1rem;
    }

    /* Dissertation */
    .dissertation-chapter-card__step {
        font-size: 2.75rem;
    }

    .dissertation-chapter-card__banner {
        min-height: 95px;
    }

    .dissertation-chapter-card__badge {
        font-size: 0.58rem;
        padding: 0.22rem 0.55rem;
    }

    /* Classroom cards */
    .classroom-card__banner {
        height: 85px;
    }

    .classroom-card__title {
        font-size: 0.85rem;
    }

    .classroom-card__icon {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    /* Floating buttons */
    .btn-whatsapp {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    .btn-scroll-top {
        width: 34px;
        height: 34px;
        font-size: 0.72rem;
    }

    /* Preloader */
    .spinner-wrapper {
        width: 60px;
        height: 60px;
    }

    .loader-icon {
        font-size: 1rem;
    }

    .loader-brand {
        font-size: 0.85rem;
    }
}

/* ---------- Landscape orientation (short viewport) ---------- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 90px 0 25px;
    }

    .hero-content h1 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .hero-content .lead {
        font-size: 0.82rem;
        margin-bottom: 1rem !important;
    }

    .preloader .spinner-wrapper {
        width: 50px;
        height: 50px;
    }

    .loader-brand {
        font-size: 0.9rem;
    }

    .loader-icon-img {
        width: 24px;
        height: 24px;
    }

    .loader-logo-img {
        height: 20px;
        max-width: 160px;
    }
}

/* ---------- Touch device optimisations ---------- */
@media (hover: none) and (pointer: coarse) {
    .glass-card:hover {
        transform: none;
        box-shadow: var(--glass-shadow);
    }

    .small-service-card:hover {
        transform: none !important;
        box-shadow: 0 4px 18px rgba(37, 99, 235, 0.06) !important;
    }

    .stat-card:hover {
        transform: none;
    }

    .stat-card:hover .stat-card__icon {
        transform: none;
    }

    .classroom-card__tool:hover,
    .payment-icon:hover,
    .social-links a:hover {
        transform: none;
    }

    .about-feature-card:hover,
    .about-value-card:hover,
    .process-card:hover,
    .dissertation-chapter-card:hover {
        transform: none;
    }

    .btn-premium:hover,
    .btn-outline-premium:hover,
    .btn-whatsapp:hover,
    .cta-band__btn:hover {
        transform: none;
    }

    .footer-contact li:hover {
        transform: none;
    }
}

/* ---------- Print ---------- */
@media print {
    .preloader,
    .glass-nav,
    .floating-actions,
    .cta-band,
    .btn-scroll-top,
    .btn-whatsapp {
        display: none !important;
    }

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

    .glass-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    body {
        background: #fff;
    }
}