/* =========================================
   Al Kauser Model Academy - Main Stylesheet
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #1B5E20;
    --primary-dark: #0D3B12;
    --accent-color: #F9A825;
    --akma-gold: #D4A843;
    --akma-emerald: #1B5E20;
    --akma-cream: #FDF8F0;
    --text-dark: #2c3e50;
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: #f8f9fa;
    overflow-x: hidden;
    line-height: 1.7;
}

/* Global Typography */
h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.6rem;
}

h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

p {
    line-height: 1.75;
}

.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Navbar Logo Image */
.navbar-logo {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--akma-gold, #D4A843);
    margin-right: 10px;
}

/* People Dropdown */
.navbar .dropdown-menu {
    background: rgba(27, 94, 32, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 200px;
    backdrop-filter: blur(10px);
}

.navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 20px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.navbar .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding-left: 25px;
}

.navbar .dropdown-toggle::after {
    margin-left: 6px;
}

/* Navbar */
.navbar {
    background: rgba(27, 94, 32, 0.95);
    /* Deep Green with slight transparency */
    backdrop-filter: blur(12px);
    /* Glassmorphism effect */
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
    padding: 12px 0;
    /* More breathing room */
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.6rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: 15px;
    color: rgba(255, 255, 255, 0.85) !important;
    /* Slightly muted white */
    position: relative;
    /* Needed for the underline animation */
    transition: all 0.3s ease;
}

/* Hover Effect */
.nav-link:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    /* Slight lift up */
}

/* --- ACTIVE STATE (The Page You Are On) --- */
.nav-link.active {
    color: var(--accent-color) !important;
    /* Gold Color */
    font-weight: 700;
}

/* Animated Underline */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 50%;
    background-color: var(--accent-color);
    /* Gold Underline */
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    /* Bouncy animation */
    transform: translateX(-50%);
}

/* Reveal underline on Hover OR Active */
.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
    /* Underline width */
}

/* Login Button Styling in Navbar */
.navbar .btn-warning {
    box-shadow: 0 4px 15px rgba(255, 202, 40, 0.4);
}

.navbar .btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 202, 40, 0.6);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%),
        url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 85vh;
    padding-top: 60px;
}

/* --- NEW: Notice Ticker --- */
.ticker-overflow {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 25s linear infinite;
}

@keyframes ticker {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

/* --- NEW: Custom Nav Tabs --- */
.custom-tabs .nav-link {
    background: #fff;
    color: var(--text-dark);
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.custom-tabs .nav-link:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.custom-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Scroll Animations */
.animate-on-load {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

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

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

.reveal {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: 1s all ease;
}

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

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Utilities */
.text-hover-white:hover {
    color: #fff !important;
}

.btn {
    border-radius: 50px;
    padding: 8px 24px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* contact form */

/* The Card Container */
.contact-form-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    background: #ffffff;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.contact-form-card:hover {
    transform: translateY(-5px);
    /* Subtle lift on hover */
}

.contact-form-card h3 {
    color: var(--primary-color);
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

/* Decorative line under the title */
.contact-form-card h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Input Fields & Textareas */
.form-control,
.form-select {
    background-color: #f8f9fa;
    /* Light gray background */
    border: 2px solid #edf2f7;
    /* Very subtle border */
    border-radius: 12px;
    /* More rounded corners */
    padding: 12px 18px;
    /* More breathing room */
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Input Focus State (When user clicks) */
.form-control:focus,
.form-select:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(27, 94, 32, 0.1);
    /* Blue glow */
    transform: translateY(-2px);
}

/* Labels */
.form-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: #6c757d;
    margin-bottom: 8px;
    margin-left: 5px;
    /* Align with input padding */
}

/* The Submit Button */
.btn-send {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-weight: 700;
    padding: 14px;
    border-radius: 12px;
    border: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(27, 94, 32, 0.3);
    transition: all 0.3s ease;
}

.btn-send:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(27, 94, 32, 0.5);
    color: white;
}

/* notice section */

/* Scrolling Container */
.st-notice-scroll-container {
    height: 300px;
    /* Fixed height for the box */
    overflow: hidden;
    position: relative;
    background: #fff;
}

/* Vertical Scrolling Animation */
.st-notice-content {
    display: block;
    position: absolute;
    width: 100%;
    margin: 0;
    animation: noticeScrollVertical 15s linear infinite;
}

/* Pause scroll on hover */
.st-notice-scroll-container:hover .st-notice-content {
    animation-play-state: paused;
}

@keyframes noticeScrollVertical {
    0% {
        top: 0;
    }

    100% {
        top: -250px;
    }

    /* Adjust based on total content height */
}

/* Mini Tab Styling */
.ht-mini-tabs .nav-link {
    background-color: #f1f3f5;
    color: #6c757d !important;
    border-radius: 5px;
    font-size: 0.8rem;
}

.ht-mini-tabs .nav-link.active {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* Founder Desk Styling Tweaks */
#notices .rounded-4 {
    border-radius: 20px !important;
}

#notices .lh-lg {
    line-height: 1.8 !important;
}

/* Home tution */
/* Unique Hero Section */
.ht-hero-section {
    background: linear-gradient(rgba(27, 94, 32, 0.9), rgba(13, 59, 18, 0.95)),
        url('https://images.unsplash.com/photo-1544716278-ca5e3f4abd8c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    /* Different from main index */
    padding-top: 100px;
    padding-bottom: 80px;
}

/* Animations specific to this page */
.ht-animate-fade {
    opacity: 0;
    animation: htFadeUp 0.8s ease-out forwards;
}

.ht-delay-1 {
    animation-delay: 0.2s;
}

.ht-delay-2 {
    animation-delay: 0.4s;
}

@keyframes htFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Feature Boxes */
.ht-feature-box {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.ht-feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.ht-icon-primary {
    color: #1B5E20;
    /* Brand Blue */
}

/* Fee Card Styling */
.ht-fee-card {
    border: 1px solid #e9ecef;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
}

.ht-fee-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.ht-text-primary {
    color: #1B5E20;
}

.ht-text-accent {
    color: #ffca28;
    /* Brand Gold */
}

/* Custom Pricing Table */
.ht-pricing-table thead th {
    background-color: #1B5E20;
    color: white;
    border: none;
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ht-pricing-table tbody td {
    padding: 15px;
    vertical-align: middle;
    color: #495057;
}

.ht-pricing-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Custom Tabs (Pills) */
.ht-custom-tabs .ht-tab-link {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    color: #495057;
    background: transparent;
    border: 1px solid #dee2e6;
    margin: 0 5px;
    transition: all 0.3s;
}

.ht-custom-tabs .ht-tab-link.active {
    background-color: #1B5E20;
    color: white;
    border-color: #1B5E20;
    box-shadow: 0 4px 10px rgba(27, 94, 32, 0.3);
}

.ht-custom-tabs .ht-tab-link:hover:not(.active) {
    background-color: #e9ecef;
}

/* Modal Header Specific */
.ht-modal-header {
    background-color: #1B5E20;
    border-bottom: none;
}

/* Pricing tabs */
/* The Container (UL) */
.ht-tab-list {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    gap: 10px;
    /* Space between buttons */
}

/* The Button Styling */
.ht-tab-btn {
    display: block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    /* Dark Grey Text */
    background-color: #fff;
    /* White Background */
    border: 2px solid #e9ecef;
    /* Light Border */
    border-radius: 50px;
    /* Pill Shape */
    transition: all 0.3s ease;
    cursor: pointer;
    outline: none;
}

/* Hover State */
.ht-tab-btn:hover {
    border-color: #1B5E20;
    /* Blue Border on Hover */
    background-color: #f8f9fa;
    color: #1B5E20;
    transform: translateY(-2px);
}

/* Active State (When Selected) */
.ht-tab-btn.active {
    background-color: #1B5E20;
    /* Brand Blue Background */
    color: #ffffff;
    /* White Text */
    border-color: #1B5E20;
    box-shadow: 0 4px 15px rgba(27, 94, 32, 0.3);
    /* Blue Glow */
}

/* Specific additions for the Trust Icons from the provided website */
.trust-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(27, 94, 32, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #1B5E20;
    font-size: 1.5rem;

    /* Animation Properties */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: default;
}

/* Subtle Floating Pulse Animation */
@keyframes htIconPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(27, 94, 32, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(27, 94, 32, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(27, 94, 32, 0);
    }
}

/* Hover Effects */
.trust-icon-box:hover {
    background: #1B5E20;
    /* Changes background to Solid Blue */
    color: #ffffff;
    /* Icon turns white */
    transform: rotateY(180deg) scale(1.1);
    /* Flips and Grows */
}

/* Applying a continuous gentle pulse to all icons */
.trust-icon-box {
    animation: htIconPulse 3s infinite;
}

/* Icon specific rotation fix on hover so it doesn't look mirrored */
.trust-icon-box:hover i {
    transform: rotateY(-180deg);
    transition: transform 0.4s;
}

/* Parent Card Lift (Optional: if you want the whole column to move) */
.col-md-3:hover .trust-icon-box {
    animation: none;
    /* Stops pulsing when focusing on the card */
}

/* achievements tree */

.aj-tree-wrapper {
    position: relative;
    padding: 20px 0;
    margin-left: 20px;
}

/* The Trunk of the Tree */
.aj-tree-trunk {
    position: absolute;
    left: 20px;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #e9ecef, #1B5E20, #e9ecef);
    border-radius: 10px;
}

.aj-tree-milestone {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

/* Branch line connecting Trunk to Leaf */
.aj-milestone-branch {
    position: absolute;
    left: 26px;
    top: 50%;
    width: 34px;
    height: 2px;
    background: #1B5E20;
    z-index: 1;
}

/* The Glowing Circle Node */
.aj-milestone-node {
    position: absolute;
    left: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    z-index: 3;
    border: 4px solid #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* The Decorative Leaf (Content Card) */
.aj-milestone-leaf {
    background: #ffffff;
    padding: 18px 22px;
    border-radius: 15px;
    border: 1px solid #f1f3f5;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
}

/* Hover Effects */
.aj-tree-milestone:hover .aj-milestone-node {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 5px 20px rgba(27, 94, 32, 0.4);
}

.aj-tree-milestone:hover .aj-milestone-leaf {
    transform: translateX(10px);
    border-color: #1B5E20;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

/* Highlighting the latest achievement */
.aj-top-milestone .aj-milestone-node {
    animation: ajPulseDanger 2s infinite;
}

@keyframes ajPulseDanger {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(220, 53, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/* Story Highlights Section */
.aj-highlight-card {
    background: #fff;
    border-left: 5px solid #ffca28;
    transition: all 0.3s ease;
}

.aj-highlight-card:hover {
    transform: translateY(-5px);
}

/* Typewriter Cursor Animation */
.cursor {
    font-weight: 300;
    color: var(--brand-gold);
    animation: blink 0.7s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

#typewriter {
    border-right: none;
    /* We use the span.cursor instead */
    white-space: nowrap;
}

/* animated mesh design*/

.hero-section {
    /* Base Background */
    background: linear-gradient(-45deg, #1B5E20, #0D3B12, #145A1E, #1B5E20);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Add a subtle overlay pattern */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    /* Subtle cube pattern */
    opacity: 0.1;
    pointer-events: none;
}

/* Floating background shapes animation */

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float 20s linear infinite;
    bottom: -150px;
}

/* Randomize shape sizes and positions */
.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    animation-duration: 25s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    left: 30%;
    animation-duration: 18s;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 50px;
    height: 50px;
    left: 60%;
    border-radius: 50%;
    animation-duration: 22s;
}

.shape:nth-child(4) {
    width: 100px;
    height: 100px;
    left: 80%;
    animation-duration: 15s;
    animation-delay: 5s;
}

.shape:nth-child(5) {
    width: 70px;
    height: 70px;
    left: 90%;
    animation-duration: 20s;
    border-radius: 10px;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 0.5;
    }

    80% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}

/* hero pills*/
:root {
    --brand-orange: #fd7e14;
    /* Matching your Academia Journey color */
}

.bg-orange {
    background-color: var(--brand-orange) !important;
}

.hero-pill {
    display: inline-block;
    animation: pillFloat 3s ease-in-out infinite;
}

.hero-pill .badge {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    /* Adds a nice glass effect */
}

/* Smooth Floating Animation */
@keyframes pillFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/*  logo */
.brand-logo {
    height: 55px;
    /* Height stays consistent for navbar */
    width: auto;
    /* Allows the width to expand for the full text */
    background-color: #ffffff;
    /* White background for the PNG */
    padding: 8px 15px;
    /* More padding on sides for the wide logo */
    border-radius: 10px;
    /* Modern rounded rectangular frame */
    object-fit: contain;
    /* Ensures the whole logo is visible */
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hover effect specifically for the wide logo */
.navbar-brand:hover .brand-logo {
    transform: translateY(-2px);
    /* Lift effect instead of rotate for wide logos */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    background-color: #ffffff;
}

/* Adjusting the brand container */
.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    /* Remove default padding to let the logo breathe */
}

/* If you want to hide the 'Academia' text since it's already in your logo */
.navbar-brand span.brand-text {
    display: none;
    /* Recommended if your logo already contains the name */
}

/* student numbers animation */
.hero-stats {
    padding-top: 20px;
}

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

.stat-number {
    transition: all 0.3s ease;
}

.stat-label {
    letter-spacing: 1px;
    font-weight: 600;
}

/* store secton */
.st-hero-section {
    background: linear-gradient(rgba(27, 94, 32, 0.9), rgba(13, 59, 18, 0.95)),
        url('https://images.unsplash.com/photo-1544716278-ca5e3f4abd8c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    /* Different from main index */
    padding-top: 100px;
    padding-bottom: 80px;
}

/* Animations specific to this page */
.st-animate-fade {
    opacity: 0;
    animation: htFadeUp 0.8s ease-out forwards;
}

.st-delay-1 {
    animation-delay: 0.2s;
}

.st-delay-2 {
    animation-delay: 0.4s;
}

@keyframes htFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* contact secton */
.ct-hero-section {
    background: linear-gradient(rgba(27, 94, 32, 0.9), rgba(13, 59, 18, 0.95)),
        url('https://images.unsplash.com/photo-1544716278-ca5e3f4abd8c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    /* Different from main index */
    padding-top: 100px;
    padding-bottom: 80px;
}

/* Animations specific to this page */
.ct-animate-fade {
    opacity: 0;
    animation: htFadeUp 0.8s ease-out forwards;
}

.ct-delay-1 {
    animation-delay: 0.2s;
}

.ct-delay-2 {
    animation-delay: 0.4s;
}

@keyframes htFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* =========================================
   PHILOSOPHY SECTION BRAND STYLES
   ========================================= */

#philosophy.hero-section {
    background: linear-gradient(-45deg, #1B5E20, #0D3B12, #145A1E, #1B5E20);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    /* Extra padding for a spacious feel */
}

/* Glassmorphism Effect for Philosophy Cards */
.phi-card {
    background: rgba(255, 255, 255, 0.95);
    /* Bright white with slight transparency */
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.phi-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

/* Icon Box Styling */
.phi-icon-box {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.phi-card:hover .phi-icon-box {
    transform: rotate(360deg);
}

.bg-primary-soft {
    background: rgba(27, 94, 32, 0.1);
}

.bg-warning-soft {
    background: rgba(255, 202, 40, 0.1);
}

.bg-success-soft {
    background: rgba(40, 167, 69, 0.1);
}

/* Spacing fix for icons in list */
.phi-card i {
    width: 20px;
    text-align: center;
}

/* =========================================
   STRENGTHS WHITE SECTION STYLING
   ========================================= */

#strengths-white {
    background-color: #ffffff;
    position: relative;
    z-index: 10;
}

.strength-tab-card {
    background: #ffffff;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
}

.strength-tab-card:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: var(--brand-green);
}

.strength-icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.strength-tab-card:hover .strength-icon-circle {
    transform: rotateY(360deg);
}

/* Animations */
.animate-up {
    animation: fadeInUp 0.8s ease backwards;
}

.animate-card {
    animation: zoomInFade 0.6s ease backwards;
}

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

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

@keyframes zoomInFade {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Soft BG helpers */
.bg-primary-soft {
    background: rgba(27, 94, 32, 0.08);
}

.bg-warning-soft {
    background: rgba(255, 202, 40, 0.08);
}

.bg-info-soft {
    background: rgba(0, 229, 255, 0.08);
}

.bg-success-soft {
    background: rgba(0, 230, 118, 0.08);
}

.bg-danger-soft {
    background: rgba(255, 82, 82, 0.08);
}

.bg-secondary-soft {
    background: rgba(108, 117, 125, 0.08);
}

/* --- Academia Verticals Section --- */

#academia-services-custom {
    position: relative;
    /* Changed padding to ensure clear separation from footer */
    padding: 100px 0;
    /* Essential: ensures the section contains its floating/absolute children */
    display: block;
    clear: both;
    overflow: hidden;
    z-index: 1;
}

/* Background Shapes Management */
#academia-services-custom .hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Pushes shapes behind the cards */
    pointer-events: none;
    /* Prevents shapes from interfering with button clicks */
}

.custom-vertical-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

/* Glassmorphism Card Style */
.glass-card {
    background: rgba(255, 255, 255, 0.98);
    /* Slightly more opaque for readability */
    backdrop-filter: blur(15px);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Makes cards in the same row equal height */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.bg-white-glass {
    background: rgba(255, 255, 255, 0.8);
    flex-grow: 1;
    /* Ensures the body fills the card height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-body {
    border-radius: 50px;
}


/* Card Hover Effects */
.vertical-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.vertical-header {
    padding: 35px 20px !important;
    border-radius: 20px 20px 0 0;
}

/* Icon Animations */
.vertical-icon-bg {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
    transition: transform 0.6s ease;
}

.vertical-card:hover .vertical-icon-bg {
    transform: rotateY(360deg);
}

/* List Item Styling */
.vertical-list {
    margin-bottom: 25px;
}

.vertical-list li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: #444;
    transition: transform 0.3s ease;
    display: flex;
    align-items: flex-start;
}

.vertical-card:hover .vertical-list li {
    transform: translateX(5px);
}

/* Button Styling */
.vertical-card .btn {
    border-radius: 10px;
    padding: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

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

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

.vertical-card {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Staggered load for cards */
.col-lg-4:nth-child(1) .vertical-card {
    animation-delay: 0.1s;
}

.col-lg-4:nth-child(2) .vertical-card {
    animation-delay: 0.2s;
}

.col-lg-4:nth-child(3) .vertical-card {
    animation-delay: 0.3s;
}

/* Responsive Fixes */
@media (max-width: 991px) {
    #academia-services-custom {
        padding: 60px 0;
    }

    .vertical-card {
        margin-bottom: 20px;
    }
}

/* --- Header Styling within the Verticals Section --- */

#academia-services-custom {
    /* Reduced top padding to bring content closer to the top boundary */
    padding: 60px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.custom-header {
    /* This ensures the text stays a 'min distance' from the absolute top */
    margin-top: 20px;
    margin-bottom: 50px;
    /* Space between header and the cards below */
    position: relative;
    z-index: 5;
}

.custom-header h6 {
    /* "Our Services" styling */
    letter-spacing: 3px;
    margin-bottom: 10px;
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
}

.custom-header h2 {
    /* "Academia Verticals" styling */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
}

.custom-header p {
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Ensure the background shapes don't interfere with top alignment */
#academia-services-custom .hero-shapes {
    top: 0;
    z-index: 1;
}

/* --- Custom hero section for verticals --- */
.hero-section-verticals {
    /* Base Background */
    background: linear-gradient(-45deg, #1B5E20, #0D3B12, #145A1E, #1B5E20);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Add a subtle overlay pattern */
.hero-section-verticals::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    /* Subtle cube pattern */
    opacity: 0.1;
    pointer-events: none;
}

/* =========================================
   ACHIEVEMENT TABS STYLING (UPSCALED)
   ========================================= */

.achievement-tab-card {
    background: #ffffff;
    border-radius: 1.25rem;
    /* 20px */
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    text-align: center;
    padding: 1.5rem !important;
    /* Increased internal breathing room */
}

.achievement-tab-card:hover {
    transform: translateY(-0.625rem);
    /* -10px */
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.3) !important;
    background: #fff9f0;
}

.achievement-icon-wrap {
    /* Increased from 50px to 72px (4.5rem) */
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1rem;
    /* 16px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    /* Added more bottom margin */
    font-size: 2rem;
    /* Makes the Emoji/Icon significantly larger */
}

/* Upscaled Typography */
.achievement-tab-card h6 {
    font-size: 1.15rem;
    /* Bigger title */
    margin-bottom: 0.75rem;
}

.extra-small {
    /* Increased from 0.75rem to 0.9rem for better readability */
    font-size: 0.9rem;
    line-height: 1.4;
    color: #555 !important;
}

/* Soft BG for Icons (Slightly more vivid) */
.bg-danger-soft {
    background: rgba(220, 53, 69, 0.15);
}

.bg-primary-soft {
    background: rgba(27, 94, 32, 0.15);
}

.bg-success-soft {
    background: rgba(40, 167, 69, 0.15);
}

.bg-info-soft {
    background: rgba(0, 184, 212, 0.15);
}

/* =========================================
   ACADEMIA TUTOR FINDER (ATF) UNIQUE STYLES
   ========================================= */

:root {
    --atf-deep-blue: #1B5E20;
    --atf-electric-cyan: #66BB6A;
    --atf-glass-white: rgba(255, 255, 255, 0.95);
    --atf-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* --- Hero Section & Search --- */
.atf-hero-mesh {
    background: linear-gradient(-45deg, #1B5E20, #0D3B12, #145A1E, #1B5E20);
    background-size: 400% 400%;
    animation: atfGradient 15s ease infinite;
    padding: 10rem 0;
}

@keyframes atfGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.atf-search-wrapper {
    max-width: 850px;
    background: white;
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
}

.atf-search-wrapper input {
    border: none !important;
    box-shadow: none !important;
}

/* --- Filter Sidebar --- */
.atf-filter-box {
    background: white;
    border-radius: 20px;
    padding: 25px;
    border: 1px solid #edf2f7;
    box-shadow: var(--atf-card-shadow);
}

.atf-label-caps {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: #94a3b8;
    margin-bottom: 12px;
}

.atf-range-accent::-webkit-slider-thumb {
    background: var(--atf-deep-blue);
}

/* --- Tutor Cards --- */
.atf-tutor-item {
    background: white;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.atf-tutor-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(27, 94, 32, 0.12);
}

.atf-profile-orbit {
    width: 95px;
    height: 95px;
    margin: 0 auto;
    padding: 5px;
    border: 2px dashed var(--atf-electric-cyan);
    border-radius: 50%;
}

.atf-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #f8fafc;
}

.atf-badge-verified {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #00e676;
    color: white;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
}

.atf-rating-pill {
    background: #fff9c4;
    color: #fbc02d;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
}

.atf-subject-tag {
    background: rgba(27, 94, 32, 0.05);
    color: var(--atf-deep-blue);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* --- Premium Modal --- */
.atf-modal-banner {
    background: linear-gradient(135deg, #1B5E20 0%, #145A1E 100%);
    color: white;
    padding: 50px 20px;
}

.atf-btn-glow {
    background: var(--atf-deep-blue);
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(27, 94, 32, 0.3);
    transition: 0.3s;
}

.atf-btn-glow:hover {
    background: #2E7D32;
    transform: scale(1.05);
    color: white;
}

/*  Policy Specifics */
.policy-container {
    max-width: 900px;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: -50px;
    /* Overlap effect */
    position: relative;
    z-index: 10;
}

.policy-section {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-title {
    color: #1B5E20;
    /* Brand Blue */
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.policy-title i {
    margin-right: 10px;
    color: #ffca28;
    /* Brand Gold */
}

.policy-content {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}

.policy-card-alert {
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.policy-card-info {
    background-color: #e3f2fd;
    border-left: 5px solid #2196f3;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.policy-list {
    list-style: none;
    padding-left: 0;
}

.policy-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.policy-list li::before {
    content: "\f058";
    /* FontAwesome Check Circle */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #28a745;
    position: absolute;
    left: 0;
    top: 2px;
}

.policy-list.red-cross li::before {
    content: "\f057";
    /* FontAwesome Times Circle */
    color: #dc3545;
}

.hero-shapes-refund {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* dashboad logo */
.dash-logo {
    height: 3rem;
    /* Height stays consistent for navbar */
    width: auto;
    /* Allows the width to expand for the full text */
}

.bg-soft-danger {
    background-color: #f8d7da;
    color: #842029;
}

.bg-soft-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.italic {
    font-style: italic;
}

.x-small {
    font-size: 0.75rem;
}

.section-title i {
    width: 20px;
    text-align: center;
}

/* =========================================
   TUTORS & STUDENTS SECTION STYLES
   ========================================= */

/* --- Profile Card (shared base) --- */
.ts-profile-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ts-profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(27, 94, 32, 0.12) !important;
}

/* Avatar wrapper (circular with ring) */
.ts-avatar-wrap {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #1B5E20, #66BB6A);
    margin: 0 auto 12px;
    position: relative;
    flex-shrink: 0;
}

.ts-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    background: #f8fafc;
}

/* Availability Badge (absolute top-right of card) */
.ts-avail-badge-card {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 30px;
    letter-spacing: 0.5px;
}

.ts-avail-available {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.ts-avail-busy {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffcc80;
}

/* Star Rating */
.ts-stars {
    color: #fbc02d;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/* Info Pills (mode, fees) */
.ts-info-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0f4ff;
    color: #1B5E20;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.ts-info-pill.ts-green {
    background: #e8f5e9;
    color: #2e7d32;
}

/* Subject tags on card */
.ts-subject-badge {
    background: rgba(27, 94, 32, 0.07);
    color: #1B5E20;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
}

.ts-subject-badge.ts-green {
    background: rgba(46, 125, 50, 0.07);
    color: #2e7d32;
}

/* Stats bar at bottom of tutor card */
.ts-card-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 0;
    border-top: 1px solid #edf2f7;
    margin-top: 12px;
}

.ts-stat-item {
    text-align: center;
    font-size: 0.7rem;
    color: #6c757d;
}

.ts-stat-item strong {
    display: block;
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 700;
}

/* View Profile Button */
.ts-btn-view {
    width: 100%;
    border-radius: 12px;
    padding: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 14px;
}

/* ---- Student card accent ---- */
.ts-profile-card.ts-student:hover {
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.12) !important;
}

.ts-student .ts-avatar-wrap {
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
}

/* --- Posted date chip --- */
.ts-posted-chip {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    background: #e3f2fd;
    color: #2E7D32;
    border: 1px solid #90caf9;
}

/* =========================================
   MODAL STYLES (Tutor & Student)
   ========================================= */

/* Modal banner gradient (tutor) */
.ts-modal-banner {
    background: linear-gradient(135deg, #1B5E20 0%, #145A1E 100%);
    border-radius: 0;
}

/* Modal banner gradient (student) */
.ts-student-banner {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
}

/* Avatar in modal header */
.ts-modal-avatar-wrap {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    padding: 4px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
}

.ts-modal-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.6);
}

/* Availability badge in modal header */
.ts-avail-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid white;
}

/* Section labels inside modal body */
.ts-section-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    color: #374151;
    border-bottom: 2px solid #edf2f7;
    padding-bottom: 6px;
    margin-bottom: 10px;
}

/* Sidebar info panel (right column in modal) */
.ts-info-sidebar {
    background: #f8fafc;
    border: 1px solid #edf2f7;
}

.ts-student-sidebar {
    background: #f1f8f1;
    border-color: #c8e6c9;
}

.ts-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #edf2f7;
}

.ts-info-row:last-of-type {
    border-bottom: none;
}

.ts-info-row>i {
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.ts-info-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    font-weight: 700;
}

.ts-info-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: #2c3e50;
}

/* Review cards in modal */
.ts-review-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 16px;
    border-left: 3px solid #1B5E20;
}

.ts-review-card .ts-review-meta {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 4px;
}

/* Weak subject chips in student modal */
.ts-weak-chip {
    background: #fff3e0;
    color: #e65100;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 10px;
    border: 1px solid #ffcc80;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {

    #tutorCardsGrid .col-sm-6,
    #studentCardsGrid .col-sm-6 {
        width: 100%;
    }

    .ts-modal-banner .d-flex {
        flex-direction: column;
        text-align: center;
    }

    .ts-modal-avatar-wrap {
        margin: 0 auto;
    }
}

/* =========================================
   OUR STUDENTS PAGE — STYLES
   ========================================= */

/* ---- Hero Section ---- */
.os-hero-section {
    background: linear-gradient(-45deg, #1b5e20, #2e7d32, #2E7D32, #1B5E20);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 55vh;
    padding-top: 80px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.os-hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.08;
    pointer-events: none;
}

.os-hero-section .opacity-85 {
    opacity: 0.85;
}

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

.os-stat-label {
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 0.78rem;
}

/* ---- Search Bar ---- */
.os-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.os-search-icon {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    font-size: 0.9rem;
    pointer-events: none;
}

.os-search-input {
    padding-left: 44px;
    padding-right: 44px;
    border-radius: 50px !important;
    border: 2px solid #e2e8f0;
    height: 48px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.os-search-input:focus {
    border-color: #1B5E20;
    box-shadow: 0 0 0 4px rgba(27, 94, 32, 0.1);
}

.os-search-clear {
    position: absolute;
    right: 10px;
    color: #94a3b8;
    background: none;
    border: none;
    font-size: 0.85rem;
    padding: 4px 8px;
    z-index: 5;
}

.os-search-clear:hover {
    color: #374151;
}

/* ---- Batch Filter Tabs ---- */
.os-batch-tabs {
    border-bottom: 2px solid #edf2f7;
    padding-bottom: 16px;
}

.os-tab-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.os-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.os-tab-btn:hover {
    border-color: #1B5E20;
    color: #1B5E20;
    transform: translateY(-2px);
}

.os-tab-btn.active {
    background: #1B5E20;
    color: #fff;
    border-color: #1B5E20;
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.3);
}

/* ---- Batch Legend ---- */
.os-legend-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}

.os-legend-dot::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--lc, #ccc);
    flex-shrink: 0;
}

/* ---- Student Cards (our-students page variant) ---- */
.os-student-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.os-student-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1) !important;
}

/* Batch colour stripe at top of each card */
.os-card-stripe {
    height: 5px;
    width: 100%;
    display: block;
}

/* Batch-specific stripe colors */
.os-batch-Foundation .os-card-stripe {
    background: #6366f1;
}

.os-batch-Board-Prep .os-card-stripe {
    background: #0ea5e9;
}

.os-batch-Science .os-card-stripe {
    background: #10b981;
}

.os-batch-Arts .os-card-stripe {
    background: #f59e0b;
}

.os-batch-JEE-NEET .os-card-stripe {
    background: #ef4444;
}

/* Batch chip on each card */
.os-batch-chip {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.os-chip-Foundation {
    background: #ede9fe;
    color: #6366f1;
}

.os-chip-Board-Prep {
    background: #e0f2fe;
    color: #0284c7;
}

.os-chip-Science {
    background: #d1fae5;
    color: #059669;
}

.os-chip-Arts {
    background: #fef3c7;
    color: #d97706;
}

.os-chip-JEE-NEET {
    background: #fee2e2;
    color: #dc2626;
}

/* OS Avatar (smaller than ts-avatar-wrap) */
.os-avatar-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 3px;
    margin: 0 auto 10px;
}

.os-batch-Foundation .os-avatar-wrap {
    background: linear-gradient(135deg, #6366f1, #a5b4fc);
}

.os-batch-Board-Prep .os-avatar-wrap {
    background: linear-gradient(135deg, #0ea5e9, #7dd3fc);
}

.os-batch-Science .os-avatar-wrap {
    background: linear-gradient(135deg, #10b981, #6ee7b7);
}

.os-batch-Arts .os-avatar-wrap {
    background: linear-gradient(135deg, #f59e0b, #fcd34d);
}

.os-batch-JEE-NEET .os-avatar-wrap {
    background: linear-gradient(135deg, #ef4444, #fca5a5);
}

.os-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    background: #f8fafc;
}

/* Compact info row */
.os-mini-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 4px;
}

.os-mini-row i {
    width: 14px;
    text-align: center;
    color: #94a3b8;
}

/* Budget & timing strip */
.os-budget-strip {
    background: #f8fafc;
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.os-budget-strip .label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.os-budget-strip .value {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e293b;
}

/* Subject tags */
.os-sub-tag {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
}

/* View Profile button on student card */
.os-view-btn {
    width: 100%;
    border-radius: 12px;
    padding: 9px;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 12px;
}

/* ---- Modal Banner (our-students page) ---- */
.os-modal-banner {
    background: linear-gradient(135deg, #1B5E20 0%, #145A1E 100%);
}

.os-modal-batch-chip {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- Batch Summary Strip ---- */
.os-batch-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.os-batch-count {
    text-align: center;
    min-width: 100px;
}

.os-batch-count .count {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.os-batch-count .label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-top: 4px;
}

/* ---- Responsive ---- */
@media (max-width: 576px) {
    .os-tab-btn {
        padding: 8px 14px;
        font-size: 0.78rem;
    }

    .os-batch-summary {
        flex-direction: column;
        align-items: center;
    }
}

/* =========================================
   AL KAUSER MODEL ACADEMY — ADDITIONAL STYLES
   ========================================= */

/* Brand text in navbar when no logo image */
.brand-text-nav {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Principal Avatar Circle */
.principal-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1B5E20, #4CAF50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(27, 94, 32, 0.3);
}

/* Hover Lift Utility */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
}

/* About page body offset for fixed navbar */
.ht-body-offset {
    padding-top: 0;
}

/* Text hover helper for footer links */
a.text-hover-white:hover {
    color: #fff !important;
    transition: color 0.3s ease;
}

/* Responsive fixes for school pages */
@media (max-width: 768px) {
    .brand-text-nav {
        font-size: 0.95rem;
    }

    .hero-section {
        height: auto;
        min-height: 70vh;
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem !important;
    }

    .stat-item {
        border: none !important;
        padding: 0 !important;
    }

    .principal-avatar {
        width: 90px;
        height: 90px;
    }
}