/*================================================
GRD Academy Niranjanpur - Premium Theme Override
Modern Eye-Catching Color Scheme
=================================================*/

:root {
    /* Primary Colors - Vibrant Emerald */
    --primary-color: #31287e;
    --primary-dark: #231f5e;
    --primary-light: #4a3fb8;
    --primary-gradient: linear-gradient(135deg, #31287e 0%, #5b50d6 100%);

    /* Secondary Colors - Royal Gold */
    --secondary-color: #ffffff;
    --secondary-dark: #f0f2fa;
    --secondary-light: #ffffff;
    --secondary-gradient: linear-gradient(135deg, #ffffff 0%, #e8eaf6 100%);

    /* Accent Colors */
    --accent-coral: #5b50d6;
    --accent-blue: #4facfe;
    --accent-purple: #7c3aed;
    --accent-orange: #4a3fb8;

    /* Navy & Dark */
    --navy-primary: #31287e;
    --navy-dark: #1a1556;
    --text-dark: #1b0238;
    --text-light: #666666;

    /* Shadows */
    --shadow-sm: 0 4px 15px rgba(49, 40, 126, 0.15);
    --shadow-md: 0 10px 40px rgba(49, 40, 126, 0.2);
    --shadow-lg: 0 20px 60px rgba(49, 40, 126, 0.25);
    --shadow-glow: 0 0 30px rgba(49, 40, 126, 0.4);
}

/* ============================================
   Global Enhancements
   ============================================ */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Links */
a:hover, a:focus {
    color: var(--primary-color);
}

/* Selection */
::selection {
    background: linear-gradient(135deg, #31287e, #5b50d6);
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #31287e, #5b50d6);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #231f5e, #31287e);
}

/* ============================================
   Section Titles - Premium Style
   ============================================ */
.section-title span {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(49, 40, 126, 0.1), rgba(91, 80, 214, 0.1));
    border-radius: 30px;
    margin-bottom: 15px;
}

.section-title > h2 {
    background: linear-gradient(135deg, #31287e, #31287e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.sub-title {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   Buttons - Eye-catching Styles
   ============================================ */
.default-btn {
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%);
    border: none;
    box-shadow: 0 8px 25px rgba(49, 40, 126, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
.default-btn:hover {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: linear-gradient(135deg, #231f5e 0%, #31287e 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(49, 40, 126, 0.5);
}

.optional-btn {
    background: linear-gradient(135deg, #ffffff 0%, #e8eaf6 100%);
    color: #31287e !important;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}
.optional-btn::before {
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%);
}
.optional-btn:hover {
    color: #ffffff !important;
    transform: translateY(-3px);
}

/* Modern Button Style */
.modern-btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%);
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(49, 40, 126, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modern-btn:hover {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: linear-gradient(135deg, #231f5e 0%, #31287e 100%);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(49, 40, 126, 0.5);
    text-decoration: none;
}

/* ============================================
   Preloader - Premium Animation
   ============================================ */
.preloader {
    background: linear-gradient(135deg, #31287e 0%, #1a1556 100%) !important;
}
.preloader-area::before, .preloader-area::after {
    background: linear-gradient(135deg, #31287e, #5b50d6);
}

/* ============================================
   Navbar - Modern Style
   ============================================ */
.main-navbar .navbar .navbar-nav .nav-item a:hover,
.main-navbar .navbar .navbar-nav .nav-item a:focus,
.main-navbar .navbar .navbar-nav .nav-item a.active,
.main-navbar .navbar .navbar-nav .nav-item:hover a,
.main-navbar .navbar .navbar-nav .nav-item.active a {
    color: var(--primary-color);
}

.main-navbar .navbar .navbar-nav .nav-item .dropdown-menu li a:hover,
.main-navbar .navbar .navbar-nav .nav-item .dropdown-menu li a.active {
    color: var(--primary-color);
}

.main-navbar .navbar .navbar-nav .nav-item .dropdown-menu li a::before {
    background: linear-gradient(135deg, #31287e, #5b50d6);
}

/* Top Header with gradient */
.top-header-area {
    background: linear-gradient(135deg, #31287e 0%, #1a1556 100%);
}

/* ============================================
   Banner Area - Stunning Visual
   ============================================ */
.main-banner-area {
    background: linear-gradient(135deg, rgba(49, 40, 126, 0.95) 0%, rgba(91, 80, 214, 0.9) 100%);
}

/* ============================================
   Who We Are Section
   ============================================ */
.who-we-are {
    background: linear-gradient(180deg, #ffffff 0%, #f8fffe 100%);
}

.who-we-are-content span {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(49, 40, 126, 0.1), rgba(91, 80, 214, 0.15));
    border-radius: 30px;
    margin-bottom: 15px;
}

.who-we-are-content > h2,
.who-we-are-content > h4 {
    background: linear-gradient(135deg, #31287e, #31287e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.who-we-are-content p,
.who-we-are-content li {
    color: #333 !important;
    -webkit-text-fill-color: #333 !important;
}

.who-we-are-content .features-list li span i {
    color: var(--primary-color);
}

.who-we-are-image .image-content {
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%);
}

/* Image Background Shape */
.image-bg-shape {
    background: linear-gradient(135deg, #31287e, #5b50d6, #e6fff2) !important;
    box-shadow: 0 25px 80px rgba(49, 40, 126, 0.25) !important;
}

/* Experience Badge */
.experience-badge {
    background: linear-gradient(135deg, #ffffff 0%, #e8eaf6 100%) !important;
    color: #31287e !important;
    font-weight: 800 !important;
    box-shadow: 0 10px 30px rgba(232, 234, 246, 0.4) !important;
}

/* ============================================
   Activities Section - Vibrant Cards
   ============================================ */
.activities-area {
    background: linear-gradient(135deg, #f0f9f6 0%, #e6fff2 100%);
    position: relative;
}

.activities-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #31287e, #ffffff, #5b50d6, #4facfe, #31287e);
    background-size: 200% auto;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.activities-row {
    display: flex;
    flex-wrap: wrap;
}

.activities-row > [class*="col-"] {
    display: flex;
}

.single-activities {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(49, 40, 126, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.single-activities .activities-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.single-activities .activities-content p {
    flex: 1;
    color: #666 !important;
    -webkit-text-fill-color: #666 !important;
}

.single-activities .activities-content h3 a {
    color: #31287e !important;
    -webkit-text-fill-color: #31287e !important;
    font-weight: 700;
}

.single-activities::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #31287e, #ffffff);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.single-activities:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(49, 40, 126, 0.2);
}

.single-activities:hover::before {
    transform: scaleX(1);
}

.single-activities .number span {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    box-shadow: 0 8px 25px rgba(49, 40, 126, 0.4);
}

.single-activities .number span.bg-2 {
    background: linear-gradient(135deg, #ffffff 0%, #e8eaf6 100%);
    color: #31287e;
}

.single-activities .number span.bg-3 {
    background: linear-gradient(135deg, #5b50d6 0%, #ee5253 100%);
}

.single-activities .number span.bg-4 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.single-activities .number span.bg-5 {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.single-activities .number span.bg-6 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.single-activities:hover .activities-content h3 a {
    color: var(--primary-color) !important;
    -webkit-text-fill-color: var(--primary-color) !important;
}

/* ============================================
   Why Choose Us - Highlight Boxes
   ============================================ */
.highlight-container {
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1) !important;
}

.highlight-box.gold {
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%) !important;
}

.highlight-box.gold:hover {
    background: linear-gradient(135deg, #231f5e 0%, #31287e 100%) !important;
}

.highlight-box.blue {
    background: #ffffff !important;
}

.highlight-box.blue h3 {
    color: #31287e !important;
}

.highlight-box.blue p {
    color: #666 !important;
}

.highlight-box.blue i {
    background: linear-gradient(135deg, #31287e, #5b50d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-box i {
    font-size: 48px !important;
    margin-bottom: 20px;
}

/* ============================================
   Academics Program Cards
   ============================================ */
.class-area {
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
}

.title-border {
    width: 100px !important;
    height: 5px !important;
    background: linear-gradient(90deg, #31287e, #ffffff) !important;
    border-radius: 10px;
}

.modern-card {
    border: none !important;
    border-radius: 25px !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1) !important;
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #31287e, #ffffff);
    z-index: 10;
}

.modern-card:hover {
    transform: translateY(-15px) scale(1.02) !important;
    box-shadow: 0 30px 70px rgba(49, 40, 126, 0.25) !important;
}

.class-content h3 > a {
    background: linear-gradient(135deg, #31287e, #31287e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700 !important;
}

.class-content p {
    color: #666 !important;
    -webkit-text-fill-color: #666 !important;
}

/* ============================================
   Events Section
   ============================================ */
.event-area {
    position: relative;
}

.event-area .section-title span,
.event-area .section-title h2 {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.event-date {
    background: linear-gradient(135deg, #5b50d6 0%, #ee5253 100%) !important;
    box-shadow: 0 10px 30px rgba(91, 80, 214, 0.4) !important;
}

.event-item:hover {
    background: rgba(49, 40, 126, 0.1) !important;
    border-radius: 15px;
}

/* ============================================
   Facilities Section
   ============================================ */
.facilities-area {
    background: linear-gradient(180deg, #ffffff 0%, #f8fffe 100%);
}

.facility-card {
    border-left: 5px solid transparent !important;
    border-image: linear-gradient(180deg, #31287e, #5b50d6) 1 !important;
}

.facility-card:hover {
    border-image: linear-gradient(180deg, #ffffff, #e8eaf6) 1 !important;
    box-shadow: 0 25px 60px rgba(49, 40, 126, 0.2) !important;
}

.badge-number {
    background: linear-gradient(135deg, #5b50d6 0%, #ee5253 100%) !important;
    box-shadow: 0 8px 25px rgba(91, 80, 214, 0.4) !important;
}

.badge-2 {
    background: linear-gradient(135deg, #ffffff 0%, #e8eaf6 100%) !important;
    box-shadow: 0 8px 25px rgba(232, 234, 246, 0.4) !important;
}

.badge-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4) !important;
}

.badge-4 {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%) !important;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4) !important;
}

.badge-5 {
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%) !important;
    box-shadow: 0 8px 25px rgba(49, 40, 126, 0.4) !important;
}

.badge-6 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4) !important;
}

/* ============================================
   Management Cards
   ============================================ */
.management-area {
    background: linear-gradient(180deg, #f0f9f6 0%, #e6fff2 100%) !important;
}

.management-card {
    border: none !important;
    border-radius: 25px !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08) !important;
}

.management-card::after {
    background: linear-gradient(90deg, #31287e, #ffffff) !important;
}

.management-card:hover {
    box-shadow: 0 30px 70px rgba(49, 40, 126, 0.2) !important;
}

.designation {
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%) !important;
    box-shadow: 0 8px 25px rgba(49, 40, 126, 0.4) !important;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-area {
    background: linear-gradient(135deg, #31287e 0%, #1a1556 100%) !important;
}

.testimonials-area .section-title span,
.testimonials-area .section-title h2 {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.feedback-item {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px !important;
}

.feedback-content p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
}

.feedback-info h3 {
    color: #ffffff !important;
}

.feedback-info span {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ============================================
   Enquiry Form Section
   ============================================ */
.quote-area.bg-item {
    position: relative;
}

.quote-area.bg-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(49, 40, 126, 0.85) 0%, rgba(49, 40, 126, 0.75) 100%);
    z-index: 1;
}

.quote-area .container {
    position: relative;
    z-index: 2;
}

.quote-item.item-two {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.quote-item .content span {
    color: #ffffff !important;
}

.quote-item .content h3 {
    color: #fff !important;
}

.quote-item form .form-group .form-control {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
}

.quote-item form .form-group .form-control:focus {
    border-color: #ffffff !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3) !important;
}

/* ============================================
   Gallery Section
   ============================================ */
.partner-area {
    background: linear-gradient(180deg, #ffffff 0%, #f8fffe 100%) !important;
}

.partner-item img {
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.4s ease !important;
}

.partner-item img:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 20px 50px rgba(49, 40, 126, 0.3) !important;
}

/* ============================================
   Footer - Premium Style
   ============================================ */
.footer-area {
    background: linear-gradient(135deg, #31287e 0%, #1a1556 100%) !important;
    position: relative;
}

.footer-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #31287e, #ffffff, #5b50d6, #4facfe, #31287e);
    background-size: 200% auto;
    animation: gradientMove 3s linear infinite;
}

.single-footer-widget .footer-contact-info li a:hover,
.single-footer-widget .footer-quick-links li a:hover,
.single-footer-widget .footer-social li a:hover {
    color: #ffffff !important;
}

.single-footer-widget .footer-social li a:hover {
    background: linear-gradient(135deg, #ffffff 0%, #e8eaf6 100%) !important;
    color: #31287e !important;
}

.copy-right-area {
    background: rgba(0, 0, 0, 0.2) !important;
}

/* ============================================
   Go Top Button
   ============================================ */
.go-top {
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%) !important;
    box-shadow: 0 8px 25px rgba(49, 40, 126, 0.4) !important;
}

.go-top:hover {
    background: linear-gradient(135deg, #ffffff 0%, #e8eaf6 100%) !important;
    color: #31287e !important;
    transform: translateY(-5px);
}

/* ============================================
   Fixed Right Buttons
   ============================================ */
.buttonbar {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
}

.buttonbar:hover {
    transform: translateX(-5px) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
}

/* ============================================
   Forms Focus
   ============================================ */
.form-control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(49, 40, 126, 0.25) !important;
}

/* ============================================
   Mobile Menu
   ============================================ */
.mean-container .mean-bar {
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%) !important;
}

.mean-container .mean-nav {
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%) !important;
}

/* ============================================
   Owl Carousel Dots
   ============================================ */
.owl-theme .owl-dots .owl-dot span {
    background: rgba(49, 40, 126, 0.3) !important;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%) !important;
}

/* ============================================
   Page Banner
   ============================================ */
.page-banner-area {
    background: linear-gradient(135deg, rgba(49, 40, 126, 0.9) 0%, rgba(49, 40, 126, 0.85) 100%) !important;
}

/* ============================================
   Animation Utilities
   ============================================ */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Animate on hover */
.animate-pulse:hover {
    animation: pulse 0.5s ease;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ============================================
   Inspire List - Eye-catching Style
   ============================================ */
.inspire-list li {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%) !important;
    border-left: 5px solid #31287e !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    color: #333 !important;
    -webkit-text-fill-color: #333 !important;
}

.inspire-list li:hover {
    background: linear-gradient(135deg, #e6fff2 0%, #d4f7e8 100%) !important;
    border-left: 5px solid #ffffff !important;
    box-shadow: 0 12px 35px rgba(49, 40, 126, 0.15) !important;
    color: #333 !important;
    -webkit-text-fill-color: #333 !important;
}

.inspire-list li::before {
    color: #31287e !important;
    -webkit-text-fill-color: #31287e !important;
}

/* ============================================
   Motto Section - On-theme, compact
   ============================================ */
.motto-section {
    position: relative;
    padding: 55px 20px 50px;
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
    overflow: hidden;
    isolation: isolate;
}

.motto-section .motto-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.motto-section .motto-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.45;
}

.motto-section .motto-bg-shape.shape-a {
    width: 280px;
    height: 280px;
    top: -110px;
    left: -100px;
    background: radial-gradient(circle, rgba(49, 40, 126, 0.32), transparent 70%);
}

.motto-section .motto-bg-shape.shape-b {
    width: 320px;
    height: 320px;
    bottom: -130px;
    right: -110px;
    background: radial-gradient(circle, rgba(91, 80, 214, 0.28), transparent 70%);
}

.motto-section .motto-wrap {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.motto-section .section-badge-new {
    margin-bottom: 18px;
}

.motto-section .main-heading.motto-heading {
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.2;
    font-weight: 800;
    color: #1a1556;
    margin: 0 0 18px;
    letter-spacing: 0.2px;
}

.motto-section .main-heading.motto-heading .highlight-text {
    display: inline-block;
    margin-left: 6px;
    background: linear-gradient(120deg, #31287e 0%, #5b50d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.motto-section .motto-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0 auto 18px;
}

.motto-section .motto-divider .divider-line {
    display: block;
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(49, 40, 126, 0.55));
    border-radius: 2px;
}

.motto-section .motto-divider .divider-line:last-child {
    background: linear-gradient(90deg, rgba(49, 40, 126, 0.55), transparent);
}

.motto-section .motto-divider .divider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #31287e;
    box-shadow: 0 0 0 4px rgba(49, 40, 126, 0.14);
}

.motto-section .motto-text {
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.8;
    color: #6b6b84;
    max-width: 760px;
    margin: 0 auto;
}

@media (max-width: 575px) {
    .motto-section { padding: 45px 16px 40px; }
    .motto-section .main-heading.motto-heading .highlight-text { display: block; margin-left: 0; margin-top: 2px; }
    .motto-section .motto-divider .divider-line { width: 45px; }
}

/* ============================================
   Why Choose Section - Trendy feature grid
   ============================================ */
.why-choose-section {
    position: relative;
    padding: 80px 20px 90px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f6ff 100%);
    overflow: hidden;
    isolation: isolate;
}

.why-choose-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.why-choose-bg .why-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.45;
}

.why-choose-bg .why-shape-a {
    width: 420px;
    height: 420px;
    top: -160px;
    right: -140px;
    background: radial-gradient(circle, rgba(49, 40, 126, 0.35), transparent 70%);
}

.why-choose-bg .why-shape-b {
    width: 380px;
    height: 380px;
    bottom: -150px;
    left: -130px;
    background: radial-gradient(circle, rgba(91, 80, 214, 0.32), transparent 70%);
}

.why-choose-bg .why-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(49, 40, 126, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(49, 40, 126, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
    opacity: 0.7;
}

.why-choose-section .container { position: relative; z-index: 1; }

.why-choose-section .section-header-new { margin-bottom: 50px; }

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.why-card {
    position: relative;
    background: #ffffff;
    border-radius: 22px;
    padding: 34px 28px 30px;
    border: 1px solid rgba(49, 40, 126, 0.08);
    box-shadow: 0 12px 30px rgba(49, 40, 126, 0.06);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.45s ease,
                border-color 0.45s ease;
    overflow: hidden;
    isolation: isolate;
}

.why-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 1.5px;
    background: linear-gradient(135deg, #31287e, #5b50d6);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
    z-index: 2;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 55px rgba(49, 40, 126, 0.18);
    border-color: transparent;
}

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

.why-card-num {
    position: absolute;
    top: 18px;
    right: 22px;
    font-family: "Catamaran", sans-serif;
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    background: linear-gradient(135deg, rgba(49, 40, 126, 0.14), rgba(91, 80, 214, 0.05));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    pointer-events: none;
    transition: transform 0.5s ease;
}

.why-card:hover .why-card-num {
    transform: scale(1.05);
}

.why-card-icon {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
    transform: rotate(-6deg);
    box-shadow: 0 14px 30px rgba(49, 40, 126, 0.28);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.45s ease;
}

.why-card-icon::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.why-card:hover .why-card-icon {
    transform: rotate(0deg) scale(1.08);
    box-shadow: 0 18px 36px rgba(49, 40, 126, 0.4);
}

.why-card h3 {
    font-family: "Catamaran", sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #1a1556;
    margin: 0 0 12px;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

.why-card p {
    font-family: "Roboto", sans-serif;
    font-size: 14.5px;
    line-height: 1.75;
    color: #6b6b84;
    margin: 0;
}

.why-card-corner {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 80, 214, 0.18), transparent 70%);
    transition: transform 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.why-card:hover .why-card-corner {
    transform: scale(1.4);
}

@media (max-width: 991px) {
    .why-choose-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

@media (max-width: 575px) {
    .why-choose-section { padding: 60px 16px 70px; }
    .why-choose-grid { grid-template-columns: 1fr; gap: 18px; }
    .why-card { padding: 28px 22px 26px; border-radius: 18px; }
    .why-card-num { font-size: 46px; top: 14px; right: 18px; }
    .why-card-icon { width: 56px; height: 56px; font-size: 22px; border-radius: 16px; margin-bottom: 18px; }
    .why-card h3 { font-size: 18px; }
}

/* ============================================
   Beyond Academics - 360° Development (Trendy)
   ============================================ */
.beyond-section {
    position: relative;
    padding: 90px 20px 100px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f7ff 60%, #eef0fb 100%);
    overflow: hidden;
    isolation: isolate;
}

.beyond-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.beyond-bg .beyond-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(95px);
    opacity: 0.5;
}

.beyond-bg .b-shape-a {
    width: 460px;
    height: 460px;
    top: -180px;
    left: -150px;
    background: radial-gradient(circle, rgba(49, 40, 126, 0.4), transparent 70%);
}

.beyond-bg .b-shape-b {
    width: 520px;
    height: 520px;
    bottom: -220px;
    right: -180px;
    background: radial-gradient(circle, rgba(91, 80, 214, 0.35), transparent 70%);
}

.beyond-bg .beyond-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(49, 40, 126, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(49, 40, 126, 0.05) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
    opacity: 0.75;
}

.beyond-bg .beyond-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-6deg);
    font-family: "Catamaran", sans-serif;
    font-size: clamp(220px, 30vw, 460px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -10px;
    background: linear-gradient(135deg, rgba(49, 40, 126, 0.07), rgba(91, 80, 214, 0.04));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    user-select: none;
    pointer-events: none;
    z-index: 0;
}

.beyond-section .container { position: relative; z-index: 1; }
.beyond-section .section-header-new { margin-bottom: 55px; }

.beyond-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    perspective: 1200px;
}

.beyond-card {
    position: relative;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 24px;
    padding: 36px 30px 30px 38px;
    border: 1px solid rgba(49, 40, 126, 0.1);
    box-shadow:
        0 14px 36px rgba(49, 40, 126, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform-style: preserve-3d;
    transition:
        transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.5s ease,
        border-color 0.5s ease;
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
}

.beyond-card::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(49, 40, 126, 0.25), rgba(91, 80, 214, 0.05) 40%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    filter: blur(20px);
}

.beyond-card:hover {
    transform: translateY(-10px) rotateX(3deg);
    box-shadow:
        0 32px 60px rgba(49, 40, 126, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border-color: rgba(49, 40, 126, 0.18);
}

.beyond-card:hover::after { opacity: 1; }

.beyond-card-stripe {
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 14px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, #31287e, #5b50d6);
    transform: scaleY(0.3);
    transform-origin: top;
    transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 0 14px rgba(91, 80, 214, 0.45);
}

.beyond-card:hover .beyond-card-stripe {
    transform: scaleY(1);
}

.beyond-card-num {
    position: absolute;
    top: 18px;
    right: 22px;
    font-family: "Catamaran", sans-serif;
    font-size: 50px;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    background: linear-gradient(135deg, rgba(49, 40, 126, 0.13), rgba(91, 80, 214, 0.04));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    pointer-events: none;
    transition: transform 0.55s ease, color 0.45s ease;
}

.beyond-card:hover .beyond-card-num {
    transform: scale(1.08) rotate(-4deg);
}

.beyond-card-icon {
    position: relative;
    width: 76px;
    height: 76px;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.beyond-card-icon .icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        conic-gradient(from 220deg, #31287e, #5b50d6, #31287e);
    padding: 2px;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    animation: beyondRingSpin 12s linear infinite;
    opacity: 0.65;
    transition: opacity 0.5s ease;
}

.beyond-card-icon::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%);
    box-shadow: 0 14px 28px rgba(49, 40, 126, 0.32);
    transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.5s ease;
}

.beyond-card-icon i {
    position: relative;
    z-index: 1;
    color: #ffffff;
    font-size: 28px;
    transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.beyond-card:hover .beyond-card-icon .icon-ring { opacity: 1; }
.beyond-card:hover .beyond-card-icon::before {
    transform: scale(1.04);
    box-shadow: 0 20px 38px rgba(49, 40, 126, 0.45);
}
.beyond-card:hover .beyond-card-icon i {
    transform: rotate(-8deg) scale(1.08);
}

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

.beyond-card h3 {
    font-family: "Catamaran", sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #1a1556;
    line-height: 1.3;
    margin: 0 0 12px;
    letter-spacing: 0.2px;
}

.beyond-card p {
    font-family: "Roboto", sans-serif;
    font-size: 14.5px;
    line-height: 1.75;
    color: #6b6b84;
    margin: 0 0 22px;
}

.beyond-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Roboto", sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #31287e;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: gap 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.beyond-card-cta i {
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    font-size: 12px;
}

.beyond-card:hover .beyond-card-cta {
    gap: 14px;
    color: #5b50d6;
    border-bottom-color: rgba(91, 80, 214, 0.4);
}

.beyond-card:hover .beyond-card-cta i {
    transform: translateX(4px);
}

/* Per-card icon color variants (each card gets a unique vibrant gradient) */
.beyond-card:nth-child(1) .beyond-card-icon .icon-ring { background: conic-gradient(from 220deg, #ff5e62, #ff9966, #ff5e62); }
.beyond-card:nth-child(1) .beyond-card-icon::before { background: linear-gradient(135deg, #ff5e62 0%, #ff9966 100%); box-shadow: 0 14px 28px rgba(255, 94, 98, 0.4); }
.beyond-card:nth-child(1):hover .beyond-card-icon::before { box-shadow: 0 20px 38px rgba(255, 94, 98, 0.55); }

.beyond-card:nth-child(2) .beyond-card-icon .icon-ring { background: conic-gradient(from 220deg, #e91e63, #ff6ec7, #e91e63); }
.beyond-card:nth-child(2) .beyond-card-icon::before { background: linear-gradient(135deg, #e91e63 0%, #ff6ec7 100%); box-shadow: 0 14px 28px rgba(233, 30, 99, 0.4); }
.beyond-card:nth-child(2):hover .beyond-card-icon::before { box-shadow: 0 20px 38px rgba(233, 30, 99, 0.55); }

.beyond-card:nth-child(3) .beyond-card-icon .icon-ring { background: conic-gradient(from 220deg, #00bcd4, #00e5ff, #00bcd4); }
.beyond-card:nth-child(3) .beyond-card-icon::before { background: linear-gradient(135deg, #00bcd4 0%, #00e5ff 100%); box-shadow: 0 14px 28px rgba(0, 188, 212, 0.4); }
.beyond-card:nth-child(3):hover .beyond-card-icon::before { box-shadow: 0 20px 38px rgba(0, 188, 212, 0.55); }

.beyond-card:nth-child(4) .beyond-card-icon .icon-ring { background: conic-gradient(from 220deg, #7c3aed, #a855f7, #7c3aed); }
.beyond-card:nth-child(4) .beyond-card-icon::before { background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%); box-shadow: 0 14px 28px rgba(124, 58, 237, 0.4); }
.beyond-card:nth-child(4):hover .beyond-card-icon::before { box-shadow: 0 20px 38px rgba(124, 58, 237, 0.55); }

.beyond-card:nth-child(5) .beyond-card-icon .icon-ring { background: conic-gradient(from 220deg, #10b981, #34d399, #10b981); }
.beyond-card:nth-child(5) .beyond-card-icon::before { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); box-shadow: 0 14px 28px rgba(16, 185, 129, 0.4); }
.beyond-card:nth-child(5):hover .beyond-card-icon::before { box-shadow: 0 20px 38px rgba(16, 185, 129, 0.55); }

.beyond-card:nth-child(6) .beyond-card-icon .icon-ring { background: conic-gradient(from 220deg, #f59e0b, #fbbf24, #f59e0b); }
.beyond-card:nth-child(6) .beyond-card-icon::before { background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); box-shadow: 0 14px 28px rgba(245, 158, 11, 0.4); }
.beyond-card:nth-child(6):hover .beyond-card-icon::before { box-shadow: 0 20px 38px rgba(245, 158, 11, 0.55); }

@media (max-width: 991px) {
    .beyond-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .beyond-bg .beyond-watermark { font-size: clamp(180px, 36vw, 360px); }
}

@media (max-width: 575px) {
    .beyond-section { padding: 60px 16px 70px; }
    .beyond-grid { grid-template-columns: 1fr; gap: 18px; }
    .beyond-card { padding: 30px 24px 26px 30px; border-radius: 20px; }
    .beyond-card-num { font-size: 42px; top: 14px; right: 18px; }
    .beyond-card-icon { width: 64px; height: 64px; margin-bottom: 20px; }
    .beyond-card-icon i { font-size: 24px; }
    .beyond-card h3 { font-size: 19px; }
    .beyond-card-cta { font-size: 12.5px; }
}

/* ============================================
   Academic Programs - Journey Layout
   ============================================ */
.programs-section {
    position: relative;
    padding: 90px 20px 100px;
    background: linear-gradient(180deg, #fafbff 0%, #ffffff 50%, #f5f7ff 100%);
    overflow: hidden;
    isolation: isolate;
}

.programs-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.programs-bg .programs-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(95px);
    opacity: 0.4;
}

.programs-bg .p-shape-a {
    width: 480px; height: 480px;
    top: -180px; left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(91, 80, 214, 0.32), transparent 70%);
}

.programs-bg .p-shape-b {
    width: 360px; height: 360px;
    bottom: -150px; right: -120px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.22), transparent 70%);
}

.programs-bg .programs-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(49, 40, 126, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(49, 40, 126, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
    opacity: 0.6;
}

.programs-section .container { position: relative; z-index: 1; }
.programs-section .section-header-new { margin-bottom: 50px; }

.programs-journey {
    position: relative;
}

.programs-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.program-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(49, 40, 126, 0.08);
    box-shadow: 0 14px 38px rgba(49, 40, 126, 0.07);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.5s ease,
                border-color 0.5s ease;
    overflow: hidden;
    isolation: isolate;
}

.program-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--stage-c1), var(--stage-c2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 3;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(49, 40, 126, 0.18);
    border-color: transparent;
}

.program-card:hover::before { transform: scaleX(1); }

.program-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: var(--stage-soft);
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: block;
}

.program-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 50%, rgba(255, 255, 255, 0.95) 100%),
        linear-gradient(135deg, color-mix(in srgb, var(--stage-c1) 18%, transparent), transparent 60%);
    pointer-events: none;
}

.program-card:hover .program-image img {
    transform: scale(1.08);
}

.program-step {
    position: absolute;
    top: 12px;
    right: 16px;
    font-family: "Catamaran", sans-serif;
    font-size: 54px;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    background: linear-gradient(135deg, var(--stage-c1), var(--stage-c2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.65;
    letter-spacing: -2px;
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.6);
}

.program-card:hover .program-step { opacity: 0.95; transform: scale(1.08); }

.program-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 14px 24px 26px;
}

.program-range {
    display: inline-flex;
    align-self: flex-end;
    font-family: "Roboto", sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 30px;
    color: var(--stage-c1);
    background: var(--stage-soft);
    margin: 0 0 14px;
}

.program-icon {
    position: relative;
    width: 64px;
    height: 64px;
    margin: -32px 0 -32px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(49, 40, 126, 0.18);
}

.program-icon .program-ring {
    inset: 4px;
}

.program-icon::before {
    inset: 10px;
}

.program-icon .program-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 180deg, var(--stage-c1), var(--stage-c2), var(--stage-c1));
    padding: 2px;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    animation: programsRingSpin 14s linear infinite;
    opacity: 0.7;
}

.program-icon::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--stage-c1) 0%, var(--stage-c2) 100%);
    box-shadow: 0 14px 28px var(--stage-shadow);
    transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.program-icon i {
    position: relative;
    z-index: 1;
    color: #ffffff;
    font-size: 28px;
    transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.program-card:hover .program-icon::before { transform: scale(1.06); }
.program-card:hover .program-icon i { transform: rotate(-8deg) scale(1.08); }

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

.program-card h3 {
    font-family: "Catamaran", sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #1a1556;
    line-height: 1.25;
    margin: 0 0 12px;
    letter-spacing: 0.2px;
}

.program-card p {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #6b6b84;
    margin: 0 0 18px;
}

.program-tags {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.program-tags li {
    font-family: "Roboto", sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    color: #4a4a5e;
    padding: 5px 11px;
    background: rgba(49, 40, 126, 0.06);
    border-radius: 30px;
    border: 1px solid rgba(49, 40, 126, 0.1);
    transition: all 0.35s ease;
}

.program-card:hover .program-tags li {
    color: var(--stage-c1);
    background: var(--stage-soft);
    border-color: transparent;
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--stage-c1) !important;
    -webkit-text-fill-color: var(--stage-c1) !important;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: gap 0.4s ease, border-color 0.4s ease;
}

.program-link i { font-size: 11px; transition: transform 0.4s ease; }

.program-card:hover .program-link {
    gap: 14px;
    border-bottom-color: var(--stage-c1);
}
.program-card:hover .program-link i { transform: translateX(4px); }

/* Per-stage color variables */
.program-card.stage-1 {
    --stage-c1: #10b981;
    --stage-c2: #34d399;
    --stage-soft: rgba(16, 185, 129, 0.1);
    --stage-shadow: rgba(16, 185, 129, 0.35);
}
.program-card.stage-2 {
    --stage-c1: #3b82f6;
    --stage-c2: #60a5fa;
    --stage-soft: rgba(59, 130, 246, 0.1);
    --stage-shadow: rgba(59, 130, 246, 0.35);
}
.program-card.stage-3 {
    --stage-c1: #8b5cf6;
    --stage-c2: #a78bfa;
    --stage-soft: rgba(139, 92, 246, 0.1);
    --stage-shadow: rgba(139, 92, 246, 0.38);
}
.program-card.stage-4 {
    --stage-c1: #f59e0b;
    --stage-c2: #fbbf24;
    --stage-soft: rgba(245, 158, 11, 0.12);
    --stage-shadow: rgba(245, 158, 11, 0.38);
}

@media (max-width: 1199px) {
    .programs-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 575px) {
    .programs-section { padding: 60px 16px 70px; }
    .programs-grid { grid-template-columns: 1fr; gap: 22px; }
    .program-card { border-radius: 18px; }
    .program-step { font-size: 46px; top: 10px; right: 14px; }
    .program-icon { width: 58px; height: 58px; margin: -29px 0 -29px 18px; }
    .program-icon i { font-size: 22px; }
    .program-body { padding: 14px 20px 22px; }
    .program-card h3 { font-size: 19px; }
}

/* ============================================
   Testimonials - Split Layout (Trendy)
   ============================================ */
.testi-section {
    position: relative;
    padding: 90px 20px 100px;
    background: linear-gradient(180deg, #f5f6ff 0%, #ffffff 50%, #eef0fb 100%);
    overflow: hidden;
    isolation: isolate;
    color: #1a1556;
}

.testi-section .testi-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.testi-section .testi-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.testi-section .t-shape-a {
    width: 480px; height: 480px;
    top: -180px; right: -150px;
    background: radial-gradient(circle, rgba(91, 80, 214, 0.3), transparent 70%);
}

.testi-section .t-shape-b {
    width: 420px; height: 420px;
    bottom: -180px; left: -130px;
    background: radial-gradient(circle, rgba(49, 40, 126, 0.28), transparent 70%);
}

.testi-section .testi-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(49, 40, 126, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(49, 40, 126, 0.045) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
    opacity: 0.7;
}

.testi-section .container { position: relative; z-index: 1; }

.testi-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: center;
}

/* Left Intro Column */
.testi-intro {
    position: relative;
    color: #1a1556;
}

.testi-intro .section-badge-new {
    margin-bottom: 24px;
}

.testi-heading {
    font-family: "Catamaran", sans-serif;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    color: #1a1556;
    margin: 0 0 20px;
    letter-spacing: 0.2px;
}

.testi-heading .highlight-text {
    display: inline-block;
    background: linear-gradient(120deg, #31287e 0%, #5b50d6 50%, #31287e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    background-size: 200% 100%;
    animation: testiShine 6s ease-in-out infinite;
}

@keyframes testiShine {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.testi-lede {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #6b6b84;
    max-width: 440px;
    margin: 0 0 32px;
}

.testi-rating-strip {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 14px 22px;
    background: #ffffff;
    border: 1px solid rgba(49, 40, 126, 0.12);
    border-radius: 50px;
    box-shadow: 0 14px 30px rgba(49, 40, 126, 0.1);
}

.testi-stars {
    display: inline-flex;
    gap: 4px;
    color: #f59e0b;
    font-size: 16px;
}

.testi-rating-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    font-family: "Roboto", sans-serif;
}

.testi-rating-meta strong {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #1a1556;
}

.testi-rating-meta span {
    font-size: 12px;
    color: #6b6b84;
}

.testi-watermark {
    position: absolute;
    bottom: -50px;
    left: -10px;
    font-family: "Catamaran", "Georgia", serif;
    font-size: 280px;
    line-height: 0.6;
    color: transparent;
    background: linear-gradient(135deg, rgba(49, 40, 126, 0.09), rgba(91, 80, 214, 0.03));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    user-select: none;
    pointer-events: none;
    z-index: -1;
}

/* Right Slider Column */
.testi-slider {
    position: relative;
}

.testi-slider-track {
    position: relative;
    display: grid;
}

.testi-card {
    grid-area: 1 / 1;
    position: relative;
    background: #ffffff;
    border-radius: 22px;
    padding: 32px 36px 30px;
    border: 1px solid rgba(49, 40, 126, 0.1);
    box-shadow: 0 22px 50px rgba(49, 40, 126, 0.14);
    overflow: hidden;
    isolation: isolate;
    opacity: 0;
    transform: translateY(20px) scale(0.97);
    pointer-events: none;
    visibility: hidden;
    transition:
        opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
        visibility 0s linear 0.6s;
}

.testi-card.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s, 0s, 0s;
}

.testi-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #31287e, #5b50d6);
    border-radius: 4px 0 0 4px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s;
}

.testi-card.is-active::before { transform: scaleY(1); }

.testi-glyph {
    position: absolute;
    top: -12px;
    right: 24px;
    font-family: "Catamaran", "Georgia", serif;
    font-size: 160px;
    line-height: 0.6;
    color: transparent;
    background: linear-gradient(135deg, rgba(49, 40, 126, 0.14), rgba(91, 80, 214, 0.04));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* Controls */
.testi-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 26px;
}

.testi-nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(49, 40, 126, 0.18);
    background: #ffffff;
    color: #31287e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(49, 40, 126, 0.1);
    transition:
        transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
        background 0.35s ease,
        color 0.35s ease,
        box-shadow 0.35s ease;
}

.testi-nav:hover {
    background: linear-gradient(135deg, #31287e, #5b50d6);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(49, 40, 126, 0.3);
    border-color: transparent;
}

.testi-dots {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.testi-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(49, 40, 126, 0.22);
    padding: 0;
    cursor: pointer;
    transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
                background 0.4s ease,
                transform 0.4s ease;
}

.testi-dot:hover { background: rgba(49, 40, 126, 0.45); }

.testi-dot.is-active {
    width: 30px;
    border-radius: 30px;
    background: linear-gradient(135deg, #31287e, #5b50d6);
    box-shadow: 0 6px 14px rgba(49, 40, 126, 0.35);
}

.testi-card-stars {
    position: relative;
    z-index: 1;
    display: inline-flex;
    gap: 3px;
    color: #ffd166;
    font-size: 14px;
    margin-bottom: 14px;
}

.testi-quote {
    position: relative;
    z-index: 1;
    font-family: "Roboto", "Georgia", serif;
    font-size: 16px;
    line-height: 1.8;
    color: #2f2f44;
    margin: 0 0 24px;
    font-style: italic;
}

.testi-person {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px dashed rgba(49, 40, 126, 0.18);
}

.testi-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%);
    color: #ffffff;
    font-family: "Catamaran", sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 24px rgba(49, 40, 126, 0.35);
    flex-shrink: 0;
    position: relative;
}

.testi-avatar::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(91, 80, 214, 0.3);
    transition: transform 0.5s ease;
}

.testi-card:hover .testi-avatar::after {
    transform: scale(1.15) rotate(15deg);
}

.testi-person-info { display: flex; flex-direction: column; line-height: 1.3; }

.testi-person-info h4 {
    font-family: "Catamaran", sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #1a1556;
    margin: 0;
    letter-spacing: 0.2px;
}

.testi-person-info span {
    font-family: "Roboto", sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #6b6b84;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-top: 2px;
}

@media (max-width: 991px) {
    .testi-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .testi-intro .testi-rating-strip { margin-left: auto; margin-right: auto; }
    .testi-intro .section-badge-new { margin-left: auto; margin-right: auto; }
    .testi-lede { margin-left: auto; margin-right: auto; }
    .testi-watermark { display: none; }
    .testi-quote { text-align: left; }
    .testi-person { text-align: left; }
}

@media (max-width: 575px) {
    .testi-section { padding: 60px 16px 70px; }
    .testi-card { padding: 26px 22px 22px; border-radius: 18px; }
    .testi-glyph { font-size: 120px; top: -8px; right: 18px; }
    .testi-quote { font-size: 15px; line-height: 1.75; }
    .testi-nav { width: 38px; height: 38px; }
}

/* ============================================
   School Memories - Dual Marquee (Classy)
   ============================================ */
.memories-section {
    position: relative;
    padding: 80px 0 90px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f7ff 60%, #eef0fb 100%);
    overflow: hidden;
    isolation: isolate;
}

.memories-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.memories-bg .memories-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(95px);
    opacity: 0.45;
}

.memories-bg .m-shape-a {
    width: 480px; height: 480px;
    top: -180px; left: -150px;
    background: radial-gradient(circle, rgba(49, 40, 126, 0.32), transparent 70%);
}

.memories-bg .m-shape-b {
    width: 420px; height: 420px;
    bottom: -160px; right: -130px;
    background: radial-gradient(circle, rgba(91, 80, 214, 0.28), transparent 70%);
}

.memories-bg .memories-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(49, 40, 126, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(49, 40, 126, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
    opacity: 0.55;
}

.memories-section .container { position: relative; z-index: 1; }
.memories-section .section-header-new { margin-bottom: 50px; }

.memories-marquee {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.memories-row {
    overflow: hidden;
    width: 100%;
    padding: 8px 0;
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.memories-track {
    display: flex;
    gap: 22px;
    width: max-content;
    will-change: transform;
}

.memories-row-left .memories-track {
    animation: memoriesScrollLeft 45s linear infinite;
}

.memories-row-right .memories-track {
    animation: memoriesScrollRight 50s linear infinite;
}

.memories-row:hover .memories-track {
    animation-play-state: paused;
}

@keyframes memoriesScrollLeft {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

@keyframes memoriesScrollRight {
    from { transform: translate3d(-50%, 0, 0); }
    to   { transform: translate3d(0, 0, 0); }
}

.memory-card {
    position: relative;
    flex: 0 0 auto;
    width: 320px;
    height: 220px;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(49, 40, 126, 0.13);
    border: 1px solid rgba(49, 40, 126, 0.08);
    transition:
        transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.5s ease,
        border-color 0.4s ease;
    cursor: zoom-in;
}

.memory-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
                filter 0.5s ease;
    filter: saturate(0.95);
}

.memory-card-shine {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, transparent 40%),
        linear-gradient(180deg, transparent 60%, rgba(49, 40, 126, 0.35) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.memory-card:hover {
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 28px 60px rgba(49, 40, 126, 0.28);
    border-color: rgba(49, 40, 126, 0.2);
    z-index: 2;
}

.memory-card:hover img {
    transform: scale(1.08);
    filter: saturate(1.1);
}

.memory-card:hover .memory-card-shine { opacity: 1; }

/* Edge fades for cinematic feel */
.memories-fade {
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    pointer-events: none;
    z-index: 3;
}

.memories-fade-left {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 50%, transparent 100%);
}

.memories-fade-right {
    right: 0;
    background: linear-gradient(270deg, #eef0fb 0%, rgba(238, 240, 251, 0.85) 50%, transparent 100%);
}

@media (max-width: 991px) {
    .memory-card { width: 260px; height: 190px; border-radius: 16px; }
    .memories-track { gap: 18px; }
    .memories-marquee { gap: 18px; }
    .memories-fade { width: 80px; }
}

@media (max-width: 575px) {
    .memories-section { padding: 60px 0 70px; }
    .memory-card { width: 220px; height: 160px; border-radius: 14px; }
    .memories-track { gap: 14px; }
    .memories-row-left .memories-track  { animation-duration: 32s; }
    .memories-row-right .memories-track { animation-duration: 36s; }
    .memories-fade { width: 50px; }
}

@media (prefers-reduced-motion: reduce) {
    .memories-row-left .memories-track,
    .memories-row-right .memories-track { animation: none; }
}
