/* =========================================
   Base & Typography
   ========================================= */
:root {
    --primary-color: #009239;
    --secondary-color: #f0f4f8;
    --accent-color: #165cc1;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --top-header-bg: #0287ca;
}

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

/* =========================================
   Global Button Enhancements
   ========================================= */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #08337a 100%) !important;
    border: none !important;
    padding: 12px 35px;
    border-radius: 50px !important;
    font-weight: 700 !important;
    color: white !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(12, 76, 163, 0.2) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(12, 76, 163, 0.4) !important;
    background: linear-gradient(135deg, #08337a 0%, var(--primary-color) 100%) !important;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    padding: 12px 35px;
    background: transparent !important;
    transition: all 0.4s ease !important;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, #08337a 100%) !important;
    color: white !important;
    border-color: transparent !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(12, 76, 163, 0.2) !important;
}

.btn-hover-effect {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-hover-effect:hover {
    transform: translateY(-5px);
}

/* =========================================
   Top Header Styling
   ========================================= */
.top-header {
    background-color: var(--top-header-bg);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-header .social-icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-left: 10px;
    text-decoration: none;
}

.top-header .social-icon:hover {
    background: white;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}


.text-warning {
    color: var(--accent-color) !important;
}

/* Logo styling */
.site-logo {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(12, 76, 163, 0.18);
    display: block;
    object-fit: contain;

    .top-header .social-icon {
        width: 30px;
        height: 30px;
        background: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
        border: 1px solid rgba(255, 255, 255, 0.16);
        box-shadow: none;
    }

    .top-header .social-icon i {
        color: inherit;
    }

    .top-header .social-icon:hover {
        background: white !important;
        color: var(--primary-color) !important;
        border-color: white;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    }

    .top-header .social-icon:hover i {
        color: var(--primary-color) !important;
    }

    background: rgba(255, 255, 255, 0.92);
    padding: 6px 10px;
}

/* =========================================
   Premium Navbar Styling (Upgraded)
   ========================================= */
.main-navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.navbar-scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 15px 40px rgba(12, 76, 163, 0.08) !important;
}

.nav-link {
    color: #333 !important;
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    padding: 10px 20px !important;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateX(-50%);
    border-radius: 10px;
}

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

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Dropdown Hover Logic for Desktop */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .mega-dropdown {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    .mega-dropdown {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        width: 600px !important;
        left: -150px !important;
        border: none !important;
        border-radius: 24px !important;
        padding: 25px !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12) !important;
        margin-top: 0 !important;
    }
}

.dropdown-toggle::after {
    display: none !important;
}

.top-auth a {
    transition: all 0.3s ease;
}

.hover-opacity:hover {
    opacity: 0.8;
}

.mega-dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.mega-menu-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 18px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    border: 1px solid transparent;
}

.mega-menu-item:hover {
    background: #f8faff;
    border-color: rgba(12, 76, 163, 0.1);
    transform: translateY(-3px);
}

.mega-menu-icon {
    width: 45px;
    height: 45px;
    background: rgba(12, 76, 163, 0.08);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.mega-menu-item:hover .mega-menu-icon {
    background: var(--primary-color);
    color: white;
    transform: rotate(10deg);
}

.mega-menu-content h6 {
    margin-bottom: 3px;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 0.9rem;
}

.mega-menu-content p {
    margin-bottom: 0;
    font-size: 0.75rem;
    color: #777;
    line-height: 1.3;
}

/* Navbar Buttons */
.btn-enroll-nav {
    background: linear-gradient(135deg, var(--primary-color) 0%, #08337a 100%);
    border: none;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    color: white !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(12, 76, 163, 0.15);
    transition: all 0.4s ease;
}

.btn-enroll-nav:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(12, 76, 163, 0.25);
}

/* =========================================
   Hero Section Specific Styling (Upgraded)
   ========================================= */
.hero-section {
    min-height: calc(100vh - 130px);
    background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
    position: relative;
    padding: 60px 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3c72 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-title {
    line-height: 1.15;
    letter-spacing: -2px;
}

.hero-stats h4 {
    font-size: 1.6rem;
    color: var(--primary-color) !important;
}

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

.hero-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(2, 135, 202, 0.12) !important;
}

.hero-stat-icon {
    width: 46px;
    height: 46px;
    background: rgba(2, 135, 202, 0.1);
    color: var(--primary-color);
    flex-shrink: 0;
}

.hero-stat-icon i {
    font-size: 1rem;
}

.hero-content-swiper {
    width: 100%;
}

.hero-content-swiper .swiper-slide {
    opacity: 0 !important;
    visibility: hidden;
    height: auto;
}

.hero-content-swiper .swiper-slide-active {
    opacity: 1 !important;
    visibility: visible;
}

.hero-content-pagination {
    position: relative;
    bottom: 0;
    margin-top: 18px;
    text-align: left;
}

.hero-content-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    opacity: 0.25;
    transition: all 0.3s ease;
}

.hero-content-pagination .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 999px;
    opacity: 1;
}

.hero-content-swiper .gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3c72 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Floating Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

@keyframes float-reverse {
    0% {
        transform: translateY(0px);
    }

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

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

.floating-badge {
    position: absolute;
    z-index: 10;
    min-width: 190px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.floating-badge:hover {
    transform: scale(1.05) !important;
    z-index: 11;
}

.badge-1 {
    top: 15%;
    left: -12%;
    animation: float 4s ease-in-out infinite;
}

.badge-2 {
    bottom: 15%;
    right: -8%;
    animation: float-reverse 5s ease-in-out infinite;
}

.hero-main-img-container {
    position: relative;
    z-index: 5;
}

.main-hero-img {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 12px solid white;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1) !important;
}

.main-hero-img:hover {
    transform: rotate(1deg) scale(1.02);
}

.hero-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(12, 76, 163, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.x-small {
    font-size: 0.7rem;
    color: #888;
}

/* =========================================
   Stats Section
   ========================================= */
.stats-overlap {
    margin-top: -70px;
    z-index: 30;
}

.stat-item {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 1.5rem 0;
}

.stat-item:hover {
    transform: translateY(-15px) scale(1.05);
}

.stat-item h2,
.counter {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a5fa3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
}

.stat-item p {
    color: #4a5f7f !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
}

.icon-box-lg {
    width: 75px;
    height: 75px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, rgba(2, 135, 202, 0.1) 0%, rgba(2, 135, 202, 0.05) 100%) !important;
    border: 2px solid #e8eef5;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(2, 135, 202, 0.12) !important;
}

.icon-box-lg i {
    color: var(--primary-color) !important;
    font-size: 1.75rem !important;
}

.stat-item:hover .icon-box-lg {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a5fa3 100%) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 15px 40px rgba(2, 135, 202, 0.3) !important;
}

.stat-item:hover .icon-box-lg i {
    color: white !important;
    transform: scale(1.1);
}

/* =========================================
   About Section
   ========================================= */
.about-section {
    background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.about-main-img {
    transition: all 0.5s ease;
}

.about-floating-img {
    width: 280px;
    bottom: -40px;
    right: -20px;
    z-index: 10;
    animation: float 5s infinite ease-in-out;
}

.experience-badge {
    width: 130px;
    height: 130px;
    background: var(--primary-color) !important;
    z-index: 15;
}

.feature-list-icon {
    width: 25px;
    height: 25px;
    background: rgba(2, 135, 202, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-right: 15px;
    flex-shrink: 0;
}

/* =========================================
   Why Choose Us Section
   ========================================= */
.why-choose-section {
    background: linear-gradient(135deg, #08337a 0%, #0c4ca3 100%);
    padding: 100px 0;
}

.text-light-blue {
    color: #60a5fa !important;
    font-weight: 700 !important;
}

.feature-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 135, 202, 0.15) 0%, rgba(2, 135, 202, 0.08) 100%);
    transition: left 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 0;
}

.feature-card h5 {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.85) !important;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    line-height: 1.6;
    font-weight: 500;
}

.feature-card:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f9fbfe 100%) !important;
    transform: translateY(-18px) scale(1.02);
    box-shadow: 0 35px 70px rgba(2, 135, 202, 0.25) !important;
    border-color: rgba(2, 135, 202, 0.3) !important;
}

.feature-card:hover::before {
    left: 0;
}

.feature-card:hover h5 {
    color: #0c4ca3 !important;
    transform: scale(1.05);
}

.feature-card:hover p {
    color: #4a5f7f !important;
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.feature-icon-wrapper i {
    color: white !important;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a5fa3 100%) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
    transform: scale(1.25) rotate(10deg);
    box-shadow: 0 12px 30px rgba(2, 135, 202, 0.4) !important;
}

.feature-card:hover .feature-icon-wrapper i {
    color: white !important;
    transform: scale(1.15);
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 40px 0;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem !important;
        letter-spacing: -1px !important;
    }

    .floating-badge {
        display: none !important;
    }

    .main-hero-img {
        border-width: 6px !important;
        margin-top: 30px;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .stats-overlap {
        margin-top: 0;
    }

    .about-floating-img {
        display: none;
    }
}


/* =========================================
   Stats Section Styling
   ========================================= */
.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.icon-box-lg {
    width: 60px;
    height: 60px;
    transition: all 0.3s ease;
}

.stat-item:hover .icon-box-lg {
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 767.98px) {
    .stats-section .bg-white {
        padding: 20px !important;
    }

    .stats-section .border-end-md {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding-bottom: 20px;
    }

    .stats-section .col-6:last-child,
    .stats-section .col-6:nth-last-child(2) {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* =========================================
   About Section Styling
   ========================================= */
.about-img-float {
    z-index: 2;
    transition: transform 0.4s ease;
}

.about-image-wrapper:hover .about-img-float {
    transform: translateY(-10px) scale(1.02);
}

.experience-badge {
    z-index: 3;
    animation: pulseBadge 3s infinite alternate;
}

@keyframes pulseBadge {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 86, 179, 0.4);
    }

    100% {
        box-shadow: 0 0 0 15px rgba(0, 86, 179, 0);
    }
}

@media (max-width: 991.98px) {
    .about-section {
        padding-top: 2rem !important;
    }

    .experience-badge {
        width: 100px !important;
        height: 100px !important;
    }

    .experience-badge .fs-2 {
        font-size: 1.5rem !important;
    }

    .experience-badge .small {
        font-size: 0.65rem !important;
    }
}

/* =========================================
   Mobile Navbar Optimization
   ========================================= */
@media (max-width: 991.98px) {
    .main-navbar {
        padding: 10px 0;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(10px);
    }

    .navbar-collapse {
        background: white;
        margin-top: 15px;
        padding: 20px;
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-link {
        padding: 12px 15px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .nav-link::after {
        display: none;
    }

    /* Mega Menu on Mobile */
    .mega-dropdown {
        width: 100% !important;
        left: 0 !important;
        position: static !important;
        box-shadow: none !important;
        padding: 15px !important;
        background: #f8fbff !important;
        backdrop-filter: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        border-radius: 15px !important;
        margin-top: 10px !important;
    }

    .mega-dropdown-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mega-menu-item {
        padding: 12px;
        background: white;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    /* Toggler Styling */
    .navbar-toggler {
        padding: 8px;
        border-radius: 10px;
        background: rgba(12, 76, 163, 0.05);
        transition: all 0.3s ease;
    }

    .navbar-toggler:focus {
        box-shadow: none;
        background: rgba(12, 76, 163, 0.1);
    }
}

/* =========================================
   Utility & Extracted Inline Styles
   ========================================= */
.z-index-2 {
    z-index: 2;
}

.z-index-3 {
    z-index: 3;
}

.z-index-10 {
    z-index: 10;
}

.z-index-20 {
    z-index: 20;
}

.icon-box-sm {
    width: 28px;
    height: 28px;
}

.icon-box-md {
    width: 45px;
    height: 45px;
}

.hero-main-img {
    object-fit: cover;
    max-height: 550px;
}

.stats-overlap {
    margin-top: -50px;
}

.about-main-img {
    object-fit: cover;
    height: 450px;
}

.about-floating-img {
    width: 250px;
    bottom: -30px;
    right: 0;
}

.badge-120 {
    width: 120px;
    height: 120px;
}

/* =========================================
   Services Section Styling
   ========================================= */
.services-section {
    background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #e8eef5;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 135, 202, 0.08) 0%, rgba(2, 135, 202, 0.04) 100%);
    transition: left 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 0;
}

.service-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a5fa3 100%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.service-icon-box {
    width: 75px;
    height: 75px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a5fa3 100%) !important;
    color: white !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(2, 135, 202, 0.25) !important;
    position: relative;
    z-index: 2;
}

.service-card h4,
.service-title {
    color: #0c4ca3 !important;
    font-weight: 700 !important;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    font-size: 1.1rem !important;
}

.service-text {
    color: #4a5f7f !important;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    font-weight: 500;
    line-height: 1.6;
}

/* Hover Effects */
.service-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(2, 135, 202, 0.2) !important;
    border-color: #0287ca !important;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover .service-gradient-bg {
    opacity: 1;
    z-index: 1;
}

.service-card:hover .service-title,
.service-card:hover h4 {
    color: #ffffff !important;
    transform: scale(1.05);
}

.service-card:hover .service-text {
    color: rgba(255, 255, 255, 0.95) !important;
}

.service-card:hover .service-icon-box {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 15px 35px rgba(2, 135, 202, 0.4) !important;
}

.service-card i {
    color: white;
    position: relative;
    z-index: 2;
}

/* =========================================
   Courses Section Styling
   ========================================= */
.courses-section {
    background: linear-gradient(135deg, #fafbff 0%, #f5f8ff 100%);
}

.course-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #e8eef5 !important;
    background: linear-gradient(135deg, #ffffff 0%, #f9fbfe 100%) !important;
}

.course-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(2, 135, 202, 0.18) !important;
    border-color: #0287ca !important;
}

.course-card p-4.p-md-5 {
    background: linear-gradient(135deg, rgba(2, 135, 202, 0.08) 0%, rgba(2, 135, 202, 0.04) 100%) !important;
}

.course-card h4 {
    color: #0c4ca3 !important;
    font-size: 1.3rem;
}

.course-card h3 {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a5fa3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700 !important;
}

.course-card .badge.bg-primary.text-white {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a5fa3 100%) !important;
    box-shadow: 0 4px 15px rgba(2, 135, 202, 0.3) !important;
    font-weight: 600;
}

.course-card .badge.bg-primary.text-white:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(2, 135, 202, 0.4) !important;
}

.course-card h6 {
    color: #0c4ca3 !important;
    font-weight: 700;
}

.course-card h6 i {
    color: var(--primary-color) !important;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    color: #4a5f7f;
    font-weight: 500;
}

.feature-list li i {
    margin-top: 4px;
    color: var(--primary-color) !important;
    margin-right: 6px;
}

.feature-list li:hover {
    color: #0c4ca3 !important;
}

.course-card .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a5fa3 100%);
    border: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.course-card .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(2, 135, 202, 0.4) !important;
    background: linear-gradient(135deg, #0a5fa3 0%, var(--primary-color) 100%);
}

/* =========================================
   CTA Section Styling
   ========================================= */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.cta-shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    top: -100px;
    left: -100px;
}

.cta-shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    bottom: -150px;
    right: -100px;
}

.cta-section .btn-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
}

/* =========================================
   Why Choose Us Section Styling
   ========================================= */
.why-choose-section {
    background: linear-gradient(135deg, #0a1128 0%, #16284f 100%);
}

.text-light-blue {
    color: #60a5fa !important;
}

.feature-card {
    transition: all 0.3s ease;
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(12, 76, 163, 0.08) !important;
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    transform: scale(1.1);
}

/* =========================================
   Testimonials Section Styling
   ========================================= */
.testimonials-section {
    background: linear-gradient(135deg, #f4f8ff 0%, #eef3fb 100%);
}

.testimonial-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #e8eef5 !important;
    background: linear-gradient(135deg, #ffffff 0%, #f9fbfe 100%) !important;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(2, 135, 202, 0.15) !important;
    border-color: #0287ca !important;
}

.testimonial-card .avatar-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a5fa3 100%) !important;
    box-shadow: 0 8px 20px rgba(2, 135, 202, 0.3) !important;
    min-width: 55px;
}

.testimonial-card .avatar-box:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(2, 135, 202, 0.4) !important;
}

.testimonial-card h5 {
    color: #0c4ca3 !important;
    font-size: 1.1rem;
}

.testimonial-card .badge {
    background-color: rgba(2, 135, 202, 0.12) !important;
    color: #0c4ca3 !important;
    font-weight: 600;
    border: 1px solid rgba(2, 135, 202, 0.25) !important;
    padding: 0.4rem 0.8rem !important;
}

.testimonial-card .badge:hover {
    background-color: rgba(2, 135, 202, 0.18) !important;
}

.testimonial-card .stars {
    color: #0287ca !important;
}

.testimonial-card .stars i {
    animation: starTwinkle 0.6s ease-in-out;
}

@keyframes starTwinkle {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.testimonial-card p {
    color: #4a5f7f !important;
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
}

.testimonial-card i.fa-quote-right {
    color: #0287ca !important;
    opacity: 0.08 !important;
}

/* Swiper custom styles */
.testimonials-swiper {
    padding-bottom: 60px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #cad5e8;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

/* =========================================
   Final CTA Section Styling
   ========================================= */
.final-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #083a7e 100%);
    padding: 100px 0 !important;
}

.cta-overlay-pattern {
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    z-index: 1;
}

.final-cta-section h2 {
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.final-cta-section .btn-light {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.final-cta-section .btn-light:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

.final-cta-section .btn-outline-light {
    border-width: 2px;
    transition: all 0.3s ease;
}

.final-cta-section .btn-outline-light:hover {
    background-color: white !important;
    color: var(--primary-color) !important;
    transform: translateY(-5px);
}

.pulse-icon {
    display: inline-block;
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

/* =========================================
   Registration Section Styling
   ========================================= */
.registration-section {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0fc 100%);
}

.registration-section .icon-box-sm {
    width: 50px !important;
    height: 50px !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
}

.registration-section .icon-box-sm i {
    font-size: 1.5rem !important;
}

.registration-section .registration-features .d-flex:hover .icon-box-sm {
    transform: scale(1.15) rotate(-10deg);
    box-shadow: 0 12px 25px rgba(2, 135, 202, 0.2) !important;
}

.registration-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(2, 135, 202, 0.1) !important;
}

.registration-card:hover {
    box-shadow: 0 30px 60px rgba(2, 135, 202, 0.15) !important;
    transform: translateY(-8px);
}

.registration-card h3 {
    color: #0c4ca3 !important;
}

.registration-form .form-control,
.registration-form .form-select {
    border: 2px solid rgba(2, 135, 202, 0.1) !important;
    transition: all 0.4s ease;
}

.registration-form .form-control:focus,
.registration-form .form-select:focus {
    background-color: white !important;
    box-shadow: 0 12px 30px rgba(2, 135, 202, 0.15) !important;
    border: 2px solid var(--primary-color) !important;
    outline: 0;
}

.registration-form .form-label {
    color: #4a5f7f !important;
    font-weight: 600 !important;
}

.registration-form .input-group-text {
    background: linear-gradient(135deg, rgba(2, 135, 202, 0.05) 0%, rgba(2, 135, 202, 0.02) 100%) !important;
    border: 2px solid rgba(2, 135, 202, 0.1) !important;
}

.registration-form .input-group-text i {
    color: var(--primary-color) !important;
}

.benefit-icon {
    flex-shrink: 0;
    font-size: 1.1rem;
}

.registration-alert {
    animation: fadeInUp 0.8s ease-out;
    background: linear-gradient(135deg, #ffffff 0%, #f9fbfe 100%) !important;
    border-left: 4px solid var(--primary-color) !important;
    box-shadow: 0 8px 20px rgba(2, 135, 202, 0.1) !important;
}

.registration-alert .pulse-icon {
    animation: iconPulse 2s infinite;
}

.registration-section .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a5fa3 100%) !important;
    border: none !important;
    box-shadow: 0 12px 30px rgba(2, 135, 202, 0.2) !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.registration-section .btn-primary:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 20px 45px rgba(2, 135, 202, 0.3) !important;
}

/* =========================================
   FAQ Section Styling
   ========================================= */
.faq-section .accordion-item {
    border: none;
    margin-bottom: 1rem;
}

.faq-section .accordion-button {
    background-color: #f8faff;
    color: var(--text-dark);
    border: none;
    box-shadow: none !important;
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
    cursor: pointer !important;
}

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

.faq-section .accordion-button::after {
    background-size: 1rem;
    transition: transform 0.3s ease;
}

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

.faq-img-wrapper img {
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {

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

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

/* =========================================
   Footer Section Styling
   ========================================= */
.footer-section {
    font-size: 0.95rem;
}

.footer-links a {
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color) !important;
    padding-left: 8px;
}

.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px) rotate(360deg);
    background-color: white !important;
    color: var(--primary-color) !important;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links a:hover {
    color: white !important;
}

/* =========================================
   Enhanced Footer Styling
   ========================================= */
.footer-section {
    background: #0287ca;
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
}

.footer-section,
.footer-section p,
.footer-section li,
.footer-section span,
.footer-section .text-secondary {
    color: rgba(255, 255, 255, 0.82) !important;
}

.footer-section h5,
.footer-section h6,
.footer-section .footer-logo h3,
.footer-section .text-white {
    color: #ffffff !important;
}

.footer-section .footer-contact-icon {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.footer-section .footer-contact-icon i {
    color: inherit;
}

.footer-section .newsletter-form .form-control {
    color: #ffffff !important;
}

.footer-section .newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Abstract Background Pattern for Footer */
.footer-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(12, 76, 163, 0.05) 0%, transparent 70%);
    z-index: 0;
}

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

.footer-logo h3 {
    letter-spacing: -1px;
}

.footer-links a {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color) !important;
    transform: translateX(8px);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon:hover {
    transform: translateY(-8px) rotate(15deg);
    background: var(--primary-color) !important;
    border-color: var(--primary-color);
    color: white !important;
    box-shadow: 0 10px 20px rgba(12, 76, 163, 0.3);
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-radius: 50px 0 0 50px !important;
    padding-left: 25px !important;
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: var(--primary-color) !important;
    box-shadow: none !important;
}

.newsletter-form .btn-primary {
    border-radius: 0 50px 50px 0 !important;
    padding: 0 25px !important;
}

.footer-contact-icon {
    width: 35px;
    height: 35px;
    background: rgba(12, 76, 163, 0.1);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.d-flex:hover .footer-contact-icon {
    background: var(--primary-color);
    color: white;
}


/* =========================================
   Contact Section Styling
   ========================================= */
.transition-hover {
    transition: all 0.3s ease;
}

.transition-hover:hover {
    transform: translateY(-5px);
    background-color: white !important;
    border-color: var(--primary-color) !important;
}

.contact-form-card .form-control:focus {
    background-color: #ffffff !important;
    border: 1px solid var(--primary-color) !important;
    box-shadow: 0 10px 20px rgba(12, 76, 163, 0.05) !important;
    outline: 0;
}

.map-wrapper iframe {
    filter: grayscale(100%) invert(90%) contrast(90%);
    transition: all 0.5s ease;
}

.map-wrapper:hover iframe {
    filter: grayscale(0%) invert(0%) contrast(100%);
}

.contact-lead {
    max-width: 700px;
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.map-iframe {
    width: 100%;
    height: 250px;
    border: 0;
}

/* =========================================
   Courses Section Styling
   ========================================= */
.course-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.course-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(12, 76, 163, 0.12) !important;
}

.popular-badge {
    position: absolute;
    top: 25px;
    right: -40px;
    background: #ffc107;
    color: #000;
    padding: 8px 45px;
    font-weight: 800;
    font-size: 0.7rem;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* =========================================
   Registration Section Styling
   ========================================= */
.registration-section {
    background-color: #f8fbff;
}

.icon-box-sm {
    width: 35px;
    height: 35px;
}

.registration-card {
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    position: relative;
    z-index: 1;
}

.registration-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), transparent, #08337a);
    z-index: -1;
    border-radius: 35px;
    opacity: 0.1;
}

.pulse-icon {
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* =========================================
   Contact Section Styling
   ========================================= */
.contact-section {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0fc 100%);
}

.contact-lead {
    max-width: 700px;
}

.contact-info-wrapper .d-flex {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid var(--primary-color) !important;
    /* background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%) !important; */
    border: 2px solid rgba(2, 135, 202, 0.08) !important;
}

.contact-info-wrapper .d-flex:hover {
    transform: translateX(10px) translateY(-3px);
    box-shadow: 0 16px 35px rgba(2, 135, 202, 0.14) !important;
    border-color: rgba(2, 135, 202, 0.2) !important;
}

.contact-icon-box {
    width: 50px !important;
    height: 50px !important;
    flex-shrink: 0;
    flex: 0 0 50px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a5fa3 100%) !important;
    box-shadow: 0 10px 25px rgba(2, 135, 202, 0.25) !important;
}

.contact-icon-box i {
    color: #ffffff !important;
    display: block;
    font-size: 1.15rem !important;
    line-height: 1;
}

.contact-info-wrapper .d-flex:hover .contact-icon-box {
    transform: scale(1.12) rotate(-10deg);
    box-shadow: 0 15px 35px rgba(2, 135, 202, 0.35) !important;
}

.contact-info-wrapper h6 {
    color: #0c4ca3 !important;
    font-weight: 700 !important;
}

.contact-info-wrapper p {
    color: #64748b !important;
    font-weight: 500 !important;
}

.contact-info-wrapper .d-flex:hover h6,
.contact-info-wrapper .d-flex:hover p {
    color: #0a5fa3 !important;
}

.map-wrapper {
    box-shadow: 0 15px 40px rgba(2, 135, 202, 0.15) !important;
}

.map-iframe {
    width: 100% !important;
    height: 250px !important;
    border: 0;
    filter: grayscale(100%) invert(90%) contrast(90%);
    transition: all 0.5s ease;
}

.map-wrapper:hover .map-iframe {
    filter: grayscale(0%) invert(0%) contrast(100%);
}

.contact-form-card {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(2, 135, 202, 0.08) !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, #ffffff 0%, #fbfdff 100%) !important;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), transparent, #08337a);
    z-index: -1;
    border-radius: 38px;
    opacity: 0.08;
}

.contact-form-card:hover {
    box-shadow: 0 30px 60px rgba(2, 135, 202, 0.15) !important;
    transform: translateY(-8px);
}

.contact-section .form-label {
    color: #4a5f7f !important;
    font-weight: 600 !important;
}

.contact-section .form-control,
.contact-section .form-select {
    border: 2px solid rgba(2, 135, 202, 0.1) !important;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.85) !important;
}

.contact-section .form-control:focus,
.contact-section .form-select:focus {
    background: white !important;
    box-shadow: 0 12px 30px rgba(2, 135, 202, 0.15) !important;
    border: 2px solid var(--primary-color) !important;
    outline: 0;
}

.contact-section .form-control::placeholder {
    color: #cbd5e1;
}

.contact-section .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a5fa3 100%) !important;
    border: none !important;
    box-shadow: 0 12px 30px rgba(2, 135, 202, 0.2) !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.contact-section .btn-primary:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 20px 45px rgba(2, 135, 202, 0.3) !important;
}

/* =========================================
   Cross-Section Mobile Refinements
   ========================================= */
@media (max-width: 991.98px) {
    .registration-alert {
        margin-top: 30px;
        padding: 20px !important;
    }

    .registration-section {
        padding-bottom: 60px !important;
    }

    .display-5 {
        font-size: 2.2rem !important;
    }

    .lead {
        font-size: 1.05rem !important;
    }
}

@media (max-width: 767.98px) {
    .service-card {
        padding: 30px 20px !important;
        text-align: center;
    }

    .service-icon-box {
        margin: 0 auto 20px !important;
    }

    .display-5 {
        font-size: 1.8rem !important;
    }

    .section-title-wrapper {
        margin-bottom: 30px !important;
    }
}