/* Glassmorphism Design System - Visual Identity Update */

:root {
    --primary-orange: #FF5722;
    --secondary-orange: #FF6B4E;
    --neutral-white: #FFFFFF;
    --neutral-black: #222222;
    --accent-cream: #FDF5F0;
    --accent-pale: #FFF7ED;
    --text-muted: #666666;
    --border-light: #E0E0E0;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    --card-background: #FFFFFF;
    --card-border-radius: 20px;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --icon-box-radius: 15px;
    --nav-height: 80px;

    /* Fluid Typography - Modern Generation Scaling */
    --fs-h1: clamp(2.5rem, 8vw + 1rem, 4.5rem);
    --fs-h2: clamp(1.8rem, 5vw + 1rem, 3rem);
    --fs-h3: clamp(1.4rem, 3vw + 1rem, 1.8rem);
    --fs-p: clamp(0.95rem, 0.5vw + 0.9rem, 1.1rem);

    /* Fluid Spacing */
    --section-padding: clamp(3rem, 10vw, 6rem);
}

body {
    background-color: var(--neutral-white);
    color: #4A4A4A;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

h1 {
    font-size: var(--fs-h1);
    line-height: 1.15;
    margin-bottom: 0.5em;
}

h2 {
    font-size: var(--fs-h2);
    line-height: 1.2;
    margin-bottom: 0.4em;
}

h3 {
    font-size: var(--fs-h3);
    line-height: 1.3;
}

p {
    font-size: var(--fs-p);
    line-height: 1.7;
    color: #555;
}

.text-orange {
    color: var(--primary-orange) !important;
}

.bg-cream {
    background-color: var(--accent-cream) !important;
}

.bg-dark-section {
    background-color: var(--neutral-black) !important;
    color: white !important;
}

/* Buttons */
.btn-primary-orange {
    background-color: var(--primary-orange);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-primary-orange:hover {
    background-color: var(--secondary-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 75, 38, 0.3);
    color: white;
}

.btn-outline-dark {
    background: transparent;
    color: var(--neutral-black);
    border: 2px solid var(--neutral-black);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-outline-dark:hover {
    background: var(--neutral-black);
    color: white;
}

/* Sections */
.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-stats-card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

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

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--neutral-black);
}

.stat-label {
    font-size: 0.8rem;
    color: #777;
}

/* Benefit List */
.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-weight: 500;
}

.benefit-list li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-orange);
    background: var(--accent-pale);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

/* Blog Section Refinement */
.blog-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: var(--neutral-white) !important;
}

.blog-card .blog-img {
    height: 220px;
    overflow: hidden;
}

.blog-card .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-orange) !important;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--neutral-black);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    min-height: 2.8em;
}

.blog-card .date {
    font-size: 0.85rem;
    color: var(--primary-orange);
    font-weight: 600;
}

.blog-card .date i {
    margin-right: 5px;
}

.blog-card .description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
    min-height: 4.8em;
}

.blog-card .read-more {
    font-weight: 700;
    color: var(--primary-orange);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.blog-card .read-more:hover {
    gap: 10px;
}

/* Pagination Glass Style */
.pagination {
    gap: 10px;
}

.pagination .page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--neutral-white);
    color: var(--neutral-black);
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background: var(--primary-orange) !important;
    border-color: var(--primary-orange) !important;
    color: white !important;
    box-shadow: 0 5px 15px rgba(255, 75, 38, 0.3);
}

.pagination .page-link:hover:not(.active) {
    background: var(--accent-pale);
    color: var(--primary-orange);
}

/* Blog Details Layout */
.blog-details-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 0;
}

.blog-details-card {
    padding: 40px;
    border-radius: 30px;
}

.blog-details-card .main-img {
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
}

.blog-details-card h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-details-card .post-meta {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-details-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.blog-details-content p {
    margin-bottom: 20px;
}

/* Flip Card Base */
.flip-card {
    background-color: transparent;
    height: 160px;
    /* Micro-height */
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--card-border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flip-card-back {
    transform: rotateY(180deg);
    padding: 20px;
}

/* Glass Card integrated into flip */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 15px 12px;
    /* Micro-padding */
}

/* Unique Stat Card Shape - Morphing Leaf */
.stat-card-unique {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 40px 15px 40px 15px;
    padding: 15px 20px;
    max-width: 220px;
    margin: 0 auto;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.stat-card-unique:hover {
    border-radius: 15px 40px 15px 40px;
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 20px 40px rgba(255, 87, 34, 0.1);
    border-color: var(--primary-orange);
}

.stat-card-unique .icon-box-orange {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    margin-bottom: 10px;
    border-radius: 12px;
    transition: all 0.5s ease;
}

.stat-card-unique:hover .icon-box-orange {
    transform: scale(1.1) rotate(10deg);
    background: var(--primary-orange);
    color: white;
}

.icon-box-orange {
    width: 55px;
    height: 55px;
    /* Bigger icon box */
    background: var(--accent-pale);
    color: var(--primary-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    /* Larger icon */
    margin-bottom: 8px;
}

.glass-card h3 {
    font-size: 0.9rem;
    /* Micro-heading */
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--neutral-black);
}

.flip-card-back h3 {
    margin-bottom: 10px;
}

.glass-card p {
    font-size: 0.8rem;
    /* Scaled down */
    line-height: 1.25;
    color: #64748b;
    margin-bottom: 0;
}

/* Modern Floating Navbar */
.navbar-area {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 0;
}

.nav-sticky {
    padding: 0;
}

/* Unified Merged Navbar Styles */
.unified-nav {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
}

.nav-top-row {
    padding: 6px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

.nav-sticky .nav-top-row {
    display: none !important;
}

.top-row-left,
.top-row-right {
    display: flex;
    align-items: center;
}

.top-header-contact,
.top-header-social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.top-header-contact li {
    margin-right: 20px;
}

.top-header-contact li a {
    color: var(--neutral-black);
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.top-header-contact li a i {
    color: var(--primary-orange);
    margin-right: 6px;
    font-size: 0.8rem;
}

.top-header-contact li a:hover {
    color: var(--primary-orange);
    opacity: 1;
}

.top-header-social {
    justify-content: flex-end;
}

.top-header-social li {
    margin-left: 15px;
}

.top-header-social li a {
    color: var(--neutral-black);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.top-header-social li a:hover {
    color: var(--primary-orange);
    opacity: 1;
    transform: translateY(-2px);
    display: inline-block;
}

/* Ensure navbar fits flush by using a stronger selector than style.css */
.navbar-area .main-nav.modern-nav {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0 !important;
    /* Force fit flush */
    padding: 2px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 !important;
    /* Remove floating margin completely */
    width: 100% !important;
    /* Ensure full width */
    left: 0 !important;
}

.nav-sticky .main-nav.modern-nav {
    margin-top: 0 !important;
    background: rgba(255, 255, 255, 0.99) !important;
}

.modern-nav .navbar-brand {
    padding: 0 !important;
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.modern-nav .navbar-brand .main-logo {
    height: 32px;
    /* Slightly larger horizontal logo for better visibility */
    width: auto !important;
    transition: all 0.4s ease;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.nav-sticky .modern-nav .navbar-brand .main-logo {
    height: 26px;
}

.modern-nav .navbar-nav .nav-item {
    margin: 0 5px;
}

.modern-nav .navbar-nav .nav-item .nav-link {
    color: var(--neutral-black) !important;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0 12px !important;
    /* Unified vertical centering */
    height: 40px;
    /* Force centering in ultra-compact bar */
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

/* Remove stray dropdown carets shown in screenshot */
.modern-nav .dropdown-toggle::after {
    display: none !important;
}

.modern-nav .navbar-nav .nav-item .nav-link:hover,
.modern-nav .navbar-nav .nav-item .nav-link.active {
    color: var(--primary-orange) !important;
}

.modern-nav .navbar-nav .nav-item .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    /* Adjusted for ultra-compact bar */
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.modern-nav .navbar-nav .nav-item .nav-link:hover::after,
.modern-nav .navbar-nav .nav-item .nav-link.active::after {
    width: 20px;
}

/* Redesign Dropdown */
.modern-nav .dropdown-menu {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    border-radius: 15px !important;
    padding: 10px !important;
    margin-top: 5px !important;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    display: block !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Caret Animation - Working Opposite */
.caret-icon {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    transform: rotate(180deg);
    /* Start pointing UP */
}

.modern-nav .nav-item:hover .caret-icon {
    transform: rotate(0deg);
    /* Point DOWN on hover */
}

.modern-nav .nav-item:hover .dropdown-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.modern-nav .navbar-nav .nav-item .dropdown-menu .nav-link {
    padding: 8px 15px !important;
    border-radius: 10px;
    margin: 0 !important;
    color: var(--neutral-black) !important;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
}

.modern-nav .navbar-nav .nav-item .dropdown-menu .nav-link:hover {
    background: var(--primary-orange) !important;
    color: #ffffff !important;
}

/* Burger Dropdown Alignment - Fix Clipping */
.modern-burger .dropdown-menu {
    top: calc(100% + 8px) !important;
    left: auto !important;
    right: 0 !important;
    /* Force align to right edge of screen */
    min-width: 200px;
}

.modern-burger i {
    font-size: 1.1rem;
    color: var(--neutral-black);
    display: block;
}

.btn-primary-orange.btn-sm {
    padding: 3px 15px !important;
    /* Master compacting */
    font-size: 0.75rem !important;
    border-radius: 50px !important;
}

/* Footer refined */
.footer-area {
    background-color: var(--neutral-black);
    color: #999;
    padding: 80px 0;
}

.footer-area h2 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-area p {
    color: #888;
}

.footer-area ul {
    list-style: none;
    padding: 0;
}

.footer-area ul li {
    margin-bottom: 12px;
}

.footer-area ul li a {
    color: #888;
    transition: color 0.3s ease;
}

.footer-area ul li a:hover {
    color: var(--primary-orange);
}

.newsletter-box {
    background: #1A1A1A;
    padding: 2px;
    border-radius: 50px;
    display: flex;
    overflow: hidden;
}

.newsletter-box input {
    background: transparent;
    border: none;
    color: white;
    padding: 10px 20px;
    width: 60%;
    outline: none;
}

.newsletter-box button {
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    width: 40%;
    cursor: pointer;
}

/* Page Specific Styles */

/* Result Page Specific Styles */
.result-stat-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.result-stat-card i {
    font-size: 2.5rem;
    color: var(--primary-orange);
    background: var(--accent-pale);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    display: inline-block;
}

.result-stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    color: var(--neutral-black);
}

.result-stat-card p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.achiever-card {
    background: white;
    border-radius: 25px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.achiever-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.achiever-img-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid var(--accent-pale);
}

.achiever-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.achiever-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.achiever-category {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    display: block;
}

.AIR-badge {
    background: var(--accent-pale);
    color: var(--primary-orange);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
}

.results-year-section {
    position: relative;
    padding: 60px 0;
}

.results-year-title {
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.results-year-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-orange);
}

/* About Page */
.about-hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
}

.about-banner-img {
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.timeline-container {
    position: relative;
    padding: 60px 0;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: #E5E5E5;
    z-index: 1;
    transform: translateY(-50%);
}

.timeline-item {
    position: relative;
    z-index: 2;
    text-align: center;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-orange);
    border: 4px solid white;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 4px rgba(255, 75, 38, 0.2);
    margin-bottom: 20px;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.director-card {
    background: white;
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.director-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 10%;
    margin-bottom: 20px;
    border: 5px solid var(--accent-pale);
}

.director-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-10px);
}

/* Course Page */
.course-hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
}

.filter-container {
    background: white;
    padding: 10px;
    border-radius: 50px;
    display: inline-flex;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin: 30px 0 50px 0;
}

.filter-btn {
    border: none;
    background: transparent;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn.active {
    background: var(--primary-orange);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 75, 38, 0.3);
}

.filter-btn:hover:not(.active) {
    color: var(--primary-orange);
    background: var(--accent-pale);
}

.course-card-premium {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    padding: 15px;
    text-align: left;
}

.course-card-premium:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.course-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.course-card-premium h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.course-card-premium p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.course-duration {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 20px;
    display: block;
}

.course-duration i {
    color: var(--primary-orange);
    margin-right: 5px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--neutral-black) 0%, #222 100%);
    color: white;
    border-radius: 30px;
    padding: 80px 60px;
    text-align: center;
}

/* Career Page Specific Styles */
.career-hero-area {
    background-color: var(--accent-pale);
    padding: 120px 0 80px;
    text-align: center;
}

.career-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.career-banner-wrapper {
    margin-top: 50px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.benefit-card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
    margin-top: -50px;
    z-index: 10;
    position: relative;
    text-align: left;
}

.benefit-card-glass:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.job-card {
    background: white;
    border-radius: 25px;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    text-align: left;
}

.job-card:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.job-location,
.job-type {
    font-size: 0.9rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.job-card h4 {
    font-size: 1.25rem;
    margin: 15px 0 20px;
}

.resume-cta-box {
    background: white;
    padding: 50px;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: left;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .career-hero-content h1 {
        font-size: 2.5rem;
    }

    .benefit-card-glass {
        margin-top: 20px;
    }

    .resume-cta-box {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

/* Contact Page Specific Styles */
.contact-hero-area {
    background-color: var(--accent-pale);
    padding: 120px 0 60px;
    text-align: center;
}

.contact-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.contact-glass-wrapper {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    border-radius: 40px;
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    margin-top: -60px;
}

.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    text-align: left;
}

.contact-info-card:hover {
    transform: translateX(10px);
    border-color: var(--primary-orange);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    background: var(--accent-pale);
    color: var(--primary-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-info-text p,
.contact-info-text a {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    display: block;
}

/* Contact Form Overrides */
.contact-form-glass .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.contact-form-glass .form-control {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 0.95rem;
}

.contact-form-glass .form-control:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(255, 75, 38, 0.1);
}

.contact-form-glass .default-btn {
    width: 100%;
    margin-top: 10px;
}

/* FAQ Accordion */
.faq-section {
    padding: 100px 0;
}

.faq-accordion-custom .accordion-item {
    background: white !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 20px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-accordion-custom .accordion-button {
    padding: 25px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--neutral-black);
    background: white;
    border: none !important;
    box-shadow: none !important;
}

.faq-accordion-custom .accordion-button:not(.collapsed) {
    color: var(--primary-orange);
    background: var(--accent-pale);
}

.faq-accordion-custom .accordion-body {
    padding: 0 30px 25px;
    color: #666;
}

@media (max-width: 991px) {
    .contact-glass-wrapper {
        padding: 40px 25px;
    }
}

/* Fun @ Shakti Gallery Refinement */
.fun-card {
    position: relative;
    overflow: hidden;
    padding: 10px !important;
    border-radius: 20px;
    height: 250px;
    /* Fixed height for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.fun-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fun-card .hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 75, 38, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
    backdrop-filter: blur(2px);
    border-radius: 20px;
}


.fun-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-orange) !important;
}

.fun-card:hover .hover-overlay {
    opacity: 1;
}


.fun-card:hover img {
    transform: scale(1.1);
}

/* Fun Gallery Slider Overrides */
.fun-gallery-slider .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    margin: 0 !important;
}

.fun-gallery-slider .owl-nav button {
    background: var(--neutral-white) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    box-shadow: var(--card-shadow) !important;
    color: var(--neutral-black) !important;
    margin-left: 10px !important;
    transition: all 0.3s ease !important;
}

.fun-gallery-slider .owl-nav button:hover {
    background: var(--primary-orange) !important;
    color: white !important;
    transform: translateY(-2px);
}

.fun-gallery-slider .owl-nav button span {
    display: none;
}

.single-ragular-course {
    padding: 15px 10px !important;
    /* Even smaller padding */
    min-height: 160px;
    /* Reduced from 180px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: var(--neutral-white) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 100%;
    /* Ensure full width within carousel item */
}

.single-ragular-course::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-pale);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.single-ragular-course .course-icon-box {
    width: 60px;
    /* Reduced from 70px */
    height: 60px;
    background: var(--accent-pale);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.single-ragular-course .course-icon-box img {
    width: 32px;
    /* Reduced from 40px */
    height: 32px;
    object-fit: contain;
    transition: all 0.6s ease;
}

.single-ragular-course h3 {
    font-size: 1.1rem;
    /* Smaller font */
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--neutral-black);
    transition: all 0.5s ease;
    position: relative;
    z-index: 3;
}

.single-ragular-course p {
    font-size: 0.8rem;
    /* Smaller text */
    color: #666;
    margin: 0;
    transition: all 0.5s ease;
    position: relative;
    z-index: 3;
}

/* Hover Refinement - Stable & Smaller */
.single-ragular-course:hover {
    border-color: var(--primary-orange) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    /* Lighter shadow for smaller card */
    transform: translateY(-5px);
}

.single-ragular-course:hover::after {
    opacity: 0.7;
    /* Soft background overlay */
}

.single-ragular-course:hover h3 {
    color: var(--primary-orange);
}

.single-ragular-course:hover .course-icon-box {
    transform: scale(4.0, 3.0);
    /* Adjusted vertical scale for better proportions */
    background: transparent;
    opacity: 0.35;
    /* Increased opacity for better visibility */
}

.single-ragular-course:hover .course-icon-box img {
    transform: scale(1.0);
    filter: drop-shadow(0 5px 15px rgba(255, 75, 38, 0.4));
    /* Removed blur for clarity */
}

/* Premium Section Refinements */

/* 1. Testimonials Redesign */
.testimonials-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.testimonial-card-premium {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 40px 15px 40px 15px;
    padding: 20px 25px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.testimonial-card-premium::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 50px;
    color: var(--primary-orange);
    opacity: 0.1;
    transform: rotate(-10deg);
}

.testimonial-card-premium:hover {
    transform: translateY(-10px) rotate(1deg);
    border-radius: 20px 60px 20px 60px;
    background: white;
    box-shadow: 0 30px 60px rgba(255, 87, 34, 0.1);
    border-color: var(--primary-orange);
}

.testimonial-card-premium .rate li {
    font-size: 12px;
    margin-right: 2px;
}

.testimonial-card-premium h5 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 2px;
    font-family: var(--font-heading);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Owl Dots Customization for Testimonial Slider */
.testimonial-slider .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.testimonial-slider .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px 6px;
    background: rgba(0, 0, 0, 0.1);
    display: block;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.testimonial-slider .owl-dot.active span {
    background: var(--primary-orange);
    width: 30px;
}

/* 2. Success Story Banner Redesign */
.home-admission {
    padding: 100px 0;
}

.success-story-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.success-story-badge {
    width: 250px;
    height: 250px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    box-shadow: 0 0 50px rgba(255, 75, 38, 0.4);
    margin: 0 auto;
}

.success-story-badge h2 {
    font-size: 2.2rem;
    margin: 0;
    line-height: 1.1;
}

.success-story-badge span {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.success-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.success-stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.success-stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-orange);
}

.success-stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 5px;
    font-weight: 800;
}

.success-stat-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 3. Minimal Modern Inquiry Form */
.inquiry-wrapper-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.03);
    max-width: 950px;
    /* More compact footprint */
    margin: 0 auto;
}

.inquiry-image-side {
    width: 40%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
    border-right: 1px solid rgba(0, 0, 0, 0.03);
}

.inquiry-image-side img {
    max-height: 280px !important;
    border-radius: 15px;
}

.inquiry-form-side {
    width: 60%;
    padding: 40px 50px;
    background: rgba(255, 255, 255, 0.2);
}

.inquiry-form-side h2 {
    font-size: 1.8rem;
    /* Cleaner, smaller title */
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--neutral-black);
}

.inquiry-form-side .form-control {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #eee !important;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: none;
}

.inquiry-form-side .form-control:focus {
    background: white !important;
    border-color: var(--primary-orange) !important;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.08);
}

.btn-primary-orange {
    background: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primary-orange:hover {
    background: #e64a19;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.2);
}

/* 4. Why Choose Us - Morphing Flip Cards (Ultra-Compact) */
.feature-flip-container {
    perspective: 1200px;
    height: 165px;
    /* Adjusted for better content fit */
    width: 92%;
    /* Added padding/spacing to prevent cards being too close */
    margin: 0 auto 30px auto;
}

.feature-flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    cursor: pointer;
}

.feature-flip-container:hover .feature-flip-card {
    transform: rotateY(180deg);
}

.feature-flip-front,
.feature-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px 8px 20px 8px;
    /* Finer radii for ultra-compact */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: border-radius 0.6s ease, border-color 0.4s ease, background 0.4s ease;
}

.feature-flip-container:hover .feature-flip-front,
.feature-flip-container:hover .feature-flip-back {
    border-radius: 8px 20px 8px 20px;
    border-color: var(--primary-orange);
    background: white;
}

.feature-flip-back {
    transform: rotateY(180deg);
    background: rgba(255, 255, 255, 0.9);
}

.feature-flip-front .icon-box-orange {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-flip-front h3 {
    font-size: 0.85rem;
    /* Ultra-compact font size */
    font-weight: 800;
    margin-bottom: 0;
    font-family: var(--font-heading);
    color: var(--neutral-black);
    line-height: 1.2;
}

.feature-flip-back p {
    font-size: 0.7rem;
    /* Ultra-compact font size */
    color: #555;
    margin-bottom: 0;
    line-height: 1.3;
    text-align: center;
}

/* 4. Special Classes Refinement */
.special-class-modern {
    border-radius: 24px !important;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    height: 380px;
    background: #f8fafc;
    /* Light background instead of black */
    margin: 0 10px;
    /* Added horizontal spacing */
}

.special-class-modern .course-img img {
    border-radius: 0 !important;
    object-fit: cover;
}

.special-class-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.9);
    /* Translucent white instead of black shade */
    backdrop-filter: blur(10px);
    color: var(--neutral-black);
    text-align: center;
    transition: all 0.5s ease;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.special-class-overlay h2 {
    color: var(--neutral-black) !important;
}

.special-class-overlay p {
    color: #444 !important;
}

.special-class-modern:hover img {
    transform: scale(1.1);
}

.special-class-modern:hover .special-class-overlay {
    padding-bottom: 30px;
}

@media (max-width: 991px) {
    .inquiry-wrapper-glass {
        flex-direction: column;
    }

    .inquiry-image-side,
    .inquiry-form-side {
        padding: 40px;
        min-width: 100%;
    }

    .success-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Redesign Styles */
.faq-hero-area {
    background: linear-gradient(135deg, #fff 0%, var(--accent-pale) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-hero-area h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

.faq-accordion-custom .accordion-item {
    background: transparent;
    border: none;
    margin-bottom: 15px;
    border-radius: 15px !important;
    overflow: hidden;
}

.faq-accordion-custom .accordion-button {
    background: #f8fafc;
    color: #1e293b;
    font-weight: 600;
    padding: 20px 25px;
    border-radius: 15px !important;
    box-shadow: none;
    transition: all 0.3s ease;
}

.faq-accordion-custom .accordion-button:not(.collapsed) {
    background: var(--primary-orange);
    color: white;
}

.faq-accordion-custom .accordion-button::after {
    filter: grayscale(1) invert(0);
}

.faq-accordion-custom .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.faq-accordion-custom .accordion-body {
    padding: 25px;
    line-height: 1.8;
    color: #64748b;
    background: white;
    border-radius: 0 0 15px 15px;
}

@media (max-width: 767px) {
    .faq-hero-area h1 {
        font-size: 2.5rem;
    }
}

/* 5. Testimonials Carousel Redesign */
.testimonial-slider .owl-dots {
    text-align: center;
    margin-top: 40px;
}

.testimonial-slider .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 5px 7px;
    background: rgba(0, 0, 0, 0.1);
    display: block;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.testimonial-slider .owl-dot.active span {
    background: var(--primary-orange);
    width: 30px;
}

.testimonial-card-premium {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px 10px 30px 10px;
    padding: 20px 30px;
    display: flex;
    gap: 30px;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-height: 160px;
    max-width: 750px;
    margin: 0 auto;
}

.testimonial-slider .item:hover .testimonial-card-premium {
    border-radius: 10px 30px 10px 30px;
    background: white;
    border-color: var(--primary-orange);
}

.testimonial-profile-side {
    flex: 0 0 110px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    padding-right: 20px;
}

.testimonial-content-side {
    flex: 1;
    text-align: left;
}

.testimonial-profile-side .user-img-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.testimonial-profile-side h5.student-name {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 3px;
    line-height: 1.2;
}

.testimonial-profile-side .rating-stars {
    font-size: 0.7rem;
    color: #ffb400;
    margin-bottom: 5px;
}

.testimonial-profile-side .verified-tag {
    font-size: 0.65rem;
    color: #28a745;
    font-weight: 600;
    background: rgba(40, 167, 69, 0.05);
    padding: 2px 8px;
    border-radius: 50px;
}

.testimonial-content-side .testimonial-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
    font-style: italic;
}

@media (max-width: 767px) {
    .testimonial-card-premium {
        flex-direction: column;
        padding: 25px 20px;
        text-align: center;
        gap: 20px;
        max-width: 100%;
    }

    .testimonial-profile-side {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 15px;
        flex: none;
    }
}

/* Courses Page Redesign Utilities */
.course-hero-area {
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('../images/bg/course-bg.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    overflow: hidden;
}

.course-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--neutral-black);
    letter-spacing: -1px;
}

.course-hero-content .lead {
    font-family: var(--font-body);
    color: var(--text-muted);
}

.category-section-heading {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--neutral-black);
    margin-bottom: 40px;
    position: relative;
    text-align: left;
}

.category-section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.professional-course-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.professional-course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-orange);
}

.course-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: #f8fafc;
}

.course-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-category-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--primary-orange);
    opacity: 0.9;
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-orange);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.course-content-padding {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.professional-course-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--neutral-black);
}

.professional-course-card p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.course-icon-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}

.course-meta-item {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.course-meta-item i {
    color: var(--primary-orange);
    margin-right: 6px;
}

.professional-filter-tabs {
    background: #ffffff;
    padding: 6px;
    border-radius: 100px;
    display: inline-flex;
    border: 1px solid var(--border-light);
    margin-bottom: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.filter-btn-professional {
    background: transparent;
    border: none;
    padding: 12px 28px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.filter-btn-professional.active {
    background: var(--primary-orange);
    color: white;
}

.filter-btn-professional:hover:not(.active) {
    color: var(--primary-orange);
}

.btn-explore {
    background: var(--primary-orange);
    color: white;
    padding: 14px;
    border-radius: 8px;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    margin-top: auto;
}

.btn-explore:hover {
    background: #e64a19;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

/* Aesthetic Excellence Upgrade */
.mesh-gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-color: #ffffff;
    background-image:
        radial-gradient(at 0% 0%, rgba(255, 87, 34, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(255, 152, 0, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(255, 87, 34, 0.03) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(255, 152, 0, 0.03) 0px, transparent 50%);
}

.glass-blob {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.08) 0%, rgba(255, 152, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    animation: blobFloat 25s infinite alternate ease-in-out;
}

.blob-1 {
    top: -100px;
    left: -100px;
}

.blob-2 {
    bottom: -100px;
    right: -100px;
    animation-duration: 30s;
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.05) 0%, rgba(255, 87, 34, 0) 70%);
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    33% {
        transform: translate(100px, 50px) rotate(120deg) scale(1.1);
    }

    66% {
        transform: translate(-50px, 150px) rotate(240deg) scale(0.9);
    }

    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

.trust-badge-row {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.5);
    padding: 8px 15px;
    border-radius: 50px;
    border: 1px solid var(--border-light);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neutral-black);
}

.trust-badge i {
    color: var(--primary-orange);
    font-size: 1.1rem;
}

.floating-card-hero {
    position: relative;
    z-index: 1;
    animation: floatingHero 6s infinite ease-in-out;
}

@keyframes floatingHero {

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

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

.hero-glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.hero-glass-card img {
    border-radius: 18px;
    width: 100%;
}

.card-glow-orange:hover {
    box-shadow: 0 0 30px rgba(255, 87, 34, 0.15), 0 12px 40px rgba(0, 0, 0, 0.08) !important;
}

/* Final Mobile Optimizations */
@media only screen and (max-width: 991px) {
    .mobile-enquiry-btn {
        position: fixed !important;
        top: 15px !important;
        right: 60px !important;
        z-index: 1001 !important;
        display: inline-block !important;
        background: var(--primary-orange) !important;
        color: #fff !important;
        padding: 8px 12px !important;
        font-size: 10px !important;
        border-radius: 6px !important;
        font-weight: 700 !important;
        visibility: visible !important;
        opacity: 1 !important;
        text-transform: uppercase !important;
        box-shadow: 0 4px 10px rgba(255, 89, 0, 0.3) !important;
        text-decoration: none !important;
    }

    .mean-container a.meanmenu-reveal {
        z-index: 1002 !important;
    }

    .owl-dots {
        margin-top: 25px !important;
        text-align: center;
    }

    .owl-dot span {
        background: #ddd !important;
        width: 8px !important;
        height: 8px !important;
        margin: 5px 7px !important;
        display: block;
        border-radius: 30px;
        transition: all 0.3s ease;
    }

    .owl-dot.active span {
        background: var(--primary-orange) !important;
        width: 25px !important;
    }

    .special-classes-slider,
    .why-choose-slider {
        padding-bottom: 30px !important;
    }

    /* Course Filter Mobile Optimization */
    .professional-filter-tabs {
        display: flex !important;
        overflow-x: auto !important;
        overflow-y: hidden;
        white-space: nowrap !important;
        padding: 4px !important;
        margin-bottom: 30px !important;
        border-radius: 50px !important;
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
        justify-content: flex-start !important;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
        gap: 0;
    }

    .professional-filter-tabs::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari and Opera */
    }

    .filter-btn-professional {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
        flex: 0 0 auto;
        border-radius: 50px !important;
    }
}/* Result Stats Row Mobile - Forced Horizontal */
@media only screen and (max-width: 991px) {
    .result-stats-area .row.justify-content-center {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding: 5px 15px 25px !important;
        gap: 12px !important;
        justify-content: flex-start !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .result-stats-area .row.justify-content-center::-webkit-scrollbar {
        display: none !important;
    }

    .result-stats-area .col-lg-4.col-md-6.wow.fadeInUp {
        flex: 0 0 75% !important;
        max-width: 75% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .stat-card-unique.card-glow-orange.text-center {
        padding: 15px 18px !important;
        border-radius: 20px 8px 20px 8px !important;
        width: 100% !important;
        margin: 0 !important;
        min-height: auto !important;
    }

    .stat-card-unique .icon-box-orange.mx-auto {
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
        margin-bottom: 8px !important;
    }

    .stat-card-unique h3.display-6 {
        font-size: 1.4rem !important;
        margin-bottom: 4px !important;
    }

    .stat-card-unique p.text-orange {
        font-size: 0.7rem !important;
        letter-spacing: 1px !important;
    }

    /* Refine Filter Tabs Padding for even smaller look */
    .filter-btn-professional {
        padding: 6px 14px !important;
        font-size: 0.75rem !important;
    }
}
