/* 
    brand5 - Premium Education Service 
    Design System & Styles 
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0A3D91;
    --primary-light: #1E5BBF;
    --secondary-color: #00A86B;
    --accent-color: #F4B400;
    --bg-light: #F8FAFC;
    --text-dark: #1E293B;
    --text-muted: #475569;
    --white: #ffffff;
    --accent-light: #FFD700;

    /* Glass Tokens */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(10, 61, 145, 0.05);
    --glass-blur: blur(10px);

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 10px 30px rgba(10, 61, 145, 0.08);
    --shadow-hover: 0 20px 40px rgba(10, 61, 145, 0.12);
    --teal-dark: #00667C;
    --orange-accent: #FF6B00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

p {
    color: var(--text-muted);
}

a {
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #051c42;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-content {
    text-align: center;
    width: 160px;
}

.loader-logo {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    animation: pulseLogo 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 100%;
    height: 3px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loader-progress {
    width: 40%;
    height: 100%;
    background: var(--secondary-color);
    border-radius: 10px;
    position: absolute;
    left: -40%;
    animation: slideProgress 1.2s ease-in-out infinite;
}

@keyframes pulseLogo {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideProgress {
    0% {
        left: -40%;
        width: 30%;
    }

    50% {
        width: 50%;
    }

    100% {
        left: 100%;
        width: 30%;
    }
}

/* Top Bar Styles */
.top-bar {
    background: var(--teal-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.top-info-wrapper .info-item i {
    color: var(--accent-color);
}

.top-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 15px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.top-social a {
    color: var(--white);
    transition: var(--transition-smooth);
}

.top-social a:hover {
    color: var(--accent-color);
}

/* Navbar Styles */
.navbar {
    padding: 15px 0;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    z-index: 1050;
    position: sticky;
    top: 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-toggler {
    border: none;
    padding: 5px;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.navbar.scrolled .navbar-toggler {
    color: var(--primary-color);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    letter-spacing: -0.5px;
}

.navbar.scrolled .navbar-brand {
    color: var(--primary-color) !important;
}

.navbar-brand span {
    color: var(--orange-accent);
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    padding: 8px 20px !important;
    margin: 0 5px;
    border-radius: 50px;
    transition: var(--transition-smooth);
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(10, 61, 145, 0.05);
    transform: translateY(-2px);
}

.nav-link.active {
    background: var(--primary-color);
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(10, 61, 145, 0.2);
}

.btn-chat {
    background: var(--orange-accent);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
    border: none;
    transition: var(--transition-smooth);
}

.btn-chat:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 107, 0, 0.4);
    background: #e66000;
    color: var(--white);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    border: none;
    transition: var(--transition-smooth);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4);
    background: #1eb954;
    color: var(--white);
}

@media (max-width: 991px) {
    .navbar {
        background: #051c42 !important;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-collapse {
        background: rgba(10, 61, 145, 0.98);
        margin-top: 15px;
        border-radius: 20px;
        padding: 30px 20px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        color: var(--white) !important;
        text-align: center;
        margin-bottom: 12px;
        padding: 12px !important;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent-color) !important;
    }

    .nav-actions {
        text-align: center;
        margin-top: 25px;
    }

    .navbar-toggler {
        color: var(--white) !important;
        font-size: 1.4rem;
    }
}

/* Hero Section */
.hero {
    padding: 40px 0 80px;
    /* Further reduced to eliminate the highlighted space */
    background: linear-gradient(rgba(5, 28, 66, 0.7), rgba(5, 28, 66, 0.6)), url('hero_student_learning.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .hero {
        padding: 60px 0 60px;
        min-height: auto;
    }
}

/* Inner Page Hero */
.inner-hero {
    padding: 120px 0 80px;
    /* Adjusted for better flow */
    background: linear-gradient(rgba(5, 28, 66, 0.8), rgba(5, 28, 66, 0.7)), url('hero_student_learning.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
    color: var(--white);
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.7rem;
    }
}

.feature-card h3 {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

.breadcrumb-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: inline-flex;
    padding: 10px 25px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb-item,
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.hero-content {
    padding: 60px 40px;
    border-radius: 40px;
    text-align: center;
    color: var(--white);
    max-width: 1300px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (max-width: 576px) {
    .hero-content {
        padding: 40px 20px;
        border-radius: 25px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 30px 20px;
        border-radius: 25px;
    }
}

.hero-content h1 {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: clamp(1.2rem, 6vw, 1.5rem);
        line-height: 1.3;
    }

    .hero-content {
        padding: 40px 20px;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

.hero-content h1 span {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.05rem;
    /* Reduced from 1.15rem */
    margin-bottom: 2rem;
    /* Reduced from 2.5rem */
    color: #ffffff;
    font-weight: 400;
    max-width: 700px;
    /* Reduced from 750px */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Hero Stats — Instant load animation (independent of scroll/AOS) */
@keyframes heroStatsIn {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats-instant {
    animation: heroStatsIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

/* Hero Stats Strip */
.hero-stats-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    flex: 1;
    min-width: 140px;
    font-size: 13px;
    justify-content: center;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .hero-stat-divider {
        display: none;
    }
}

.hero-stat-icon {
    width: 42px;
    /* Reduced from 52px */
    height: 42px;
    /* Reduced from 52px */
    background: linear-gradient(135deg, var(--secondary-color) 0%, #00c97f 100%);
    border-radius: 10px;
    /* Reduced from 14px */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    /* Reduced from 1.3rem */
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(0, 168, 107, 0.35);
    transition: var(--transition-smooth);
}

.hero-stat-item:hover .hero-stat-icon {
    transform: rotate(-8deg) scale(1.1);
    box-shadow: 0 10px 26px rgba(0, 168, 107, 0.5);
}

.hero-stat-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.hero-stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    /* Reduced from 1.9rem */
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.5px;
    /* Reduced from -1px */
}

.hero-stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .hero-stats-strip {
        gap: 16px;
        padding: 22px 18px;
    }

    .hero-stat-item {
        padding: 0 10px;
        min-width: 120px;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-stat-number {
        font-size: 1.55rem;
    }
}

@media (max-width: 576px) {
    .hero-stats-strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 20px 15px;
        border-radius: 25px;
    }

    .hero-stat-item {
        padding: 15px 10px;
        flex-direction: column;
        text-align: center;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5px);
        border-radius: 15px;
        min-width: 0;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-stat-info {
        align-items: center;
    }

    .hero-stat-number {
        font-size: 1.4rem;
    }

    .hero-stat-label {
        font-size: 0.7rem;
    }
}

/* Decorative Shapes */
.shape {
    position: absolute;
    z-index: 0;
    opacity: 0.4;
    filter: blur(40px);
}

.shape-1 {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(10, 61, 145, 0.1);
    border-radius: 50%;
}

.shape-2 {
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: rgba(0, 168, 107, 0.08);
    border-radius: 50%;
}


.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    border-radius: 30px;
    box-shadow: var(--shadow-hover);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.btn-primary-custom {
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 28px;
    /* Reduced padding */
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 20px rgba(0, 168, 107, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.btn-primary-custom:hover {
    background: #008f5a;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 168, 107, 0.4);
    color: var(--white);
}

.btn-secondary-custom {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.btn-secondary-custom:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
    border-color: var(--white);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .badge {
    background: rgba(10, 61, 145, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: calc(1.8rem + 1vw);
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.7rem;
    }
}

/* Cards & Components */
.service-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 30px;
    /* Reduced from 40px */
    border-radius: 20px;
    /* Reduced from 24px */
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
    border-top: 4px solid var(--primary-color);
    box-shadow: var(--glass-shadow);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 25px 50px rgba(10, 61, 145, 0.1);
    border-color: rgba(10, 61, 145, 0.1);
}

.service-icon {
    width: 60px;
    /* Reduced from 75px */
    height: 60px;
    /* Reduced from 75px */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 15px;
    /* Reduced from 20px */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    /* Reduced from 25px */
    font-size: 1.5rem;
    /* Reduced from 1.8rem */
    color: var(--white);
    transition: var(--transition-smooth);
    box-shadow: 0 8px 20px rgba(10, 61, 145, 0.2);
}

.service-card:hover .service-icon {
    transform: rotate(-5deg) scale(1.1);
}

/* Stats Section */
.stats-section {
    background: var(--primary-color);
    padding: 60px 0;
    /* Reduced from 80px */
    color: var(--white);
}

.stat-item h3 {
    color: var(--accent-color);
    font-size: 2.5rem;
    /* Reduced from 3rem */
    margin-bottom: 8px;
    /* Reduced from 10px */
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin: 0;
}

/* How It Works */
.step-card {
    position: relative;
    padding: 40px 30px;
    text-align: center;
    background: var(--white);
    border-radius: 20px;
    transition: var(--transition-smooth);
    border-top: 4px solid var(--primary-color);
}

.step-number-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(10, 61, 145, 0.2);
    z-index: 2;
    transition: var(--transition-smooth);
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 35px;
    height: 35px;
    background: #00a65a;
    /* AdminLTE Success Green */
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 3;
    border: 3px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 166, 90, 0.2);
}

.step-card:hover .step-icon {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(10, 61, 145, 0.3);
}

.step-card::after {
    content: '';
    position: absolute;
    top: 90px;
    left: 60%;
    width: 80%;
    height: 2px;
    border-top: 2px dashed #00a65a;
    opacity: 0.3;
    z-index: 1;
}

.col-md-4:last-child .step-card::after {
    display: none;
}

@media (max-width: 768px) {
    .step-card::after {
        display: none;
    }
}

/* Pricing */
.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 25px;
    /* Reduced from 30px */
    padding: 40px 25px;
    /* Reduced from 50px 30px */
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
    border-top: 4px solid var(--primary-color);
    box-shadow: var(--glass-shadow);
}

.pricing-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 30px 60px rgba(10, 61, 145, 0.15);
}

.pricing-card.popular {
    background: var(--white);
    border: 2px solid var(--primary-color);
    position: relative;
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.08) translateY(-15px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h4 {
    margin-bottom: 20px;
}

.price {
    font-size: 2.5rem;
    /* Reduced from 3rem */
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 25px;
    /* Reduced from 30px */
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 12px;
    color: var(--text-muted);
}

.pricing-features li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Contact Section */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border-top: 4px solid var(--primary-color);
    box-shadow: var(--shadow-premium);
}

.form-control {
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(10, 61, 145, 0.1);
    border-color: var(--primary-color);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}

@media (max-width: 576px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

/* Footer */
footer {
    background: #051c42;
    color: var(--white);
    padding: 60px 0 25px;
    /* Reduced from 80px 0 30px */
}

footer h5 {
    color: var(--white);
    margin-bottom: 25px;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-icons a {
    width: 35px;
    /* Reduced from 40px */
    height: 35px;
    /* Reduced from 40px */
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--white);
    margin-right: 8px;
    /* Reduced from 10px */
    font-size: 0.9rem;
}

.social-icons a:hover {
    background: var(--secondary-color);
}

.disclaimer-box {
    transition: var(--transition-smooth);
}

.disclaimer-box:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    /* Reduced from 50px */
    padding-top: 25px;
    /* Reduced from 30px */
    text-align: center;
    font-size: 0.85rem;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 576px) {
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
        transform: translateY(10px);
    }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .pricing-card.popular {
        transform: scale(1);
        margin: 30px 0;
    }

    .pricing-card.popular:hover {
        transform: translateY(-15px);
    }

    .step-card::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        background: linear-gradient(rgba(5, 28, 66, 0.85), rgba(5, 28, 66, 0.75)), url('hero_student_learning.png');
        background-size: cover;
        padding: 100px 0 60px;
        background-attachment: scroll;
        min-height: auto;
    }

    .inner-hero {
        padding: 120px 0 60px;
        background-attachment: scroll;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .footer-bottom {
        text-align: center;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: clamp(1.8rem, 10vw, 2.2rem);
        line-height: 1.2;
    }

    .hero-content {
        padding: 20px 15px;
    }

    .inner-hero h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
        justify-content: center;
    }

    .hero-stats-strip {
        padding: 12px;
        gap: 10px;
    }

    .pricing-card {
        padding: 25px 15px;
    }

    .step-card {
        padding: 25px 15px;
    }

    .stat-item {
        margin-bottom: 15px;
    }

    .stat-item h3 {
        font-size: 1.6rem;
    }

    .hero-stats-strip .stat-box {
        padding: 10px;
    }

    .hero-stats-strip .stat-box h4 {
        font-size: 1.1rem;
    }
}

/* Testimonials Redesign */
.review-card {
    background: var(--white);
    padding: 30px;
    /* Reduced from 40px */
    border-radius: 25px;
    /* Reduced from 30px */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition-smooth);
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(10, 61, 145, 0.08);
}

.review-text {
    font-size: 0.95rem;
    /* Reduced from 1rem */
    line-height: 1.6;
    /* Reduced from 1.7 */
    color: var(--text-muted);
    margin-bottom: 12px;
    /* Reduced from 15px */
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.reviewer-avatar {
    width: 42px;
    /* Reduced from 50px */
    height: 42px;
    /* Reduced from 50px */
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    /* Reduced from 0.9rem */
}

.btn-nav {
    width: 42px;
    /* Reduced from 50px */
    height: 42px;
    /* Reduced from 50px */
    border-radius: 50%;
    border: 1px solid #ddd;
    background: var(--white);
    color: var(--text-dark);
    transition: var(--transition-smooth);
    font-size: 0.9rem;
}

.btn-nav:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.review-footer i.fa-google {
    font-size: 1.2rem;
    opacity: 0.8;
}


/* Professional Background Pattern */

/* Professional Background Pattern */
.services-pattern {
    background-color: #f8fafc !important;
    background-image: linear-gradient(rgba(248, 250, 252, 0.1), rgba(248, 250, 252, 0.8)), url('pattern.png') !important;
    background-repeat: repeat !important;
    background-size: 250px !important;
    /* Smaller size makes pattern more dense and visible */
    background-position: center !important;
    background-attachment: scroll !important;
    border-top: 1px solid rgba(10, 61, 145, 0.05);
    border-bottom: 1px solid rgba(10, 61, 145, 0.05);
}

/* Card Color Variants (AdminLTE 2 Style) */
.card-primary {
    border-top-color: var(--primary-color) !important;
}

.card-secondary {
    border-top-color: var(--secondary-color) !important;
}

.card-success {
    border-top-color: var(--secondary-color) !important;
}

.card-warning {
    border-top-color: var(--accent-color) !important;
}

.card-info {
    border-top-color: var(--primary-light) !important;
}

.card-danger {
    border-top-color: #e74c3c !important;
}

.card-purple {
    border-top-color: #9333ea !important;
}

.card-dark {
    border-top-color: var(--text-dark) !important;
}

/* Payment Section */
.payment-card {
    background: var(--white);
    transition: var(--transition-smooth);
    cursor: default;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

.payment-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color) !important;
    box-shadow: 0 10px 30px rgba(10, 61, 145, 0.08) !important;
}

.payment-card i {
    transition: var(--transition-smooth);
}

.payment-card:hover i {
    transform: scale(1.1);
}

.transition-hover {
    transition: var(--transition-smooth);
}

.transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(10, 61, 145, 0.05) !important;
    border-color: var(--primary-color) !important;
}

/* Inner Pages Hero */
.inner-hero {
    background: linear-gradient(rgba(10, 61, 145, 0.92), rgba(10, 61, 145, 0.88)), url('hero_student_learning.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 140px 0 100px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.inner-hero h1 span {
    color: var(--accent-color);
}

.breadcrumb-container .breadcrumb {
    justify-content: center;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item.active {
    color: var(--white);
}

/* Utility Backgrounds */
.bg-primary-soft {
    background-color: rgba(10, 61, 145, 0.05) !important;
}

.bg-success-soft {
    background-color: rgba(0, 168, 107, 0.05) !important;
}

.bg-warning-soft {
    background-color: rgba(244, 180, 0, 0.05) !important;
}

.bg-info-soft {
    background-color: rgba(30, 91, 191, 0.05) !important;
}



.subject-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 24px;
    border: 1px solid rgba(10, 61, 145, 0.05);
    border-top: 4px solid transparent;
    transition: var(--transition-smooth);
    text-align: center;
    box-shadow: var(--shadow-premium);
}

.subject-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(10, 61, 145, 0.1);
}

.subject-icon {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: var(--transition-smooth);
}

.subject-card:hover .subject-icon {
    transform: scale(1.1) rotate(-5deg);
}

.subject-card h5 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.subject-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
}

.subject-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.subject-card:hover .subject-list li {
    color: var(--text-dark);
}

.subject-list li i {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.bg-purple-subtle {
    background-color: #f3e8ff !important;
}

.text-purple {
    color: #9333ea !important;
}

.bg-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

@media (max-width: 768px) {
    .subjects-filter-section {
        margin-top: 0;
    }

    .search-box-wrapper {
        border-radius: 20px;
        padding: 20px;
    }

    .search-box-wrapper .input-group {
        flex-direction: column;
        gap: 15px;
    }

    .search-box-wrapper .input-group-text {
        display: none;
    }

    .search-box-wrapper .form-control {
        border: 1px solid #eee !important;
        border-radius: 10px !important;
        text-align: center;
    }

    .search-box-wrapper .btn {
        border-radius: 10px !important;
        width: 100%;
    }
}