/* =========================================
   Academia Platform - Main Stylesheet
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #0d47a1;       /* Deep Blue */
    --primary-dark: #002171;        /* Darker Blue */
    --accent-color: #ffca28;        /* Amber/Gold */
    --text-dark: #2c3e50;
    --shadow-soft: 0 5px 15px rgba(0,0,0,0.05);
}

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

/* Navbar */
.navbar {
    background: rgba(13, 71, 161, 0.95); /* Deep Blue 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(13, 71, 161, 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(13, 71, 161, 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(13, 71, 161, 0.3);
    transition: all 0.3s ease;
}

.btn-send:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 71, 161, 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(13, 71, 161, 0.9), rgba(0, 33, 113, 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: #0d47a1; /* 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: #0d47a1;
}

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

/* Custom Pricing Table */
.ht-pricing-table thead th {
    background-color: #0d47a1;
    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: #0d47a1;
    color: white;
    border-color: #0d47a1;
    box-shadow: 0 4px 10px rgba(13, 71, 161, 0.3);
}

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

/* Modal Header Specific */
.ht-modal-header {
    background-color: #0d47a1;
    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: #0d47a1;    /* Blue Border on Hover */
    background-color: #f8f9fa;
    color: #0d47a1;
    transform: translateY(-2px);
}

/* Active State (When Selected) */
.ht-tab-btn.active {
    background-color: #0d47a1; /* Brand Blue Background */
    color: #ffffff;            /* White Text */
    border-color: #0d47a1;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3); /* Blue Glow */
}
/* Specific additions for the Trust Icons from the provided website */
.trust-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(13, 71, 161, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #0d47a1;
    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(13, 71, 161, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(13, 71, 161, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(13, 71, 161, 0); }
}

/* Hover Effects */
.trust-icon-box:hover {
    background: #0d47a1; /* 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, #0d47a1, #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: #0d47a1;
    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(13, 71, 161, 0.4);
}

.aj-tree-milestone:hover .aj-milestone-leaf {
    transform: translateX(10px);
    border-color: #0d47a1;
    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, #0d47a1, #002171, #1a237e, #0d47a1);
    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(13, 71, 161, 0.9), rgba(0, 33, 113, 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(13, 71, 161, 0.9), rgba(0, 33, 113, 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, #0d47a1, #002171, #1a237e, #0d47a1);
    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(13, 71, 161, 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-blue);
}

.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(13, 71, 161, 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, #0d47a1, #002171, #1a237e, #0d47a1);
    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(13, 71, 161, 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: #0d47a1;
    --atf-electric-cyan: #00e5ff;
    --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, #0d47a1, #002171, #1a237e, #0d47a1);
    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(13, 71, 161, 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(13, 71, 161, 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, #0d47a1 0%, #1a237e 100%);
    color: white;
    padding: 50px 20px;
}

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

.atf-btn-glow:hover {
    background: #1565c0;
    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: #0d47a1; /* 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;
}
/* marquee animation for achievers */
/* Container and Viewport */
.marquee-viewport {
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.marquee-content {
    display: flex;
    gap: 2.5rem;
    padding: 40px 0;
    width: max-content;
}

/* Premium Dark Gradient Card */
.achiever-card {
    width: 350px;
    min-width: 350px;
    flex-shrink: 0;
    position: relative; /* For trophy positioning */
    background: linear-gradient(145deg, #3535b0, #30306b) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    color: #ffffff !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

/* Floating Trophy Icon (Hidden by default) */
.achiever-card::before {
    content: '\f091'; /* FontAwesome Trophy */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 2.5rem;
    color: #ffca28;
    opacity: 0;
    transform: translateY(20px) scale(0.5);
    transition: all 0.4s ease;
    z-index: -1;
    filter: drop-shadow(0 0 10px rgba(255, 202, 40, 0.5));
}

/* Hover Effects */
.achiever-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(108, 92, 231, 0.2);
    border-color: rgba(255, 202, 40, 0.4) !important;
}

.achiever-card:hover::before {
    opacity: 1;
    transform: translateY(-30px) scale(1) rotate(15deg); /* Trophy pops up */
}

/* Image Border Glow */
.achiever-card img {
    box-shadow: 0 0 15px rgba(255, 202, 40, 0.3);
}

/* Animation Settings */
.marquee-active {
    animation: scroll-marquee 30s linear infinite;
}

.marquee-active:hover {
    animation-play-state: paused;
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}