/**
* Template Name: Learner
* Template URL: https://bootstrapmade.com/learner-bootstrap-course-template/
* Updated: Jul 08 2025 with Bootstrap v5.3.7
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* ===== FIX 1: REMOVE WHITE SPACE / HORIZONTAL OVERFLOW ===== */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

* {
    box-sizing: border-box !important;
}

.top-buttons-bar {
    max-width: 100% !important;
    overflow-x: hidden !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding: 6px 10px !important;
}

.top-buttons-bar .top-btn {
    font-size: 12px !important;
    padding: 5px 8px !important;
    white-space: nowrap !important;
}

/* Fonts */
@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto-Regular.woff2') format('woff2');
}
/* ========== ROOT ========== */
:root {
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.35);
    --accent: #0d6efd;
    --text-dark: #1e1e1e;
}

/* ===== HERO FLOATING CARD FIX ===== */
.courses-hero,
.hero-image {
    position: relative;
    overflow: visible !important;
}

.floating-cards {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.course-card-floating {
    position: absolute;
    pointer-events: auto;
    transition: all .35s ease;
}

    .course-card-floating.active {
        transform: scale(1.05);
        z-index: 10;
    }

.main-image {
    position: relative;
    z-index: 1;
}

/* ===== RANKINGS ===== */
.rankings-wrapper {
    position: relative;
    overflow: hidden;
}

.rankings-track {
    display: flex;
    gap: 24px;
    transition: transform .4s ease;
}

.ranking-item {
    min-width: 280px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    text-align: center;
}

.rank-label {
    background: #0d6efd;
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 10px;
}

.rank-logo img {
    max-height: 70px;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0d6efd;
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    z-index: 10;
}

.prev-arrow {
    left: -20px;
}

.next-arrow {
    right: -20px;
}

.rankings-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
}

    .rankings-pagination .dot {
        width: 10px;
        height: 10px;
        background: #ccc;
        border-radius: 50%;
        cursor: pointer;
    }

        .rankings-pagination .dot.active {
            background: #0d6efd;
        }

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .ranking-item {
        min-width: 220px;
        padding: 16px;
    }

    .prev-arrow {
        left: -10px;
    }

    .next-arrow {
        right: -10px;
    }

    .nav-arrow {
        width: 36px;
        height: 36px;
    }

    .floating-cards {
        display: none;
    }
}
/* ===== HERO FEATURE PILLS ===== */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.5rem;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(13, 110, 253, 0.07);
    border: 1.5px solid rgba(13, 110, 253, 0.18);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e1e1e;
    transition: all 0.25s ease;
    cursor: default;
}

    .feature-pill:hover {
        background: #0d6efd;
        border-color: #0d6efd;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(13, 110, 253, 0.28);
    }

.feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.feature-pill:hover .feature-icon {
    background: rgba(255, 255, 255, 0.25);
}

.feature-text {
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 480px) {
    .feature-pill {
        padding: 7px 13px;
        font-size: 0.78rem;
    }

    .feature-icon {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
}
@media (max-width: 480px) {
    .ranking-item {
        min-width: 180px;
    }
}

:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Raleway", sans-serif;
    --nav-font: "Ubuntu", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --default-color: #394450; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #223a58; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #136ad5; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #136ad5; /* The default color of the main navmenu links */
    --nav-hover-color: rgb(34, 58, 88); /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #394450; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #136ad5; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: #f5faff;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
}

.accent-background {
    --background-color: #136ad5;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --accent-color: #acd0fc;
    --surface-color: #4188de;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
  
    font-family: 'Roboto', sans-serif;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

    a:hover {
        color: color-mix(in srgb, var(--accent-color), transparent 25%);
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}
/* FIX DROPDOWN CLICK ISSUE ON MOBILE */

/* ===== FIX 2: DROPDOWN ARROW + DISPLAY ===== */
@media (max-width: 1199px) {

    .navmenu li.nav-item.dropdown > a,
    .navmenu li.dropdown > a {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }
	
	/* Force dropdown to stay visible when our class is added */
.navmenu li.dropdown-open > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: static !important;
    float: none !important;
    width: 100% !important;
    background-color: #f0f4ff !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 0 8px 10px !important;
    padding: 5px 0 !important;
    border-radius: 8px !important;
    transform: none !important;
}

    /* Hide Bootstrap default arrow */
    .navmenu .dropdown-toggle::after {
        display: none !important;
    }

    /* Inject chevron using Bootstrap Icons */
    .navmenu li.nav-item.dropdown > a::after,
    .navmenu li.dropdown > a::after {
        content: "\F229"; !important;
        font-family: "bootstrap-icons" !important;
        font-size: 14px !important;
        color: #136ad5 !important;
        margin-left: auto !important;
        padding-left: 3px !important;
        display: inline-block !important;
        visibility: visible !important;
        transition: transform 0.3s ease !important;
    }

    /* Rotate when open */
    .navmenu li.nav-item.dropdown > a.arrow-open::after,
    .navmenu li.dropdown > a.arrow-open::after {
        transform: rotate(180deg) !important;
    }

    /* Dropdown list styles */
    .navmenu li.dropdown .dropdown-menu,
    .navmenu li.nav-item.dropdown .dropdown-menu {
        display: none !important;
        position: static !important;
        float: none !important;
        width: 100% !important;
        background-color: #f0f4ff !important;
        border: none !important;
        box-shadow: none !important;
        margin: 0 0 8px 10px !important;
        padding: 5px 0 !important;
        border-radius: 8px !important;
    }

    .navmenu li.dropdown .dropdown-menu.show,
    .navmenu li.nav-item.dropdown .dropdown-menu.show {
        display: block !important;
    }

    .navmenu .dropdown-menu .dropdown-item {
        padding: 10px 20px !important;
        font-size: 15px !important;
        color: #394450 !important;
        white-space: normal !important;
        background: transparent !important;
    }

    .navmenu .dropdown-menu .dropdown-item:hover {
        background-color: #d6e4ff !important;
        color: #136ad5 !important;
    }
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.fixed-top {
    background-color: #c1d1cd;
}

.php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

    .php-email-form .loading:before {
        content: "";
        display: inline-block;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        margin: 0 10px -6px 0;
        border: 3px solid var(--accent-color);
        border-top-color: var(--surface-color);
        animation: php-email-form-loading 1s linear infinite;
    }

@keyframes php-email-form-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* ===== Floating Container ===== */
.floating-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 200px) !important;
    justify-content: center !important;
    gap: 25px !important;
}


/* ===== Card Base ===== */
.course-card-floating {
    width: 200px !important;
    height: 100px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 15px 20px !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    font-family: 'Inter', sans-serif !important;
    color: #fff !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

    /* ===== Hover Animation ===== */
    .course-card-floating:hover {
        transform: translateY(-12px) scale(1.05) !important;
        box-shadow: 0 25px 50px rgba(0,0,0,0.25) !important;
    }

    /* Glow Effect */
    .course-card-floating::before {
        content: "" !important;
        position: absolute !important;
        width: 150% !important;
        height: 150% !important;
        background: rgba(255,255,255,0.1) !important;
        top: -50% !important;
        left: -50% !important;
        transform: rotate(25deg) !important;
        transition: 0.6s !important;
    }

    .course-card-floating:hover::before {
        left: 100% !important;
    }

/* ===== Icon Styling ===== */
.course-icon {
    width: 55px !important;
    height: 55px !important;
    border-radius: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    background: rgba(255,255,255,0.2) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3) !important;
    transition: 0.3s !important;
}

.course-card-floating:hover .course-icon {
    transform: rotate(8deg) scale(1.1) !important;
}
/* ===== Hero Section Container ===== */
.hero-text {
    text-align: center !important;
    padding: 80px 20px !important;
    position: relative !important;
}

    /* ===== Main Heading ===== */
    .hero-text h1 {
        font-size: 52px !important;
        font-weight: 800 !important;
        letter-spacing: 1px !important;
        margin: 0 !important;
        line-height: 1.3 !important;
        color: #223a58 !important;
        font-family: 'Poppins', sans-serif !important;
        position: relative !important;
        text-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
        animation: fadeSlideDown 1s ease forwards !important;
    }

.hero-stats h6 {
    margin-top:10px;
   text-align: justify !important;
}
/* ===== Subtitle Styling ===== */
.hero-subtitle {
    display: block !important;
    margin-top: 18px !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    letter-spacing: 0.6px !important;
    background: linear-gradient(135deg, #19b6ee, #00f2fe) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    position: relative !important;
}



/* ===== Animation ===== */
@keyframes fadeSlideDown {
    0% {
        opacity: 0 !important;
        transform: translateY(-40px) !important;
    }

    100% {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 34px !important;
    }

    .hero-subtitle {
        font-size: 20px !important;
    }
}

/* ===== Content Styling ===== */
.card-content h6 {
    color: #fff !important;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.4px !important;
}

.card-content span {
    font-size: 14px !important;
    font-weight: 500 !important;
    opacity: 0.95 !important;
}

/* ===== Color Themes ===== */
.theme-blue {
    background: linear-gradient(135deg, #0d6efd, #6610f2) !important;
}

.theme-red {
    background: linear-gradient(135deg, #dc3545, #ff6b6b) !important;
}

.theme-purple {
    background: linear-gradient(135deg, #6f42c1, #b197fc) !important;
}

.theme-pink {
    background: linear-gradient(135deg, #d63384, #f06595) !important;
}

.theme-green {
    background: linear-gradient(135deg, #198754, #51cf66) !important;
}

.theme-orange {
    background: linear-gradient(135deg, #fd7e14, #ffc107) !important;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .course-card-floating {
        width: 100% !important;
        max-width: 320px !important;
    }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
/* Top buttons bar */
/* Top buttons bar */
.top-buttons-bar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    background-color: #0d6efd; /* GU blue */
    display: flex;
    justify-content: flex-end; /* RIGHT side */
    align-items: center;
    gap: 10px;
    padding: 6px 20px;
    z-index: 9999;
}

    /* Buttons */
    .top-buttons-bar .top-btn {
        background-color: #ffffff;
        color: #0d6efd;
        padding: 6px 14px;
        text-decoration: none;
        border-radius: 4px;
        font-size: 14px;
        font-weight: 600;
        transition: 0.3s;
    }

        .top-buttons-bar .top-btn:hover {
            background-color: #084298;
            color: #ffffff;
        }

/* Push main header down */
header.header {
    margin-top: 42px; /* adjust height if needed */
}


/* Add spacing for header so it doesn't overlap */
header.header {
    margin-top: 45px; /* adjust based on top bar height */
}

.header {
    --background-color: #f8fbff;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --accent-color: #2e80e4;
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 15px 0;
    transition: all 0.5s;
    z-index: 997;
}

    .header .logo {
        line-height: 1;
    }

        .header .logo img {
            max-height: 79px;
            margin-right: 8px;
        }

        .header .logo h1 {
            font-size: 30px;
            margin: 0;
            font-weight: 700;
            color: var(--heading-color);
        }

    .header .btn-getstarted,
    .header .btn-getstarted:focus {
        color: var(--contrast-color);
        background: var(--accent-color);
        font-size: 14px;
        padding: 8px 25px;
        margin: 0 0 0 30px;
        border-radius: 50px;
        transition: 0.3s;
        border: 2px solid color-mix(in srgb, var(--contrast-color), transparent 90%);
    }

        .header .btn-getstarted:hover,
        .header .btn-getstarted:focus:hover {
            color: var(--contrast-color);
            background: color-mix(in srgb, var(--contrast-color), transparent 90%);
        }

@media (max-width: 1200px) {
    .header .logo {
        order: 1;
    }

    .header .btn-getstarted {
        order: 2;
        margin: 0 15px 0 0;
        padding: 6px 15px;
    }

    .header .navmenu {
        order: 3;
    }
}

.scrolled .header {
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}
/* Mobile */
@media (max-width: 768px) {
    .hero-content {
        justify-content: center;
        text-align: center;
    }

    .profile-row {
        display: flex;
        gap: 70px;
        align-items: center;
    }

    .instructor-info {
        text-align: center;
    }
}
.visit-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Segoe UI', sans-serif;
}

/* Label */
.visit-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #0a5bd3, #1e88ff);
    border-radius: 20px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* Container */
.digit-container {
    display: flex;
    gap: 4px;
}

/* Digit box */
.digit-wrapper {
    width: 36px;
    height: 46px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    background: linear-gradient(180deg, #5fd0ff, #0a78d1);
    box-shadow: inset 0 3px 6px rgba(255,255,255,0.35), 0 4px 10px rgba(0,0,0,0.25);
}
.gradient-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #0a5bd3, #1e88ff);
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Rolling strip */
.digit-roll {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: transform 0.7s cubic-bezier(.22,1,.36,1);
}

    .digit-roll span {
        display: block;
        height: 46px;
        line-height: 46px;
        font-size: 22px;
        font-weight: 700;
        color: #fff;
        text-align: center;
    }

/* Mobile */
@media (max-width: 768px) {
    .digit-wrapper {
        width: 28px;
        height: 36px;
    }

    .digit-roll span {
        height: 36px;
        line-height: 36px;
        font-size: 18px;
    }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }

        .navmenu ul {
            margin: 0;
            padding: 0;
            display: flex;
            list-style: none;
            align-items: center;
        }

        .navmenu li {
            position: relative;
        }

        .navmenu > ul > li {
            white-space: nowrap;
            padding: 15px 14px;
        }

            .navmenu > ul > li:last-child {
                padding-right: 0;
            }

        .navmenu a,
        .navmenu a:focus {
            color: var(--nav-color);
            font-size: 15px;
            padding: 0 2px;
            font-family: var(--nav-font);
            font-weight: 400;
            display: flex;
            align-items: center;
            justify-content: space-between;
            white-space: nowrap;
            transition: 0.3s;
            position: relative;
        }

            .navmenu a i,
            .navmenu a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
                transition: 0.3s;
            }

        .navmenu > ul > li > a:before {
            content: "";
            position: absolute;
            height: 2px;
            bottom: -6px;
            left: 0;
            background-color: var(--nav-hover-color);
            visibility: hidden;
            width: 0px;
            transition: all 0.3s ease-in-out 0s;
        }

        .navmenu a:hover:before,
        .navmenu li:hover > a:before,
        .navmenu .active:before {
            visibility: visible;
            width: 100%;
        }

        .navmenu li:hover > a,
        .navmenu .active,
        .navmenu .active:focus {
            color: var(--nav-hover-color);
        }

        .navmenu .dropdown ul {
            margin: 0;
            padding: 10px 0;
            background: var(--nav-dropdown-background-color);
            display: block;
            position: absolute;
            visibility: hidden;
            left: 14px;
            top: 130%;
            opacity: 0;
            transition: 0.3s;
            border-radius: 4px;
            z-index: 99;
            box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
        }

            .navmenu .dropdown ul li {
                min-width: 200px;
            }

            .navmenu .dropdown ul a {
                padding: 10px 20px;
                font-size: 15px;
                text-transform: none;
                color: var(--nav-dropdown-color);
            }

                .navmenu .dropdown ul a i {
                    font-size: 12px;
                }

                .navmenu .dropdown ul a:hover,
                .navmenu .dropdown ul .active:hover,
                .navmenu .dropdown ul .active,
                .navmenu .dropdown ul li:hover > a {
                    color: var(--nav-dropdown-hover-color);
                }

        .navmenu .dropdown:hover > ul {
            opacity: 1;
            top: 100%;
            visibility: visible;
        }

        .navmenu .dropdown .dropdown ul {
            top: 0;
            left: -90%;
            visibility: hidden;
        }

        .navmenu .dropdown .dropdown:hover > ul {
            opacity: 1;
            top: 0;
            left: -100%;
            visibility: visible;
        }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

        .navmenu ul {
            display: none;
            list-style: none;
            position: absolute;
            inset: 60px 20px 20px 20px;
            padding: 10px 0;
            margin: 0;
            border-radius: 6px;
            background-color: var(--nav-mobile-background-color);
            border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
            box-shadow: none;
            overflow-y: auto;
            transition: 0.3s;
            z-index: 9998;
        }

        .navmenu a,
        .navmenu a:focus {
            color: var(--nav-dropdown-color);
            padding: 10px 20px;
            font-family: var(--nav-font);
            font-size: 17px;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: space-between;
            white-space: nowrap;
            transition: 0.3s;
        }

            .navmenu a i,
            .navmenu a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
                width: 30px;
                height: 30px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                transition: 0.3s;
                background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
            }

                .navmenu a i:hover,
                .navmenu a:focus i:hover {
                    background-color: var(--accent-color);
                    color: var(--contrast-color);
                }

            .navmenu a:hover,
            .navmenu .active,
            .navmenu .active:focus {
                color: var(--nav-dropdown-hover-color);
            }

                .navmenu .active i,
                .navmenu .active:focus i {
                    background-color: var(--accent-color);
                    color: var(--contrast-color);
                    transform: rotate(180deg);
                }

        .navmenu .dropdown ul {
            position: static;
            display: none;
            z-index: 99;
            padding: 10px 0;
            margin: 10px 20px;
            background-color: var(--nav-dropdown-background-color);
            transition: all 0.5s ease-in-out;
        }

            .navmenu .dropdown ul ul {
                background-color: rgba(33, 37, 41, 0.1);
            }

        .navmenu .dropdown > .dropdown-active {
            display: block;
            background-color: rgba(33, 37, 41, 0.03);
        }

    .mobile-nav-active {
        overflow: hidden;
    }

        .mobile-nav-active .mobile-nav-toggle {
            color: #fff;
            position: absolute;
            font-size: 32px;
            top: 15px;
            right: 15px;
            margin-right: 0;
            z-index: 9999;
        }

        .mobile-nav-active .navmenu {
            position: fixed;
            overflow: hidden;
            inset: 0;
            background: rgba(33, 37, 41, 0.8);
            transition: 0.3s;
        }

            .mobile-nav-active .navmenu > ul {
                display: block;
            }
}
/* ========== WRAPPER ========== */
.testimonial-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ========== SLIDER ========== */
.testimonials-slider {
    padding: 2rem 0;
}

.swiper-slide {
    transform: translateZ(0) ;
    
}
.experience-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0d6efd, #084298);
    color: #fff;
    min-width: 110px;
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.25);
}

    .experience-badge .exp-label {
        font-size: 0.75rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        opacity: 0.85;
    }

    .experience-badge .exp-value {
        font-size: 1.6rem;
        font-weight: 700;
        line-height: 1.1;
    }

    .experience-badge .exp-unit {
        font-size: 0.9rem;
        font-weight: 500;
        margin-left: 2px;
    }

/* ========== CARD ========== */
.testimonial-item {
    height: 100%;
    padding: 2rem;
    border-radius: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .testimonial-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    }

    /* ========== TEXT ========== */
    .testimonial-item p {
        color: var(--text-dark);
        font-size: 0.95rem;
        line-height: 1.7;
    }

/* ========== READ MORE ========== */
.read-more-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

    .read-more-btn i {
        transition: transform 0.25s ease;
    }

    .read-more-btn:hover i {
        transform: translateX(4px);
    }

/* ========== PROFILE ========== */
.testimonial-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

    .testimonial-profile img {
        width: 54px;
        height: 54px;
        object-fit: cover;
        border-radius: 50%;
        border: 2px solid var(--accent);
    }

    .testimonial-profile h3 {
        margin: 0;
        font-size: 1rem;
    }

    .testimonial-profile h4 {
        margin: 0;
        font-size: 0.85rem;
        color: #6c757d;
    }

/* ========== ARROWS ========== */
#testimonialPrevBtn,
#testimonialNextBtn {
    background: white;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: background 0.25s ease, transform 0.25s ease;
}

    #testimonialPrevBtn:hover,
    #testimonialNextBtn:hover {
        background: var(--accent);
        color: white;
        transform: scale(1.05);
    }

/* ========== PAGINATION ========== */
.swiper-pagination-bullet {
    background: #adb5bd;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--accent);
}

/* ========== OVERALL RATING ========== */
.overall-rating {
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
}

.rating-stars i {
    color: #ffc107;
    font-size: 1.2rem;
}
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    padding-bottom: 50px;
    position: relative;
}

    .footer .footer-top {
        padding-top: 50px;
        border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    }

    .footer .footer-about .logo {
        line-height: 1;
        margin-bottom: 25px;
    }

        .footer .footer-about .logo img {
            max-height: 40px;
            margin-right: 6px;
        }

        .footer .footer-about .logo span {
            color: var(--heading-color);
            font-size: 30px;
            font-weight: 700;
            letter-spacing: 1px;
            font-family: var(--heading-font);
        }

    .footer .footer-about p {
        font-size: 14px;
        font-family: var(--heading-font);
    }

    .footer .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
        font-size: 16px;
        color: color-mix(in srgb, var(--default-color), transparent 50%);
        margin-right: 10px;
        transition: 0.3s;
    }

        .footer .social-links a:hover {
            color: var(--accent-color);
            border-color: var(--accent-color);
        }

    .footer h4 {
        font-size: 16px;
        font-weight: bold;
        position: relative;
        padding-bottom: 12px;
    }

    .footer .footer-links {
        margin-bottom: 30px;
    }

        .footer .footer-links ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

            .footer .footer-links ul i {
                padding-right: 2px;
                font-size: 12px;
                line-height: 0;
            }

            .footer .footer-links ul li {
                padding: 10px 0;
                display: flex;
                align-items: center;
            }

                .footer .footer-links ul li:first-child {
                    padding-top: 0;
                }

            .footer .footer-links ul a {
                color: color-mix(in srgb, var(--default-color), transparent 20%);
                display: inline-block;
                line-height: 1;
            }

                .footer .footer-links ul a:hover {
                    color: var(--accent-color);
                }

    .footer .footer-contact p {
        margin-bottom: 5px;
    }

    .footer .copyright {
        padding-top: 25px;
        padding-bottom: 25px;
        background-color: color-mix(in srgb, var(--default-color), transparent 95%);
    }

        .footer .copyright p {
            margin-bottom: 0;
        }

    .footer .credits {
        margin-top: 6px;
        font-size: 13px;
    }

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
}

    #preloader:before {
        content: "";
        position: fixed;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
        border: 6px solid #ffffff;
        border-color: var(--accent-color) transparent var(--accent-color) transparent;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: animate-preloader 1.5s linear infinite;
    }

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

    .scroll-top i {
        font-size: 24px;
        color: var(--contrast-color);
        line-height: 0;
    }

    .scroll-top:hover {
        background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
        color: var(--contrast-color);
    }

    .scroll-top.active {
        visibility: visible;
        opacity: 1;
    }

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 25px 0;
    position: relative;
}

    .page-title h1 {
        font-size: 24px;
        font-weight: 700;
    }

    .page-title .breadcrumbs ol {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        padding: 0;
        margin: 0;
        font-size: 14px;
        font-weight: 400;
    }

        .page-title .breadcrumbs ol li + li {
            padding-left: 10px;
        }

            .page-title .breadcrumbs ol li + li::before {
                content: "/";
                display: inline-block;
                padding-right: 10px;
                color: color-mix(in srgb, var(--default-color), transparent 70%);
            }

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 90px;
    overflow: clip;
}

@media (max-width: 1199px) {

    section,
    .section {
        scroll-margin-top: 66px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
}

    .section-title h2 {
        font-size: 32px;
        font-weight: 700;
        position: relative;
    }

        .section-title h2:before,
        .section-title h2:after {
            content: "";
            width: 50px;
            height: 2px;
            background: var(--accent-color);
            display: inline-block;
        }

        .section-title h2:before {
            margin: 0 15px 10px 0;
        }

        .section-title h2:after {
            margin: 0 0 10px 15px;
        }

    .section-title p {
        margin-bottom: 0;
    }

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 20px;
    }

        .section-title h2:before,
        .section-title h2:after {
            content: "";
            width: 20px;
            height: 2px;
            background: var(--accent-color);
            display: inline-block;
        }
}

.iks-container {
    max-width: 1100px;
    margin: 30px auto;
    border: 1px solid #0d3b66;
    background: #ffffff;
}

.iks-header {
    background: #0d3b66;
    color: #fff;
    padding: 10px 20px;
    font-size: 18px;
}

.iks-form {
    padding: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.notification-card {
    overflow: hidden;
}

.notification-slider {
    height: 270px; /* 3 notifications × 90px */
    overflow: hidden;
    position: relative;
}

.notification-list {
    max-height: 800px;
    overflow: hidden;
    display: block;
    animation: scrollUp 10s linear infinite;
}

    .notification-list:hover {
        animation-play-state: paused; /* stops scroll on hover */
    }

.notification-item {
    display: flex;
    align-items: center;
    padding: 12px;
}


@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
    /* adjust as needed */
}
/* Stop scrolling when hovered */
.notification-list:hover {
    overflow-y: hidden; /* stops the scroll bar */
}

/* Smooth vertical slide like Gujarat University */
@keyframes notificationSlide {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

/* Pause on hover (optional but recommended) */
.notification-slider:hover .notification-list {
    animation-play-state: paused;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .form-group label {
        font-size: 14px;
        margin-bottom: 5px;
        font-weight: 600;
    }

    .form-group input,
    .form-group select {
        padding: 8px 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 14px;
    }

        .form-group input:focus,
        .form-group select:focus {
            border-color: #0d3b66;
            outline: none;
        }

.form-submit {
    text-align: center;
    margin-top: 20px;
}

    .form-submit button {
        background: #0d3b66;
        color: #fff;
        padding: 10px 40px;
        border: none;
        font-size: 16px;
        border-radius: 5px;
        cursor: pointer;
    }

        .form-submit button:hover {
            background: #082c4d;
        }

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}

/*--------------------------------------------------------------
# Courses Hero Section
--------------------------------------------------------------*/
.courses-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 60px;
}

    .courses-hero .hero-content {
        position: relative;
        z-index: 2;
        margin-top: -131px;
        width: 100%;
    }

    .courses-hero .hero-text h1 {
        font-size: 40px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        margin-bottom: 1.5rem !important;
        color: var(--heading-color) !important;
    }

@media (max-width: 768px) {
    .courses-hero .hero-text h1 {
        font-size: 30px !important;
    }
}

.courses-hero .hero-text p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.courses-hero .hero-stats {
    position: relative;
    z-index: 20;
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 576px) {
    .courses-hero .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

.courses-hero .hero-stats .stat-item {
    text-align: center;
}

    .courses-hero .hero-stats .stat-item .number {
        display: block;
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--accent-color);
        line-height: 1;
    }

    .courses-hero .hero-stats .stat-item .label {
        font-size: 0.9rem;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
        font-weight: 500;
    }

.courses-hero .hero-buttons {
    position: relative;
    z-index: 20;
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 576px) {
    .courses-hero .hero-buttons {
        flex-direction: column;
    }
}

.courses-hero .hero-buttons .btn {
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

    .courses-hero .hero-buttons .btn.btn-primary {
        background-color: var(--accent-color);
        border-color: var(--accent-color);
        color: var(--contrast-color);
    }

        .courses-hero .hero-buttons .btn.btn-primary:hover {
            background-color: color-mix(in srgb, var(--accent-color), black 15%);
            border-color: color-mix(in srgb, var(--accent-color), black 15%);
            transform: translateY(-2px);
        }

    .courses-hero .hero-buttons .btn.btn-outline {
        background-color: transparent;
        border: 2px solid var(--accent-color);
        color: var(--accent-color);
    }

        .courses-hero .hero-buttons .btn.btn-outline:hover {
            background-color: var(--accent-color);
            color: var(--contrast-color);
            transform: translateY(-2px);
        }

.courses-hero .hero-features {
    display: flex;
    gap: 2rem;
}

@media (max-width: 768px) {
    .courses-hero .hero-features {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

.courses-hero .hero-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .courses-hero .hero-features .feature i {
        font-size: 1.25rem;
        color: var(--accent-color);
    }

    .courses-hero .hero-features .feature span {
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--default-color);
    }

.courses-hero .hero-image {
    position: relative;
    z-index: 5;
    pointer-events: auto; /* restore normal behavior */
}

.courses-hero .hero-background,
.courses-hero .bg-shapes,
.courses-hero .shape {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.courses-hero .hero-background,
.courses-hero .bg-shapes,
.courses-hero .shape {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}


.courses-hero .hero-image .main-image {
    position: relative;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

    .courses-hero .hero-image .main-image img {
        width: 100%;
        height: auto;
        border-radius: 20px;
    }

.courses-hero .hero-image img {
    max-width: 90%;
    height: auto;
    display: block;
    margin: auto;
}

.courses-hero .floating-cards {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

.courses-hero .hero-image .floating-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

    .courses-hero .hero-image .floating-cards .course-card {
        min-width: 200px;
        padding: 1rem 1.25rem;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        display: flex;
        align-items: center;
        gap: 0.75rem;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease;
    }

        .courses-hero .hero-image .floating-cards .course-card.active {
            opacity: 1;
            visibility: visible;
        }

        .courses-hero .hero-image .floating-cards .course-card:nth-child(1) {
            top: 11%;
            left: -10%;
        }

        .courses-hero .hero-image .floating-cards .course-card:nth-child(2) {
            top: 50%;
            right: -15%;
        }

        .courses-hero .hero-image .floating-cards .course-card:nth-child(3) {
            bottom: 20%;
            left: -5%;
        }

        .courses-hero .hero-image .floating-cards .course-card .card-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            background: color-mix(in srgb, var(--accent-color), transparent 90%);
            display: flex;
            align-items: center;
            justify-content: center;
        }

            .courses-hero .hero-image .floating-cards .course-card .card-icon i {
                font-size: 1.5rem;
                color: var(--accent-color);
            }

        .courses-hero .hero-image .floating-cards .course-card .card-content h6 {
            margin: 0;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--heading-color);
            line-height: 1.2;
        }

    .courses-hero .hero-image .floating-cards .course-card_floating_cards .card-content h6 {
        margin: 0;
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--heading-color);
        line-height: 1.2;
    }

    .courses-hero .hero-image .floating-cards .course-card .card-content span {
        font-size: 0.8rem;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
    }

    .courses-hero .hero-image .floating-cards .course-card_floating_cards .card-content span {
        font-size: 0.8rem;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
    }


@media (max-width: 992px) {
    .courses-hero .hero-image .floating-cards .course-card {
        display: none;
    }
}

.course-card_floating_cards {
    position: absolute;
    width: 300px; /* new width */
    height: 150px; /* new height */
    background: var(--surface-color);
    border-radius: 20px; /* slightly bigger radius for softer look */
    padding: 1.25rem 1.5rem; /* a bit more padding for airiness */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); /* stronger shadow for depth */
    display: flex;
    align-items: center;
    gap: 1rem; /* more space between items */
    min-width: 220px; /* slightly larger width */
    max-width: 260px; /* restrict from getting too wide */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: pointer; /* makes it interactive */
    backdrop-filter: blur(5px); /* subtle glass effect */
}

    /* Hover effect for interactivity */
    .course-card_floating_cards:hover {
        transform: translateY(-5px) scale(1.03);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
        background: var(--surface-color-hover, #fff); /* optional hover color */
    }

.floating-cards {
    width: 100%; /* or specific width */
    height: 100%; /* or specific height */
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Base card */

/* Keep original size – DO NOT TOUCH padding / width */
.courses-hero .hero-image .floating-cards .course-card-floating {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

    /* Show one card */
    .courses-hero .hero-image .floating-cards .course-card-floating.active {
        opacity: 1;
        visibility: visible;
    }

    /* 🔹 ONLY POSITION – NO SIZE CHANGE */
    .courses-hero .hero-image .floating-cards .course-card-floating:nth-child(1) {
        height: 100px;
        width: 150px;
        top: 11%;
        left: -10%;
    }

    .courses-hero .hero-image .floating-cards .course-card-floating:nth-child(2) {
        top: 50%;
        right: -15%;
    }

    .courses-hero .hero-image .floating-cards .course-card-floating:nth-child(3) {
        bottom: 20%;
        left: -5%;
    }

    .courses-hero .hero-image .floating-cards .course-card-floating:nth-child(4) {
        top: 10%;
        right: 5%;
    }

    .courses-hero .hero-image .floating-cards .course-card-floating:nth-child(5) {
        bottom: 10%;
        right: -10%;
    }

    .courses-hero .hero-image .floating-cards .course-card-floating:nth-child(6) {
        top: 60%;
        left: -12%;
    }

    .courses-hero .hero-image .floating-cards .course-card-floating:nth-child(7) {
        top: 30%;
        left: 25%;
    }

    .courses-hero .hero-image .floating-cards .course-card-floating:nth-child(8) {
        bottom: 30%;
        right: 25%;
    }

    .courses-hero .hero-image .floating-cards .course-card-floating:nth-child(9) {
        top: 70%;
        right: 5%;
    }

/* Active card */
.course-card-floating.active {
    opacity: 1;
    transform: scale(1);
}

/* Icon */
.course-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .course-icon i {
        font-size: 1.5rem;
        color: #fff;
    }

/* Text */
.card-content h6 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.card-content span {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Solid Colors */
.color-1 {
    background: #4e73df;
}

.color-2 {
    background: #1cc88a;
}

.color-3 {
    background: #36b9cc;
}

.color-4 {
    background: #f6c23e;
}

.color-5 {
    background: #e74a3b;
}

.color-6 {
    background: #6f42c1;
}

.color-7 {
    background: #fd7e14;
}

.color-8 {
    background: #20c997;
}

.color-9 {
    background: #0d6efd;
}

/* Hide on mobile */
@media (max-width: 992px) {
    .course-card-floating {
        display: none;
    }
}

/* Optional: add subtle icon/image styling inside card */

/* Optional: text styling inside card */
.course-card_floating_cards .course-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.2;
}

.course-card_floating_cards .course-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary-color);
}

/* Positioning for floating cards */
.course-card_floating_cards:nth-child(1) {
    top: 11%;
    left: -10%;
}

.course-card_floating_cards:nth-child(2) {
    top: 50%;
    right: -15%;
}

.course-card_floating_cards:nth-child(3) {
    bottom: 20%;
    left: -5%;
}
.container section-title text-center mb-5 h2 {
    color: #223a58 !important;
}
/* ===== About Section Container ===== */
.about-content {
    text-align: left !important;
    padding: 40px 20px !important;
    position: relative !important;
}

/* ===== Subtitle ===== */
.subtitle {
    display: inline-block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #6c757d !important;
    margin-bottom: 15px !important;
    position: relative !important;
}

    /* Decorative line under subtitle */
    .subtitle::after {
        content: "" !important;
        display: block !important;
        width: 60px !important;
        height: 3px !important;
        background: #3880ec !important;
        margin-top: 8px !important;
        border-radius: 5px !important;
    }

/* ===== Tagline Text ===== */
.about-tagline {
    font-size: 30px !important;
    font-weight: 500 !important;
    color: #3880ec !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    letter-spacing: 0.5px !important;
    font-family: 'Poppins', sans-serif !important;
    position: relative !important;
    animation: fadeInUp 1s ease forwards !important;
}
/* ===== Card Body ===== */
.custom-card-body {
    padding: 30px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06) !important;
    transition: 0.3s ease !important;
}

/* ===== List Styling ===== */
.course-info {
    margin: 0 !important;
    padding: 0 !important;
}

    .course-info li {
        font-size: 16px !important;
        color: #444 !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid #f1f1f1 !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        transition: 0.3s ease !important;
    }

        /* Remove last border */
        .course-info li:last-child {
            border-bottom: none !important;
        }

        /* Hover effect */
        .course-info li:hover {
            transform: translateX(6px) !important;
            color: #0d6efd !important;
        }

/* ===== Highlight First Item ===== */

.info-highlight {
    color: #008000 !important;
    font-weight: 600 !important;
    background: rgba(0, 128, 0, 0.08) !important;
    padding: 14px 16px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(0, 128, 0, 0.25) !important;
}

/* ===== Strong Label Styling ===== */
.course-info strong {
    color: #223a58 !important;
    font-weight: 600 !important;
}

/* ===== Badge Styling ===== */
.badge.featured {
    display: inline-block !important;
    margin-left: 10px !important;
    padding: 6px 14px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg, #0d6efd, #6610f2) !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.25) !important;
    transition: 0.3s ease !important;
}

    /* Badge hover */
    .badge.featured:hover {
        transform: scale(1.08) !important;
    }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .course-info li {
        font-size: 14px !important;
    }
}

/* ===== Animation ===== */
@keyframes fadeInUp {
    0% {
        opacity: 0 !important;
        transform: translateY(30px) !important;
    }

    100% {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .about-tagline {
        font-size: 22px !important;
    }
}
.course-info li.info-highlight,
.course-info li.info-highlight i {
    color: #008000 !important;
    font-weight: 600 !important;
}
/* ===== Card Styling ===== */
.custom-fee-card {
    padding: 35px !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06) !important;
    transition: 0.3s ease !important;
}
/* ── INSTRUCTOR IMAGE — MOBILE FRIENDLY ── */
@media (max-width: 768px) {

  .instructors .instructor-image {
    height: auto !important;        /* remove fixed height */
    min-height: 250px !important;
    max-height: 350px !important;
  }

  .instructors .instructor-image img {
    width: 100% !important;
    height: auto !important;  /* show full image, no crop */
    object-fit: unset !important; /* whole image visible */
    object-position: top center !important;
    max-height: 350px !important;
	margin-top:0!important;
    background: #f5f5f5 !important;
  }

  /* Card also adjusts */
  .instructors .instructor-card {
    height: auto !important;
  }
}

@media (max-width: 576px) {

  .instructors .instructor-image {
    min-height: 220px !important;
    max-height: 300px !important;
  }

  .instructors .instructor-image img {
    max-height: 300px !important;
  }
}
/* ===== Free Label ===== */
.fee-free {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #198754 !important;
    background: rgba(25, 135, 84, 0.08) !important;
    padding: 15px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(25, 135, 84, 0.25) !important;
}

/* ===== Fee Block ===== */
.fee-block {
    margin-bottom: 20px !important;
    padding: 15px !important;
    background: #f8f9fa !important;
    border-radius: 12px !important;
    transition: 0.3s ease !important;
}

    .fee-block:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08) !important;
    }

/* ===== Fee Title ===== */
.fee-title {
    color: #0d6efd !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

/* ===== Fee Amount ===== */
.fee-amount {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #0f770c !important;
    font-family: 'Times New Roman', Times, serif !important;
}
.instructor-item img{
 	width: 91px !important;
    height: 91px !important;
    border-radius: 50% !important;
    padding: 6px !important;
    background: linear-gradient(135deg, #0d6efd, #6610f2) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 20px !important;
    position: relative !important;
    overflow: hidden !important;
} 

                 
.instructor-avatar {
    width: 208px !important;
    height: 211px !important;
    border-radius: 50% !important;
    padding: 6px !important;
    background: linear-gradient(135deg, #0d6efd, #6610f2) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 20px !important;
    position: relative !important;
    overflow: hidden !important;
}

    .instructor-avatar img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        transition: transform 0.4s ease !important;
    }

    .instructor-avatar:hover img {
        transform: scale(1.08) !important;
    }
/* ===== Custom Buttons ===== */
.custom-btn-primary {
    background: linear-gradient(135deg, #0d6efd, #6610f2) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    padding: 12px !important;
    transition: 0.3s ease !important;
}

    .custom-btn-primary:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 10px 25px rgba(13, 110, 253, 0.3) !important;
    }

/* ===== Enroll Button ===== */
.custom-btn-success {
    background: linear-gradient(135deg, #198754, #20c997) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    padding: 12px !important;
    transition: 0.3s ease !important;
}

    .custom-btn-success:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 10px 25px rgba(25, 135, 84, 0.3) !important;
    }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .fee-amount {
        font-size: 22px !important;
    }
}


/* Card Icon */
.course-card_floating_cards .card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .course-card_floating_cards .card-icon i {
        font-size: 1.5rem;
        color: var(--accent-color);
    }

/* Card Content */
.course-card_floating_cards .card-content h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--heading-color);
    line-height: 1.2;
    margin-left: 20px;
}

.course-card_floating_cards .card-content span {
    font-size: 0.8rem;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}
/* ===============================
   DIRECTOR BIO SECTION
==================================*/
.director-bio {
    background: #ffffff;
    padding: 25px 30px;
    border-left: 5px solid #0d6efd;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.9;
    color: #333333;
    font-weight: 400;
    text-align: justify;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

    /* Optional Hover Effect */
    .director-bio:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    }


/* Responsive: hide on smaller screens */
@media (max-width: 992px) {
    .course-card_floating_cards {
        display: none;
    }
}


.courses-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

    .courses-hero .hero-background .bg-shapes {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

        .courses-hero .hero-background .bg-shapes .shape {
            position: absolute;
            border-radius: 50%;
            background: color-mix(in srgb, var(--accent-color), transparent 95%);
        }

            .courses-hero .hero-background .bg-shapes .shape.shape-1 {
                width: 300px;
                height: 300px;
                top: 10%;
                right: 10%;
                animation: float 6s ease-in-out infinite;
            }

            .courses-hero .hero-background .bg-shapes .shape.shape-2 {
                width: 200px;
                height: 200px;
                bottom: 20%;
                left: 5%;
                animation: float 8s ease-in-out infinite reverse;
            }

            .courses-hero .hero-background .bg-shapes .shape.shape-3 {
                width: 150px;
                height: 150px;
                top: 60%;
                right: 30%;
                animation: float 7s ease-in-out infinite;
            }

@keyframes float {

    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 992px) {
    .courses-hero {
        padding: 100px 0 60px;
        min-height: max();
    }

        .courses-hero .hero-text {
            margin-bottom: 3rem;
        }
}

@media (max-width: 768px) {
    .courses-hero {
        text-align: center;
    }

        .courses-hero .hero-stats {
            justify-content: center;
        }

        .courses-hero .hero-features {
            justify-content: center;
        }
}


/*------------------------------------------------------------
Notification
--------------------------------------------------------------*/
/* Notification Panel */
.notification-panel {
    position: absolute;
    right: -30px;
    top: 20%;
    width: 280px;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    z-index: 3;
    animation: floatPanel 4s ease-in-out infinite;
}

@keyframes floatPanel {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.notification-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

    .notification-header i {
        color: #19b6ee;
        font-size: 1.3rem;
    }

    .notification-header h6 {
        margin: 0;
        font-weight: 600;
    }

.notification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notification-item {
    padding: 10px;
    border-radius: 10px;
    background: #f8f9fa;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .notification-item:hover {
        background: #e9f6fc;
        transform: translateX(5px);
    }

    .notification-item p {
        margin: 0;
        font-size: 0.9rem;
        font-weight: 500;
    }

    .notification-item small {
        font-size: 0.75rem;
        color: #666;
    }

    .notification-item.new {
        border-left: 4px solid #19b6ee;
    }

.badge {
    background: #19b6ee;
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 6px;
    margin-bottom: 4px;
    display: inline-block;
}

.view-all {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #19b6ee;
    font-weight: 600;
    text-decoration: none;
}

    .view-all:hover {
        text-decoration: underline;
    }

/* Responsive */
@media (max-width: 992px) {
    .notification-panel {
        position: static;
        margin-top: 20px;
        width: 100%;
    }
}

.notification-item.highlight {
    box-shadow: 0 0 12px rgba(25, 182, 238, 0.6);
}

/* Notifications Section */
.notifications-section {
    background: #fcfcfc;
    padding: 60px 0;
}

.notification-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.notification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 14px;
    margin-bottom: 12px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    position: relative;
}

    .notification-item:hover {
        background: #eaf6fd;
        transform: translateX(6px);
    }

.notif-icon {
    width: 45px;
    height: 45px;
    background: #19b6ee;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.notif-content h6 {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.notif-content small {
    color: #666;
    font-size: 0.8rem;
}

.badge-new {
    position: absolute;
    right: 15px;
    top: 15px;
    background: #ff3b3b;
    color: #fff;
    font-size: 0.65rem;
    padding: 4px 8px;
    border-radius: 8px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 22px;
    background: linear-gradient(135deg, #19b6ee, #0b87c9);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(25, 182, 238, 0.4);
    transition: all 0.3s ease;
}

    .btn-view-all:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(25, 182, 238, 0.55);
        color: #fff;
    }

/* Responsive */
@media (max-width: 768px) {
    .notification-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .badge-new {
        top: 10px;
        right: 10px;
    }
}

/* View All Notifications Button */
.view-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #19b6ee, #0d8ac7);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(25, 182, 238, 0.35);
    transition: all 0.3s ease;
}

    .view-all-btn i {
        font-size: 1rem;
    }

    .view-all-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(25, 182, 238, 0.5);
        color: #fff;
    }


/*--------------------------------------------------------------
# Featured Courses Section
--------------------------------------------------------------*/
.featured-courses .course-card {
    background: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px color-mix(in srgb, var(--default-color), transparent 90%);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .featured-courses .course-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 85%);
    }

.featured-courses .course-card {
    background: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px color-mix(in srgb, var(--default-color), transparent 90%);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .featured-courses .course-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 85%);
    }

.featured-courses .course-image {
    position: relative;
    overflow: hidden;
    height: auto;
}

    .featured-courses .course-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    .featured-courses .course-image:hover img {
        transform: scale(1.05);
    }

    .featured-courses .course-image .badge {
        position: absolute;
        top: 15px;
        left: 15px;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

        .featured-courses .course-image .badge.featured {
            background: var(--accent-color);
            color: var(--contrast-color);
        }

        .featured-courses .course-image .badge.new {
            background: #28a745;
            color: white;
        }

        .featured-courses .course-image .badge.certificate {
            background: #ffc107;
            color: #212529;
        }

        .featured-courses .course-image .badge.popular {
            background: #ff6b35;
            color: white;
        }

    .featured-courses .course-image .price-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: var(--heading-color);
        color: var(--contrast-color);
        padding: 8px 15px;
        border-radius: 25px;
        font-weight: 700;
        font-size: 14px;
    }


.featured-courses .course-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-courses .course-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

    .featured-courses .course-meta span {
        font-size: 12px;
        padding: 4px 10px;
        border-radius: 15px;
        font-weight: 500;
    }

        .featured-courses .course-meta span.level {
            background: color-mix(in srgb, var(--accent-color), transparent 85%);
            color: var(--accent-color);
        }

        .featured-courses .course-meta span.duration {
            background: color-mix(in srgb, var(--heading-color), transparent 85%);
            color: var(--heading-color);
        }

.featured-courses h3 {
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.3;
}

    .featured-courses h3 a {
        color: var(--heading-color);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .featured-courses h3 a:hover {
            color: var(--accent-color);
        }

.featured-courses p {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.featured-courses .instructor {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

    .featured-courses .instructor .instructor-img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
    }

    .featured-courses .instructor .instructor-info h6 {
        margin: 0;
        font-size: 14px;
        font-weight: 600;
        color: var(--heading-color);
    }

    .featured-courses .instructor .instructor-info span {
        font-size: 12px;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
    }

.featured-courses .course-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-top: 15px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

    .featured-courses .course-stats .rating {
        display: flex;
        align-items: center;
        gap: 3px;
    }

        .featured-courses .course-stats .rating i {
            color: #ffc107;
            font-size: 12px;
        }

        .featured-courses .course-stats .rating span {
            color: color-mix(in srgb, var(--default-color), transparent 30%);
            font-size: 12px;
            margin-left: 8px;
            font-weight: 500;
        }

    .featured-courses .course-stats .students {
        display: flex;
        align-items: center;
        gap: 5px;
    }

        .featured-courses .course-stats .students i {
            color: var(--accent-color);
            font-size: 14px;
        }

        .featured-courses .course-stats .students span {
            color: color-mix(in srgb, var(--default-color), transparent 30%);
            font-size: 12px;
            font-weight: 500;
        }

.featured-courses .btn-course {
    display: inline-block;
    background: var(--accent-color);
    color: var(--contrast-color);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: auto;
}

    .featured-courses .btn-course:hover {
        background: color-mix(in srgb, var(--accent-color), black 10%);
        transform: translateY(-2px);
    }

.featured-courses .more-courses {
    margin-top: 50px;
}

    .featured-courses .more-courses .btn-more {
        display: inline-block;
        background: transparent;
        color: var(--accent-color);
        padding: 15px 40px;
        border: 2px solid var(--accent-color);
        border-radius: 30px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .featured-courses .more-courses .btn-more:hover {
            background: var(--accent-color);
            color: var(--contrast-color);
            transform: translateY(-3px);
        }

@media (max-width: 768px) {
    .featured-courses .course-image {
        height: 200px;
    }

    .featured-courses .course-content {
        padding: 20px;
    }

    .featured-courses h3 {
        font-size: 18px;
    }

    .featured-courses .course-stats {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/*--------------------------------------------------------------
# Course Categories Section
--------------------------------------------------------------*/
.course-categories .category-card {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 54px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    display: block;
}
    /* 
.course-categories .category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-decoration: none; */


    .course-categories .category-card .category-icon {
        width: 60px;
        height: 60px;
        object-fit: contain; /* keep aspect ratio */

        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px; /* keep only bottom margin for spacing under the icon */
        transition: all 0.3s ease;
    }


        .course-categories .category-card .category-icon i {
            font-size: 30px;
            color: var(--contrast-color);
        }

    .course-categories .category-card h5 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--heading-color);
    }

    .course-categories .category-card .course-count {
        font-size: 14px;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        font-weight: 500;
    }

    .course-categories .category-card.category-tech .category-icon {
        background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    }

.ourse-categories .category-card.category-tech:hover {
    border-color: #3b82f6;
}

c

.course-categories .category-card.category-business .category-icon {
    background: linear-gradient(135deg, #10b981, #047857);
}




.course-categories .category-card.category-design .category-icon {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.course-categories .category-card.category-design:hover {
    border-color: #8b5cf6;
}

.course-categories .category-card.category-health .category-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.course-categories .category-card.category-health:hover {
    border-color: #ef4444;
}

.course-categories .category-card.category-language .category-icon {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.course-categories .category-card.category-language:hover {
    border-color: #f97316;
}

.course-categories .category-card.category-science .category-icon {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.course-categories .category-card.category-science:hover {
    border-color: #06b6d4;
}

.course-categories .category-card.category-marketing .category-icon {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.course-categories .category-card.category-marketing:hover {
    border-color: #ec4899;
}

.course-categories .category-card.category-finance .category-icon {
    background: linear-gradient(135deg, #059669, #047857);
}

.course-categories .category-card.category-finance:hover {
    border-color: #059669;
}

.course-categories .category-card.category-photography .category-icon {
    background: linear-gradient(135deg, #64748b, #475569);
}

.course-categories .category-card.category-photography:hover {
    border-color: #64748b;
}

.course-categories .category-card.category-music .category-icon {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

.course-categories .category-card.category-music:hover {
    border-color: #7c3aed;
}

.course-categories .category-card.category-engineering .category-icon {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.course-categories .category-card.category-engineering:hover {
    border-color: #6b7280;
}

.course-categories .category-card.category-law .category-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.course-categories .category-card.category-law:hover {
    border-color: #f59e0b;
}

.course-categories .category-card.category-culinary .category-icon {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
}

.course-categories .category-card.category-culinary:hover {
    border-color: #f43f5e;
}

.course-categories .category-card.category-sports .category-icon {
    background: linear-gradient(135deg, #84cc16, #65a30d);
}

.course-categories .category-card.category-sports:hover {
    border-color: #84cc16;
}

.course-categories .category-card.category-writing .category-icon {
    background: linear-gradient(135deg, #6366f1, #4338ca);
}

.course-categories .category-card.category-writing:hover {
    border-color: #6366f1;
}

.course-categories .category-card.category-psychology .category-icon {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.course-categories .category-card.category-psychology:hover {
    border-color: #14b8a6;
}

.course-categories .category-card.category-environment .category-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.course-categories .category-card.category-environment:hover {
    border-color: #22c55e;
}

.course-categories .category-card.category-communication .category-icon {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.course-categories .category-card.category-communication:hover {
    border-color: #0ea5e9;
}

@media (max-width: 576px) {
    .course-categories .category-card {
        padding: 20px 15px;
    }

        .course-categories .category-card .category-icon {
            width: 50px;
            height: 50px;
            margin-bottom: 15px;
        }

            .course-categories .category-card .category-icon i {
                font-size: 24px;
            }

        .course-categories .category-card h5 {
            font-size: 14px;
        }

        .course-categories .category-card .course-count {
            font-size: 13px;
        }
}

/* ============================================================
   DIRECTOR PAGE — STRONG MOBILE OVERRIDE
   ============================================================ */

/* ─── CONTACT BUTTON: email + phone full width one line ───── */
@media (max-width: 992px) {

  .instructor-hero-banner .btn-contact,
  .instructor-profile .btn-contact,
  .hero-content .btn-contact,
  a.btn-contact {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 14px !important;
    font-size: 12px !important;
    border-radius: 12px !important;
    gap: 8px !important;
    white-space: nowrap !important;
    background: rgba(255,255,255,0.95) !important;
    color: #136ad5 !important;
    text-decoration: none !important;
  }

  /* Hide the <br> tag inside btn-contact */
  .btn-contact br {
    display: none !important;
  }

  /* ─── SOCIAL MEDIA: all 5 icons in ONE row ── */
  .hero-content .social-media,
  .instructor-info .social-media,
  .contact-actions .social-media {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .hero-content .social-media a,
  .instructor-info .social-media a,
  .contact-actions .social-media a {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    font-size: 15px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  /* ─── CONTACT ACTIONS wrapper ── */
  .hero-content .contact-actions,
  .instructor-info .contact-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }
}

/* ─── PROFILE LINKS: 2x2 grid centered ──────────────────── */
@media (max-width: 992px) {

  /* Target the profile-links div directly */
  .profile-links,
  div.profile-links {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 12px !important;
    margin-top: 14px !important;
    justify-items: stretch !important;
  }

  .profile-links .profile-btn,
  .profile-btn {
    width: 100% !important;
    text-align: center !important;
    font-size: 12px !important;
    padding: 10px 6px !important;
    border-radius: 30px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }
}

/* ─── VERY SMALL SCREENS (< 380px) ──────────────────────── */
@media (max-width: 380px) {

  .profile-links,
  div.profile-links {
    grid-template-columns: 1fr !important;
  }

  .btn-contact,
  a.btn-contact {
    font-size: 10px !important;
    padding: 8px 10px !important;
  }

  .hero-content .social-media a,
  .instructor-info .social-media a {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    font-size: 13px !important;
  }
}
/*--------------------------------------------------------------
# Featured Instructors Section
--------------------------------------------------------------*/
.featured-instructors .instructor-card {
    background: var(--surface-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px color-mix(in srgb, var(--default-color), transparent 94%);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .featured-instructors .instructor-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 88%);
    }

        .featured-instructors .instructor-card:hover .instructor-image .overlay-content {
            opacity: 1;
        }

        .featured-instructors .instructor-card:hover .instructor-image img {
            transform: scale(1.05);
        }

.featured-instructors .instructor-image {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    overflow: visible; /* 🔑 REQUIRED */
}
/* Blog Swiper Navigation Buttons */
.blog-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .blog-nav-btn.prev {
        left: -24px;
    }

    .blog-nav-btn.next {
        right: -24px;
    }

    .blog-nav-btn:hover {
        background: #0d6efd;
        color: #ffffff;
        transform: translateY(-50%) scale(1.1);
    }

/* Hide on small screens */
@media (max-width: 768px) {
    .blog-nav-btn {
        display: none;
    }
}

.featured-instructors .instructor-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.featured-instructors .instructor-image .overlay-content {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-instructors .instructor-image .rating-stars {
    background: var(--surface-color);
    padding: 8px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 10px color-mix(in srgb, var(--default-color), transparent 90%);
}

    .featured-instructors .instructor-image .rating-stars i {
        color: #ffc107;
        font-size: 12px;
    }

        .featured-instructors .instructor-image .rating-stars i.bi-star {
            color: color-mix(in srgb, var(--default-color), transparent 80%);
        }

    .featured-instructors .instructor-image .rating-stars span {
        font-size: 12px;
        font-weight: 600;
        margin-left: 4px;
        color: var(--heading-color);
    }

.featured-instructors .instructor-image .course-count {
    background: var(--accent-color);
    color: var(--contrast-color);
    padding: 8px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px color-mix(in srgb, var(--accent-color), transparent 60%);
}

    .featured-instructors .instructor-image .course-count i {
        font-size: 14px;
    }

    .featured-instructors .instructor-image .course-count span {
        font-size: 12px;
        font-weight: 600;
    }

.featured-instructors .instructor-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

    .featured-instructors .instructor-info h5 {
        margin: 0 0 8px 0;
        font-size: 20px;
        font-weight: 700;
        color: var(--heading-color);
    }

    .featured-instructors .instructor-info .specialty {
        color: var(--accent-color);
        font-weight: 600;
        font-size: 14px;
        margin: 0 0 12px 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .featured-instructors .instructor-info .description {
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
        flex-grow: 1;
    }

.featured-instructors .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
    border-radius: 12px;
}

    .featured-instructors .stats-grid .stat {
        text-align: center;
    }

        .featured-instructors .stats-grid .stat .number {
            display: block;
            font-size: 18px;
            font-weight: 800;
            color: var(--heading-color);
            line-height: 1;
            margin-bottom: 4px;
        }

        .featured-instructors .stats-grid .stat .label {
            font-size: 11px;
            color: color-mix(in srgb, var(--default-color), transparent 50%);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
        }

.featured-instructors .action-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .featured-instructors .action-buttons .btn-view {
        background: var(--accent-color);
        color: var(--contrast-color);
        padding: 10px 20px;
        border-radius: 25px;
        text-decoration: none;
        font-weight: 600;
        font-size: 13px;
        transition: all 0.3s ease;
    }

        .featured-instructors .action-buttons .btn-view:hover {
            transform: translateY(-2px);
        }

    .featured-instructors .action-buttons .social-links {
        display: flex;
        gap: 6px;
    }

        .featured-instructors .action-buttons .social-links a {
            width: 32px;
            height: 32px;
            border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: color-mix(in srgb, var(--default-color), transparent 40%);
            transition: all 0.3s ease;
        }

            .featured-instructors .action-buttons .social-links a:hover {
                background-color: var(--accent-color);
                border-color: var(--accent-color);
                color: var(--contrast-color);
                transform: scale(1.1);
            }

            .featured-instructors .action-buttons .social-links a i {
                font-size: 14px;
            }

@media (max-width: 1399px) {
    .featured-instructors .col-xl-3 {
        flex: 0 0 auto;
        width: 25%;
    }
}

@media (max-width: 1199px) {
    .featured-instructors .col-lg-4 {
        flex: 0 0 auto;
        width: 33.333333%;
    }
}

@media (max-width: 991px) {
    .featured-instructors .instructor-card {
        margin-bottom: 20px;
    }

    /* .featured-instructors .instructor-image {
    height: 220px;
  } */

    .featured-instructors .instructor-info {
        padding: 20px;
    }

        .featured-instructors .instructor-info h5 {
            font-size: 18px;
        }
}

@media (max-width: 767px) {
    .featured-instructors .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    /* .featured-instructors .instructor-image {
    height: 200px;
  } */

    .featured-instructors .instructor-info {
        padding: 18px;
    }
}

@media (max-width: 575px) {
    .featured-instructors .row > * {
        width: 100% !important;
    }
    
  .featured-instructors .instructor-image {
    height: 320px;
  } 

    .featured-instructors .instructor-image .overlay-content {
        opacity: 1;
    }

    .featured-instructors .action-buttons {
        flex-direction: column;
        gap: 12px;
    }

        .featured-instructors .action-buttons .btn-view {
            width: 100%;
            text-align: center;
        }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
    padding: 80px 0;
    overflow: hidden;
}

    .testimonials .critic-reviews {
        margin-bottom: 60px;
    }

        .testimonials .critic-reviews .critic-review {
            background-color: var(--surface-color);
            padding: 30px;
            border-radius: 15px;
            position: relative;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
            height: 100%;
            transition: transform 0.3s ease;
        }

            .testimonials .critic-reviews .critic-review .review-quote {
                position: absolute;
                top: -20px;
                left: 20px;
                font-size: 80px;
                font-family: Georgia, serif;
                color: var(--accent-color);
                opacity: 0.2;
                line-height: 1;
            }

            .testimonials .critic-reviews .critic-review .stars {
                margin-bottom: 15px;
                display: flex;
            }

                .testimonials .critic-reviews .critic-review .stars i {
                    color: #FFD700;
                    margin-right: 3px;
                    font-size: 18px;
                }

            .testimonials .critic-reviews .critic-review p {
                font-size: 15px;
                line-height: 1.6;
                margin-bottom: 20px;
                color: var(--default-color);
                font-style: italic;
            }

            .testimonials .critic-reviews .critic-review .critic-info .critic-name {
                font-weight: 600;
                color: var(--heading-color);
                font-size: 16px;
            }

            .testimonials .critic-reviews .critic-review:hover {
                transform: translateY(-10px);
            }

    .testimonials .testimonials-container {
        margin-bottom: 60px;
    }

        .testimonials .testimonials-container .swiper-wrapper {
            height: auto !important;
            padding-bottom: 20px;
        }

        .testimonials .testimonials-container .testimonial-item {
            background-color: var(--surface-color);
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            height: 100%;
            border-top: 3px solid var(--accent-color);
        }

            .testimonials .testimonials-container .testimonial-item .stars {
                margin-bottom: 15px;
                display: flex;
            }

                .testimonials .testimonials-container .testimonial-item .stars i {
                    color: #FFD700;
                    margin-right: 3px;
                    font-size: 16px;
                }

            .testimonials .testimonials-container .testimonial-item p {
                font-size: 15px;
                font-style: italic;
                margin-bottom: 20px;
                color: var(--default-color);
                line-height: 1.6;
            }

            .testimonials .testimonials-container .testimonial-item .testimonial-profile {
                display: flex;
                align-items: center;
            }

                .testimonials .testimonials-container .testimonial-item .testimonial-profile img {
                    width: 50px;
                    height: 50px;
                    border-radius: 50%;
                    border: 4px solid color-mix(in srgb, var(--accent-color), transparent 80%);
                    margin-right: 15px;
                }

                .testimonials .testimonials-container .testimonial-item .testimonial-profile div h3 {
                    font-size: 16px;
                    font-weight: 600;
                    margin: 0 0 5px;
                    color: var(--heading-color);
                }

                .testimonials .testimonials-container .testimonial-item .testimonial-profile div h4 {
                    font-size: 14px;
                    color: color-mix(in srgb, var(--default-color), transparent 30%);
                    margin: 0;
                    font-weight: normal;
                }

        .testimonials .testimonials-container .swiper-pagination {
            margin-top: 20px;
            position: relative;
        }

            .testimonials .testimonials-container .swiper-pagination .swiper-pagination-bullet {
                width: 10px;
                height: 10px;
                background-color: color-mix(in srgb, var(--accent-color), transparent 70%);
                opacity: 1;
            }

                .testimonials .testimonials-container .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
                    background-color: var(--accent-color);
                    width: 20px;
                    border-radius: 10px;
                }

    .testimonials .overall-rating {
        background-color: var(--surface-color);
        padding: 40px;
        border-radius: 15px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
        display: inline-block;
    }

        .testimonials .overall-rating .rating-number {
            font-size: 48px;
            font-weight: 700;
            color: var(--heading-color);
            line-height: 1;
            margin-bottom: 10px;
        }

        .testimonials .overall-rating .rating-stars {
            margin-bottom: 15px;
        }

            .testimonials .overall-rating .rating-stars i {
                color: #FFD700;
                font-size: 22px;
                margin: 0 3px;
            }

        .testimonials .overall-rating p {
            color: var(--default-color);
            font-size: 15px;
            margin-bottom: 15px;
        }

        .testimonials .overall-rating .rating-platforms {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
        }

            .testimonials .overall-rating .rating-platforms span {
                font-size: 14px;
                color: var(--accent-color);
                background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
                padding: 5px 15px;
                border-radius: 20px;
            }

@media (max-width: 992px) {
    .testimonials .section-header h2 {
        font-size: 28px;
    }

    .testimonials .critic-reviews .critic-review {
        margin-bottom: 30px;
    }

    .testimonials .testimonials-container .testimonial-item {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }

        .testimonials .section-header h2 {
            font-size: 24px;
        }

        .testimonials .overall-rating {
            padding: 30px;
        }

            .testimonials .overall-rating .rating-number {
                font-size: 36px;
            }

            .testimonials .overall-rating .rating-stars i {
                font-size: 18px;
            }
}

/*--------------------------------------------------------------
# Recent Blog Posts Section
--------------------------------------------------------------*/
.recent-blog-posts .card {
    border: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
    height: 100%;
    background-color: var(--surface-color);
}

    .recent-blog-posts .card:hover .card-img-wrapper img {
        transform: scale(1.1);
    }

    .recent-blog-posts .card .card-top {
        padding: 1rem;
    }

        .recent-blog-posts .card .card-top img {
            width: 40px;
            height: 40px;
            object-fit: cover;
        }

        .recent-blog-posts .card .card-top .author-name {
            font-size: 0.9rem;
            color: var(--heading-color);
        }

        .recent-blog-posts .card .card-top .likes {
            font-size: 0.9rem;
            color: var(--accent-color);
        }

            .recent-blog-posts .card .card-top .likes i {
                margin-right: 0.25rem;
            }

    .recent-blog-posts .card .card-img-wrapper {
        overflow: hidden;
        max-height: 250px;
    }

        .recent-blog-posts .card .card-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease-in-out;
        }

    .recent-blog-posts .card .card-body {
        padding: 1.5rem;
    }

        .recent-blog-posts .card .card-body .card-title {
            font-size: 1.25rem;
            margin-bottom: 0.75rem;
            color: var(--heading-color);
            font-weight: 600;
        }

            .recent-blog-posts .card .card-body .card-title a {
                color: inherit;
            }

            .recent-blog-posts .card .card-body .card-title:hover {
                color: var(--accent-color);
            }

        .recent-blog-posts .card .card-body .card-text {
            font-size: 0.9rem;
            color: color-mix(in srgb, var(--default-color), transparent 25%);
        }

/*--------------------------------------------------------------
# Cta Section
--------------------------------------------------------------*/
.cta {
    position: relative;
    overflow: hidden;
}

    .cta::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("../img/bg/abstract-bg-3.webp") center/cover;
        opacity: 0.03;
        z-index: 1;
    }

    .cta .container {
        position: relative;
        z-index: 2;
    }

    .cta .cta-content {
        padding-right: 30px;
    }

@media (max-width: 991px) {
    .cta .cta-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

.cta .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .cta .cta-content h2 {
        font-size: 2rem;
    }
}

.cta .cta-content p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    line-height: 1.6;
}

.cta .features-list {
    margin-bottom: 32px;
}

    .cta .features-list .feature-item {
        display: flex;
        align-items: center;
        margin-bottom: 16px;
    }

        .cta .features-list .feature-item i {
            font-size: 1.2rem;
            color: var(--accent-color);
            margin-right: 12px;
            flex-shrink: 0;
        }

        .cta .features-list .feature-item span {
            font-weight: 500;
            color: var(--default-color);
        }

.cta .cta-actions {
    margin-bottom: 40px;
}

    .cta .cta-actions .btn {
        padding: 12px 30px;
        border-radius: 25px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-right: 16px;
        margin-bottom: 12px;
        transition: all 0.3s ease;
    }

        .cta .cta-actions .btn.btn-primary {
            background: var(--accent-color);
            border: 2px solid var(--accent-color);
            color: var(--contrast-color);
        }

            .cta .cta-actions .btn.btn-primary:hover {
                background: color-mix(in srgb, var(--accent-color), black 10%);
                border-color: color-mix(in srgb, var(--accent-color), black 10%);
                transform: translateY(-2px);
            }

        .cta .cta-actions .btn.btn-outline {
            background: transparent;
            border: 2px solid var(--accent-color);
            color: var(--accent-color);
        }

            .cta .cta-actions .btn.btn-outline:hover {
                background: var(--accent-color);
                color: var(--contrast-color);
                transform: translateY(-2px);
            }

.cta .stats-row {
    display: flex;
    gap: 40px;
}

@media (max-width: 576px) {
    .cta .stats-row {
        flex-direction: column;
        gap: 24px;
    }
}

.cta .stats-row .stat-item h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 8px;
    line-height: 1;
}

.cta .stats-row .stat-item p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--heading-color);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta .cta-image {
    position: relative;
}

    .cta .cta-image img {
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    }

    .cta .cta-image .floating-element {
        position: absolute;
        background: var(--surface-color);
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
    }

        .cta .cta-image .floating-element.student-card {
            top: 20px;
            right: -20px;
        }

@media (max-width: 576px) {
    .cta .cta-image .floating-element.student-card {
        right: 10px;
        padding: 15px;
    }
}

.cta .cta-image .floating-element.course-card {
    bottom: 30px;
    left: -20px;
}

@media (max-width: 576px) {
    .cta .cta-image .floating-element.course-card {
        left: 10px;
        padding: 15px;
    }
}

.cta .cta-image .floating-element .card-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .cta .cta-image .floating-element .card-content i {
        font-size: 2rem;
        color: var(--accent-color);
    }

    .cta .cta-image .floating-element .card-content .text .number {
        display: block;
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--heading-color);
        line-height: 1;
    }

    .cta .cta-image .floating-element .card-content .text .label {
        font-size: 0.8rem;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        font-weight: 500;
    }

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
    padding: 80px 0;
}

    .about .subtitle {
        display: inline-block;
        color: var(--accent-color);
        font-weight: 600;
        font-size: 1rem;
        margin-bottom: 0.75rem;
        position: relative;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .about .about-content {
        padding-left: 20px;
    }

        .about .about-content h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            line-height: 1.3;
        }

@media (max-width: 992px) {
    .about .about-content h2 {
        font-size: 2rem;
    }
}

.about .about-content p {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.about .stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

    .about .stats-row .stats-item {
        flex: 1;
        min-width: 100px;
    }

        .about .stats-row .stats-item .count {
            font-size: 2.25rem;
            font-weight: 700;
            color: var(--accent-color);
            display: block;
            margin-bottom: 0.5rem;
        }

        .about .stats-row .stats-item p {
            margin-bottom: 0;
            font-size: 0.95rem;
            font-weight: 500;
        }

.about .mission-card {
    background-color: var(--surface-color);
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    height: 100%;
    position: relative;
    transition: all 0.3s ease-in-out;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

    .about .mission-card:hover {
        transform: translateY(-5px);
    }

        .about .mission-card:hover .icon-box {
            background-color: var(--accent-color);
            color: var(--contrast-color);
        }

    .about .mission-card .icon-box {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.75rem;
        color: var(--accent-color);
        margin: 0 auto 1.5rem;
        transition: all 0.3s ease-in-out;
    }

    .about .mission-card h3 {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .about .mission-card p {
        margin-bottom: 0;
        font-size: 0.95rem;
        line-height: 1.8;
        color: color-mix(in srgb, var(--default-color), transparent 15%);
    }

.about .achievements {
    padding-left: 20px;
}

    .about .achievements h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }

@media (max-width: 992px) {
    .about .achievements h2 {
        font-size: 2rem;
    }
}

.about .achievements p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.about .achievements .achievements-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

    .about .achievements .achievements-list li {
        padding: 0.5rem 0;
        font-size: 1rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

        .about .achievements .achievements-list li i {
            color: var(--accent-color);
            font-size: 1.25rem;
            flex-shrink: 0;
        }

.about .achievements .btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .about .achievements .btn-explore:hover {
        background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
        gap: 0.75rem;
    }

    .about .achievements .btn-explore i {
        font-size: 1rem;
    }

.about .about-gallery img {
    border: 5px solid var(--surface-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

    .about .about-gallery img:hover {
        transform: scale(1.02);
    }

@media (max-width: 992px) {

    .about .about-content,
    .about .achievements {
        padding-left: 0;
        margin-top: 2rem;
    }

    .about .about-gallery {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .about .stats-row {
        justify-content: center;
        gap: 1.5rem;
    }

        .about .stats-row .stats-item {
            flex: 0 0 40%;
            text-align: center;
        }

    .about .mission-card {
        margin-bottom: 1.5rem;
    }
}

/*--------------------------------------------------------------
# Courses 2 Section
--------------------------------------------------------------*/
.courses-2 .course-filters {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

    .courses-2 .course-filters .filter-title {
        color: var(--heading-color);
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%);
    }

    .courses-2 .course-filters .filter-group {
        margin-bottom: 25px;
    }

        .courses-2 .course-filters .filter-group h5 {
            color: var(--heading-color);
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 15px;
        }

    .courses-2 .course-filters .filter-options {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .courses-2 .course-filters .filter-checkbox {
        position: relative;
        display: flex;
        align-items: center;
        cursor: pointer;
        font-size: 14px;
        color: var(--default-color);
        padding-left: 25px;
        transition: color 0.3s ease;
    }

        .courses-2 .course-filters .filter-checkbox:hover {
            color: var(--accent-color);
        }

        .courses-2 .course-filters .filter-checkbox input {
            position: absolute;
            opacity: 0;
            cursor: pointer;
        }

            .courses-2 .course-filters .filter-checkbox input:checked ~ .checkmark {
                background-color: var(--accent-color);
                border-color: var(--accent-color);
            }

                .courses-2 .course-filters .filter-checkbox input:checked ~ .checkmark:after {
                    display: block;
                }

        .courses-2 .course-filters .filter-checkbox .checkmark {
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            height: 16px;
            width: 16px;
            background-color: var(--surface-color);
            border: 2px solid color-mix(in srgb, var(--default-color), transparent 70%);
            border-radius: 3px;
            transition: all 0.3s ease;
        }

            .courses-2 .course-filters .filter-checkbox .checkmark:after {
                content: "";
                position: absolute;
                display: none;
                left: 4px;
                top: 1px;
                width: 4px;
                height: 8px;
                border: solid var(--contrast-color);
                border-width: 0 2px 2px 0;
                transform: rotate(45deg);
            }

.courses-2 .courses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

    .courses-2 .courses-header .search-box {
        position: relative;
        flex: 1;
        max-width: 400px;
    }

        .courses-2 .courses-header .search-box i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: color-mix(in srgb, var(--default-color), transparent 50%);
        }

        .courses-2 .courses-header .search-box input {
            width: 100%;
            padding: 12px 20px 12px 45px;
            border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
            border-radius: 25px;
            font-size: 14px;
            background-color: var(--surface-color);
            color: var(--default-color);
            transition: all 0.3s ease;
        }

            .courses-2 .courses-header .search-box input:focus {
                outline: none;
                border-color: var(--accent-color);
                box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 90%);
            }

            .courses-2 .courses-header .search-box input::placeholder {
                color: color-mix(in srgb, var(--default-color), transparent 50%);
            }

    .courses-2 .courses-header .sort-dropdown select {
        padding: 12px 40px 12px 15px;
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
        border-radius: 8px;
        background-color: var(--surface-color);
        color: var(--default-color);
        font-size: 14px;
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
    }

        .courses-2 .courses-header .sort-dropdown select:focus {
            outline: none;
            border-color: var(--accent-color);
        }

.courses-2 .courses-grid .course-card {
    background-color: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .courses-2 .courses-grid .course-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

.courses-2 .courses-grid .course-image {
    position: relative;
    overflow: hidden;
}

    .courses-2 .courses-grid .course-image img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .courses-2 .courses-grid .course-image:hover img {
        transform: scale(1.05);
    }

    .courses-2 .courses-grid .course-image .course-badge {
        position: absolute;
        top: 15px;
        left: 15px;
        background-color: var(--accent-color);
        color: var(--contrast-color);
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
    }

        .courses-2 .courses-grid .course-image .course-badge.badge-free {
            background-color: #28a745;
        }

        .courses-2 .courses-grid .course-image .course-badge.badge-new {
            background-color: #ff6b35;
        }

        .courses-2 .courses-grid .course-image .course-badge.badge-certificate {
            background-color: #6f42c1;
        }

    .courses-2 .courses-grid .course-image .course-price {
        position: absolute;
        top: 15px;
        right: 15px;
        /* India Flag: Horizontal stripes - Saffron, White, Green */
        background: linear-gradient( to bottom, #FFFFFF 33.33% 66.66%, /* White (middle stripe) */
        );
        color: white;
        padding: 8px 15px;
        border-radius: 25px;
        font-size: 14px;
        font-weight: 600;
        text-align: center;
        font-family: sans-serif;
        border: 1px solid rgba(0, 0, 0, 0.2);
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

/* ===============================
   COURSE IMAGE FINAL SIZE + CROP
   =============================== */

.course-card .course-image {
    position: relative;
    width: 100%;
    height: 220px; /* FINAL IMAGE HEIGHT */
    overflow: hidden;
    border-radius: 12px;
}

    .course-card .course-image img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* 🔥 THIS CROPS IMAGE */
        display: block;
    }

/* Modern Blue Price Badge */
.course-card .course-image .course-price {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    box-shadow: 0 6px 18px rgba(21, 101, 192, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    z-index: 2;
    backdrop-filter: blur(4px);
}



/* Free badge (optional consistency) */
.course-card .course-image .price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #198754;
    color: #fff;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}


.courses-2 .courses-grid .course-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

    .courses-2 .courses-grid .course-content .course-meta {
        display: flex;
        gap: 10px;
        margin-bottom: 15px;
    }

        .courses-2 .courses-grid .course-content .course-meta span {
            padding: 4px 10px;
            border-radius: 15px;
            font-size: 12px;
            font-weight: 500;
            text-transform: uppercase;
        }

            .courses-2 .courses-grid .course-content .course-meta span.category {
                background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
                color: var(--accent-color);
            }

            .courses-2 .courses-grid .course-content .course-meta span.level {
                background-color: color-mix(in srgb, var(--heading-color), transparent 85%);
                color: var(--heading-color);
            }

    .courses-2 .courses-grid .course-content h3 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 15px;
        color: var(--heading-color);
        line-height: 1.4;
    }

    .courses-2 .courses-grid .course-content p {
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
        flex-grow: 1;
    }

    .courses-2 .courses-grid .course-content .course-stats {
        margin-bottom: 20px;
    }

        .courses-2 .courses-grid .course-content .course-stats .stat {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            margin-right: 15px;
            margin-bottom: 8px;
            font-size: 13px;
            color: color-mix(in srgb, var(--default-color), transparent 30%);
        }

            .courses-2 .courses-grid .course-content .course-stats .stat i {
                color: var(--accent-color);
            }

        .courses-2 .courses-grid .course-content .course-stats .rating {
            display: flex;
            align-items: center;
            gap: 2px;
            font-size: 13px;
            color: color-mix(in srgb, var(--default-color), transparent 30%);
        }

            .courses-2 .courses-grid .course-content .course-stats .rating i {
                color: #ffc107;
                font-size: 12px;
            }

            .courses-2 .courses-grid .course-content .course-stats .rating span {
                margin-left: 5px;
            }

    .courses-2 .courses-grid .course-content .instructor-info {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
        padding-top: 15px;
        border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    }

.multi-instructor {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.instructor-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 13px;
}

.instructor-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.instructor-name {
    white-space: nowrap;
}
/* Vertical Instructor Layout */

.instructor-info.multi-instructor {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.instructor-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

    .instructor-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
    }

.instructor-avatar {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 18px;
}

.instructor-name {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}


.courses-2 .courses-grid .course-content .instructor-info .instructor-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.courses-2 .courses-grid .course-content .instructor-info .instructor-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--heading-color);
}

.courses-2 .courses-grid .course-content .btn-course {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: auto;
}

    .courses-2 .courses-grid .course-content .btn-course:hover {
        background-color: color-mix(in srgb, var(--accent-color), black 15%);
        color: var(--contrast-color);
        transform: translateY(-2px);
    }

.courses-2 .pagination-wrapper {
    margin-top: 40px;
}

    .courses-2 .pagination-wrapper .pagination .page-item {
        margin: 0 3px;
    }

        .courses-2 .pagination-wrapper .pagination .page-item .page-link {
            border: none;
            background-color: var(--surface-color);
            color: var(--default-color);
            padding: 12px 16px;
            border-radius: 8px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

            .courses-2 .pagination-wrapper .pagination .page-item .page-link:hover {
                background-color: var(--accent-color);
                color: var(--contrast-color);
            }

        .courses-2 .pagination-wrapper .pagination .page-item.active .page-link {
            background-color: var(--accent-color);
            color: var(--contrast-color);
        }

        .courses-2 .pagination-wrapper .pagination .page-item.disabled .page-link {
            background-color: color-mix(in srgb, var(--surface-color), transparent 50%);
            color: color-mix(in srgb, var(--default-color), transparent 50%);
            cursor: not-allowed;
        }

            .courses-2 .pagination-wrapper .pagination .page-item.disabled .page-link:hover {
                background-color: color-mix(in srgb, var(--surface-color), transparent 50%);
                color: color-mix(in srgb, var(--default-color), transparent 50%);
            }

@media (max-width: 992px) {
    .courses-2 .course-filters {
        margin-bottom: 20px;
    }

    .courses-2 .courses-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

        .courses-2 .courses-header .search-box {
            max-width: none;
        }
}

@media (max-width: 768px) {
    .courses-2 .courses-grid .course-card {
        margin-bottom: 20px;
    }

    .courses-2 .course-filters {
        padding: 20px;
    }
}

/*--------------------------------------------------------------
# Course Details Section
--------------------------------------------------------------*/
.course-details .course-hero {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    align-items: center;
}

@media (max-width: 992px) {
    .course-details .course-hero {
        flex-direction: column;
        text-align: center;
    }
}

.course-details .course-hero .hero-content {
    flex: 1;
}

    .course-details .course-hero .hero-content .course-badge {
        display: flex;
        gap: 15px;
        margin-bottom: 20px;
    }

@media (max-width: 992px) {
    .course-details .course-hero .hero-content .course-badge {
        justify-content: center;
    }
}

.course-details .course-hero .hero-content .course-badge span {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
}

    .course-details .course-hero .hero-content .course-badge span.category {
        background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
        color: var(--accent-color);
    }

    .course-details .course-hero .hero-content .course-badge span.level {
        background-color: color-mix(in srgb, var(--heading-color), transparent 85%);
        color: var(--heading-color);
    }

.course-details .course-hero .hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--heading-color);
}

@media (max-width: 768px) {
    .course-details .course-hero .hero-content h1 {
        font-size: 32px;
    }
}

.course-details .course-hero .hero-content .course-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin-bottom: 30px;
}

.course-details .course-hero .hero-content .instructor-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: var(--surface-color);
    border-radius: 15px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

@media (max-width: 992px) {
    .course-details .course-hero .hero-content .instructor-card {
        justify-content: center;
    }
}

.course-details .course-hero .hero-content .instructor-card .instructor-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.course-details .course-hero .hero-content .instructor-card .instructor-details h5 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--heading-color);
}

.course-details .course-hero .hero-content .instructor-card .instructor-details span {
    display: block;
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin-bottom: 8px;
}

.course-details .course-hero .hero-content .instructor-card .instructor-details .instructor-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .course-details .course-hero .hero-content .instructor-card .instructor-details .instructor-rating i {
        color: #ffc107;
        font-size: 14px;
    }

    .course-details .course-hero .hero-content .instructor-card .instructor-details .instructor-rating span {
        font-size: 13px;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
        margin-left: 8px;
        margin-bottom: 0;
    }

.course-details .course-hero .hero-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

    .course-details .course-hero .hero-image img {
        width: 100%;
        height: 350px;
        object-fit: cover;
    }

    .course-details .course-hero .hero-image .play-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

        .course-details .course-hero .hero-image .play-overlay .play-btn {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background-color: var(--accent-color);
            border: none;
            color: var(--contrast-color);
            font-size: 32px;
            margin-bottom: 15px;
            transition: all 0.3s;
            box-shadow: 0 10px 30px color-mix(in srgb, var(--accent-color), transparent 50%);
        }

            .course-details .course-hero .hero-image .play-overlay .play-btn:hover {
                transform: scale(1.1);
                box-shadow: 0 15px 40px color-mix(in srgb, var(--accent-color), transparent 40%);
            }

        .course-details .course-hero .hero-image .play-overlay span {
            display: block;
            font-size: 14px;
            font-weight: 600;
            color: var(--contrast-color);
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        }

.course-details .course-nav-tabs .nav-tabs {
    border: none;
    background-color: var(--surface-color);
    border-radius: 15px;
    padding: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 90%);
}

    .course-details .course-nav-tabs .nav-tabs .nav-item {
        flex: 1;
    }

    .course-details .course-nav-tabs .nav-tabs .nav-link {
        border: none;
        border-radius: 10px;
        padding: 15px 20px;
        text-align: center;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        background: none;
        font-weight: 500;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

@media (max-width: 576px) {
    .course-details .course-nav-tabs .nav-tabs .nav-link {
        padding: 12px 10px;
        font-size: 14px;
        flex-direction: column;
        gap: 5px;
    }
}

.course-details .course-nav-tabs .nav-tabs .nav-link i {
    font-size: 18px;
}

@media (max-width: 576px) {
    .course-details .course-nav-tabs .nav-tabs .nav-link i {
        font-size: 16px;
    }
}

.course-details .course-nav-tabs .nav-tabs .nav-link.active {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.course-details .course-nav-tabs .nav-tabs .nav-link:hover:not(.active) {
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    color: var(--accent-color);
}

.course-details .course-nav-tabs .tab-content .overview-section {
    margin-bottom: 40px;
}

    .course-details .course-nav-tabs .tab-content .overview-section h3 {
        font-size: 24px;
        margin-bottom: 20px;
        color: var(--heading-color);
    }

    .course-details .course-nav-tabs .tab-content .overview-section p {
        font-size: 16px;
        line-height: 1.7;
        color: var(--default-color);
        margin-bottom: 15px;
    }

.course-details .course-nav-tabs .tab-content .skills-grid {
    margin-bottom: 40px;
}

    .course-details .course-nav-tabs .tab-content .skills-grid h3 {
        font-size: 24px;
        margin-bottom: 30px;
        color: var(--heading-color);
    }

    .course-details .course-nav-tabs .tab-content .skills-grid .skill-item {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        padding: 25px;
        background-color: var(--surface-color);
        border-radius: 15px;
        margin-bottom: 20px;
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        transition: all 0.3s;
    }

        .course-details .course-nav-tabs .tab-content .skills-grid .skill-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 85%);
        }

        .course-details .course-nav-tabs .tab-content .skills-grid .skill-item .skill-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), blue 20%));
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

            .course-details .course-nav-tabs .tab-content .skills-grid .skill-item .skill-icon i {
                font-size: 24px;
                color: var(--contrast-color);
            }

        .course-details .course-nav-tabs .tab-content .skills-grid .skill-item .skill-content h5 {
            margin: 0 0 8px 0;
            font-size: 18px;
            font-weight: 600;
            color: var(--heading-color);
        }

        .course-details .course-nav-tabs .tab-content .skills-grid .skill-item .skill-content p {
            margin: 0;
            font-size: 14px;
            color: color-mix(in srgb, var(--default-color), transparent 30%);
        }

.course-details .course-nav-tabs .tab-content .requirements-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.course-details .course-nav-tabs .tab-content .requirements-section .requirements-list {
    list-style: none;
    padding: 0;
}

    .course-details .course-nav-tabs .tab-content .requirements-section .requirements-list li {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
        font-size: 15px;
        color: var(--default-color);
    }

        .course-details .course-nav-tabs .tab-content .requirements-section .requirements-list li i {
            color: var(--accent-color);
            font-size: 18px;
            flex-shrink: 0;
        }

.course-details .course-nav-tabs .tab-content .curriculum-overview {
    margin-bottom: 30px;
}

    .course-details .course-nav-tabs .tab-content .curriculum-overview .curriculum-stats {
        display: flex;
        gap: 30px;
        padding: 25px;
        background-color: var(--surface-color);
        border-radius: 15px;
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    }

@media (max-width: 576px) {
    .course-details .course-nav-tabs .tab-content .curriculum-overview .curriculum-stats {
        flex-direction: column;
        gap: 15px;
    }
}

.course-details .course-nav-tabs .tab-content .curriculum-overview .curriculum-stats .stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .course-details .course-nav-tabs .tab-content .curriculum-overview .curriculum-stats .stat i {
        color: var(--accent-color);
        font-size: 20px;
    }

    .course-details .course-nav-tabs .tab-content .curriculum-overview .curriculum-stats .stat span {
        font-weight: 600;
        color: var(--default-color);
    }

.course-details .course-nav-tabs .tab-content .accordion .curriculum-module {
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

    .course-details .course-nav-tabs .tab-content .accordion .curriculum-module .accordion-button {
        background-color: var(--surface-color);
        color: var(--default-color);
        border: none;
        padding: 25px;
        font-weight: 600;
        box-shadow: none;
    }

        .course-details .course-nav-tabs .tab-content .accordion .curriculum-module .accordion-button:not(.collapsed) {
            background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
            color: var(--heading-color);
        }

        .course-details .course-nav-tabs .tab-content .accordion .curriculum-module .accordion-button:focus {
            box-shadow: none;
        }

        .course-details .course-nav-tabs .tab-content .accordion .curriculum-module .accordion-button .module-info {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 5px;
        }

            .course-details .course-nav-tabs .tab-content .accordion .curriculum-module .accordion-button .module-info .module-title {
                font-size: 18px;
            }

            .course-details .course-nav-tabs .tab-content .accordion .curriculum-module .accordion-button .module-info .module-meta {
                font-size: 14px;
                color: color-mix(in srgb, var(--default-color), transparent 40%);
                font-weight: 400;
            }

    .course-details .course-nav-tabs .tab-content .accordion .curriculum-module .accordion-body {
        padding: 0;
    }

        .course-details .course-nav-tabs .tab-content .accordion .curriculum-module .accordion-body .lessons-list .lesson {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 25px;
            border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
            transition: background-color 0.3s;
        }

            .course-details .course-nav-tabs .tab-content .accordion .curriculum-module .accordion-body .lessons-list .lesson:hover {
                background-color: color-mix(in srgb, var(--accent-color), transparent 96%);
            }

            .course-details .course-nav-tabs .tab-content .accordion .curriculum-module .accordion-body .lessons-list .lesson:last-child {
                border-bottom: none;
            }

            .course-details .course-nav-tabs .tab-content .accordion .curriculum-module .accordion-body .lessons-list .lesson i {
                color: var(--accent-color);
                font-size: 18px;
                margin-right: 15px;
            }

            .course-details .course-nav-tabs .tab-content .accordion .curriculum-module .accordion-body .lessons-list .lesson .lesson-title {
                flex: 1;
                font-size: 15px;
                color: var(--default-color);
            }

            .course-details .course-nav-tabs .tab-content .accordion .curriculum-module .accordion-body .lessons-list .lesson .lesson-time {
                font-size: 14px;
                color: color-mix(in srgb, var(--default-color), transparent 40%);
                font-weight: 500;
            }

.course-details .course-nav-tabs .tab-content .reviews-summary {
    margin-bottom: 40px;
    text-align: center;
    padding: 40px;
    background-color: var(--surface-color);
    border-radius: 20px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

    .course-details .course-nav-tabs .tab-content .reviews-summary .rating-overview .overall-rating .rating-number {
        font-size: 64px;
        font-weight: 700;
        color: var(--accent-color);
        line-height: 1;
        margin-bottom: 10px;
    }

    .course-details .course-nav-tabs .tab-content .reviews-summary .rating-overview .overall-rating .rating-stars {
        margin-bottom: 10px;
    }

        .course-details .course-nav-tabs .tab-content .reviews-summary .rating-overview .overall-rating .rating-stars i {
            font-size: 24px;
            color: #ffc107;
            margin: 0 2px;
        }

    .course-details .course-nav-tabs .tab-content .reviews-summary .rating-overview .overall-rating .rating-text {
        font-size: 16px;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
    }

.course-details .course-nav-tabs .tab-content .reviews-list .review-item {
    padding: 30px;
    background-color: var(--surface-color);
    border-radius: 15px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    margin-bottom: 25px;
}

    .course-details .course-nav-tabs .tab-content .reviews-list .review-item .reviewer-info {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
    }

        .course-details .course-nav-tabs .tab-content .reviews-list .review-item .reviewer-info .reviewer-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
        }

        .course-details .course-nav-tabs .tab-content .reviews-list .review-item .reviewer-info .reviewer-details {
            flex: 1;
        }

            .course-details .course-nav-tabs .tab-content .reviews-list .review-item .reviewer-info .reviewer-details h6 {
                margin: 0 0 5px 0;
                font-size: 16px;
                font-weight: 600;
                color: var(--heading-color);
            }

            .course-details .course-nav-tabs .tab-content .reviews-list .review-item .reviewer-info .reviewer-details .review-rating i {
                color: #ffc107;
                font-size: 14px;
                margin-right: 2px;
            }

        .course-details .course-nav-tabs .tab-content .reviews-list .review-item .reviewer-info .review-date {
            font-size: 13px;
            color: color-mix(in srgb, var(--default-color), transparent 50%);
        }

    .course-details .course-nav-tabs .tab-content .reviews-list .review-item .review-text {
        font-size: 15px;
        line-height: 1.6;
        color: var(--default-color);
        margin: 0;
    }

.course-details .enrollment-card {
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px color-mix(in srgb, var(--default-color), transparent 90%);
    position: sticky;
    top: 100px;
}

    .course-details .enrollment-card .card-header {
        padding: 30px 30px 20px;
        border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
    }

        .course-details .enrollment-card .card-header .price-display {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }

            .course-details .enrollment-card .card-header .price-display .current-price {
                font-size: 36px;
                font-weight: 700;
                color: var(--accent-color);
            }

            .course-details .enrollment-card .card-header .price-display .original-price {
                font-size: 20px;
                color: color-mix(in srgb, var(--default-color), transparent 50%);
                text-decoration: line-through;
            }

            .course-details .enrollment-card .card-header .price-display .discount {
                padding: 5px 12px;
                background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
                color: var(--accent-color);
                border-radius: 20px;
                font-size: 12px;
                font-weight: 700;
            }

        .course-details .enrollment-card .card-header .enrollment-count {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: color-mix(in srgb, var(--default-color), transparent 30%);
        }

            .course-details .enrollment-card .card-header .enrollment-count i {
                color: var(--accent-color);
            }

    .course-details .enrollment-card .card-body {
        padding: 30px;
    }

        .course-details .enrollment-card .card-body .course-highlights {
            margin-bottom: 30px;
        }

            .course-details .enrollment-card .card-body .course-highlights .highlight-item {
                display: flex;
                align-items: center;
                gap: 12px;
                margin-bottom: 12px;
            }

                .course-details .enrollment-card .card-body .course-highlights .highlight-item i {
                    color: var(--accent-color);
                    font-size: 16px;
                    width: 16px;
                }

                .course-details .enrollment-card .card-body .course-highlights .highlight-item span {
                    font-size: 14px;
                    color: var(--default-color);
                }

        .course-details .enrollment-card .card-body .action-buttons {
            margin-bottom: 25px;
        }

            .course-details .enrollment-card .card-body .action-buttons .btn-primary {
                width: 100%;
                padding: 16px;
                background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), blue 20%));
                color: var(--contrast-color);
                border: none;
                border-radius: 12px;
                font-size: 16px;
                font-weight: 600;
                margin-bottom: 12px;
                transition: all 0.3s;
            }

                .course-details .enrollment-card .card-body .action-buttons .btn-primary:hover {
                    transform: translateY(-2px);
                    box-shadow: 0 10px 25px color-mix(in srgb, var(--accent-color), transparent 60%);
                }

            .course-details .enrollment-card .card-body .action-buttons .btn-secondary {
                width: 100%;
                padding: 16px;
                background-color: transparent;
                color: var(--accent-color);
                border: 2px solid var(--accent-color);
                border-radius: 12px;
                font-size: 16px;
                font-weight: 600;
                transition: all 0.3s;
            }

                .course-details .enrollment-card .card-body .action-buttons .btn-secondary:hover {
                    background-color: var(--accent-color);
                    color: var(--contrast-color);
                }

        .course-details .enrollment-card .card-body .guarantee {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-size: 13px;
            color: color-mix(in srgb, var(--default-color), transparent 30%);
        }

            .course-details .enrollment-card .card-body .guarantee i {
                color: var(--accent-color);
            }

.course-details .course-details-card {
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

    .course-details .course-details-card h4 {
        font-size: 20px;
        margin-bottom: 25px;
        color: var(--heading-color);
    }

    .course-details .course-details-card .detail-grid .detail-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
    }

        .course-details .course-details-card .detail-grid .detail-row:last-child {
            border-bottom: none;
        }

        .course-details .course-details-card .detail-grid .detail-row .detail-label {
            font-size: 14px;
            font-weight: 600;
            color: var(--default-color);
        }

        .course-details .course-details-card .detail-grid .detail-row .detail-value {
            font-size: 14px;
            color: color-mix(in srgb, var(--default-color), transparent 20%);
        }

.course-details .share-course-card {
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

    .course-details .share-course-card h4 {
        font-size: 20px;
        margin-bottom: 25px;
        color: var(--heading-color);
    }

    .course-details .share-course-card .social-links {
        display: flex;
        justify-content: center;
        gap: 15px;
    }

        .course-details .share-course-card .social-links .social-link {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            text-decoration: none;
        }

            .course-details .share-course-card .social-links .social-link.facebook {
                background-color: #1877f2;
                color: white;
            }

                .course-details .share-course-card .social-links .social-link.facebook:hover {
                    background-color: color-mix(in srgb, #1877f2, black 10%);
                }

            .course-details .share-course-card .social-links .social-link.twitter {
                background-color: #1da1f2;
                color: white;
            }

                .course-details .share-course-card .social-links .social-link.twitter:hover {
                    background-color: color-mix(in srgb, #1da1f2, black 10%);
                }

            .course-details .share-course-card .social-links .social-link.linkedin {
                background-color: #0077b5;
                color: white;
            }

                .course-details .share-course-card .social-links .social-link.linkedin:hover {
                    background-color: color-mix(in srgb, #0077b5, black 10%);
                }

            .course-details .share-course-card .social-links .social-link.email {
                background-color: var(--accent-color);
                color: white;
            }

                .course-details .share-course-card .social-links .social-link.email:hover {
                    background-color: color-mix(in srgb, var(--accent-color), black 10%);
                }

            .course-details .share-course-card .social-links .social-link:hover {
                transform: translateY(-3px);
            }

@media (max-width: 992px) {
    .course-details .enrollment-card {
        position: static;
    }
}

/*--------------------------------------------------------------
# Instructors Section
--------------------------------------------------------------*/
.instructors .instructor-card {
    background: var(--surface-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px color-mix(in srgb, var(--default-color), transparent 94%);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .instructors .instructor-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 88%);
    }

        .instructors .instructor-card:hover .instructor-image .overlay-content {
            opacity: 1;
        }

        .instructors .instructor-card:hover .instructor-image img {
            transform: scale(1.05);
        }
/* REPLACE WITH: */
.instructors .instructor-image {
    position: relative;
    height: auto;          /* ← removes fixed crop height */
    min-height: 300px;     /* ← keeps card consistent */
    overflow: visible;     /* ← no more clipping */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: #f5f5f5;
}

    

    .instructors .instructor-image .overlay-content {
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        display: flex;
        justify-content: space-between;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .instructors .instructor-image .rating-stars {
        background: var(--surface-color);
        padding: 8px 12px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        gap: 4px;
        box-shadow: 0 2px 10px color-mix(in srgb, var(--default-color), transparent 90%);
    }

        .instructors .instructor-image .rating-stars i {
            color: #ffc107;
            font-size: 12px;
        }

            .instructors .instructor-image .rating-stars i.bi-star {
                color: color-mix(in srgb, var(--default-color), transparent 80%);
            }

        .instructors .instructor-image .rating-stars span {
            font-size: 12px;
            font-weight: 600;
            margin-left: 4px;
            color: var(--heading-color);
        }

    .instructors .instructor-image .course-count {
        background: var(--accent-color);
        color: var(--contrast-color);
        padding: 8px 12px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        gap: 6px;
        box-shadow: 0 2px 10px color-mix(in srgb, var(--accent-color), transparent 60%);
    }

        .instructors .instructor-image .course-count i {
            font-size: 14px;
        }

        .instructors .instructor-image .course-count span {
            font-size: 12px;
            font-weight: 600;
        }

.instructors .instructor-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

    .instructors .instructor-info h5 {
        margin: 0 0 8px 0;
        font-size: 20px;
        font-weight: 700;
        color: var(--heading-color);
    }

    .instructors .instructor-info .specialty {
        color: var(--accent-color);
        font-weight: 600;
        font-size: 14px;
        margin: 0 0 12px 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .instructors .instructor-info .description {
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
        flex-grow: 1;
    }

.instructors .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
    border-radius: 12px;
}

    .instructors .stats-grid .stat {
        text-align: center;
    }

        .instructors .stats-grid .stat .number {
            display: block;
            font-size: 18px;
            font-weight: 800;
            color: var(--heading-color);
            line-height: 1;
            margin-bottom: 4px;
        }

        .instructors .stats-grid .stat .label {
            font-size: 11px;
            color: color-mix(in srgb, var(--default-color), transparent 50%);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
        }

.instructors .action-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .instructors .action-buttons .btn-view {
        background: var(--accent-color);
        color: var(--contrast-color);
        padding: 10px 20px;
        border-radius: 25px;
        text-decoration: none;
        font-weight: 600;
        font-size: 13px;
        transition: all 0.3s ease;
    }

        .instructors .action-buttons .btn-view:hover {
            transform: translateY(-2px);
        }

    .instructors .action-buttons .social-links {
        display: flex;
        gap: 6px;
    }

        .instructors .action-buttons .social-links a {
            width: 32px;
            height: 32px;
            border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: color-mix(in srgb, var(--default-color), transparent 40%);
            transition: all 0.3s ease;
        }

            .instructors .action-buttons .social-links a:hover {
                background-color: var(--accent-color);
                border-color: var(--accent-color);
                color: var(--contrast-color);
                transform: scale(1.1);
            }

            .instructors .action-buttons .social-links a i {
                font-size: 14px;
            }

@media (max-width: 1399px) {
    .instructors .col-xl-3 {
        flex: 0 0 auto;
        width: 25%;
    }
}

@media (max-width: 1199px) {
    .instructors .col-lg-4 {
        flex: 0 0 auto;
        width: 33.333333%;
    }
}

@media (max-width: 991px) {
    .instructors .instructor-card {
        margin-bottom: 20px;
    }

    .instructors .instructor-image {
        height: 220px;
    }

    .instructors .instructor-info {
        padding: 20px;
    }

        .instructors .instructor-info h5 {
            font-size: 18px;
        }
}

@media (max-width: 767px) {
    .instructors .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }
.instructors .instructor-image img {
        object-fit: cover;
        object-position: top center;
    }

    /* Full width cards on small screens */
    .instructors .col-md-6 {
        flex: 0 0 auto;
        width: 100% !important;
    }
    .instructors .instructor-image {
        height: 280px;
    }

    .instructors .instructor-info {
        padding: 18px;
    }
}

@media (max-width: 575px) {
    .instructors .row > * {
        width: 100% !important;
    }

    .instructors .instructor-image {
        height: 250px;
    }

        .instructors .instructor-image .overlay-content {
            opacity: 1;
        }

    .instructors .action-buttons {
        flex-direction: column;
        gap: 12px;
    }

        .instructors .action-buttons .btn-view {
            width: 100%;
            text-align: center;
        }
}

/*--------------------------------------------------------------
# Instructor Profile Section
--------------------------------------------------------------*/
.instructor-profile .instructor-hero-banner {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent-color), var(--heading-color));
    margin-bottom: 40px;
}

    .instructor-profile .instructor-hero-banner .hero-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

        .instructor-profile .instructor-hero-banner .hero-background img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .instructor-profile .instructor-hero-banner .hero-background .hero-overlay {
            position: absolute;
            top: 0;
            inset: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 20%) 0%, color-mix(in srgb, var(--accent-color), transparent 30%) 100%);
        }

    .instructor-profile .instructor-hero-banner .hero-content {
        position: relative;
        z-index: 2;
        padding: 60px 40px;
        display: flex;
        align-items: center;
        gap: 40px;
    }

        .instructor-profile .instructor-hero-banner .hero-content .instructor-avatar {
            position: relative;
            flex-shrink: 0;
        }

            .instructor-profile .instructor-hero-banner .hero-content .instructor-avatar img {
               	width: 180px !important;
				height: auto;
                border-radius: 40%;
                border: 6px solid var(--contrast-color);
                object-fit: contain; /* no crop */
                box-shadow: 0 20px 40px color-mix(in srgb, var(--default-color), transparent 70%);
            }

            .instructor-profile .instructor-hero-banner .hero-content .instructor-avatar.hero-overlay {
                backdrop-filter: blur(6px);
            }


            .instructor-profile .instructor-hero-banner .hero-content .instructor-avatar .status-badge {
                position: absolute;
                bottom: 15px;
                right: 15px;
                background-color: var(--contrast-color);
                color: var(--accent-color);
                padding: 8px 12px;
                border-radius: 20px;
                font-size: 12px;
                font-weight: 600;
                display: flex;
                align-items: center;
                gap: 5px;
                box-shadow: 0 5px 15px color-mix(in srgb, var(--default-color), transparent 80%);
            }


                .instructor-profile .instructor-hero-banner .hero-content .instructor-avatar .status-badge i {
                    font-size: 14px;
                }

        .instructor-profile .instructor-hero-banner .hero-content .instructor-info {
            color: var(--contrast-color);
        }

            .instructor-profile .instructor-hero-banner .hero-content .instructor-info h2 {
                font-size: 42px;
                font-weight: 800;
                margin-bottom: 10px;
                letter-spacing: 0.5px;
                text-shadow: 0 5px 20px rgba(0,0,0,0.3);
            }

            .instructor-profile .instructor-hero-banner .hero-content .instructor-info .title {
                font-size: 20px;
                margin-bottom: 20px;
                opacity: 0.9;
                font-weight: 500;
            }

            .instructor-profile .instructor-hero-banner .hero-content .instructor-info .credentials {
                display: flex;
                gap: 20px;
                margin-bottom: 25px;
            }

                .instructor-profile .instructor-hero-banner .hero-content .instructor-info .credentials .credential {
                    background-color: color-mix(in srgb, var(--contrast-color), transparent 80%);
                    color: var(--contrast-color);
                    padding: 8px 16px;
                    border-radius: 15px;
                    font-size: 14px;
                    font-weight: 600;
                }

            .instructor-profile .instructor-hero-banner .hero-content .instructor-info .rating-overview {
                display: flex;
                align-items: center;
                gap: 15px;
                margin-bottom: 30px;
            }

                .instructor-profile .instructor-hero-banner .hero-content .instructor-info .rating-overview .stars i {
                    color: #ffc107;
                    font-size: 18px;
                    margin-right: 2px;
                }

                .instructor-profile .instructor-hero-banner .hero-content .instructor-info .rating-overview .rating-text {
                    font-size: 16px;
                    opacity: 0.9;
                }

            .instructor-profile .instructor-hero-banner .hero-content .instructor-info .contact-actions {
                display: flex;
                align-items: center;
                gap: 20px;
            }

                .instructor-profile .instructor-hero-banner .hero-content .instructor-info .contact-actions .btn-contact {
                    background-color: var(--contrast-color);
                    color: var(--accent-color);
                    padding: 15px 30px;
                    border-radius: 25px;
                    font-weight: 600;
                    text-decoration: none;
                    display: flex;
                    font-size: 15px;
                    align-items: center;
                    gap: 8px;
                    transition: all 0.3s ease;
                }

                    .instructor-profile .instructor-hero-banner .hero-content .instructor-info .contact-actions .btn-contact:hover {
                        transform: translateY(-2px);
                        box-shadow: 0 10px 25px color-mix(in srgb, var(--default-color), transparent 70%);
                        color: var(--accent-color);
                    }

                .instructor-profile .instructor-hero-banner .hero-content .instructor-info .contact-actions .social-media {
                    display: flex;
                    gap: 10px;
                }

                    .instructor-profile .instructor-hero-banner .hero-content .instructor-info .contact-actions .social-media a {
                        width: 45px;
                        height: 45px;
                        background-color: color-mix(in srgb, var(--contrast-color), transparent 80%);
                        color: var(--contrast-color);
                        border-radius: 50%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        font-size: 18px;
                        transition: all 0.3s ease;
                    }

                        .instructor-profile .instructor-hero-banner .hero-content .instructor-info .contact-actions .social-media a:hover {
                            background-color: var(--contrast-color);
                            color: var(--accent-color);
                            transform: translateY(-3px);
                        }

.instructor-profile .content-tabs .custom-tabs {
    background-color: var(--surface-color);
    border-radius: 15px;
    padding: 8px;
    border: none;
    box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 90%);
}

    .instructor-profile .content-tabs .custom-tabs .nav-item .nav-link {
        border: none;
        border-radius: 10px;
        color: var(--default-color);
        font-weight: 500;
        padding: 15px 25px;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.3s ease;
        margin-right: 5px;
    }

        .instructor-profile .content-tabs .custom-tabs .nav-item .nav-link i {
            font-size: 16px;
        }

        .instructor-profile .content-tabs .custom-tabs .nav-item .nav-link.active {
            background-color: var(--accent-color);
            color: var(--contrast-color);
        }

        .instructor-profile .content-tabs .custom-tabs .nav-item .nav-link:hover:not(.active) {
            background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
            color: var(--accent-color);
        }

.instructor-profile .content-tabs .custom-tab-content {
    padding: 40px 0;
}

    .instructor-profile .content-tabs .custom-tab-content .about-content .bio-section {
        margin-bottom: 40px;
    }

        .instructor-profile .content-tabs .custom-tab-content .about-content .bio-section h4 {
            color: var(--heading-color);
            font-size: 24px;
            margin-bottom: 20px;
            font-weight: 600;
        }

        .instructor-profile .content-tabs .custom-tab-content .about-content .bio-section p {
            line-height: 1.8;
            margin-bottom: 20px;
            font-size: 16px;
        }

    .instructor-profile .content-tabs .custom-tab-content .about-content .expertise-grid h4 {
        color: var(--heading-color);
        font-size: 24px;
        margin-bottom: 25px;
        font-weight: 600;
    }

    .instructor-profile .content-tabs .custom-tab-content .about-content .expertise-grid .skills-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

        .instructor-profile .content-tabs .custom-tab-content .about-content .expertise-grid .skills-grid .skill-item {
            background-color: var(--surface-color);
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            border: 2px solid transparent;
            transition: all 0.3s ease;
        }

            .instructor-profile .content-tabs .custom-tab-content .about-content .expertise-grid .skills-grid .skill-item i {
                font-size: 32px;
                color: var(--accent-color);
                margin-bottom: 15px;
            }

            .instructor-profile .content-tabs .custom-tab-content .about-content .expertise-grid .skills-grid .skill-item span {
                font-weight: 600;
                color: var(--heading-color);
            }

            .instructor-profile .content-tabs .custom-tab-content .about-content .expertise-grid .skills-grid .skill-item:hover {
                border-color: var(--accent-color);
                transform: translateY(-5px);
            }

    .instructor-profile .content-tabs .custom-tab-content .experience-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

        .instructor-profile .content-tabs .custom-tab-content .experience-grid .experience-card {
            display: flex;
            gap: 30px;
            background-color: var(--surface-color);
            padding: 30px;
            border-radius: 15px;
            border-left: 5px solid var(--accent-color);
        }

            .instructor-profile .content-tabs .custom-tab-content .experience-grid .experience-card .timeline-marker {
                background-color: var(--accent-color);
                color: var(--contrast-color);
                padding: 10px 15px;
                border-radius: 10px;
                font-weight: 700;
                font-size: 18px;
                flex-shrink: 0;
                height: fit-content;
            }

            .instructor-profile .content-tabs .custom-tab-content .experience-grid .experience-card .experience-details h5 {
                color: var(--heading-color);
                font-size: 22px;
                margin-bottom: 8px;
                font-weight: 600;
            }

            .instructor-profile .content-tabs .custom-tab-content .experience-grid .experience-card .experience-details .institution {
                color: var(--accent-color);
                font-weight: 600;
                margin-bottom: 15px;
                font-size: 16px;
            }

            .instructor-profile .content-tabs .custom-tab-content .experience-grid .experience-card .experience-details p {
                line-height: 1.7;
                margin: 0;
            }

    .instructor-profile .content-tabs .custom-tab-content .courses-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

        .instructor-profile .content-tabs .custom-tab-content .courses-grid .course-item {
            background-color: var(--surface-color);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 90%);
            transition: all 0.3s ease;
        }

            .instructor-profile .content-tabs .custom-tab-content .courses-grid .course-item:hover {
                transform: translateY(-8px);
                box-shadow: 0 15px 35px color-mix(in srgb, var(--default-color), transparent 80%);
            }

            .instructor-profile .content-tabs .custom-tab-content .courses-grid .course-item .course-thumb {
                position: relative;
            }

                .instructor-profile .content-tabs .custom-tab-content .courses-grid .course-item .course-thumb img {
                    width: 100%;
                    height: 180px;
                    object-fit: cover;
                }

                .instructor-profile .content-tabs .custom-tab-content .courses-grid .course-item .course-thumb .course-level {
                    position: absolute;
                    top: 15px;
                    right: 15px;
                    background-color: var(--accent-color);
                    color: var(--contrast-color);
                    padding: 6px 12px;
                    border-radius: 12px;
                    font-size: 12px;
                    font-weight: 600;
                }

            .instructor-profile .content-tabs .custom-tab-content .courses-grid .course-item .course-info {
                padding: 25px;
            }

                .instructor-profile .content-tabs .custom-tab-content .courses-grid .course-item .course-info h5 {
                    color: var(--heading-color);
                    font-size: 18px;
                    margin-bottom: 15px;
                    font-weight: 600;
                }

                .instructor-profile .content-tabs .custom-tab-content .courses-grid .course-item .course-info .course-stats {
                    display: flex;
                    justify-content: space-between;
                    margin-bottom: 15px;
                }

                    .instructor-profile .content-tabs .custom-tab-content .courses-grid .course-item .course-info .course-stats span {
                        display: flex;
                        align-items: center;
                        gap: 5px;
                        font-size: 14px;
                        color: color-mix(in srgb, var(--default-color), transparent 30%);
                    }

                        .instructor-profile .content-tabs .custom-tab-content .courses-grid .course-item .course-info .course-stats span i {
                            color: var(--accent-color);
                        }

                .instructor-profile .content-tabs .custom-tab-content .courses-grid .course-item .course-info .price {
                    color: var(--accent-color);
                    font-size: 24px;
                    font-weight: 700;
                    margin: 0;
                }

    .instructor-profile .content-tabs .custom-tab-content .reviews-container {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

        .instructor-profile .content-tabs .custom-tab-content .reviews-container .review-card {
            background-color: var(--surface-color);
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 90%);
        }

            .instructor-profile .content-tabs .custom-tab-content .reviews-container .review-card .review-header {
                display: flex;
                align-items: center;
                gap: 15px;
                margin-bottom: 20px;
            }

                .instructor-profile .content-tabs .custom-tab-content .reviews-container .review-card .review-header .reviewer-avatar {
                    width: 60px;
                    height: 60px;
                    border-radius: 50%;
                    object-fit: cover;
                }

                .instructor-profile .content-tabs .custom-tab-content .reviews-container .review-card .review-header .reviewer-info h6 {
                    color: var(--heading-color);
                    font-size: 18px;
                    margin-bottom: 5px;
                    font-weight: 600;
                }

                .instructor-profile .content-tabs .custom-tab-content .reviews-container .review-card .review-header .reviewer-info p {
                    color: color-mix(in srgb, var(--default-color), transparent 40%);
                    margin-bottom: 8px;
                    font-size: 14px;
                }

                .instructor-profile .content-tabs .custom-tab-content .reviews-container .review-card .review-header .reviewer-info .review-rating i {
                    color: #ffc107;
                    font-size: 14px;
                    margin-right: 2px;
                }

            .instructor-profile .content-tabs .custom-tab-content .reviews-container .review-card p {
                line-height: 1.7;
                margin: 0;
                font-style: italic;
            }

.instructor-profile .sidebar-widgets {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

    .instructor-profile .sidebar-widgets .stats-widget,
    .instructor-profile .sidebar-widgets .achievements-widget,
    .instructor-profile .sidebar-widgets .contact-widget {
        background-color: var(--surface-color);
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 90%);
    }

        .instructor-profile .sidebar-widgets .stats-widget h4,
        .instructor-profile .sidebar-widgets .achievements-widget h4,
        .instructor-profile .sidebar-widgets .contact-widget h4 {
            color: var(--heading-color);
            font-size: 20px;
            margin-bottom: 25px;
            font-weight: 600;
        }

        .instructor-profile .sidebar-widgets .stats-widget .stats-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

            .instructor-profile .sidebar-widgets .stats-widget .stats-grid .stat-box {
                text-align: center;
                padding: 20px;
                border-radius: 12px;
                border: 2px solid color-mix(in srgb, var(--accent-color), transparent 85%);
                transition: all 0.3s ease;
            }

                .instructor-profile .sidebar-widgets .stats-widget .stats-grid .stat-box:hover {
                    border-color: var(--accent-color);
                    transform: translateY(-3px);
                }

                .instructor-profile .sidebar-widgets .stats-widget .stats-grid .stat-box .stat-icon {
                    width: 50px;
                    height: 50px;
                    background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
                    color: var(--accent-color);
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    margin: 0 auto 15px;
                }

                    .instructor-profile .sidebar-widgets .stats-widget .stats-grid .stat-box .stat-icon i {
                        font-size: 20px;
                    }

                .instructor-profile .sidebar-widgets .stats-widget .stats-grid .stat-box .stat-content h5 {
                    color: var(--heading-color);
                    font-size: 24px;
                    font-weight: 700;
                    margin-bottom: 5px;
                }

                .instructor-profile .sidebar-widgets .stats-widget .stats-grid .stat-box .stat-content p {
                    color: color-mix(in srgb, var(--default-color), transparent 40%);
                    font-size: 14px;
                    margin: 0;
                }

        .instructor-profile .sidebar-widgets .achievements-widget .achievement-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

            .instructor-profile .sidebar-widgets .achievements-widget .achievement-list .achievement-item {
                display: flex;
                gap: 15px;
            }

                .instructor-profile .sidebar-widgets .achievements-widget .achievement-list .achievement-item i {
                    width: 40px;
                    height: 40px;
                    background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
                    color: var(--accent-color);
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 16px;
                    flex-shrink: 0;
                }

                .instructor-profile .sidebar-widgets .achievements-widget .achievement-list .achievement-item .achievement-text h6 {
                    color: var(--heading-color);
                    font-size: 16px;
                    margin-bottom: 5px;
                    font-weight: 600;
                }

                .instructor-profile .sidebar-widgets .achievements-widget .achievement-list .achievement-item .achievement-text p {
                    color: color-mix(in srgb, var(--default-color), transparent 40%);
                    font-size: 14px;
                    margin: 0;
                }

        .instructor-profile .sidebar-widgets .contact-widget .contact-info {
            margin-bottom: 25px;
        }

            .instructor-profile .sidebar-widgets .contact-widget .contact-info .contact-item {
                display: flex;
                align-items: center;
                gap: 15px;
                margin-bottom: 15px;
            }

                .instructor-profile .sidebar-widgets .contact-widget .contact-info .contact-item i {
                    width: 35px;
                    height: 35px;
                    background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
                    color: var(--accent-color);
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 14px;
                    flex-shrink: 0;
                }

                .instructor-profile .sidebar-widgets .contact-widget .contact-info .contact-item span {
                    font-size: 14px;
                    color: color-mix(in srgb, var(--default-color), transparent 20%);
                }

        .instructor-profile .sidebar-widgets .contact-widget .office-hours {
            padding: 20px;
            background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
            border-radius: 12px;
            border-left: 4px solid var(--accent-color);
        }

            .instructor-profile .sidebar-widgets .contact-widget .office-hours h6 {
                color: var(--heading-color);
                font-weight: 600;
                margin-bottom: 10px;
            }

            .instructor-profile .sidebar-widgets .contact-widget .office-hours p {
                color: color-mix(in srgb, var(--default-color), transparent 30%);
                margin: 0;
                font-size: 14px;
            }

@media (max-width: 992px) {
    .instructor-profile .instructor-hero-banner .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

        .instructor-profile .instructor-hero-banner .hero-content .instructor-info .credentials {
            justify-content: center;
        }

        .instructor-profile .instructor-hero-banner .hero-content .instructor-info .contact-actions {
            justify-content: center;
        }

    .instructor-profile .sidebar-widgets {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .instructor-profile .instructor-hero-banner .hero-content {
        padding: 40px 20px;
    }

        .instructor-profile .instructor-hero-banner .hero-content .instructor-avatar img {
            width: 200px;
            height: 200px;
        }

        .instructor-profile .instructor-hero-banner .hero-content .instructor-info h2 {
            font-size: 32px;
        }

        .instructor-profile .instructor-hero-banner .hero-content .instructor-info .credentials {
            flex-direction: column;
            gap: 10px;
        }

        .instructor-profile .instructor-hero-banner .hero-content .instructor-info .contact-actions {
            flex-direction: column;
            gap: 15px;
        }

    .instructor-profile .custom-tabs .nav-item .nav-link {
        padding: 12px 15px;
        font-size: 14px;
    }

    .instructor-profile .stats-widget .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/*--------------------------------------------------------------
# Enroll Section
--------------------------------------------------------------*/
.enroll {
    background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 95%) 100%);
}

    .enroll .enrollment-form-wrapper {
        background: var(--surface-color);
        border-radius: 20px;
        padding: 50px 40px;
        box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    }

@media (max-width: 768px) {
    .enroll .enrollment-form-wrapper {
        padding: 30px 20px;
        border-radius: 15px;
    }
}

.enroll .enrollment-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--heading-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .enroll .enrollment-header h2 {
        font-size: 2rem;
    }
}

.enroll .enrollment-header p {
    font-size: 1.1rem;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    line-height: 1.6;
}

.enroll .enrollment-form .form-group {
    margin-bottom: 1.5rem;
}

    .enroll .enrollment-form .form-group .form-label {
        font-weight: 600;
        color: var(--heading-color);
        margin-bottom: 8px;
        font-size: 0.95rem;
    }

    .enroll .enrollment-form .form-group .form-control,
    .enroll .enrollment-form .form-group .form-select {
        background-color: var(--surface-color);
        border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
        border-radius: 10px;
        padding: 12px 16px;
        font-size: 1rem;
        transition: all 0.3s ease;
        color: var(--default-color);
    }

        .enroll .enrollment-form .form-group .form-control:focus,
        .enroll .enrollment-form .form-group .form-select:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 80%);
            outline: none;
        }

        .enroll .enrollment-form .form-group .form-control::placeholder,
        .enroll .enrollment-form .form-group .form-select::placeholder {
            color: color-mix(in srgb, var(--default-color), transparent 60%);
        }

    .enroll .enrollment-form .form-group textarea.form-control {
        resize: vertical;
        min-height: 120px;
    }

.enroll .enrollment-form .schedule-options .form-check {
    margin-bottom: 12px;
    padding: 15px 20px;
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
    border-radius: 10px;
    border: 2px solid color-mix(in srgb, var(--accent-color), transparent 85%);
    transition: all 0.3s ease;
}

    .enroll .enrollment-form .schedule-options .form-check:hover {
        background: color-mix(in srgb, var(--accent-color), transparent 90%);
        border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
    }

    .enroll .enrollment-form .schedule-options .form-check .form-check-input {
        margin-top: 3px;
        margin-left: 0px;
    }

        .enroll .enrollment-form .schedule-options .form-check .form-check-input:checked {
            background-color: var(--accent-color);
            border-color: var(--accent-color);
        }

    .enroll .enrollment-form .schedule-options .form-check .form-check-label {
        font-weight: 500;
        margin-left: 10px;
        cursor: pointer;
    }

.enroll .enrollment-form .agreement-section {
    background: color-mix(in srgb, var(--heading-color), transparent 95%);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

    .enroll .enrollment-form .agreement-section .form-check {
        margin-bottom: 15px;
    }

        .enroll .enrollment-form .agreement-section .form-check:last-child {
            margin-bottom: 0;
        }

        .enroll .enrollment-form .agreement-section .form-check .form-check-input:checked {
            background-color: var(--accent-color);
            border-color: var(--accent-color);
        }

        .enroll .enrollment-form .agreement-section .form-check .form-check-label {
            font-size: 0.95rem;
            line-height: 1.5;
        }

            .enroll .enrollment-form .agreement-section .form-check .form-check-label a {
                color: var(--accent-color);
                text-decoration: underline;
                font-weight: 600;
            }

                .enroll .enrollment-form .agreement-section .form-check .form-check-label a:hover {
                    color: var(--heading-color);
                }

.enroll .enrollment-form .btn-enroll {
    background: var(--accent-color);
    color: var(--contrast-color);
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

    .enroll .enrollment-form .btn-enroll:before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, transparent, color-mix(in srgb, var(--contrast-color), transparent 80%), transparent);
        transition: left 0.5s;
    }

    .enroll .enrollment-form .btn-enroll:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px color-mix(in srgb, var(--accent-color), transparent 60%);
    }

        .enroll .enrollment-form .btn-enroll:hover:before {
            left: 100%;
        }

    .enroll .enrollment-form .btn-enroll:active {
        transform: translateY(-1px);
    }

    .enroll .enrollment-form .btn-enroll .bi {
        font-size: 1.2rem;
    }

.enroll .enrollment-form .enrollment-note {
    font-size: 0.9rem;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    font-style: italic;
}

    .enroll .enrollment-form .enrollment-note .bi {
        color: var(--accent-color);
        margin-right: 5px;
    }

.enroll .enrollment-benefits {
    background: var(--surface-color);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 50px color-mix(in srgb, var(--default-color), transparent 90%);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    height: fit-content;
    position: sticky;
    top: 100px;
}

    .enroll .enrollment-benefits h3 {
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 30px;
        color: var(--heading-color);
        text-align: center;
    }

    .enroll .enrollment-benefits .benefit-item {
        display: flex;
        align-items: flex-start;
        margin-bottom: 25px;
        padding: 20px;
        background: color-mix(in srgb, var(--accent-color), transparent 95%);
        border-radius: 15px;
        transition: all 0.3s ease;
    }

        .enroll .enrollment-benefits .benefit-item:hover {
            background: color-mix(in srgb, var(--accent-color), transparent 90%);
            transform: translateX(5px);
        }

        .enroll .enrollment-benefits .benefit-item .benefit-icon {
            background: var(--accent-color);
            color: var(--contrast-color);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .enroll .enrollment-benefits .benefit-item .benefit-content h4 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 5px;
            color: var(--heading-color);
        }

        .enroll .enrollment-benefits .benefit-item .benefit-content p {
            font-size: 0.9rem;
            color: color-mix(in srgb, var(--default-color), transparent 30%);
            margin: 0;
            line-height: 1.4;
        }

    .enroll .enrollment-benefits .enrollment-stats {
        background: var(--accent-color);
        padding: 25px;
        border-radius: 15px;
        text-align: center;
    }

        .enroll .enrollment-benefits .enrollment-stats .stat-item {
            display: block;
            margin-bottom: 15px;
        }

            .enroll .enrollment-benefits .enrollment-stats .stat-item:last-child {
                margin-bottom: 0;
            }

            .enroll .enrollment-benefits .enrollment-stats .stat-item .stat-number {
                display: block;
                font-size: 2rem;
                font-weight: 900;
                color: var(--contrast-color);
                line-height: 1;
            }

            .enroll .enrollment-benefits .enrollment-stats .stat-item .stat-label {
                display: block;
                font-size: 0.9rem;
                color: color-mix(in srgb, var(--contrast-color), transparent 20%);
                margin-top: 5px;
            }

@media (max-width: 992px) {
    .enroll .enrollment-benefits {
        margin-top: 50px;
        position: static;
        top: auto;
    }
}
/* ===============================
   PROFILE LINKS SECTION
==================================*/
.profile-links {
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Custom Button Style */
.profile-btn {
    display: inline-block;
    padding: 10px 22px;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #ffffff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

    /* Hover Effect */
    .profile-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
        background: linear-gradient(135deg, #6610f2, #0d6efd);
        color: #ffffff;
    }

/* Responsive */
@media (max-width: 768px) {
    .profile-links {
        justify-content: center;
        gap: 15px !important;
    }

    .profile-btn {
        width: 100%;
        text-align: center;
    }
}


.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #0d3b66; /* matching your UI */
}

.video-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .video-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

.video-icon {
    width: 50px;
    height: 50px;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0d3b66;
}

.video-lang {
    font-size: 0.85rem;
    color: #555;
}
/* =====================================================
   INSTRUCTOR PROFILE - ADVANCED MODERN UI
===================================================== */

:root {
    --accent: #0d6efd;
    --accent-light: #4f8cff;
    --dark: #0f172a;
    --card-bg: #ffffff;
    --glass: rgba(255, 255, 255, 0.15);
    --text-dark: #1e293b;
    --shadow-soft: 0 15px 40px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 25px 70px rgba(0, 0, 0, 0.25);
    --radius-lg: 24px;
}

/* =========================
   HERO SECTION
========================= */

.instructor-hero {
    position: relative;
    min-height: 520px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--dark);
    margin-bottom: 80px;
    box-shadow: var(--shadow-strong);
    transition: transform 0.4s ease;
}

    .instructor-hero:hover {
        transform: translateY(-5px);
    }

    .instructor-hero img.bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(0.75) contrast(1.1);
        transition: transform 1.2s ease;
    }

    .instructor-hero:hover img.bg {
        transform: scale(1.05);
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 120deg, rgba(13,110,253,0.85), rgba(15,23,42,0.75) );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 70px;
    color: #fff;
}

/* =========================
   PROFILE LAYOUT
========================= */

.profile-row {
    display: flex;
    gap: 50px;
    align-items: center;
}

/* Avatar */

.instructor-avatar {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid rgba(255,255,255,0.6);
    background: #fff;
    box-shadow: var(--shadow-strong);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

    .instructor-avatar:hover {
        transform: scale(1.03);
    }

        .instructor-avatar:hover img {
            transform: scale(1.1);
        }

/* Info */
/* ===============================
   STAFF EMAIL BADGE
================================ */

.staff-email-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #0f5132;
    background: #e9f7ef;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #a3cfbb;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
    /* FIX FOR LONG EMAILS */
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
}


    .staff-email-badge i {
        font-size: 12px;
        opacity: 0.75;
    }

    /* Hover Effect */
    .staff-email-badge:hover {
        background: #d1e7dd;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    }

.instructor-info h2 {
    color:#fff;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.instructor-info p {
    font-size: 18px;
    opacity: 0.95;
}

/* Credential badge */

.credential {
    background: var(--glass);
    backdrop-filter: blur(15px);
    padding: 10px 22px;
    border-radius: 40px;
    font-size: 14px;
    margin-top: 14px;
    display: inline-block;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

    .credential:hover {
        background: var(--accent-light);
    }

/* =========================
   SOCIAL ICONS
========================= */

.social-links a {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 18px;
    margin-right: 12px;
    transition: all .3s ease;
    backdrop-filter: blur(10px);
}

    .social-links a:hover {
        background: #fff;
        color: var(--accent);
        transform: translateY(-6px) scale(1.1);
    }

/* =========================
   PROFILE CARDS
========================= */

.profile-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

    .profile-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 60px rgba(0,0,0,0.12);
    }

    .profile-card h4,
    .profile-card h5 {
        font-weight: 700;
        margin-bottom: 18px;
        color: var(--text-dark);
        position: relative;
    }

        .profile-card h4::after,
        .profile-card h5::after {
            content: "";
            display: block;
            width: 50px;
            height: 3px;
            background: var(--accent);
            margin-top: 8px;
            border-radius: 5px;
        }

/* =========================
   CONTACT SECTION
========================= */

.contact-widget {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    padding: 20px;
    border-radius: 16px;
}

.contact-item {
    padding: 8px 0;
    font-size: 15px;
}

    .contact-item i {
        font-size: 18px;
    }

/* =========================
   BUTTON IMPROVEMENTS
========================= */

.btn {
    border-radius: 40px !important;
    font-weight: 600;
    padding: 10px 18px;
    transition: all 0.3s ease !important;
}

    .btn:hover {
        transform: translateY(-3px);
    }

/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 992px) {
    .profile-row {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding: 50px 30px;
    }

    .instructor-avatar {
        width: 380px;
        height: 380px;
        border-radius: 50%;
        overflow: hidden;
        position: relative;
        flex-shrink: 0;
        background: #fff;
        box-shadow: 0 30px 80px rgba(0,0,0,0.35), 0 0 0 8px rgba(255,255,255,0.6);
        transition: all 0.4s ease;
    }
        .instructor-avatar::before {
            content: "";
            position: absolute;
            inset: -10px;
            border-radius: 50%;
            background: linear-gradient(135deg, #4f8cff, #7c3aed);
            z-index: -1;
            filter: blur(25px);
            opacity: 0.6;
        }

    .instructor-info h2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .profile-card {
        padding: 25px;
    }
}

/*--------------------------------------------------------------
# Courses Events Section
--------------------------------------------------------------*/
.courses-events {
    background-color: var(--surface-color);
}

    .courses-events .event-card {
        background: var(--surface-color);
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        margin-bottom: 30px;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .courses-events .event-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        }

        .courses-events .event-card .event-image {
            position: relative;
            overflow: hidden;
            height: 200px;
        }

            .courses-events .event-card .event-image img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: transform 0.3s ease;
            }

            .courses-events .event-card .event-image .date-badge {
                position: absolute;
                top: 15px;
                left: 15px;
                background: var(--accent-color);
                color: var(--contrast-color);
                border-radius: 8px;
                text-align: center;
                padding: 8px;
                min-width: 50px;
                font-weight: 600;
            }

                .courses-events .event-card .event-image .date-badge .day {
                    display: block;
                    font-size: 18px;
                    line-height: 1;
                }

                .courses-events .event-card .event-image .date-badge .month {
                    display: block;
                    font-size: 12px;
                    text-transform: uppercase;
                }

        .courses-events .event-card .event-content {
            padding: 25px;
        }

            .courses-events .event-card .event-content .event-meta {
                display: flex;
                gap: 20px;
                margin-bottom: 15px;
                font-size: 14px;
                color: color-mix(in srgb, var(--default-color), transparent 30%);
            }

                .courses-events .event-card .event-content .event-meta span {
                    display: flex;
                    align-items: center;
                    gap: 5px;
                }

                    .courses-events .event-card .event-content .event-meta span i {
                        color: var(--accent-color);
                    }

            .courses-events .event-card .event-content .event-title {
                margin-bottom: 15px;
                font-size: 22px;
                line-height: 1.3;
            }

                .courses-events .event-card .event-content .event-title a {
                    color: var(--heading-color);
                    text-decoration: none;
                    transition: color 0.3s ease;
                }

                    .courses-events .event-card .event-content .event-title a:hover {
                        color: var(--accent-color);
                    }

            .courses-events .event-card .event-content .event-description {
                color: color-mix(in srgb, var(--default-color), transparent 20%);
                margin-bottom: 20px;
                line-height: 1.6;
            }

            .courses-events .event-card .event-content .event-footer {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 20px;
                padding-bottom: 20px;
                border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
            }

                .courses-events .event-card .event-content .event-footer .instructor {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                }

                    .courses-events .event-card .event-content .event-footer .instructor .instructor-avatar {
                        width: 40px;
                        height: 40px;
                        border-radius: 50%;
                        object-fit: cover;
                    }

                    .courses-events .event-card .event-content .event-footer .instructor span {
                        font-weight: 500;
                        color: var(--heading-color);
                    }

                .courses-events .event-card .event-content .event-footer .event-price .price {
                    font-size: 20px;
                    font-weight: 600;
                    color: var(--accent-color);
                }

                    .courses-events .event-card .event-content .event-footer .event-price .price.free {
                        color: #28a745;
                    }

            .courses-events .event-card .event-content .event-actions {
                display: flex;
                gap: 15px;
            }

                .courses-events .event-card .event-content .event-actions .btn {
                    padding: 10px 25px;
                    border-radius: 25px;
                    font-weight: 500;
                    text-decoration: none;
                    transition: all 0.3s ease;
                    border: 2px solid transparent;
                }

                    .courses-events .event-card .event-content .event-actions .btn.btn-primary {
                        background: var(--accent-color);
                        color: var(--contrast-color);
                        border-color: var(--accent-color);
                    }

                        .courses-events .event-card .event-content .event-actions .btn.btn-primary:hover {
                            background: color-mix(in srgb, var(--accent-color), transparent 20%);
                            border-color: color-mix(in srgb, var(--accent-color), transparent 20%);
                        }

                    .courses-events .event-card .event-content .event-actions .btn.btn-outline {
                        background: transparent;
                        color: var(--accent-color);
                        border-color: var(--accent-color);
                    }

                        .courses-events .event-card .event-content .event-actions .btn.btn-outline:hover {
                            background: var(--accent-color);
                            color: var(--contrast-color);
                        }

@media (max-width: 768px) {
    .courses-events .event-card .event-image {
        height: 250px;
    }

    .courses-events .event-card .event-content {
        padding: 20px;
    }

        .courses-events .event-card .event-content .event-footer {
            flex-direction: column;
            gap: 15px;
            align-items: flex-start;
        }

        .courses-events .event-card .event-content .event-actions {
            flex-direction: column;
        }

            .courses-events .event-card .event-content .event-actions .btn {
                text-align: center;
            }
}

.courses-events .pagination-wrapper {
    margin-top: 50px;
}

    .courses-events .pagination-wrapper .pagination .page-item .page-link {
        color: var(--default-color);
        background: var(--surface-color);
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
        margin: 0 3px;
        border-radius: 5px;
        padding: 10px 15px;
        transition: all 0.3s ease;
    }

        .courses-events .pagination-wrapper .pagination .page-item .page-link:hover {
            background: var(--accent-color);
            color: var(--contrast-color);
            border-color: var(--accent-color);
        }

    .courses-events .pagination-wrapper .pagination .page-item.active .page-link {
        background: var(--accent-color);
        color: var(--contrast-color);
        border-color: var(--accent-color);
    }

    .courses-events .pagination-wrapper .pagination .page-item.disabled .page-link {
        color: color-mix(in srgb, var(--default-color), transparent 50%);
        background: color-mix(in srgb, var(--surface-color), transparent 50%);
        border-color: color-mix(in srgb, var(--default-color), transparent 90%);
        cursor: not-allowed;
    }

.courses-events .sidebar-widget {
    background: var(--surface-color);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

    .courses-events .sidebar-widget .widget-title {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 20px;
        color: var(--heading-color);
        position: relative;
        padding-bottom: 10px;
    }

        .courses-events .sidebar-widget .widget-title:after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--accent-color);
        }

    .courses-events .sidebar-widget.search-widget .search-form {
        position: relative;
    }

        .courses-events .sidebar-widget.search-widget .search-form .form-control {
            padding-right: 50px;
            border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
            border-radius: 25px;
            padding: 12px 20px;
            background: var(--surface-color);
            color: var(--default-color);
        }

            .courses-events .sidebar-widget.search-widget .search-form .form-control:focus {
                border-color: var(--accent-color);
                box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 80%);
            }

            .courses-events .sidebar-widget.search-widget .search-form .form-control::placeholder {
                color: color-mix(in srgb, var(--default-color), transparent 60%);
            }

        .courses-events .sidebar-widget.search-widget .search-form .search-btn {
            position: absolute;
            right: 5px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--accent-color);
            color: var(--contrast-color);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.3s ease;
        }

            .courses-events .sidebar-widget.search-widget .search-form .search-btn:hover {
                background: color-mix(in srgb, var(--accent-color), transparent 20%);
            }

    .courses-events .sidebar-widget.filter-widget .filter-content .filter-group {
        margin-bottom: 20px;
    }

        .courses-events .sidebar-widget.filter-widget .filter-content .filter-group .filter-label {
            display: block;
            font-weight: 500;
            margin-bottom: 8px;
            color: var(--heading-color);
        }

        .courses-events .sidebar-widget.filter-widget .filter-content .filter-group .form-select {
            background: var(--surface-color);
            color: var(--default-color);
            border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
            border-radius: 8px;
            padding: 10px 15px;
        }

            .courses-events .sidebar-widget.filter-widget .filter-content .filter-group .form-select:focus {
                border-color: var(--accent-color);
                box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 80%);
            }

    .courses-events .sidebar-widget.filter-widget .filter-content .filter-apply-btn {
        background: var(--accent-color);
        color: var(--contrast-color);
        border: none;
        padding: 12px 30px;
        border-radius: 25px;
        font-weight: 500;
        width: 100%;
        transition: background 0.3s ease;
    }

        .courses-events .sidebar-widget.filter-widget .filter-content .filter-apply-btn:hover {
            background: color-mix(in srgb, var(--accent-color), transparent 20%);
        }

    .courses-events .sidebar-widget.upcoming-widget .upcoming-list .upcoming-item {
        display: flex;
        gap: 15px;
        padding: 15px 0;
        border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    }

        .courses-events .sidebar-widget.upcoming-widget .upcoming-list .upcoming-item:last-child {
            border-bottom: none;
        }

        .courses-events .sidebar-widget.upcoming-widget .upcoming-list .upcoming-item .upcoming-date {
            background: color-mix(in srgb, var(--accent-color), transparent 85%);
            color: var(--accent-color);
            border-radius: 8px;
            text-align: center;
            padding: 8px;
            min-width: 50px;
            font-weight: 600;
            height: fit-content;
        }

            .courses-events .sidebar-widget.upcoming-widget .upcoming-list .upcoming-item .upcoming-date .day {
                display: block;
                font-size: 16px;
                line-height: 1;
            }

            .courses-events .sidebar-widget.upcoming-widget .upcoming-list .upcoming-item .upcoming-date .month {
                display: block;
                font-size: 11px;
                text-transform: uppercase;
            }

        .courses-events .sidebar-widget.upcoming-widget .upcoming-list .upcoming-item .upcoming-content {
            flex: 1;
        }

            .courses-events .sidebar-widget.upcoming-widget .upcoming-list .upcoming-item .upcoming-content .upcoming-title {
                margin-bottom: 8px;
                font-size: 16px;
                line-height: 1.3;
            }

                .courses-events .sidebar-widget.upcoming-widget .upcoming-list .upcoming-item .upcoming-content .upcoming-title a {
                    color: var(--heading-color);
                    text-decoration: none;
                    transition: color 0.3s ease;
                }

                    .courses-events .sidebar-widget.upcoming-widget .upcoming-list .upcoming-item .upcoming-content .upcoming-title a:hover {
                        color: var(--accent-color);
                    }

            .courses-events .sidebar-widget.upcoming-widget .upcoming-list .upcoming-item .upcoming-content .upcoming-meta {
                display: flex;
                justify-content: space-between;
                align-items: center;
                font-size: 13px;
            }

                .courses-events .sidebar-widget.upcoming-widget .upcoming-list .upcoming-item .upcoming-content .upcoming-meta .time {
                    color: color-mix(in srgb, var(--default-color), transparent 30%);
                    display: flex;
                    align-items: center;
                    gap: 5px;
                }

                    .courses-events .sidebar-widget.upcoming-widget .upcoming-list .upcoming-item .upcoming-content .upcoming-meta .time i {
                        color: var(--accent-color);
                    }

                .courses-events .sidebar-widget.upcoming-widget .upcoming-list .upcoming-item .upcoming-content .upcoming-meta .price {
                    font-weight: 600;
                    color: var(--accent-color);
                }

                    .courses-events .sidebar-widget.upcoming-widget .upcoming-list .upcoming-item .upcoming-content .upcoming-meta .price.free {
                        color: #28a745;
                    }

    .courses-events .sidebar-widget.newsletter-widget {
        background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 20%));
        color: var(--contrast-color);
    }

        .courses-events .sidebar-widget.newsletter-widget .widget-title {
            color: var(--contrast-color);
        }

            .courses-events .sidebar-widget.newsletter-widget .widget-title:after {
                background: var(--contrast-color);
            }

        .courses-events .sidebar-widget.newsletter-widget p {
            color: color-mix(in srgb, var(--contrast-color), transparent 10%);
            margin-bottom: 20px;
        }

        .courses-events .sidebar-widget.newsletter-widget .newsletter-form {
            position: relative;
        }

            .courses-events .sidebar-widget.newsletter-widget .newsletter-form input[type=email] {
                background: var(--contrast-color);
                color: var(--accent-color);
                border: none;
                border-radius: 25px;
                padding: 12px 20px;
                width: 100%;
                margin-bottom: 15px;
            }

                .courses-events .sidebar-widget.newsletter-widget .newsletter-form input[type=email]::placeholder {
                    color: color-mix(in srgb, var(--default-color), transparent 50%);
                }

                .courses-events .sidebar-widget.newsletter-widget .newsletter-form input[type=email]:focus {
                    outline: none;
                    box-shadow: 0 0 0 3px color-mix(in srgb, var(--contrast-color), transparent 70%);
                }

            .courses-events .sidebar-widget.newsletter-widget .newsletter-form button {
                background: var(--contrast-color);
                color: var(--accent-color);
                border: none;
                padding: 12px 30px;
                border-radius: 25px;
                font-weight: 600;
                width: 100%;
                cursor: pointer;
                transition: all 0.3s ease;
            }

                .courses-events .sidebar-widget.newsletter-widget .newsletter-form button:hover {
                    background: color-mix(in srgb, var(--contrast-color), transparent 10%);
                    transform: translateY(-2px);
                }

@media (max-width: 768px) {
    .courses-events .sidebar-widget {
        padding: 20px;
    }
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-toggle {
    position: relative;
    margin-bottom: 2rem;
}

    .pricing .pricing-toggle span {
        font-size: 1rem;
        font-weight: 500;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        transition: all 0.3s ease;
        cursor: pointer;
    }

        .pricing .pricing-toggle span.active {
            color: var(--accent-color);
            font-weight: 600;
        }

        .pricing .pricing-toggle span .badge {
            background-color: color-mix(in srgb, #4CAF50, transparent 70%);
            color: #4CAF50;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 0.25rem 0.5rem;
            border-radius: 1rem;
            margin-left: 0.5rem;
        }

    .pricing .pricing-toggle .form-check-input {
        width: 3rem;
        height: 1.5rem;
        background-color: color-mix(in srgb, var(--accent-color), transparent 70%);
        border: none;
        cursor: pointer;
    }

        .pricing .pricing-toggle .form-check-input:checked {
            background-color: var(--accent-color);
        }

        .pricing .pricing-toggle .form-check-input:focus {
            box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 70%);
            border-color: transparent;
        }

.pricing .pricing-item {
    background-color: var(--surface-color);
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

    .pricing .pricing-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .pricing .pricing-item.popular {
        border-color: var(--accent-color);
        box-shadow: 0 10px 25px color-mix(in srgb, var(--accent-color), transparent 85%);
    }

        .pricing .pricing-item.popular .popular-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background-color: color-mix(in srgb, #9C27B0, transparent 80%);
            color: #9C27B0;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 0.25rem 0.75rem;
            border-radius: 1rem;
        }

    .pricing .pricing-item .pricing-header {
        margin-bottom: 1.5rem;
    }

        .pricing .pricing-item .pricing-header .pricing-category {
            font-size: 1.125rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--heading-color);
        }

        .pricing .pricing-item .pricing-header .price-wrap {
            margin-bottom: 0.5rem;
        }

            .pricing .pricing-item .pricing-header .price-wrap .price {
                font-size: 2.5rem;
                font-weight: 700;
                color: var(--heading-color);
                margin-bottom: 0;
            }

                .pricing .pricing-item .pricing-header .price-wrap .price sup {
                    font-size: 1.25rem;
                    position: relative;
                    top: -0.75rem;
                }

                .pricing .pricing-item .pricing-header .price-wrap .price span {
                    font-size: 0.875rem;
                    color: color-mix(in srgb, var(--default-color), transparent 40%);
                }

            .pricing .pricing-item .pricing-header .price-wrap .yearly {
                display: none;
            }

        .pricing .pricing-item .pricing-header .pricing-description {
            font-size: 0.875rem;
            color: color-mix(in srgb, var(--default-color), transparent 30%);
            margin-bottom: 0;
        }

    .pricing .pricing-item.yearly-active .pricing-header .price-wrap .monthly {
        display: none;
    }

    .pricing .pricing-item.yearly-active .pricing-header .price-wrap .yearly {
        display: block;
    }

.pricing .pricing-cta {
    margin-bottom: 1.5rem;
}

    .pricing .pricing-cta .btn-primary {
        background-color: var(--accent-color);
        border-color: var(--accent-color);
        color: var(--contrast-color);
        font-weight: 500;
        padding: 0.75rem 1.5rem;
        transition: all 0.3s ease;
    }

        .pricing .pricing-cta .btn-primary:hover {
            background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
            border-color: color-mix(in srgb, var(--accent-color), transparent 15%);
        }

.pricing .pricing-features {
    flex-grow: 1;
}

    .pricing .pricing-features h6 {
        font-size: 0.875rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: var(--heading-color);
    }

    .pricing .pricing-features .feature-list {
        list-style: none;
        padding-left: 0;
        margin-bottom: 0;
    }

        .pricing .pricing-features .feature-list li {
            display: flex;
            align-items: flex-start;
            margin-bottom: 0.75rem;
            font-size: 0.875rem;
            color: var(--default-color);
        }

            .pricing .pricing-features .feature-list li i {
                color: var(--accent-color);
                margin-right: 0.5rem;
                font-size: 1rem;
                flex-shrink: 0;
                margin-top: 0.125rem;
            }

            .pricing .pricing-features .feature-list li .feature-highlight {
                color: #9C27B0;
                font-weight: 600;
            }

.pricing.yearly-active .pricing-toggle .monthly {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    font-weight: 500;
}

.pricing.yearly-active .pricing-toggle .yearly {
    color: var(--accent-color);
    font-weight: 600;
}

.pricing.yearly-active .pricing-item .price-wrap .monthly {
    display: none;
}

.pricing.yearly-active .pricing-item .price-wrap .yearly {
    display: block;
}

@media (max-width: 992px) {
    .pricing .pricing-item {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .pricing .row.gy-4 > [class*=col-] {
        margin-bottom: 2rem;
    }

    .pricing .pricing-item {
        padding: 1.5rem;
    }

    .pricing .pricing-header .price-wrap .price {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .pricing .pricing-toggle {
        flex-direction: column;
    }

        .pricing .pricing-toggle .form-check {
            margin: 1rem 0;
        }

        .pricing .pricing-toggle span .badge {
            display: block;
            margin: 0.5rem auto 0;
            width: fit-content;
        }
}

/*--------------------------------------------------------------
# Blog Hero Section
--------------------------------------------------------------*/
.blog-hero .blog-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .blog-hero .blog-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-hero .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.blog-hero .blog-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px color-mix(in srgb, var(--default-color), transparent 90%);
    transition: transform 0.3s ease-in-out;
    background-color: var(--surface-color);
}

    .blog-hero .blog-item:hover {
        transform: translateY(-5px);
    }

        .blog-hero .blog-item:hover img {
            transform: scale(1.05);
        }

        .blog-hero .blog-item:hover .blog-content {
            background: linear-gradient(0deg, color-mix(in srgb, var(--default-color), transparent 10%) 0%, transparent 100%);
        }

    .blog-hero .blog-item.featured {
        grid-column: span 8;
    }

@media (max-width: 991px) {
    .blog-hero .blog-item.featured {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .blog-hero .blog-item.featured {
        grid-column: span 1;
    }
}

.blog-hero .blog-item.featured .post-title {
    font-size: 2rem;
}

@media (max-width: 768px) {
    .blog-hero .blog-item.featured .post-title {
        font-size: 1.5rem;
    }
}

.blog-hero .blog-item:not(.featured) {
    grid-column: span 4;
}

@media (max-width: 991px) {
    .blog-hero .blog-item:not(.featured) {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .blog-hero .blog-item:not(.featured) {
        grid-column: span 1;
    }
}

.blog-hero .blog-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    aspect-ratio: 16/9;
}

.blog-hero .blog-item .blog-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(0deg, color-mix(in srgb, var(--default-color), transparent 20%) 0%, transparent 100%);
    transition: background 0.3s ease-in-out;
}

.blog-hero .blog-item .post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--contrast-color);
}

    .blog-hero .blog-item .post-meta .date,
    .blog-hero .blog-item .post-meta .category {
        display: flex;
        align-items: center;
    }

        .blog-hero .blog-item .post-meta .date::before,
        .blog-hero .blog-item .post-meta .category::before {
            font-family: "bootstrap-icons";
            margin-right: 0.5rem;
            font-size: 1rem;
        }

        .blog-hero .blog-item .post-meta .date::before {
            content: "\f282";
        }

        .blog-hero .blog-item .post-meta .category::before {
            content: "\f5d3";
        }

.blog-hero .blog-item .post-title {
    margin: 0;
    font-family: var(--heading-font);
}

    .blog-hero .blog-item .post-title a {
        color: var(--contrast-color);
        text-decoration: none;
    }

        .blog-hero .blog-item .post-title a:hover {
            color: color-mix(in srgb, var(--contrast-color), transparent 20%);
        }

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts {
    padding-top: 60px;
    padding-bottom: 62px;
}

    .blog-posts article {
        background-color: var(--surface-color);
        box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
        border-radius: 8px;
        overflow: hidden;
    }

    .blog-posts .post-img img {
        transition: 0.5s;
    }

    .blog-posts .post-content {
        padding: 30px;
    }

    .blog-posts .post-title {
        font-size: 20px;
        line-height: 24px;
        color: var(--heading-color);
        font-weight: 600;
        transition: 0.3s;
        margin-bottom: 20px;
    }

    .blog-posts .meta {
        position: relative;
        margin-top: -20px;
        padding: 0 30px;
    }

        .blog-posts .meta i {
            font-size: 16px;
            color: var(--accent-color);
        }

        .blog-posts .meta span {
            font-size: 15px;
            color: color-mix(in srgb, var(--default-color), transparent 40%);
        }

        .blog-posts .meta .post-date {
            background-color: var(--accent-color);
            color: var(--contrast-color);
            font-size: 13px;
            padding: 6px 12px;
            text-align: center;
            margin-right: 15px;
            border-radius: 4px;
        }

            .blog-posts .meta .post-date span {
                display: block;
                color: var(--contrast-color);
                font-weight: 700;
                font-size: 20px;
            }

    .blog-posts .readmore {
        display: flex;
        align-items: center;
        font-weight: 400;
        line-height: 1;
        transition: 0.3s;
        color: color-mix(in srgb, var(--heading-color), transparent 20%);
    }

        .blog-posts .readmore i {
            line-height: 0;
            margin-left: 6px;
            font-size: 16px;
        }

    .blog-posts article:hover .post-title,
    .blog-posts article:hover .readmore {
        color: var(--accent-color);
    }

    .blog-posts article:hover .post-img img {
        transform: scale(1.1);
    }

/*--------------------------------------------------------------
# Pagination 2 Section
--------------------------------------------------------------*/
.pagination-2 {
    padding-top: 0;
}

    .pagination-2 nav {
        position: relative;
    }

    .pagination-2 ul {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .pagination-2 li {
        margin: 0;
        transition: all 0.3s ease-in-out;
    }

        .pagination-2 li.ellipsis {
            color: color-mix(in srgb, var(--default-color), transparent 40%);
            padding: 8px 16px;
            user-select: none;
        }

        .pagination-2 li a {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            padding: 8px 16px;
            color: var(--default-color);
            background-color: var(--surface-color);
            border-radius: 8px;
            text-decoration: none;
            transition: all 0.3s ease-in-out;
            box-shadow: 0 2px 4px color-mix(in srgb, var(--default-color), transparent 90%);
        }

            .pagination-2 li a.active {
                background-color: var(--accent-color);
                color: var(--contrast-color);
                transform: translateY(-2px);
                box-shadow: 0 4px 8px color-mix(in srgb, var(--accent-color), transparent 70%);
            }

            .pagination-2 li a:hover:not(.active) {
                background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
                transform: translateY(-1px);
                box-shadow: 0 3px 6px color-mix(in srgb, var(--default-color), transparent 85%);
            }

            .pagination-2 li a i {
                font-size: 14px;
            }

            .pagination-2 li a span {
                margin: 0 4px;
            }

@media (max-width: 575px) {
    .pagination-2 ul {
        gap: 4px;
    }

    .pagination-2 li a {
        min-width: 36px;
        height: 36px;
        padding: 8px 12px;
        font-size: 14px;
    }
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

    .blog-details .article-header {
        max-width: 800px;
        margin: 0 auto 3rem;
        text-align: center;
    }

        .blog-details .article-header .meta-categories {
            margin-bottom: 1.5rem;
        }

            .blog-details .article-header .meta-categories .category {
                display: inline-block;
                padding: 0.4rem 1.2rem;
                margin: 0 0.5rem;
                background: color-mix(in srgb, var(--accent-color), transparent 90%);
                color: var(--accent-color);
                border-radius: 30px;
                font-size: 0.9rem;
                transition: all 0.3s ease;
            }

                .blog-details .article-header .meta-categories .category:hover {
                    background: var(--accent-color);
                    color: var(--contrast-color);
                    transform: translateY(-2px);
                }

        .blog-details .article-header .title {
            font-size: 3.2rem;
            line-height: 1.2;
            margin-bottom: 2rem;
            color: var(--heading-color);
        }

@media (max-width: 768px) {
    .blog-details .article-header .title {
        font-size: 2.2rem;
    }
}

.blog-details .article-header .article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

    .blog-details .article-header .article-meta .author {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

        .blog-details .article-header .article-meta .author .author-img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
        }

        .blog-details .article-header .article-meta .author .author-info {
            text-align: left;
        }

            .blog-details .article-header .article-meta .author .author-info h4 {
                margin: 0;
                font-size: 1.1rem;
                color: var(--heading-color);
            }

            .blog-details .article-header .article-meta .author .author-info span {
                color: color-mix(in srgb, var(--default-color), transparent 30%);
                font-size: 0.9rem;
            }

    .blog-details .article-header .article-meta .post-info {
        display: flex;
        gap: 1.5rem;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        font-size: 0.95rem;
    }

        .blog-details .article-header .article-meta .post-info span {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

@media (max-width: 768px) {
    .blog-details .article-header .article-meta {
        justify-content: center;
        text-align: center;
    }

        .blog-details .article-header .article-meta .post-info {
            width: 100%;
            justify-content: center;
            flex-wrap: wrap;
        }
}

.blog-details .article-featured-image {
    margin: 0 -2rem 3rem;
    height: 500px;
    overflow: hidden;
    border-radius: 16px;
}

    .blog-details .article-featured-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

@media (max-width: 768px) {
    .blog-details .article-featured-image {
        margin: 0 -1rem 2rem;
        height: 300px;
    }
}

.blog-details .article-wrapper {
    display: grid;
    grid-template-columns: minmax(200px, 300px) 1fr;
    gap: 3rem;
    position: relative;
}

@media (max-width: 992px) {
    .blog-details .article-wrapper {
        grid-template-columns: 1fr;
    }
}

.blog-details .article-wrapper .table-of-contents {
    position: sticky;
    top: 100px;
    height: fit-content;
    padding: 2rem;
    background: var(--surface-color);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
    .blog-details .article-wrapper .table-of-contents {
        display: none;
    }
}

.blog-details .article-wrapper .table-of-contents h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

.blog-details .article-wrapper .table-of-contents nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .blog-details .article-wrapper .table-of-contents nav ul li {
        margin-bottom: 0.75rem;
    }

        .blog-details .article-wrapper .table-of-contents nav ul li a {
            color: color-mix(in srgb, var(--default-color), transparent 30%);
            text-decoration: none;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            padding-left: 1rem;
            position: relative;
        }

            .blog-details .article-wrapper .table-of-contents nav ul li a::before {
                content: "";
                position: absolute;
                left: 0;
                top: 50%;
                width: 4px;
                height: 4px;
                border-radius: 50%;
                background: var(--accent-color);
                transform: translateY(-50%);
                opacity: 0;
                transition: all 0.3s ease;
            }

            .blog-details .article-wrapper .table-of-contents nav ul li a:hover,
            .blog-details .article-wrapper .table-of-contents nav ul li a.active {
                color: var(--heading-color);
            }

                .blog-details .article-wrapper .table-of-contents nav ul li a:hover::before,
                .blog-details .article-wrapper .table-of-contents nav ul li a.active::before {
                    opacity: 1;
                }

.blog-details .article-wrapper .article-content {
    font-size: 1.15rem;
    line-height: 1.8;
}

    .blog-details .article-wrapper .article-content .content-section {
        margin-bottom: 4rem;
    }

        .blog-details .article-wrapper .article-content .content-section .lead {
            font-size: 1.4rem;
            line-height: 1.6;
            color: var(--heading-color);
            margin-bottom: 2rem;
        }

        .blog-details .article-wrapper .article-content .content-section h2 {
            font-size: 2.2rem;
            color: var(--heading-color);
            margin-bottom: 1.5rem;
        }

        .blog-details .article-wrapper .article-content .content-section .highlight-quote {
            margin: 3rem 0;
            padding: 3rem;
            background: var(--surface-color);
            border-radius: 12px;
            position: relative;
        }

            .blog-details .article-wrapper .article-content .content-section .highlight-quote::before {
                content: "“";
                position: absolute;
                top: 1rem;
                left: 1rem;
                font-size: 5rem;
                color: color-mix(in srgb, var(--accent-color), transparent 85%);
                font-family: serif;
                line-height: 1;
            }

            .blog-details .article-wrapper .article-content .content-section .highlight-quote blockquote {
                padding-left: 3rem;
            }

                .blog-details .article-wrapper .article-content .content-section .highlight-quote blockquote p {
                    font-size: 1.5rem;
                    font-style: italic;
                    color: var(--heading-color);
                    margin-bottom: 1rem;
                }

                .blog-details .article-wrapper .article-content .content-section .highlight-quote blockquote cite {
                    font-style: normal;
                    color: color-mix(in srgb, var(--default-color), transparent 30%);
                }

        .blog-details .article-wrapper .article-content .content-section .image-with-caption {
            margin: 2rem 0;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        }

            .blog-details .article-wrapper .article-content .content-section .image-with-caption.right {
                float: right;
                max-width: 450px;
                margin: 0 0 2rem 2rem;
            }

@media (max-width: 768px) {
    .blog-details .article-wrapper .article-content .content-section .image-with-caption.right {
        float: none;
        max-width: 100%;
        margin: 2rem 0;
    }
}

.blog-details .article-wrapper .article-content .content-section .image-with-caption img {
    width: 100%;
}

.blog-details .article-wrapper .article-content .content-section .image-with-caption figcaption {
    padding: 1rem;
    background: var(--surface-color);
    text-align: center;
    font-size: 0.9rem;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.blog-details .article-wrapper .article-content .content-section .feature-points {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

    .blog-details .article-wrapper .article-content .content-section .feature-points .point {
        display: flex;
        gap: 1rem;
        align-items: flex-start;
    }

        .blog-details .article-wrapper .article-content .content-section .feature-points .point i {
            font-size: 2rem;
            color: var(--accent-color);
        }

        .blog-details .article-wrapper .article-content .content-section .feature-points .point h4 {
            margin: 0 0 0.5rem;
            color: var(--heading-color);
        }

        .blog-details .article-wrapper .article-content .content-section .feature-points .point p {
            margin: 0;
            font-size: 1rem;
        }

.blog-details .article-wrapper .article-content .content-section .comparison-grid {
    margin: 2rem 0;
}

    .blog-details .article-wrapper .article-content .content-section .comparison-grid .comparison-card {
        background: var(--surface-color);
        border-radius: 12px;
        padding: 2rem;
        height: 100%;
    }

        .blog-details .article-wrapper .article-content .content-section .comparison-grid .comparison-card .icon {
            margin-bottom: 1rem;
        }

            .blog-details .article-wrapper .article-content .content-section .comparison-grid .comparison-card .icon i {
                font-size: 2rem;
                color: var(--accent-color);
            }

        .blog-details .article-wrapper .article-content .content-section .comparison-grid .comparison-card h4 {
            color: var(--heading-color);
            margin-bottom: 1rem;
        }

        .blog-details .article-wrapper .article-content .content-section .comparison-grid .comparison-card ul {
            padding-left: 1.2rem;
            margin: 0;
        }

            .blog-details .article-wrapper .article-content .content-section .comparison-grid .comparison-card ul li {
                margin-bottom: 0.5rem;
                color: color-mix(in srgb, var(--default-color), transparent 15%);
            }

.blog-details .article-wrapper .article-content .content-section .key-principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

@media (max-width: 768px) {
    .blog-details .article-wrapper .article-content .content-section .key-principles {
        grid-template-columns: 1fr;
    }
}

.blog-details .article-wrapper .article-content .content-section .key-principles .principle {
    text-align: center;
    padding: 2rem;
    background: var(--surface-color);
    border-radius: 12px;
    position: relative;
}

    .blog-details .article-wrapper .article-content .content-section .key-principles .principle .number {
        position: absolute;
        top: -1rem;
        left: 50%;
        transform: translateX(-50%);
        background: var(--accent-color);
        color: var(--contrast-color);
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-weight: bold;
    }

    .blog-details .article-wrapper .article-content .content-section .key-principles .principle h4 {
        color: var(--heading-color);
        margin: 1rem 0;
    }

    .blog-details .article-wrapper .article-content .content-section .key-principles .principle p {
        margin: 0;
        font-size: 0.95rem;
    }

.blog-details .article-wrapper .article-content .content-section .info-box {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
    border-radius: 12px;
    margin: 2rem 0;
}

    .blog-details .article-wrapper .article-content .content-section .info-box .icon i {
        font-size: 2.5rem;
        color: var(--accent-color);
    }

    .blog-details .article-wrapper .article-content .content-section .info-box .content h4 {
        color: var(--heading-color);
        margin-bottom: 0.5rem;
    }

    .blog-details .article-wrapper .article-content .content-section .info-box .content p {
        margin: 0;
    }

.blog-details .article-wrapper .article-content .content-section .future-trends {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .blog-details .article-wrapper .article-content .content-section .future-trends {
        grid-template-columns: 1fr;
    }
}

.blog-details .article-wrapper .article-content .content-section .future-trends .trend {
    text-align: center;
    padding: 2rem;
    background: var(--surface-color);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

    .blog-details .article-wrapper .article-content .content-section .future-trends .trend:hover {
        transform: translateY(-5px);
    }

    .blog-details .article-wrapper .article-content .content-section .future-trends .trend i {
        font-size: 2.5rem;
        color: var(--accent-color);
        margin-bottom: 1rem;
    }

    .blog-details .article-wrapper .article-content .content-section .future-trends .trend h4 {
        color: var(--heading-color);
        margin-bottom: 1rem;
    }

    .blog-details .article-wrapper .article-content .content-section .future-trends .trend p {
        margin: 0;
        font-size: 0.95rem;
    }

.blog-details .article-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

    .blog-details .article-footer h4 {
        color: var(--heading-color);
        margin-bottom: 1.5rem;
    }

    .blog-details .article-footer .share-article {
        margin-bottom: 3rem;
    }

        .blog-details .article-footer .share-article .share-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

            .blog-details .article-footer .share-article .share-buttons .share-button {
                display: flex;
                align-items: center;
                gap: 0.75rem;
                padding: 0.75rem 1.5rem;
                background: var(--surface-color);
                border-radius: 30px;
                color: var(--heading-color);
                text-decoration: none;
                transition: all 0.3s ease;
            }

                .blog-details .article-footer .share-article .share-buttons .share-button i {
                    font-size: 1.2rem;
                }

                .blog-details .article-footer .share-article .share-buttons .share-button:hover {
                    background: var(--accent-color);
                    color: var(--contrast-color);
                    transform: translateY(-2px);
                }

                .blog-details .article-footer .share-article .share-buttons .share-button.twitter:hover {
                    background: #1DA1F2;
                }

                .blog-details .article-footer .share-article .share-buttons .share-button.facebook:hover {
                    background: #4267B2;
                }

                .blog-details .article-footer .share-article .share-buttons .share-button.linkedin:hover {
                    background: #0077B5;
                }

    .blog-details .article-footer .article-tags .tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

        .blog-details .article-footer .article-tags .tags .tag {
            padding: 0.5rem 1rem;
            background: color-mix(in srgb, var(--accent-color), transparent 90%);
            color: var(--accent-color);
            border-radius: 30px;
            font-size: 0.9rem;
            text-decoration: none;
            transition: all 0.3s ease;
        }

            .blog-details .article-footer .article-tags .tags .tag:hover {
                background: var(--accent-color);
                color: var(--contrast-color);
                transform: translateY(-2px);
            }

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
    padding-top: 60px;
    padding-bottom: 30px;
}

    .blog-comments .comments-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 40px;
        padding-bottom: 20px;
        border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
    }

        .blog-comments .comments-header .title {
            color: var(--heading-color);
            font-size: 32px;
            font-weight: 700;
            font-family: var(--heading-font);
            margin: 0;
        }

        .blog-comments .comments-header .comments-stats {
            background: color-mix(in srgb, var(--default-color), transparent 95%);
            padding: 8px 20px;
            border-radius: 30px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

            .blog-comments .comments-header .comments-stats .count {
                font-size: 18px;
                font-weight: 700;
            }

            .blog-comments .comments-header .comments-stats .label {
                font-size: 14px;
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }

    .blog-comments .comments-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .blog-comments .comment-thread {
        position: relative;
    }

        .blog-comments .comment-thread:not(:last-child)::after {
            content: "";
            position: absolute;
            left: 25px;
            top: 80px;
            bottom: 0;
            width: 2px;
            background: linear-gradient(to bottom, color-mix(in srgb, var(--accent-color), transparent 40%), color-mix(in srgb, var(--accent-color), transparent 90%));
            z-index: 0;
        }

@media (min-width: 768px) {
    .blog-comments .comment-thread:not(:last-child)::after {
        left: 35px;
    }
}

.blog-comments .comment-box {
    position: relative;
    transition: all 0.3s ease;
}

    .blog-comments .comment-box.reply {
        margin-left: 50px;
        margin-top: 25px;
    }

@media (min-width: 768px) {
    .blog-comments .comment-box.reply {
        margin-left: 70px;
    }
}

.blog-comments .comment-wrapper {
    display: flex;
    gap: 20px;
    position: relative;
}

.blog-comments .avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

    .blog-comments .avatar-wrapper img {
        width: 50px;
        height: 50px;
        border-radius: 15px;
        object-fit: cover;
        border: 3px solid var(--surface-color);
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease;
    }

@media (min-width: 768px) {
    .blog-comments .avatar-wrapper img {
        width: 70px;
        height: 70px;
    }
}

.blog-comments .avatar-wrapper img:hover {
    transform: scale(1.05);
}

.blog-comments .avatar-wrapper .status-indicator {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #4CAF50;
    border: 2px solid var(--surface-color);
    z-index: 1;
}

.blog-comments .comment-content {
    flex: 1;
    background-color: var(--surface-color);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

    .blog-comments .comment-content:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    }

.blog-comments .comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

    .blog-comments .comment-header .user-info h4 {
        color: var(--heading-color);
        font-size: 18px;
        font-weight: 600;
        margin: 0 0 5px;
    }

    .blog-comments .comment-header .user-info .time-badge {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 14px;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
    }

        .blog-comments .comment-header .user-info .time-badge i {
            font-size: 13px;
        }

    .blog-comments .comment-header .engagement .likes {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 6px 12px;
        background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
        border-radius: 20px;
        color: var(--accent-color);
        font-size: 14px;
        font-weight: 500;
    }

        .blog-comments .comment-header .engagement .likes i {
            font-size: 13px;
        }

.blog-comments .comment-body p {
    color: var(--default-color);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-comments .comment-actions {
    display: flex;
    gap: 15px;
}

    .blog-comments .comment-actions .action-btn {
        background: none;
        border: none;
        padding: 8px 15px;
        border-radius: 20px;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
        font-size: 14px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .blog-comments .comment-actions .action-btn i {
            font-size: 15px;
            transition: all 0.3s ease;
        }

        .blog-comments .comment-actions .action-btn:hover {
            color: var(--accent-color);
            background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
        }

            .blog-comments .comment-actions .action-btn:hover.like-btn i {
                transform: scale(1.2);
                color: #ff4b6e;
            }

            .blog-comments .comment-actions .action-btn:hover.reply-btn i {
                transform: translateX(-3px);
            }

            .blog-comments .comment-actions .action-btn:hover.share-btn i {
                transform: translateY(-2px);
            }

        .blog-comments .comment-actions .action-btn.like-btn.active {
            color: #ff4b6e;
        }

.blog-comments .replies-container {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

@media (max-width: 768px) {
    .blog-comments .comments-header {
        margin-bottom: 30px;
    }

        .blog-comments .comments-header .title {
            font-size: 24px;
        }

        .blog-comments .comments-header .comments-stats {
            padding: 6px 15px;
        }

            .blog-comments .comments-header .comments-stats .count {
                font-size: 20px;
            }

            .blog-comments .comments-header .comments-stats .label {
                font-size: 12px;
            }

    .blog-comments .comment-content {
        padding: 20px;
    }

    .blog-comments .comment-header .user-info h4 {
        font-size: 16px;
    }

    .blog-comments .comment-header .user-info .time-badge {
        font-size: 13px;
    }

    .blog-comments .comment-body p {
        font-size: 14px;
    }

    .blog-comments .comment-actions .action-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/*--------------------------------------------------------------
# Blog Comment Form Section
--------------------------------------------------------------*/
.blog-comment-form {
    padding-top: 30px;
    max-width: 900px;
    margin: 30px auto 0 auto;
    padding-bottom: 60px;
}

    .blog-comment-form form {
        background-color: var(--surface-color);
        padding: 30px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

        .blog-comment-form form h4 {
            font-weight: bold;
            font-size: 22px;
        }

        .blog-comment-form form p {
            font-size: 14px;
        }

        .blog-comment-form form input {
            background-color: var(--surface-color);
            color: var(--default-color);
            border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
            font-size: 14px;
            border-radius: 4px;
            padding: 10px 10px;
        }

            .blog-comment-form form input:focus {
                color: var(--default-color);
                background-color: var(--surface-color);
                box-shadow: none;
                border-color: var(--accent-color);
            }

            .blog-comment-form form input::placeholder {
                color: color-mix(in srgb, var(--default-color), transparent 50%);
            }

        .blog-comment-form form textarea {
            background-color: var(--surface-color);
            color: var(--default-color);
            border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
            border-radius: 4px;
            padding: 10px 10px;
            font-size: 14px;
            height: 120px;
        }

            .blog-comment-form form textarea:focus {
                color: var(--default-color);
                box-shadow: none;
                border-color: var(--accent-color);
                background-color: var(--surface-color);
            }

            .blog-comment-form form textarea::placeholder {
                color: color-mix(in srgb, var(--default-color), transparent 50%);
            }

        .blog-comment-form form .form-group {
            margin-bottom: 25px;
        }

        .blog-comment-form form .btn-primary {
            border-radius: 4px;
            padding: 10px 20px;
            border: 0;
            background-color: var(--accent-color);
            color: var(--contrast-color);
        }

            .blog-comment-form form .btn-primary:hover {
                color: var(--contrast-color);
                background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
            }

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .contact-main-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .contact .contact-main-wrapper {
        grid-template-columns: 45% 55%;
        min-height: 600px;
    }
}

.contact .map-wrapper {
    position: relative;
    width: 100%;
    min-height: 400px; /* desktop default */
    overflow: hidden;
    border-radius: 8px; /* match existing rounded look */
}
.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 992px) {
    .contact .map-wrapper {
        height: 100%;
        position: sticky;
        top: 100px;
    }
}
@media (max-width: 991.98px) {
    .map-wrapper {
        min-height: 480px;
    }
}

@media (max-width: 575.98px) {
    .map-wrapper {
        min-height: 360px;
    }
}
.contact .contact-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact .contact-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 576px) {
    .contact .contact-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact .contact-card {
    background-color: var(--surface-color);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .contact .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    .contact .contact-card .icon-box {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
        background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
        border-radius: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .contact .contact-card .icon-box i {
            font-size: 22px;
            color: var(--accent-color);
        }

    .contact .contact-card .contact-text h4 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--heading-color);
    }

    .contact .contact-card .contact-text p {
        font-size: 14px;
        line-height: 1.5;
        color: var(--default-color);
        margin-bottom: 0;
    }

.contact .contact-form-container {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

    .contact .contact-form-container h3 {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 15px;
        color: var(--heading-color);
        position: relative;
        padding-left: 15px;
    }

        .contact .contact-form-container h3:before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 4px;
            background-color: var(--accent-color);
            border-radius: 2px;
        }

    .contact .contact-form-container > p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 25px;
        color: var(--default-color);
    }

    .contact .contact-form-container .php-email-form .form-control {
        height: auto;
        padding: 14px 20px;
        border-radius: 10px;
        background-color: color-mix(in srgb, var(--background-color), #f5f8fd 30%);
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        color: var(--default-color);
        transition: all 0.3s ease;
    }

        .contact .contact-form-container .php-email-form .form-control:focus {
            background-color: var(--surface-color);
            border-color: var(--accent-color);
            box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 85%);
        }

        .contact .contact-form-container .php-email-form .form-control::placeholder {
            color: color-mix(in srgb, var(--default-color), transparent 60%);
        }

    .contact .contact-form-container .php-email-form textarea.form-control {
        min-height: 140px;
    }

    .contact .contact-form-container .php-email-form .form-submit {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 10px;
    }

@media (max-width: 576px) {
    .contact .contact-form-container .php-email-form .form-submit {
        flex-direction: column;
        align-items: flex-start;
    }
}

.contact .contact-form-container .php-email-form button {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .contact .contact-form-container .php-email-form button:hover {
        background-color: color-mix(in srgb, var(--accent-color), #000 15%);
        transform: translateY(-2px);
        box-shadow: 0 6px 15px color-mix(in srgb, var(--accent-color), transparent 75%);
    }

.contact .contact-form-container .php-email-form .social-links {
    display: flex;
    gap: 12px;
}

    .contact .contact-form-container .php-email-form .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background-color: color-mix(in srgb, var(--background-color), #f5f8fd 20%);
        color: var(--heading-color);
        font-size: 16px;
        transition: all 0.3s ease;
    }

        .contact .contact-form-container .php-email-form .social-links a:hover {
            background-color: var(--accent-color);
            color: var(--contrast-color);
            transform: translateY(-3px);
        }

@media (max-width: 768px) {
    .contact .contact-form-container {
        padding: 25px 20px;
    }

        .contact .contact-form-container h3 {
            font-size: 22px;
        }
}

/*--------------------------------------------------------------
# Terms Of Service Section
--------------------------------------------------------------*/
.terms-of-service .tos-header {
    margin-bottom: 60px;
}

    .terms-of-service .tos-header .last-updated {
        display: inline-block;
        padding: 8px 20px;
        background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
        border-radius: 30px;
        color: var(--accent-color);
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .terms-of-service .tos-header h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .terms-of-service .tos-header p {
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        font-size: 1.1rem;
        max-width: 700px;
        margin: 0 auto;
    }

.terms-of-service .tos-content .content-section {
    margin-bottom: 50px;
    scroll-margin-top: 100px;
}

    .terms-of-service .tos-content .content-section:last-child {
        margin-bottom: 0;
    }

    .terms-of-service .tos-content .content-section h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        color: var(--heading-color);
    }

    .terms-of-service .tos-content .content-section p {
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        line-height: 1.7;
        margin-bottom: 20px;
    }

        .terms-of-service .tos-content .content-section p:last-child {
            margin-bottom: 0;
        }

    .terms-of-service .tos-content .content-section .info-box {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
        background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
        border-radius: 15px;
        margin-top: 20px;
    }

        .terms-of-service .tos-content .content-section .info-box i {
            font-size: 1.5rem;
            color: var(--accent-color);
            flex-shrink: 0;
        }

        .terms-of-service .tos-content .content-section .info-box p {
            margin: 0;
            font-size: 0.95rem;
        }

    .terms-of-service .tos-content .content-section .list-items {
        list-style: none;
        padding: 0;
        margin: 20px 0;
    }

        .terms-of-service .tos-content .content-section .list-items li {
            position: relative;
            padding-left: 25px;
            margin-bottom: 12px;
            color: color-mix(in srgb, var(--default-color), transparent 20%);
        }

            .terms-of-service .tos-content .content-section .list-items li:last-child {
                margin-bottom: 0;
            }

            .terms-of-service .tos-content .content-section .list-items li::before {
                content: "";
                position: absolute;
                left: 0;
                top: 10px;
                width: 6px;
                height: 6px;
                border-radius: 50%;
                background-color: var(--accent-color);
            }

    .terms-of-service .tos-content .content-section .alert-box {
        display: flex;
        gap: 20px;
        padding: 25px;
        background-color: var(--surface-color);
        border-radius: 15px;
        border-left: 4px solid var(--accent-color);
        margin-top: 20px;
    }

        .terms-of-service .tos-content .content-section .alert-box i {
            font-size: 2rem;
            color: var(--accent-color);
            flex-shrink: 0;
        }

        .terms-of-service .tos-content .content-section .alert-box .alert-content h5 {
            font-size: 1.1rem;
            margin-bottom: 8px;
        }

        .terms-of-service .tos-content .content-section .alert-box .alert-content p {
            margin: 0;
            font-size: 0.95rem;
        }

    .terms-of-service .tos-content .content-section .prohibited-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 20px;
    }

@media (max-width: 576px) {
    .terms-of-service .tos-content .content-section .prohibited-list {
        grid-template-columns: 1fr;
    }
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background-color: var(--surface-color);
    border-radius: 12px;
}

    .terms-of-service .tos-content .content-section .prohibited-list .prohibited-item i {
        color: #dc3545;
        font-size: 1.2rem;
    }

    .terms-of-service .tos-content .content-section .prohibited-list .prohibited-item span {
        font-size: 0.95rem;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
    }

.terms-of-service .tos-content .content-section .disclaimer-box {
    background-color: var(--surface-color);
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
}

    .terms-of-service .tos-content .content-section .disclaimer-box p {
        margin-bottom: 15px;
        font-weight: 500;
    }

    .terms-of-service .tos-content .content-section .disclaimer-box ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .terms-of-service .tos-content .content-section .disclaimer-box ul li {
            position: relative;
            padding-left: 25px;
            margin-bottom: 12px;
            color: color-mix(in srgb, var(--default-color), transparent 20%);
            font-size: 0.95rem;
        }

            .terms-of-service .tos-content .content-section .disclaimer-box ul li:last-child {
                margin-bottom: 0;
            }

            .terms-of-service .tos-content .content-section .disclaimer-box ul li::before {
                content: "•";
                position: absolute;
                left: 8px;
                color: var(--accent-color);
            }

.terms-of-service .tos-content .content-section .notice-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
    border-radius: 15px;
    margin-top: 20px;
}

    .terms-of-service .tos-content .content-section .notice-box i {
        font-size: 1.5rem;
        color: var(--accent-color);
        flex-shrink: 0;
    }

    .terms-of-service .tos-content .content-section .notice-box p {
        margin: 0;
        font-size: 0.95rem;
    }

.terms-of-service .tos-contact {
    margin-top: 60px;
}

    .terms-of-service .tos-contact .contact-box {
        background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%) 0%, color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
        border-radius: 20px;
        padding: 40px;
        display: flex;
        align-items: center;
        gap: 30px;
    }

@media (max-width: 576px) {
    .terms-of-service .tos-contact .contact-box {
        flex-direction: column;
        text-align: center;
    }
}

.terms-of-service .tos-contact .contact-box .contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .terms-of-service .tos-contact .contact-box .contact-icon i {
        font-size: 1.8rem;
        color: var(--contrast-color);
    }

.terms-of-service .tos-contact .contact-box .contact-content {
    flex: 1;
}

    .terms-of-service .tos-contact .contact-box .contact-content h4 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .terms-of-service .tos-contact .contact-box .contact-content p {
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        margin-bottom: 15px;
    }

    .terms-of-service .tos-contact .contact-box .contact-content .contact-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 25px;
        background-color: var(--accent-color);
        color: var(--contrast-color);
        border-radius: 30px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s;
    }

        .terms-of-service .tos-contact .contact-box .contact-content .contact-link:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

@media print {
    .terms-of-service .tos-contact {
        display: none;
    }

    .terms-of-service .content-section {
        page-break-inside: avoid;
    }
}

/*--------------------------------------------------------------
# Privacy Section
--------------------------------------------------------------*/
.privacy {
    font-size: 1rem;
    line-height: 1.7;
}

    .privacy .privacy-header {
        margin-bottom: 60px;
        text-align: center;
        border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        padding-bottom: 40px;
    }

        .privacy .privacy-header .header-content {
            max-width: 800px;
            margin: 0 auto;
        }

            .privacy .privacy-header .header-content .last-updated {
                font-size: 0.95rem;
                color: color-mix(in srgb, var(--default-color), transparent 40%);
                margin-bottom: 20px;
            }

            .privacy .privacy-header .header-content h1 {
                font-size: 2.8rem;
                color: var(--heading-color);
                margin-bottom: 20px;
                font-weight: 600;
            }

            .privacy .privacy-header .header-content .intro-text {
                font-size: 1.2rem;
                color: color-mix(in srgb, var(--default-color), transparent 20%);
                line-height: 1.6;
            }

    .privacy .privacy-content {
        max-width: 800px;
        margin: 0 auto 60px;
    }

        .privacy .privacy-content .content-section {
            margin-bottom: 50px;
        }

            .privacy .privacy-content .content-section:last-child {
                margin-bottom: 0;
            }

            .privacy .privacy-content .content-section h2 {
                font-size: 1.8rem;
                color: var(--heading-color);
                margin-bottom: 25px;
                font-weight: 600;
            }

            .privacy .privacy-content .content-section h3 {
                font-size: 1.4rem;
                color: var(--heading-color);
                margin: 30px 0 20px;
                font-weight: 500;
            }

            .privacy .privacy-content .content-section p {
                margin-bottom: 20px;
            }

                .privacy .privacy-content .content-section p:last-child {
                    margin-bottom: 0;
                }

            .privacy .privacy-content .content-section ul {
                list-style: none;
                padding: 0;
                margin: 0 0 20px;
            }

                .privacy .privacy-content .content-section ul li {
                    position: relative;
                    padding-left: 25px;
                    margin-bottom: 12px;
                }

                    .privacy .privacy-content .content-section ul li:last-child {
                        margin-bottom: 0;
                    }

                    .privacy .privacy-content .content-section ul li::before {
                        content: "•";
                        position: absolute;
                        left: 8px;
                        color: var(--accent-color);
                    }

    .privacy .privacy-contact {
        max-width: 800px;
        margin: 0 auto;
        padding-top: 40px;
        border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    }

        .privacy .privacy-contact h2 {
            font-size: 1.8rem;
            color: var(--heading-color);
            margin-bottom: 20px;
            font-weight: 600;
        }

        .privacy .privacy-contact p {
            margin-bottom: 20px;
        }

        .privacy .privacy-contact .contact-details {
            background-color: var(--surface-color);
            padding: 25px;
            border-radius: 10px;
        }

            .privacy .privacy-contact .contact-details p {
                margin-bottom: 10px;
            }

                .privacy .privacy-contact .contact-details p:last-child {
                    margin-bottom: 0;
                }

                .privacy .privacy-contact .contact-details p strong {
                    color: var(--heading-color);
                    font-weight: 600;
                }

@media print {
    .privacy {
        font-size: 12pt;
        line-height: 1.5;
    }

        .privacy .privacy-header {
            text-align: left;
            border-bottom: 1pt solid #000;
            padding-bottom: 20pt;
            margin-bottom: 30pt;
        }

        .privacy h1 {
            font-size: 24pt;
        }

        .privacy h2 {
            font-size: 18pt;
            page-break-after: avoid;
        }

        .privacy h3 {
            font-size: 14pt;
            page-break-after: avoid;
        }

        .privacy p,
        .privacy ul {
            page-break-inside: avoid;
        }

        .privacy .contact-details {
            border: 1pt solid #000;
            padding: 15pt;
        }
}

@media (max-width: 767px) {
    .privacy .privacy-header {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }

        .privacy .privacy-header .header-content h1 {
            font-size: 2.2rem;
        }

        .privacy .privacy-header .header-content .intro-text {
            font-size: 1.1rem;
        }

    .privacy .privacy-content .content-section {
        margin-bottom: 40px;
    }

        .privacy .privacy-content .content-section h2 {
            font-size: 1.6rem;
        }

        .privacy .privacy-content .content-section h3 {
            font-size: 1.3rem;
        }
}

/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 {
    padding: 100px 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--background-color), transparent 0%), color-mix(in srgb, var(--background-color), var(--accent-color) 4%));
}

    .error-404 .error-wrapper {
        position: relative;
        overflow: hidden;
    }

    .error-404 .error-illustration {
        position: relative;
        height: 350px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .error-404 .error-illustration i {
            font-size: 9rem;
            color: color-mix(in srgb, var(--accent-color), transparent 10%);
            position: relative;
            z-index: 2;
            animation: pulse 2s infinite;
        }

        .error-404 .error-illustration .circle {
            position: absolute;
            border-radius: 50%;
            opacity: 0.6;
        }

            .error-404 .error-illustration .circle.circle-1 {
                width: 200px;
                height: 200px;
                background: color-mix(in srgb, var(--accent-color), transparent 80%);
                animation: float 6s ease-in-out infinite;
            }

            .error-404 .error-illustration .circle.circle-2 {
                width: 120px;
                height: 120px;
                background: color-mix(in srgb, var(--heading-color), transparent 85%);
                top: 30%;
                left: 25%;
                animation: float 8s ease-in-out infinite;
            }

            .error-404 .error-illustration .circle.circle-3 {
                width: 80px;
                height: 80px;
                background: color-mix(in srgb, var(--accent-color), transparent 75%);
                bottom: 20%;
                right: 30%;
                animation: float 7s ease-in-out infinite reverse;
            }

    .error-404 .error-content {
        padding: 30px 0;
    }

    .error-404 .error-badge {
        display: inline-block;
        background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
        color: var(--accent-color);
        font-size: 0.9rem;
        font-weight: 600;
        padding: 0.5rem 1.5rem;
        border-radius: 30px;
        margin-bottom: 1.5rem;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .error-404 .error-code {
        font-size: clamp(5rem, 10vw, 8rem);
        font-weight: 900;
        margin: 0;
        background: linear-gradient(135deg, var(--heading-color), var(--accent-color));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1;
        letter-spacing: -2px;
    }

    .error-404 .error-title {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--heading-color);
        margin-bottom: 1.5rem;
    }

    .error-404 .error-description {
        font-size: 1.1rem;
        color: color-mix(in srgb, var(--default-color), transparent 15%);
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    .error-404 .error-actions {
        display: flex;
        gap: 1rem;
        margin-bottom: 2.5rem;
        flex-wrap: wrap;
    }

        .error-404 .error-actions .btn-home,
        .error-404 .error-actions .btn-help {
            padding: 0.8rem 1.8rem;
            border-radius: 8px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
        }

            .error-404 .error-actions .btn-home i,
            .error-404 .error-actions .btn-help i {
                font-size: 1.2rem;
            }

        .error-404 .error-actions .btn-home {
            background-color: var(--accent-color);
            color: var(--contrast-color);
            border: none;
        }

            .error-404 .error-actions .btn-home:hover {
                background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
                transform: translateY(-3px);
                box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 70%);
            }

        .error-404 .error-actions .btn-help {
            background-color: transparent;
            color: var(--accent-color);
            border: 2px solid color-mix(in srgb, var(--accent-color), transparent 75%);
        }

            .error-404 .error-actions .btn-help:hover {
                background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
                transform: translateY(-3px);
            }

    .error-404 .error-suggestions {
        padding: 1.5rem;
        background-color: color-mix(in srgb, var(--background-color), var(--accent-color) 5%);
        border-radius: 12px;
    }

        .error-404 .error-suggestions h3 {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--heading-color);
            margin-bottom: 1rem;
        }

        .error-404 .error-suggestions ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

            .error-404 .error-suggestions ul li {
                margin-bottom: 0.8rem;
            }

                .error-404 .error-suggestions ul li:last-child {
                    margin-bottom: 0;
                }

                .error-404 .error-suggestions ul li a {
                    display: flex;
                    align-items: center;
                    gap: 0.5rem;
                    color: var(--default-color);
                    font-size: 1.05rem;
                    transition: all 0.3s;
                }

                    .error-404 .error-suggestions ul li a i {
                        color: var(--accent-color);
                        font-size: 1.1rem;
                        transition: transform 0.3s;
                    }

                    .error-404 .error-suggestions ul li a:hover {
                        color: var(--accent-color);
                    }

                        .error-404 .error-suggestions ul li a:hover i {
                            transform: translateX(3px);
                        }

@keyframes float {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@media (max-width: 992px) {
    .error-404 .error-illustration {
        height: 300px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .error-404 {
        padding: 70px 0;
    }

        .error-404 .error-code {
            font-size: clamp(4rem, 12vw, 6rem);
        }

        .error-404 .error-title {
            font-size: 1.8rem;
        }

        .error-404 .error-actions {
            flex-direction: column;
        }

            .error-404 .error-actions .btn-home,
            .error-404 .error-actions .btn-help {
                width: 100%;
                justify-content: center;
            }
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
    /* Add your styles here */
}
/* Fix section being hidden under sticky header */
section {
    scroll-margin-top: 110px; /* adjust if header height changes */
}

/* Rankings Section */
.rankings-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.rankings-viewport {
    overflow: hidden;
    width: 100%;
}

.rankings-track {
    display: flex;
    transition: transform 0.4s ease;
}

.ranking-item {
    flex: 0 0 300px;
    margin: 0 10px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

/* Logo container – SAME SIZE FOR ALL IMAGES */
.rank-logo {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .rank-logo img {
        max-height: 100px;
        max-width: 120px;
        object-fit: contain;
    }

/* Label */
.rank-label {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

/* Title */
.rank-title {
    font-size: 15px;
    font-weight: 500;
}

/* Navigation arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0d6efd;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
}

.prev-arrow {
    left: -20px;
}

.next-arrow {
    right: -20px;
}

.nav-arrow i {
    font-size: 18px;
}

/* Mobile */
@media (max-width: 768px) {
    .ranking-item {
        min-width: 260px;
        max-width: 260px;
    }

    .prev-arrow {
        left: 0;
    }

    .next-arrow {
        right: 0;
    }
}

/* ===============================
   TESTIMONIALS SECTION
================================ */

.testimonials {
    background: #f9fafb;
}

.testimonial-item {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

    .testimonial-item:hover {
        transform: translateY(-5px);
    }

    /* Stars */
    .testimonial-item .stars i {
        color: #ffc107;
        margin-right: 2px;
    }

    /* Text */
    .testimonial-item p {
        color: #666;
        line-height: 1.7;
        font-size: 15px;
    }

    /* Read More Button */
    .testimonial-item button {
        background: none;
        border: none;
        color: #007bff;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
        padding: 0;
    }

/* Profile */
.testimonial-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

    .testimonial-profile img {
        width: 55px;
        height: 55px;
        border-radius: 50%;
        object-fit: cover;
    }

    .testimonial-profile h3 {
        font-size: 16px;
        margin: 0;
    }

    .testimonial-profile h4 {
        font-size: 14px;
        color: #777;
        margin: 0;
    }

/* ===============================
   SWIPER NAVIGATION
================================ */

#testimonialPrevBtn,
#testimonialNextBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

#testimonialPrevBtn {
    left: 0;
}

#testimonialNextBtn {
    right: 0;
}

    #testimonialPrevBtn i,
    #testimonialNextBtn i {
        font-size: 22px;
        color: #333;
    }

    /* Hover Effect */
    #testimonialPrevBtn:hover,
    #testimonialNextBtn:hover {
        background: #007bff;
        border-color: #007bff;
        transform: translateY(-50%) scale(1.1);
    }

        #testimonialPrevBtn:hover i,
        #testimonialNextBtn:hover i {
            color: #fff;
        }

/* ===============================
   OVERALL RATING
================================ */

.overall-rating {
    text-align: center;
}

    .overall-rating .rating-number {
        font-size: 48px;
        font-weight: 700;
        color: #333;
    }

    .overall-rating .rating-stars i {
        color: #ffc107;
        font-size: 20px;
    }

    .overall-rating p {
        color: #777;
        margin-top: 8px;
    }

/* ===============================
   MODAL
================================ */

#testModal .modal-content {
    border-radius: 12px;
    border: none;
}

#testModal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 12px 12px 0 0;
}

#testModal .modal-body {
    font-size: 16px;
    line-height: 1.8;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
    .testimonials [style*="padding: 0 70px"] {
        padding: 0 50px !important;
    }

    #testimonialPrevBtn,
    #testimonialNextBtn {
        width: 42px;
        height: 42px;
    }
}

.testimonial-wrapper {
    position: relative;
}

.testimonials-slider {
    padding: 0 70px;
}

@media (max-width: 768px) {
    .testimonials-slider {
        padding: 0 40px;
    }
}

.rankings-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.ranking-item {
    flex: 0 0 auto; /* VERY IMPORTANT */
}

.video-item iframe {
    border-radius: 12px;
}

.video-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.video-item p {
    font-size: 0.95rem;
    color: #555;
}

/* Common slider arrow buttons */
#videoNextBtn,
#videoPrevBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.35);
    transition: all 0.3s ease;
}

.modal.fade .modal-dialog {
    transform: scale(0.9);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
}


/* Right button position */
#videoNextBtn {
    right: -20px;
}

/* Left button position */
#videoPrevBtn {
    left: -20px;
}

    /* Hover effect */
    #videoNextBtn:hover,
    #videoPrevBtn:hover {
        background: linear-gradient(135deg, #0a58ca, #084298);
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 12px 28px rgba(13, 110, 253, 0.45);
    }

    /* Icon smooth animation */
    #videoNextBtn i,
    #videoPrevBtn i {
        transition: transform 0.3s ease;
    }

#videoNextBtn:hover i {
    transform: translateX(3px);
}

#videoPrevBtn:hover i {
    transform: translateX(-3px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    #videoNextBtn,
    #videoPrevBtn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    #videoNextBtn {
        right: -10px;
    }

    #videoPrevBtn {
        left: -10px;
    }
}

.captcha-card {
    border-radius: 14px;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.captcha-image-wrapper {
    padding: 8px;
    border-radius: 10px;
    background: #f8f9fa;
    border: 1px dashed #ced4da;
}

.captcha-image {
    height: 55px;
    display: block;
}

.captcha-input {
    max-width: 220px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .captcha-input:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    }

.refresh-btn {
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 18px;
}

    .refresh-btn:hover {
        background-color: #0d6efd;
        color: #fff;
    }

.icon-box {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.captcha-box {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px 12px;
    gap: 12px;
}

.captcha-image {
    height: 50px;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #ced4da;
    background: #fff;
    padding: 4px;
}

.captcha-reload {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}
/* ============================= */
/*        SOCIAL BLOG CARDS      */
/* ============================= */

.blog-card {
    border-radius: 14px !important;
    overflow: hidden !important;
    transition: all 0.35s ease !important;
    height: 100% !important;
}

    .blog-card:hover {
        transform: translateY(-8px) !important;
        box-shadow: 0 18px 35px rgba(0,0,0,0.25) !important;
    }

/* ---------- Card Top ---------- */
.card-top {
    display: flex !important;
    align-items: center !important;
    padding: 12px 15px !important;
    font-size: 0.9rem !important;
}

    .card-top img {
        width: 42px !important;
        height: 42px !important;
        border-radius: 50% !important;
        margin-right: 10px !important;
    }

/* ---------- Icon Section ---------- */
.card-img-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 60px 0 !important;
}

    .card-img-wrapper i {
        font-size: 4.5rem !important;
    }

/* ---------- Card Body ---------- */
.card-body {
    text-align: center !important;
    padding: 20px !important;
}

    .card-body a {
        text-decoration: none !important;
    }

.blog-card .btn {
    margin-top: 10px !important;
    font-weight: 600 !important;
    padding: 6px 18px !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
}

/* ============================= */
/*         FACEBOOK CARD         */
/* ============================= */

.facebook-card {
    background-color: #1877f2 !important;
    color: #fff !important;
}

    .facebook-card .card-img-wrapper {
        background-color: #0d4aa5 !important;
    }

    .facebook-card .btn {
        border: 2px solid #fff !important;
        color: #fff !important;
    }

        .facebook-card .btn:hover {
            background: #fff !important;
            color: #1877f2 !important;
        }

/* ============================= */
/*         INSTAGRAM CARD        */
/* ============================= */

.instagram-card {
    background: linear-gradient( 45deg, #f58529, #dd2a7b, #8134af, #515bd4 ) !important;
    color: #fff !important;
}

    .instagram-card .card-img-wrapper {
        background: rgba(0, 0, 0, 0.2) !important;
    }

    .instagram-card .btn {
        border: 2px solid #fff !important;
        color: #fff !important;
    }

        .instagram-card .btn:hover {
            background: #fff !important;
            color: #dd2a7b !important;
        }

/* ============================= */
/*         TWITTER CARD          */
/* ============================= */

.twitter-card {
    background-color: #1DA1F2 !important;
    color: #fff !important;
}

    .twitter-card .card-img-wrapper {
        background-color: #0d8ddb !important;
    }

    .twitter-card .btn {
        border: 2px solid #fff !important;
        color: #fff !important;
    }

        .twitter-card .btn:hover {
            background: #fff !important;
            color: #1DA1F2 !important;
        }

/* ============================= */
/*         LINKEDIN CARD         */
/* ============================= */

.linkedin-card {
    background-color: #0A66C2 !important;
    color: #fff !important;
}

    .linkedin-card .card-img-wrapper {
        background-color: #004182 !important;
    }

    .linkedin-card .btn {
        border: 2px solid #fff !important;
        color: #fff !important;
    }

        .linkedin-card .btn:hover {
            background: #fff !important;
            color: #0A66C2 !important;
        }

/* ========================= */
/* VIDEO GALLERY SECTION */
/* ========================= */

#video-gallery {
    background: #ffffff !important;
}

    /* Wrapper */
    #video-gallery .testimonial-wrapper {
        max-width: 1200px !important;
        margin: auto !important;
        position: relative !important;
    }

    /* Swiper spacing */
    #video-gallery .swiper {
        padding: 16px 0 !important;
    }

    /* Navigation Buttons */
    #video-gallery #videoPrevBtn,
    #video-gallery #videoNextBtn {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background: #ffffff !important;
        border: none !important;
        width: 45px !important;
        height: 45px !important;
        border-radius: 50% !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
        cursor: pointer !important;
        z-index: 10 !important;
        transition: 0.3s ease !important;
    }

        #video-gallery #videoPrevBtn:hover,
        #video-gallery #videoNextBtn:hover {
            background: #0d6efd !important;
            color: #ffffff !important;
        }

    #video-gallery #videoPrevBtn {
        left: -10px !important;
    }

    #video-gallery #videoNextBtn {
        right: -40px !important;
    }

    /* Video Card */
    #video-gallery .video-item {
        max-width: 420px !important;
        margin: auto !important;
        background: #ffffff !important;
        padding: 20px !important;
        border-radius: 14px !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
    }

    /* Prevent Blur */
    #video-gallery .video-wrapper {
        border-radius: 12px !important;
        overflow: hidden !important;
    }

    #video-gallery iframe {
        width: 100% !important;
        height: 100% !important;
        border-radius: 12px !important;
        transform: translateZ(0) !important;
        backface-visibility: hidden !important;
        image-rendering: auto !important;
    }

    /* Typography */
    #video-gallery h4 {
        font-size: 18px !important;
        margin-top: 15px !important;
    }

    #video-gallery p {
        font-size: 14px !important;
        margin-bottom: 0 !important;
    }

    /* Pagination */
    #video-gallery .swiper-pagination-bullet {
        background: #ccc !important;
        opacity: 1 !important;
    }

    #video-gallery .swiper-pagination-bullet-active {
        background: #0d6efd !important;
    }

.custom-video-frame {
    width: 100% !important;
    height:100% !important;
    border-radius: 12px !important;
}
.whatsapp-icon {
    color: #25D366;
    font-size: 16px;
    margin-right: 6px;
}

.whatsapp-text {
    color: #25D366;
    font-size: 16px;
}