/**
 * KB Technologies - Main Stylesheet
 * A clean, modern design for the KB Technologies website
 * Version: 1.0
 */

/* ===== VARIABLES ===== */
:root {
    /* Brand Colors - Updated to match the specified brand colors */
    --primary: #061e93; /* Primary blue as specified */
    --primary-light: #3a4db5;
    --primary-dark: #041260;
    --secondary: #ff6b35; /* Secondary orange as specified */
    --secondary-light: #ff8a5f;
    --secondary-dark: #e54e1b;

    /* Accent Colors */
    --accent-teal: #00c9b7;
    --accent-purple: #7b2ff7;
    --accent-green: #4caf50;

    /* Neutral Colors */
    --dark: #1a1a2e;
    --gray-dark: #4a4a68;
    --gray: #8a8aa3;
    --gray-light: #e0e0e9;
    --light: #f5f5fa;
    --white: #ffffff;

    /* Mobile-specific colors */
    --mobile-menu-bg: rgba(6, 30, 147, 0.95);
    --mobile-overlay: rgba(0, 0, 0, 0.7);
    --mobile-item-bg: rgba(255, 255, 255, 0.1);
    --mobile-item-active: rgba(255, 255, 255, 0.2);
    --mobile-text: #f5f5fa;
    --mobile-icon: #ff8a5f;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    --gradient-teal: linear-gradient(135deg, var(--accent-teal) 0%, #5aefe3 100%);
    --gradient-purple: linear-gradient(135deg, var(--accent-purple) 0%, #9e69f8 100%);
    --gradient-overlay: linear-gradient(rgba(26, 26, 46, 0.7), rgba(6, 30, 147, 0.4));

    /* Mobile gradients */
    --gradient-mobile-menu: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    --gradient-mobile-button: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;  /* 4px */
    --spacing-sm: 0.5rem;   /* 8px */
    --spacing-md: 1rem;     /* 16px */
    --spacing-lg: 2rem;     /* 32px */
    --spacing-xl: 3rem;     /* 48px */
    --spacing-xxl: 5rem;    /* 80px */

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);

    /* Colored Shadows */
    --shadow-primary: 0 10px 20px rgba(6, 30, 147, 0.15);
    --shadow-secondary: 0 10px 20px rgba(255, 107, 53, 0.15);
    --shadow-teal: 0 10px 20px rgba(0, 201, 183, 0.15);
    --shadow-purple: 0 10px 20px rgba(123, 47, 247, 0.15);

    /* Transitions - Enhanced for smoother animations */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-elastic: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fancy: 0.7s cubic-bezier(0.19, 1, 0.22, 1);

    /* Z-index */
    --z-nav: 1000;
    --z-dropdown: 1010;
    --z-modal: 1020;

    /* Backdrop Filters */
    --backdrop-blur: blur(10px);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
    touch-action: manipulation; /* Improve touch responsiveness */
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color var(--transition-fast);
    touch-action: manipulation; /* Improve touch responsiveness */
}

a:hover {
    color: var(--primary-light);
}

/* Active state for touch devices */
@media (hover: none) {
    a:active {
        color: var(--primary-light);
    }
}

img {
    max-width: 100%;
    height: auto;
    user-select: none; /* Prevent image selection on mobile */
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--dark);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-md);
}

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

.text-secondary {
    color: var(--secondary);
}

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

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

/* Column widths */
.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* Spacing utilities */
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.py-1 { padding-top: var(--spacing-xs); padding-bottom: var(--spacing-xs); }
.py-2 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-3 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-4 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-5 { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }

.px-1 { padding-left: var(--spacing-xs); padding-right: var(--spacing-xs); }
.px-2 { padding-left: var(--spacing-sm); padding-right: var(--spacing-sm); }
.px-3 { padding-left: var(--spacing-md); padding-right: var(--spacing-md); }
.px-4 { padding-left: var(--spacing-lg); padding-right: var(--spacing-lg); }
.px-5 { padding-left: var(--spacing-xl); padding-right: var(--spacing-xl); }

/* Section styles */
.section {
    padding: var(--spacing-xxl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
    padding-bottom: var(--spacing-lg);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.section-title h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    display: block;
    font-weight: 600;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-elastic);
    border: none;
    outline: none;
    touch-action: manipulation; /* Improve touch responsiveness */
    position: relative;
    overflow: hidden;
    min-height: 44px; /* Minimum touch target size */
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    transform: translateZ(0); /* Force hardware acceleration for smoother animations */
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(6, 30, 147, 0.3);
    position: relative;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-smooth);
    border-radius: inherit;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 25px rgba(6, 30, 147, 0.6);
    color: var(--white);
}

.btn-primary:hover::before {
    opacity: 1;
}

/* Active state for touch devices */
@media (hover: none) {
    .btn-primary:active {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 8px 20px rgba(6, 30, 147, 0.5);
        color: var(--white);
    }

    .btn-primary:active::before {
        opacity: 1;
    }
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
    position: relative;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-smooth);
    border-radius: inherit;
}

.btn-secondary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 25px rgba(255, 107, 53, 0.6);
    color: var(--white);
}

.btn-secondary:hover::before {
    opacity: 1;
}

/* Active state for touch devices */
@media (hover: none) {
    .btn-secondary:active {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 8px 20px rgba(255, 107, 53, 0.5);
        color: var(--white);
    }

    .btn-secondary:active::before {
        opacity: 1;
    }
}

.btn-outline {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-elastic);
}

.btn-outline:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.btn-outline:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Active state for touch devices */
@media (hover: none) {
    .btn-outline:active {
        color: var(--white);
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary-light);
    }

    .btn-outline:active::before {
        transform: scaleX(1);
        transform-origin: left;
    }
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-nav);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 1.2rem 0;
    /* Completely transparent background */
    background-color: transparent;
    will-change: transform, background-color, padding;
    /* Add a subtle gradient overlay for better text visibility */
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
    /* Ensure the header is always visible */
    visibility: visible !important;
    opacity: 1 !important;
}

.header.scrolled {
    background-color: rgba(6, 30, 147, 0.95) !important; /* Primary blue with slight transparency */
    background-image: none !important;
    box-shadow: 0 4px 20px rgba(6, 30, 147, 0.2);
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle light border for definition */
    /* Ensure the sticky header is always visible */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: var(--z-nav) !important;
    transform: translateY(0) !important;
    transition: all 0.3s ease-in-out !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 70px; /* Ensure minimum height for better visibility */
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1001;
}

.logo:hover {
    transform: translateY(-3px) scale(1.05);
}

.logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(58, 77, 181, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
    z-index: -1;
    border-radius: 50%;
}

.logo:hover::after {
    opacity: 1;
    transform: scale(1.5);
}

.logo img {
    height: 70px;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
   
    /*filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));*/
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.5s ease;
    will-change: filter, height, transform;
    transform: translateZ(0); 
}

.header.scrolled .logo img {
    height: 60px;
    background-color: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    /* Keep logo white against blue background */
    /*filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));*/
}



.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    background: rgba(6, 30, 147, 0.6); /* Semi-transparent primary color for better visibility */
    border-radius: var(--radius-full);
    padding: 6px 8px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: background, box-shadow;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Add subtle border for definition */
}

.nav-item {
    margin: 0 3px;
    position: relative;
}

.nav-link {
    color: var(--white);
    font-weight: 700; /* Increased weight for better visibility */
    position: relative;
    padding: 0.7rem 1.2rem;
    margin: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    letter-spacing: 0.3px;
    font-size: 0.95rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 0, 0, 0.3); /* Enhanced text shadow for better readability against transparent background */
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.header.scrolled .nav-link {
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 700; /* Keep consistent font weight */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 10px;
    right: 10px;
    height: 3px;
    background-color: var(--secondary);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transform-origin: right center;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    transform: translateY(-2px);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--secondary-light);
    font-weight: 700;
}

.header.scrolled .nav-list {
    background: rgba(6, 30, 147, 0.8); /* Semi-transparent primary blue to match header */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle light border for definition */
}

.header.scrolled .nav-link::before {
    background: rgba(255, 255, 255, 0.15); /* Light background for hover state */
}

.nav-link.active {
    font-weight: 700;
}

.nav-link i {
    font-size: 0.8rem;
    margin-right: 5px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all var(--transition-normal);
}

.nav-link:hover i,
.nav-link.active i {
    opacity: 1;
    transform: translateX(0);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    background: rgba(6, 30, 147, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    margin-top: 10px;
    min-width: 220px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dropdown-item {
    color: var(--white);
    padding: 8px 20px;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-light);
}

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

.dropdown-icon {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"] .dropdown-icon {
    transform: rotate(180deg);
}

.submenu-icon {
    font-size: 0.7rem;
    float: right;
    margin-left: 5px;
    margin-top: 4px;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
}

.dropdown-toggle[aria-expanded="true"] .submenu-icon {
    transform: rotate(90deg);
    color: var(--white);
}

.dropdown-submenu > .dropdown-toggle::after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.dropdown-submenu > .dropdown-toggle[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(90deg);
}

/* Submenu styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 0;
    display: none;
    border-radius: var(--radius-md);
    border-top-left-radius: 0;
}

.dropdown-submenu:hover > .dropdown-menu,
.dropdown-submenu > .dropdown-menu.show {
    display: block;
}



/* Mobile dropdown styles */
@media (max-width: 992px) {
    .dropdown-menu {
        background: rgba(255, 255, 255, 0.05);
        border: none;
        box-shadow: none;
        padding: 0;
        margin-top: 5px;
        margin-bottom: 5px;
        position: static !important;
        transform: none !important;
        width: 100%;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        display: none;
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-item {
        padding: 12px 15px 12px 35px;
        color: var(--white);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        position: relative;
    }

    .dropdown-submenu > .dropdown-menu {
        margin-left: 0;
        display: none;
        position: static;
        width: 100%;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 0;
        padding: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: none;
    }

    .dropdown-submenu > .dropdown-menu.show {
        display: block;
    }

    .dropdown-submenu .dropdown-item {
        font-size: 0.85rem;
        padding-left: 50px;
    }

    .dropdown-submenu > .dropdown-toggle {
        position: relative;
    }

    .dropdown-submenu > .dropdown-toggle::after {
        display: none; /* Hide the pseudo-element on mobile */
    }

    .submenu-icon {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        transition: transform 0.3s ease;
    }

    .dropdown-toggle[aria-expanded="true"] .submenu-icon {
        transform: translateY(-50%) rotate(90deg);
        color: var(--secondary-light);
    }

    /* Add visual indicator for active submenu */
    .dropdown-submenu > .dropdown-toggle[aria-expanded="true"] {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--secondary-light);
    }

    /* Ensure submenu is visible when expanded */
    .dropdown-submenu > .dropdown-menu.show {
        display: block !important;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: none;
    }

    /* Fix for nested dropdowns */
    .dropdown-menu .dropdown-menu {
        margin-top: 0 !important;
    }

    .dropdown-icon {
        float: right;
        margin-left: 0;
        margin-top: 3px;
    }

    /* Fix for mobile menu z-index and positioning */
    .mobile-menu {
        z-index: 1050;
    }

    .dropdown-submenu {
        position: static;
    }
}

/* Desktop CTA Button */
.nav-cta {
    margin-left: var(--spacing-lg);
}

.nav-cta .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.25);
}

.nav-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
}

.nav-cta .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
    z-index: -1;
}

.nav-cta .btn:hover::after {
    opacity: 1;
    transform: scale(1.5);
}

.nav-cta .btn i {
    margin-right: 5px;
    transition: all var(--transition-normal);
}

.nav-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    z-index: -1;
}

.nav-cta .btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-secondary);
    z-index: -2;
    border-radius: var(--radius-full);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.nav-cta .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-secondary), 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-cta .btn:hover i {
    transform: translateX(2px);
}

.nav-cta .btn:hover::before {
    transform: translateX(0);
}

.nav-cta .btn:hover::after {
    opacity: 1;
}

/* Responsive visibility classes */
.mobile-only-cta {
    display: none;
}

/* Hamburger Menu Toggle Button */
.hamburger-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 36px;
    height: 28px;
    background-color: rgba(6, 30, 147, 0.8);
    border: none;
    border-radius: var(--radius-md);
    padding: 7px 6px;
    cursor: pointer;
    z-index: 1010;
    transition: all var(--transition-elastic);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hamburger-toggle:hover {
    background-color: rgba(6, 30, 147, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.hamburger-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--white);
    border-radius: var(--radius-full);
    transition: all var(--transition-elastic);
}

.hamburger-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.header.scrolled .hamburger-toggle {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header.scrolled .hamburger-toggle:hover {
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header.scrolled .hamburger-toggle span {
    background-color: var(--white);
}

.header.scrolled .hamburger-toggle.active {
    background-color: rgba(255, 107, 53, 0.8);
}

.header.scrolled .hamburger-toggle.active span {
    background-color: var(--white);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1005; /* Increased z-index to be above header but below menu */
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    pointer-events: none; /* Initially not clickable */
}

body.menu-open .mobile-overlay {
    pointer-events: auto; /* Make clickable when menu is open */
    opacity: 1;
    visibility: visible;
}

/* Mobile Close Button */
.mobile-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    border: none;
    border-radius: 50%;
    display: flex; /* Always display as flex */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1020;
    transition: all var(--transition-elastic);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.8);
    opacity: 0; /* Start with opacity 0 */
    visibility: hidden; /* Start with hidden visibility */
}

body.menu-open .mobile-close-btn {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Logo */
.mobile-menu-logo {
    display: none; /* Hidden by default */
    margin: 0 auto 30px;
    text-align: center;
    width: 100%;
    opacity: 0;
    transform: translateY(-20px);
    transition: all var(--transition-elastic);
    transition-delay: 0.05s;
}

.mobile-menu-logo a {
    display: inline-block;
}

.mobile-menu-logo img {
    height: 70px;
    /*filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));*/
    transition: all 0.3s ease;
}

body.menu-open .mobile-menu-logo {
    opacity: 1;
    transform: translateY(0);
}

.mobile-close-btn:hover {
    background-color: var(--secondary-light);
    transform: rotate(90deg);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.mobile-close-btn span {
    position: relative;
    width: 20px;
    height: 20px;
}

.mobile-close-btn span::before,
.mobile-close-btn span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.mobile-close-btn span::before {
    transform: rotate(45deg);
}

.mobile-close-btn span::after {
    transform: rotate(-45deg);
}

.mobile-close-btn:hover span::before,
.mobile-close-btn:hover span::after {
    width: 80%;
    left: 10%;
}

/* Mobile CTA Button */
.mobile-cta {
    display: none;
    margin-top: 20px;
    width: 100%;
}

.mobile-cta .btn {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-cta .btn i {
    margin-right: 10px;
    font-size: 1.2rem;
    transition: transform var(--transition-bounce);
}

.mobile-cta .btn:hover i {
    transform: translateX(3px);
}

/* Navigation styles */
.nav {
    display: flex;
    align-items: center;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    animation: slowZoom 30s infinite alternate ease-in-out;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}



.hero-content {
    color: var(--white);
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    padding: 30px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--spacing-md);
    color: var(--white);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-title span {
    display: inline-block;
    position: relative;
    color: var(--secondary-light);
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--secondary);
    z-index: -1;
    opacity: 0.5;
    border-radius: 10px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    line-height: 1.8;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.hero-buttons .btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all var(--transition-normal);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-buttons .btn i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.hero-buttons .btn:hover i {
    transform: translateX(3px);
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-buttons .btn-secondary {
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.hero-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

.hero-buttons .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.hero-image {
    position: relative;
    z-index: 2;
    animation: floatAnimation 6s ease-in-out infinite;
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
    transition: all var(--transition-normal);
}

.hero-image:hover img {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.hero-image:hover::before {
    top: 25px;
    left: 25px;
}

.hero-image-badge {
    position: absolute;
    bottom: -15px;
    right: 30px;
    background: var(--white);
    color: var(--primary);
    padding: 12px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 3;
    border: 2px solid var(--primary-light);
    animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.hero-shape {
    position: absolute;
    z-index: 0;
}

.hero-shape-1 {
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero-shape-2 {
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    animation: particles 15s infinite linear;
}

.hero-particles::before {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.hero-particles::after {
    top: 70%;
    left: 80%;
    animation-delay: 5s;
}

@keyframes particles {
    0% {
        transform: scale(0) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(3) translate(100px, -100px);
        opacity: 0;
    }
}

/* ===== RESPONSIVE STYLES ===== */

/* Responsive Navigation Styles */

@media (max-width: 992px) {
    /* Show hamburger toggle */
    .hamburger-toggle {
        display: flex;
    }

    /* Override header.scrolled .nav-list styles in mobile view */
    .header.scrolled .nav-list {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* Off-canvas mobile menu */
    .nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: 320px;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 30px 30px;
        transition: right var(--transition-fancy);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.25);
        z-index: 1010;
        overflow-y: auto;
        will-change: right; /* Optimize for animations */
    }

    /* Show mobile menu when active */
    body.menu-open .nav {
        right: 0 !important; /* Force right position with !important */
        visibility: visible !important; /* Force visibility with !important */
    }

    /* Override header.scrolled .nav-list styles even when menu is open */
    body.menu-open .header.scrolled .nav-list {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* Prevent body scrolling when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Mobile menu open state */

    /* Mobile navigation list */
    .nav-list {
        flex-direction: column;
        width: 100%;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        padding: 0;
        border: none;
    }

    .nav-item {
        margin: 8px 0;
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        transition: all var(--transition-elastic);
    }

    /* Staggered animation for menu items */
    .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .nav-item:nth-child(2) { transition-delay: 0.15s; }
    .nav-item:nth-child(3) { transition-delay: 0.2s; }
    .nav-item:nth-child(4) { transition-delay: 0.25s; }
    .nav-item:nth-child(5) { transition-delay: 0.3s; }
    .nav-item:nth-child(6) { transition-delay: 0.35s; }

    body.menu-open .nav-item {
        opacity: 1;
        transform: translateX(0);
    }

    /* Show mobile menu logo */
    .mobile-menu-logo {
        display: block;
    }

    .nav-link {
        color: var(--white);
        display: flex;
        align-items: center;
        padding: 12px 15px;
        width: 100%;
        border-radius: 0; /* Remove border radius */
        background: rgba(255, 255, 255, 0.1);
        margin-bottom: 5px;
        font-weight: 500;
        transition: all var(--transition-normal);
        font-size: 1rem;
    }

    .nav-link i {
        margin-right: 12px;
        font-size: 1.1rem;
        color: var(--secondary-light);
        min-width: 24px;
        text-align: center;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0.2);
        color: var(--white);
        transform: translateY(-2px);
        border-radius: 0; /* Ensure no border radius on hover/active state */
    }

    /* Hide desktop CTA, show mobile CTA */
    .nav-cta {
        display: none;
    }

    .mobile-cta {
        display: block;
        margin-top: 20px;
    }

    /* Testimonial responsive styles */
    .testimonial-slider {
        margin: 0;
        padding-bottom: var(--spacing-xl);
    }

    .testimonial-wrapper {
        padding-bottom: var(--spacing-xxl); /* Increased padding to accommodate dots */
    }

    .testimonial-item {
        padding: 10px;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .testimonial-quote {
        padding: var(--spacing-md);
    }

    .testimonial-quote p {
        font-size: 0.95rem;
    }

    .testimonial-image {
        width: 60px;
        height: 60px;
    }

    .testimonial-prev,
    .testimonial-next {
        width: 45px;
        height: 45px;
    }

    .testimonial-slider .slick-dots {
        bottom: -50px; /* Move dots down for better visibility */
    }

    /* Featured courses responsive styles */
    .featured-course-card {
        margin-bottom: var(--spacing-lg);
        height: auto; /* Allow cards to size naturally */
    }

    .featured-courses-shapes .shape-1 {
        width: 200px;
        height: 200px;
        top: -50px;
        right: -50px;
    }

    .featured-courses-shapes .shape-2 {
        width: 300px;
        height: 300px;
        bottom: -100px;
        left: -50px;
    }

    .featured-course-card .card-body {
        padding: 20px;
    }

    .featured-course-card .course-meta {
        flex-wrap: wrap;
    }

    .featured-course-card .course-features {
        flex-wrap: wrap;
    }

    /* Responsive layout adjustments */

    /* Responsive CTA button */
    .nav-cta {
        margin-left: 10px;
    }

    .nav-cta .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons .btn {
        margin-bottom: var(--spacing-sm);
        width: 100%;
        max-width: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-buttons .btn i {
        margin-right: 8px;
    }

    .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
    .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Consistent row spacing for all sections */
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .row > [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    /* Header adjustments for smaller screens */
    .header {
        padding: 0.8rem 0;
    }

    .header.scrolled {
        padding: 0.6rem 0;
    }

    /* Override header.scrolled .nav-list styles on medium screens */
    .header.scrolled .nav-list,
    body.menu-open .header.scrolled .nav-list {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    .header-container {
        min-height: 60px;
    }

    .logo img {
        height: 60px;
        /* Maintain white logo in transparent header state on medium screens */
        /*filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));*/
        -webkit-filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    }

    .header.scrolled .logo img {
        height: 50px;
        /* Keep logo white against blue background on medium screens */
        /*filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));*/
        -webkit-filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
        box-shadow: none;
    }

    /* Tablet-specific mobile menu adjustments */
    .hamburger-toggle {
        width: 34px;
        height: 26px;
        padding: 6px 5px;
    }

    .nav {
        width: 350px;
        right: -350px;
        padding: 70px 25px 25px;
    }

    .mobile-close-btn {
        top: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
    }

    /* Adjust mobile menu logo for medium screens */
    .mobile-menu-logo {
        margin: 0 auto 25px;
    }

    .mobile-menu-logo img {
        height: 60px;
    }

    .nav-link {
        padding: 10px 15px;
        font-size: 0.95rem;
        border-radius: 0; /* Ensure no border radius */
    }

    .mobile-cta .btn {
        padding: 12px 20px;
        font-size: 1rem;
    }

    /* Testimonial responsive styles for medium screens */
    .testimonial-wrapper {
        padding-bottom: var(--spacing-md);
    }

    .testimonial-slider {
        padding: 0 10px var(--spacing-sm);
    }

    .testimonial-item {
        padding: 8px;
    }

    .testimonial-content {
        box-shadow: var(--shadow-sm);
    }

    .testimonial-quote {
        padding: var(--spacing-md);
    }

    .quote-icon {
        width: 35px;
        height: 35px;
    }

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

    .testimonial-quote p {
        font-size: 0.9rem;
    }

    .testimonial-author {
        padding: var(--spacing-sm);
    }

    .testimonial-image {
        width: 55px;
        height: 55px;
        margin-right: var(--spacing-sm);
    }

    .testimonial-info h5 {
        font-size: 1rem;
    }

    .testimonial-info span {
        font-size: 0.8rem;
    }

    .testimonial-rating {
        font-size: 0.8rem;
    }

    .testimonial-course {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.8rem;
    }

    .testimonial-controls {
        padding: 0 5px;
    }

    .testimonial-prev,
    .testimonial-next {
        width: 40px;
        height: 40px;
    }

    .testimonial-slider .slick-dots {
        bottom: -40px;
    }

    /* Featured courses responsive styles for medium screens */
    .featured-courses-section {
        padding: 60px 0;
    }

    .featured-courses-shapes .shape-1,
    .featured-courses-shapes .shape-2 {
        opacity: 0.03;
    }

    .featured-courses-shapes .shape-3 {
        display: none;
    }

    .featured-course-card {
        margin-bottom: 24px;
    }

    .featured-course-card:hover {
        transform: translateY(-8px);
    }

    .featured-course-card .course-badge {
        top: 12px;
        right: 12px;
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .featured-course-card .course-image {
        height: 180px;
    }

    .featured-course-card .card-body {
        padding: 18px;
    }

    .featured-course-card .card-footer {
        padding: 14px 18px;
    }

    .featured-course-card .course-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .featured-course-card .course-category span {
        font-size: 0.8rem;
        padding: 6px 12px;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    }

    .featured-course-card .meta-item {
        font-size: 0.8rem;
        margin-right: 12px;
    }

    .featured-course-card .meta-item i {
        font-size: 0.85rem;
    }

    .featured-course-card .course-features {
        flex-wrap: wrap;
        margin-bottom: 0;
        margin-top: auto;
        padding-top: 8px;
    }

    .featured-course-card .feature-item {
        margin-bottom: 6px;
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .featured-course-card .btn-enroll {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .btn-view-all {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: var(--spacing-xl);
    }

    .hero-content {
        text-align: center;
        margin-bottom: var(--spacing-xl);
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section {
        padding: var(--spacing-xl) 0;
    }

    .section-title {
        margin-bottom: var(--spacing-lg);
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .header {
        padding: 0.7rem 0;
    }

    .header-container {
        min-height: 55px;
    }

    /* Override header.scrolled .nav-list styles on small screens */
    .header.scrolled .nav-list,
    body.menu-open .header.scrolled .nav-list {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    .logo img {
        height: 50px;
        /* Maintain white logo in transparent header state on small screens */
        /*filter: brightness(0) invert(1) drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3));*/
    }

    .header.scrolled .logo img {
        height: 45px;
        /* Keep logo white against blue background on small screens */
        filter: brightness(0) invert(1) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
    }

    /* Mobile-specific menu adjustments */
    .hamburger-toggle {
        width: 32px;
        height: 24px;
        padding: 5px 5px;
    }

    .nav {
        width: 280px;
        right: -280px;
        padding: 60px 20px 20px;
    }

    .mobile-close-btn {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
    }

    .mobile-close-btn span {
        width: 18px;
        height: 18px;
    }

    .nav-item {
        margin: 6px 0;
    }

    /* Adjust mobile menu logo for small screens */
    .mobile-menu-logo {
        margin: 0 auto 20px;
    }

    .mobile-menu-logo img {
        height: 50px;
    }

    .nav-link {
        padding: 10px 12px;
        font-size: 0.9rem;
        margin-bottom: 4px;
        border-radius: 0; /* Ensure no border radius */
        background: rgba(255, 255, 255, 0.08); /* Slightly reduce background opacity */
    }

    .nav-link i {
        font-size: 1rem;
        margin-right: 10px;
    }

    .mobile-cta {
        margin-top: 15px;
    }

    .mobile-cta .btn {
        padding: 12px 18px;
        font-size: 0.95rem;
    }

    /* Improve hero section on small screens */
    .hero-content {
        text-align: center;
        padding: 0 var(--spacing-sm);
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        align-items: center;
    }

    /* Testimonial responsive styles for small screens */
    .testimonial-slider {
        padding: 0 10px;
    }

    .testimonial-item {
        padding: 5px;
    }

    .testimonial-content {
        box-shadow: var(--shadow-sm);
    }

    .testimonial-quote {
        padding: var(--spacing-sm);
    }

    .testimonial-quote i {
        font-size: 1.2rem;
        top: var(--spacing-sm);
        left: var(--spacing-sm);
    }

    .testimonial-quote p {
        font-size: 0.85rem;
        padding-left: var(--spacing-md);
        line-height: 1.6;
    }

    .testimonial-author {
        padding: var(--spacing-sm);
    }

    .testimonial-image {
        width: 50px;
        height: 50px;
        margin-right: var(--spacing-sm);
        border-width: 2px;
    }

    .testimonial-info h5 {
        font-size: 1rem;
    }

    .testimonial-info span {
        font-size: 0.8rem;
    }

    .testimonial-rating {
        font-size: 0.8rem;
    }

    .testimonial-controls {
        top: 25%;
        padding: 0;
    }

    .testimonial-prev,
    .testimonial-next {
        width: 35px;
        height: 35px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .testimonial-prev i,
    .testimonial-next i {
        font-size: 0.8rem;
    }

    .slick-dots {
        bottom: -15px;
    }

    .testimonial-wrapper {
        padding-bottom: var(--spacing-sm);
    }

    /* Featured courses responsive styles for small screens */
    .featured-courses-section {
        padding: 40px 0;
    }

    .featured-courses-shapes {
        display: none;
    }

    .featured-courses-section .col-md-6 {
        padding: 0 15px;
        margin-bottom: 30px; /* Increased spacing between cards */
    }

    .featured-course-card {
        margin-bottom: 0;
        box-shadow: 0 6px 15px rgba(6, 30, 147, 0.06);
        height: 100%;
    }

    .featured-course-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(6, 30, 147, 0.1);
    }

    .featured-course-card .course-badge {
        top: 10px;
        right: 10px;
        font-size: 0.65rem;
        padding: 5px 10px;
        border-radius: 20px;
    }

    .featured-course-card .course-image {
        height: 160px;
    }

    .featured-course-card .course-overlay {
        opacity: 0.6;
    }

    .featured-course-card .course-category {
        padding: 12px;
    }

    .featured-course-card .course-category span {
        font-size: 0.75rem;
        padding: 6px 10px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }

    .featured-course-card .course-category i {
        font-size: 0.85rem;
    }

    .featured-course-card .card-body {
        padding: 16px;
    }

    .featured-course-card .course-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .featured-course-card .course-meta {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .featured-course-card .meta-item {
        font-size: 0.75rem;
        margin-right: 10px;
        margin-bottom: 5px;
    }

    .featured-course-card .meta-item i {
        font-size: 0.8rem;
        margin-right: 6px;
    }

    .featured-course-card .course-description {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 8px;
    }

    .featured-course-card .course-features {
        margin-bottom: 0;
        margin-top: auto;
        padding-top: 6px;
    }

    .featured-course-card .feature-item {
        font-size: 0.7rem;
        margin-right: 8px;
        margin-bottom: 5px;
        padding: 4px 8px;
    }

    .featured-course-card .feature-item i {
        font-size: 0.75rem;
        margin-right: 5px;
    }

    .featured-course-card .card-footer {
        padding: 12px 16px;
    }

    .featured-course-card .course-rating {
        font-size: 0.75rem;
    }

    .featured-course-card .course-rating i {
        font-size: 0.8rem;
    }

    .featured-course-card .btn-enroll {
        padding: 7px 15px;
        font-size: 0.8rem;
    }

    .btn-view-all {
        padding: 10px 24px;
        font-size: 0.9rem;
        margin-top: 10px;
    }
}



/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark);
    color: var(--gray-light);
    padding-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(135deg, rgba(26, 26, 46, 0.98), rgba(6, 30, 147, 0.95));
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    box-shadow: 0 0 20px rgba(6, 30, 147, 0.5);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
    animation: slowPan 40s infinite alternate ease-in-out;
}

@keyframes slowPan {
    0% {
        transform: scale(1.1) translateX(0);
    }
    100% {
        transform: scale(1.2) translateX(-5%);
    }
}

.footer-logo {
    display: inline-block;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
}

.footer-logo:hover {
    transform: translateY(-5px) scale(1.05);
}

.footer-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(58, 77, 181, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
    z-index: -1;
    border-radius: 50%;
}

.footer-logo:hover::after {
    opacity: 1;
    transform: scale(1.5);
}

.footer-logo img {
    height: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
    border: 2px solid var(--primary-light);
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.footer-links li,
.footer-contact li {
    margin-bottom: var(--spacing-sm);
    transition: transform var(--transition-normal);
}

.footer-links li:hover,
.footer-contact li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: var(--gray-light);
    transition: all var(--transition-normal);
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-normal);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--secondary);
    margin-right: var(--spacing-sm);
    margin-top: 5px;
    transition: all var(--transition-normal);
}

.footer-contact li:hover i {
    transform: scale(1.2);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    color: var(--white);
    background-color: var(--secondary);
    transform: translateY(-5px);
}

.social-link i {
    font-size: 1rem;
}

.footer-bottom {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.copyright {
    margin-bottom: 0;
    opacity: 0.8;
}

.designed-by {
    color: var(--gray-light);
    font-size: 0.95rem;
    margin-bottom: 0;
    opacity: 0.8;
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
}

.designed-by:hover {
    transform: translateY(-3px);
}

.designed-by .fa-heart {
    color: #ff6b35;
    margin: 0 2px;
    animation: heartbeat 1.5s infinite ease-in-out;
    font-size: 0.9rem;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.2); }
    30% { transform: scale(1); }
    45% { transform: scale(1.2); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

.designer-name {
    color: var(--secondary);
    font-weight: 600;
    position: relative;
    display: inline-block;
    transition: all var(--transition-bounce);
    padding: 0 3px;
    text-decoration: none;
}

.designer-name::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fancy);
}

.designed-by:hover .designer-name::after {
    transform: scaleX(1);
    transform-origin: left;
}

.designed-by:hover .designer-name {
    color: var(--secondary-light);
}



.designed-by .fa-heart {
    display: inline-block;
    font-size: 0.9rem;
    margin: 0 2px;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    15% {
        transform: scale(1.3);
    }
    30% {
        transform: scale(1);
    }
    45% {
        transform: scale(1.3);
    }
    60% {
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.25;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.15;
    }
    100% {
        transform: scale(1);
        opacity: 0.25;
    }
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-elastic);
    box-shadow: var(--shadow-md);
    z-index: 99;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gradient-secondary);
    color: var(--white);
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 10px 25px rgba(6, 30, 147, 0.3);
}

.back-to-top i {
    transition: transform var(--transition-bounce);
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

/* ===== MODAL STYLES ===== */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: modalFadeIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: var(--white);
    border: 1px solid rgba(6, 30, 147, 0.1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal Large Size Specific Styles */
.modal-lg {
    max-width: 800px; /* Adjust for larger modal */
}

.modal-lg .modal-content {
    border-radius: var(--radius-lg);
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.modal-header {
    background: var(--gradient-primary);
    color: var(--white);
    border-bottom: none;
    padding: 1.5rem 2rem; /* Increased horizontal padding for larger modal */
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0.5;
    z-index: 0;
    animation: pulse 8s infinite linear;
}

.modal-title {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1.35rem; /* Slightly larger for modal-lg */
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.modal-header .btn-close {
    color: var(--white);
    opacity: 0.8;
    filter: brightness(0) invert(1);
    box-shadow: none;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    margin-right: -0.5rem; /* Adjust position for larger modal */
}

.modal-header .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem; /* Increased padding for larger modal */
    background-color: var(--white);
    position: relative;
    z-index: 1;
}

/* Enhanced Enquiry Form Styles */
.enquiry-form {
    position: relative;
    animation: fadeIn 0.5s ease forwards;
}

/* Form row styling */
.enquiry-form .form-row {
    margin-left: -10px;
    margin-right: -10px;
    display: flex;
    flex-wrap: wrap;
}

.enquiry-form .form-row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

/* Modal-lg specific form styling */
.modal-lg .enquiry-form .form-row {
    margin-left: -15px;
    margin-right: -15px;
}

.modal-lg .enquiry-form .form-row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

/* Form label styling */
.enquiry-form .form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.enquiry-form .form-label::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.enquiry-form .form-control:focus + .invalid-feedback + .form-label::after,
.enquiry-form .form-group-icon:focus-within .form-label::after {
    width: 100%;
}

/* Form control styling */
.enquiry-form .form-control {
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    border: 1px solid var(--gray-light);
    background-color: var(--white);
    transition: all var(--transition-normal);
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

/* Modal-lg specific form control styling */
.modal-lg .enquiry-form .form-control {
    padding: 0.9rem 1.1rem;
    font-size: 1.05rem;
}

.enquiry-form .form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(6, 30, 147, 0.15);
    transform: translateY(-2px);
}

/* Input group styling */
.enquiry-form .form-group-icon {
    position: relative;
    transition: all 0.3s ease;
}

.enquiry-form .form-group-icon:focus-within {
    transform: translateY(-2px);
}

.enquiry-form .input-group-text {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    transition: all 0.3s ease;
}

/* Modal-lg specific input group styling */
.modal-lg .enquiry-form .input-group-text {
    padding: 0.75rem 1rem;
    font-size: 1.05rem;
}

.modal-lg .enquiry-form .input-group-text i {
    font-size: 1.1rem;
}

.enquiry-form .form-group-icon:focus-within .input-group-text {
    background-color: var(--primary-dark);
}

/* Checkbox styling */
.enquiry-form .form-check {
    padding-left: 1.8rem;
    position: relative;
}

.enquiry-form .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.15rem;
    margin-left: -1.8rem;
    border: 1px solid var(--gray);
    transition: all 0.3s ease;
}

.enquiry-form .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
    animation: checkmark 0.3s ease-in-out;
}

@keyframes checkmark {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.enquiry-form .form-check-label {
    cursor: pointer;
    transition: all 0.3s ease;
}

.enquiry-form .form-check-input:checked ~ .form-check-label {
    color: var(--primary);
    font-weight: 500;
}

/* Select styling */
.enquiry-form .form-control-select {
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    border: 1px solid var(--gray-light);
    background-color: var(--white);
    transition: all var(--transition-normal);
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, var(--primary) 50%),
                      linear-gradient(135deg, var(--primary) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 2px),
                         calc(100% - 15px) calc(1em + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 2.5rem;
}

/* Modal-lg specific select styling */
.modal-lg .enquiry-form .form-control-select {
    padding: 0.9rem 1.1rem;
    font-size: 1.05rem;
    background-position: calc(100% - 20px) calc(1em + 4px),
                         calc(100% - 15px) calc(1em + 4px);
    background-size: 6px 6px, 6px 6px;
    padding-right: 2.8rem;
}

.enquiry-form .form-control-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(6, 30, 147, 0.15);
    transform: translateY(-2px);
}

/* Submit button styling */
.enquiry-form .submit-btn {
    background: var(--gradient-secondary);
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-elastic);
    box-shadow: var(--shadow-secondary);
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 0.5rem;
}

/* Modal-lg specific submit button styling */
.modal-lg .enquiry-form .submit-btn {
    padding: 1.1rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    letter-spacing: 0.5px;
}

.modal-lg .enquiry-form .submit-btn i {
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.enquiry-form .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%);
    transition: all 0.8s ease;
    z-index: -1;
}

.enquiry-form .submit-btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 25px rgba(255, 107, 53, 0.4);
}

.enquiry-form .submit-btn:hover::before {
    left: 100%;
}

/* Textarea styling */
.enquiry-form textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Modal-lg specific textarea styling */
.modal-lg .enquiry-form textarea.form-control {
    min-height: 120px;
}

/* Modal Styles */
.modal-header.bg-primary {
    background: var(--gradient-primary) !important;
}

.modal-title.text-white {
    color: var(--white) !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-close-white {
    filter: brightness(0) invert(1);
}

/* Success Message */
.form-success {
    animation: fadeIn 0.5s ease forwards;
    padding: 1.5rem;
    background-color: rgba(76, 175, 80, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.success-icon {
    font-size: 4rem;
    color: var(--accent-green);
    animation: successIconAnimation 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
    margin-bottom: 1rem;
    display: inline-block;
    background: rgba(76, 175, 80, 0.1);
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
}

.form-success h3 {
    color: var(--accent-green);
    margin-bottom: 1rem;
    font-weight: 700;
    animation: fadeIn 0.5s ease 0.3s forwards;
    opacity: 0;
}

.form-success p {
    animation: fadeIn 0.5s ease 0.5s forwards;
    opacity: 0;
    margin-bottom: 1.5rem;
}

.form-success .btn {
    animation: fadeIn 0.5s ease 0.7s forwards;
    opacity: 0;
    background: var(--accent-green);
    border: none;
    transition: all var(--transition-elastic);
}

.form-success .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes successIconAnimation {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .enquiry-form .form-label {
        font-size: 0.9rem;
    }

    .enquiry-form .form-control,
    .enquiry-form .form-control-select {
        font-size: 0.95rem;
        padding: 0.7rem 0.9rem;
    }

    .enquiry-form .form-row {
        margin-left: -5px;
        margin-right: -5px;
    }

    .enquiry-form .form-row > [class*="col-"] {
        padding-left: 5px;
        padding-right: 5px;
    }

    .enquiry-form .submit-btn {
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
    }

    /* Add more space between form elements on mobile */
    .enquiry-form .mb-3 {
        margin-bottom: 1rem !important;
    }

    /* Improve form appearance on small screens */
    .enquiry-form .input-group-text {
        padding: 0.5rem 0.75rem;
    }

    .enquiry-form .form-check {
        padding-left: 1.6rem;
    }

    .enquiry-form .form-check-input {
        width: 1.1rem;
        height: 1.1rem;
        margin-left: -1.6rem;
    }
}

@media (max-width: 768px) {
    .modal-lg {
        max-width: 95%;
        margin: 0.75rem auto;
    }

    .modal-lg .modal-body {
        padding: 1.5rem;
    }

    .modal-lg .enquiry-form .form-row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .modal-lg .enquiry-form .form-row > [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-lg {
        max-width: 100%;
        margin: 0.5rem;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-lg .modal-body {
        padding: 1rem;
    }

    .enquiry-form .submit-btn,
    .modal-lg .enquiry-form .submit-btn {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        margin-top: 0.5rem;
    }

    /* Improve footer spacing on extra small screens */
    .footer-bottom {
        margin-top: var(--spacing-lg);
    }

    .footer-bottom .col-md-6:first-child {
        margin-bottom: 5px;
    }

    .footer-bottom .col-md-6:last-child {
        margin-top: 5px;
    }
}

@media (max-width: 768px) {
    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: var(--spacing-sm);
    }

    /* Center the copyright and designed-by text in mobile view */
    .footer-bottom .copyright,
    .footer-bottom .designed-by {
        text-align: center !important;
        margin-bottom: 10px;
    }

    /* Add some spacing between the two lines in mobile view */
    .footer-bottom .col-md-6:last-child {
        margin-top: 10px;
    }
}

/* ===== FEATURES SECTION ===== */
.features-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.features-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 400px;
    height: 400px;
    background: var(--gradient-secondary);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.feature-box {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-elastic);
    height: 100%;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(6, 30, 147, 0.05);
    transform: translateZ(0); /* Force hardware acceleration for smoother animations */
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
    z-index: 1;
}

.feature-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(6, 30, 147, 0.15);
    border-color: rgba(6, 30, 147, 0.1);
}

.feature-box:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: var(--shadow-primary);
    position: relative;
    transition: all var(--transition-normal);
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    z-index: -1;
    opacity: 0.3;
    transition: all var(--transition-normal);
}

.feature-box:hover .feature-icon {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 10px 25px rgba(6, 30, 147, 0.25);
}

.feature-box:hover .feature-icon::after {
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    opacity: 0.25;
    animation: pulse 2s infinite;
}

.feature-box h4 {
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.feature-box p {
    color: var(--gray);
    line-height: 1.7;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1567&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

/* About Intro Section */
.about-intro-section {
    position: relative;
    overflow: hidden;
}

.about-intro-content {
    position: relative;
    z-index: 1;
}

.about-intro-content .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--gray-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.about-stats {
    display: flex;
    flex-wrap: nowrap;
    margin-top: 30px;
    justify-content: space-between;
    gap: 20px;
}

.stat-column {
    flex: 1;
    min-width: 0;
}

.stat-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border-bottom: 3px solid var(--primary);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--gray-dark);
    font-weight: 500;
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .about-stats {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .stat-column {
        flex: 0 0 auto;
        width: 100%;
    }

    .stat-item {
        padding: 15px 10px;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    .stat-item p {
        font-size: 0.9rem;
    }

    .about-stats::-webkit-scrollbar {
        height: 4px;
    }

    .about-stats::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 10px;
    }

    .about-stats::-webkit-scrollbar-thumb {
        background: var(--primary-light);
        border-radius: 10px;
    }
}

.about-intro-image {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.about-intro-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 2;
}

.about-image-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    z-index: 1;
    opacity: 0.1;
    transform: translate(40px, -40px);
    transition: all var(--transition-normal);
}

.about-intro-image:hover .about-image-shape {
    transform: translate(30px, -30px);
    opacity: 0.15;
}

.about-image-badge {
    position: absolute;
    bottom: 0;
    left: 30px;
    background: var(--white);
    color: var(--primary);
    padding: 12px 20px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 3;
    border: 2px solid var(--primary-light);
    animation: pulseAnimation 2s infinite;
}

/* Mission & Vision Section */
.mission-vision-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.mission-vision-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.mission-vision-box {
    flex: 1 1 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .mission-vision-box {
        flex: 1 1 calc(50% - 15px);
    }
}

.mission-box {
    border-top: 5px solid var(--primary);
}

.vision-box {
    border-top: 5px solid var(--secondary);
}

.mission-vision-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mv-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.mission-box .mv-icon {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-primary);
}

.vision-box .mv-icon {
    background: var(--gradient-secondary);
    box-shadow: var(--shadow-secondary);
}

.mv-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.mission-vision-box:hover .mv-icon {
    transform: scale(1.1);
}

.mv-content h3 {
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.mv-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.mission-box h3::after {
    background: var(--gradient-primary);
}

.vision-box h3::after {
    background: var(--gradient-secondary);
}

.mission-vision-box:hover h3::after {
    width: 100%;
}

.mv-content p {
    margin-bottom: 20px;
    color: var(--gray-dark);
}

.mv-points {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.mv-point {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mission-box .mv-point i {
    color: var(--primary);
}

.vision-box .mv-point i {
    color: var(--secondary);
}

.mv-point span {
    font-weight: 500;
}

@media (max-width: 768px) {
    .mission-vision-section {
        padding: 60px 0;
    }

    .mission-vision-container {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }

    .mission-vision-box {
        padding: 20px;
        width: 100%;
    }

    .mv-icon {
        width: 60px;
        height: 60px;
    }

    .mv-icon i {
        font-size: 1.5rem;
    }

    .mv-points {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mv-content h3 {
        font-size: 1.4rem;
    }
}

/* Core Values Section */
.values-section {
    position: relative;
}

.value-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-align: center;
    z-index: 1;
}

.value-box::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transition: all var(--transition-normal);
    z-index: -1;
}

.value-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-box:hover::before {
    height: 100%;
    opacity: 0.05;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all var(--transition-normal);
    position: relative;
}

.value-icon::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 2px dashed var(--primary);
    opacity: 0.3;
    transition: all var(--transition-normal);
}

.value-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: all var(--transition-normal);
}

.value-box:hover .value-icon {
    background: var(--gradient-primary);
    transform: rotateY(180deg);
}

.value-box:hover .value-icon i {
    color: var(--white);
    transform: rotateY(180deg);
}

.value-box:hover .value-icon::after {
    transform: scale(1.1);
    opacity: 0.5;
}

.value-box h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

.value-box p {
    color: var(--gray);
    margin-bottom: 0;
}

/* Our Approach Section */
.approach-section {
    position: relative;
    overflow: hidden;
}

.approach-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.approach-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--gradient-secondary);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.section-description {
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--gray-dark);
}

.approach-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

/* Process Steps */
.approach-process {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.process-step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 25px;
    width: 2px;
    height: calc(100% - 30px);
    background: var(--primary-light);
    opacity: 0.2;
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

.process-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-primary);
    transition: all var(--transition-normal);
}

.process-content {
    flex: 1;
}

.process-content h4 {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
}

.process-content p {
    color: var(--gray-dark);
    margin-bottom: 0;
    line-height: 1.6;
}

.process-step:hover .process-number {
    transform: scale(1.1) rotate(10deg);
}

/* Stats Section */
.approach-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.stat-circle {
    width: 160px;
    height: 160px;
    position: relative;
    margin-bottom: 20px;
}

.stat-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(var(--primary) 0deg, var(--primary-light) 180deg, var(--secondary) 360deg);
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.stat-circle-inner {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    z-index: 1;
}

.stat-circle:hover .stat-circle-inner {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.stat-circle-inner span {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.stat-circle-inner p {
    font-size: 0.9rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--gray-dark);
    text-align: center;
    line-height: 1.2;
}

@media (max-width: 992px) {
    .approach-process {
        margin-bottom: 20px;
    }

    .approach-stats {
        gap: 20px;
    }

    .stat-circle {
        width: 140px;
        height: 140px;
    }

    .stat-circle-inner span {
        font-size: 2.2rem;
    }

    .stat-circle-inner p {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .process-step {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 25px;
    }

    .process-number {
        margin-bottom: 15px;
        margin-right: 0;
    }

    .process-step::after {
        display: none !important;
        content: none !important;
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .approach-stats {
        gap: 15px;
    }

    .stat-circle {
        width: 120px;
        height: 120px;
    }

    .stat-circle-inner span {
        font-size: 1.8rem;
    }

    .stat-circle-inner p {
        font-size: 0.7rem;
    }

    /* About Stats tablet improvements */
    .about-stats {
        margin-top: 25px;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    .stat-item {
        padding: 15px 10px;
        height: auto;
        width: 100%;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .stat-item p {
        font-size: 0.85rem;
    }
}

/* Team Section */
.team-section {
    position: relative;
    padding: 80px 0;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background-color: transparent;
    perspective: 1000px;
    height: 350px;
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
}

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

.team-card-front, .team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.team-card-front {
    background-color: var(--white);
}

.team-card-front img {
    width: 100%;
    height: 75%;
    object-fit: cover;
    object-position: center top;
}

.team-card-info {
    padding: 15px;
    background: var(--white);
    position: absolute;
    bottom: 0;
    width: 100%;
    border-top: 3px solid var(--primary);
}

.team-card-info h4 {
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark);
}

.team-card-info p {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0;
}

.team-card-back {
    background: var(--gradient-primary);
    color: var(--white);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

.team-card-back h4 {
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--white);
}

.team-role {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.team-bio {
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: auto;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .team-container {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 60px 0;
    }

    .team-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .team-card {
        height: 320px;
    }
}

@media (max-width: 576px) {
    .team-container {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .team-card {
        height: 280px;
    }

    .team-card-front img {
        height: 70%;
    }

    .team-card-info {
        padding: 10px;
    }

    .team-card-info h4 {
        font-size: 1rem;
    }

    .team-card-info p {
        font-size: 0.8rem;
    }

    .team-card-back {
        padding: 15px;
    }

    .team-role {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .team-bio {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }

    .team-social a {
        width: 30px;
        height: 30px;
    }
}

/* Milestones Section */
.milestones-section {
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-year {
    display: inline-block;
    padding: 5px 15px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content h4 {
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-content p {
    color: var(--gray);
    margin-bottom: 0;
}

/* Responsive styles for About page sections */
@media (max-width: 992px) {
    .about-image-shape {
        width: 70%;
        height: 70%;
        transform: translate(30px, -30px);
    }

    .about-intro-image {
        margin-top: 40px;
    }

    .mission-card, .vision-card {
        margin-bottom: 30px;
    }

    .value-box {
        margin-bottom: 30px;
    }

    .approach-image {
        margin-bottom: 40px;
    }

    .team-member {
        margin-bottom: 30px;
    }

    /* Timeline adjustments for tablet */
    .timeline::before {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }

    /* Fix AOS animations on timeline for tablet */
    .timeline-item [data-aos="fade-right"],
    .timeline-item [data-aos="fade-left"] {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .about-image-badge {
        left: 20px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .about-stats .col-md-4 {
        margin-bottom: 20px;
    }

    .mission-card, .vision-card {
        padding: 20px;
    }

    .mission-icon, .vision-icon {
        width: 60px;
        height: 60px;
    }

    .mission-icon i, .vision-icon i {
        font-size: 1.5rem;
    }

    .value-icon {
        width: 70px;
        height: 70px;
    }

    .value-icon i {
        font-size: 1.8rem;
    }

    .approach-step {
        flex-direction: column;
    }

    .step-number {
        margin-bottom: 15px;
        margin-right: 0;
    }

    /* Timeline mobile improvements */
    .timeline {
        margin-top: 30px;
        padding: 0;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
        width: 15px;
        height: 15px;
        top: 15px;
    }

    .timeline-content {
        width: calc(100% - 40px);
        margin-left: 40px !important;
        padding: 15px;
        margin-bottom: 30px;
    }

    /* Fix AOS animations on mobile */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    /* Fix mission-vision boxes on mobile */
    .mission-vision-container {
        display: block;
    }

    .mission-vision-box {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .about-intro-content h2 {
        font-size: 1.8rem;
    }

    .about-intro-content .lead {
        font-size: 1rem;
    }

    .about-image-shape {
        display: none;
    }

    .mission-list li, .vision-list li {
        font-size: 0.9rem;
    }

    /* Mission & Vision mobile improvements */
    .mission-vision-section {
        padding: 40px 0;
    }

    .mission-vision-container {
        margin-top: 20px;
    }

    .mission-vision-box {
        padding: 15px;
    }

    .mv-content h3 {
        font-size: 1.2rem;
        padding-bottom: 5px;
    }

    .mv-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .mv-point {
        font-size: 0.85rem;
    }

    .mv-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .mv-icon i {
        font-size: 1.2rem;
    }

    .timeline-year {
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    /* About Stats mobile improvements */
    .about-stats {
        margin-top: 20px;
        overflow-x: auto;
    }

    .stat-item {
        padding: 10px;
        margin-bottom: 15px;
        height: auto;
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }

    .stat-item p {
        font-size: 0.8rem;
    }
}

.about-image {
    position: relative;
    z-index: 1;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    z-index: -1;
    transition: all var(--transition-normal);
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-image:hover::before {
    top: -20px;
    left: -20px;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-content h2 {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-md);
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.about-content p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.about-stats {
    margin-top: var(--spacing-lg);
    width: 100%;
}

.stat-item {
    text-align: center;
    background: var(--white);
    padding: var(--spacing-md) var(--spacing-sm);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-primary);
    transition: all var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-item:hover::before {
    width: 100%;
    opacity: 0.1;
}

.stat-item h3 {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
}

.stat-item p {
    color: var(--gray-dark);
    font-weight: 500;
    margin-bottom: 0;
    position: relative;
}

/* ===== COURSES SECTION ===== */
.courses-section {
    position: relative;
    overflow: hidden;
}

.courses-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: var(--gradient-teal);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.course-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    margin-bottom: var(--spacing-md);
    height: 100%;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.course-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.course-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

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

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

.course-category {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-normal);
}

.course-card:hover .course-category {
    transform: translateY(-3px);
    color: var(--secondary-light);
}

.course-content {
    padding: var(--spacing-lg);
    position: relative;
}

.course-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.course-card:hover .course-content::before {
    width: 80px;
}

.course-content h4 {
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.course-card:hover .course-content h4 {
    color: var(--primary);
}

.course-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
    color: var(--gray);
    font-size: 0.9rem;
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.course-info span {
    display: flex;
    align-items: center;
}

.course-info i {
    margin-right: 5px;
    color: var(--primary);
    transition: all var(--transition-normal);
}

.course-card:hover .course-info i {
    transform: scale(1.2);
}

.course-card p {
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.course-card .btn {
    transition: all var(--transition-normal);
}

.course-card:hover .btn {
    background-color: var(--primary);
    color: var(--white);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    position: relative;
    overflow: hidden;
    background-color: var(--light);
    padding-bottom: var(--spacing-md); /* Added reduced bottom padding */
}

.testimonial-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.testimonial-shape-1 {
    top: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: var(--gradient-purple);
    opacity: 0.05;
}

.testimonial-shape-2 {
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: var(--gradient-teal);
    opacity: 0.05;
}

.testimonial-wrapper {
    position: relative;
    z-index: 1;
    padding: var(--spacing-md) 0 var(--spacing-lg); /* Reduced bottom padding */
    overflow: visible; /* Ensure slider is visible */
    margin-bottom: 0; /* Removed bottom margin */
    width: 100%;
}

.testimonial-slider {
    position: relative;
    z-index: 1;
    margin: 0 -15px;
    padding-bottom: var(--spacing-md); /* Reduced bottom padding */
    visibility: visible !important; /* Ensure visibility */
    opacity: 1 !important; /* Ensure opacity */
    height: auto !important; /* Ensure height */
    overflow: visible !important; /* Ensure overflow */
    display: block !important; /* Force display */
}

/* Fix for Slick slider initialization */
.slick-initialized .slick-slide {
    display: block;
    visibility: visible !important;
    opacity: 1 !important;
}

.slick-list {
    overflow: visible !important;
    position: relative;
    display: block !important;
}

.slick-track {
    display: flex !important;
    position: relative;
    top: 0;
    left: 0;
    margin: 0 auto;
}

.testimonial-item {
    padding: 15px;
    opacity: 1; /* Changed from 0 to ensure visibility */
    transform: translateY(0); /* Reset transform to ensure visibility */
    animation: fadeInUp 0.6s forwards;
    display: block !important; /* Ensure display */
    visibility: visible !important; /* Ensure visibility */
}

@keyframes fadeInUp {
    from {
        opacity: 0.5;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-content {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
}

.testimonial-content:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content:hover::before {
    transform: scaleX(1);
}

.testimonial-quote {
    padding: var(--spacing-lg);
    position: relative;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    flex: 1;
}

.quote-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.quote-icon i {
    font-size: 1.2rem;
    color: var(--white);
}

.testimonial-content:hover .quote-icon {
    transform: rotate(15deg) scale(1.1);
    background: var(--secondary);
}

.testimonial-quote p {
    font-style: italic;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding: var(--spacing-md);
    background-color: rgba(245, 245, 250, 0.5);
}

.testimonial-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: var(--spacing-md);
    border: 3px solid var(--primary-light);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.testimonial-image::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.testimonial-content:hover .testimonial-image {
    transform: scale(1.1);
    border-color: var(--secondary);
}

.testimonial-content:hover .testimonial-image::after {
    opacity: 0.3;
    transform: scale(1.2);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.testimonial-content:hover .testimonial-image img {
    transform: scale(1.1);
}

.testimonial-info {
    flex: 1;
}

.testimonial-info h5 {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.testimonial-content:hover .testimonial-info h5 {
    color: var(--primary);
}

.testimonial-info span {
    font-size: 0.9rem;
    color: var(--gray);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.testimonial-rating {
    color: var(--secondary);
    font-size: 0.9rem;
    display: flex;
    gap: 2px;
}

.testimonial-rating i {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.testimonial-content:hover .testimonial-rating i {
    transform: scale(1.2);
    color: var(--secondary-light);
}

.testimonial-course {
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--primary-light);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.testimonial-content:hover .testimonial-course {
    background-color: var(--secondary);
}

/* Custom navigation controls */
.testimonial-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 100;
    width: 100%;
    pointer-events: none; /* Allow clicking through the container */
}

.testimonial-arrows {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.testimonial-prev,
.testimonial-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 20;
    pointer-events: auto; /* Make buttons clickable */
}

.testimonial-prev i,
.testimonial-next i {
    color: var(--primary);
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.testimonial-prev:hover i,
.testimonial-next:hover i {
    color: var(--white);
}

/* Responsive adjustments for navigation controls */
@media (max-width: 992px) {
    .testimonial-controls {
        padding: 0 10px;
    }

    .testimonial-prev,
    .testimonial-next {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .testimonial-controls {
        top: 30%;
    }
}

/* Hide default Slick arrows since we're using custom ones */
.testimonial-slider .slick-prev,
.testimonial-slider .slick-next {
    display: none !important;
}

/* Custom dots styling */
.testimonial-slider .slick-dots {
    bottom: -20px; /* Moved dots up */
    position: absolute;
    display: block !important;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
    z-index: 10;
}

.testimonial-slider .slick-dots li {
    position: relative;
    display: inline-block !important;
    margin: 0 4px;
    padding: 0;
    cursor: pointer;
}

.testimonial-slider .slick-dots li button {
    padding: 0;
    font-size: 0;
    line-height: 0;
    display: block;
    width: 10px;
    height: 10px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.testimonial-slider .slick-dots li button:before {
    font-size: 12px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    content: '•';
    text-align: center;
    color: var(--primary);
    opacity: 0.3;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.testimonial-slider .slick-dots li.slick-active button:before {
    color: var(--primary);
    opacity: 1;
    transform: scale(1.2);
}

/* ===== FEATURED COURSES SECTION ===== */
.featured-courses-section {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xxl) 0;
    background-color: var(--white);
    background-image:
        radial-gradient(circle at 10% 10%, rgba(6, 30, 147, 0.03) 0%, transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(255, 107, 53, 0.03) 0%, transparent 30%);
}

/* Decorative shapes */
.featured-courses-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.featured-courses-shapes .shape {
    position: absolute;
    border-radius: 50%;
}

.featured-courses-shapes .shape-1 {
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(6, 30, 147, 0.05) 0%, rgba(6, 30, 147, 0.01) 100%);
    animation: pulse-slow 15s infinite alternate ease-in-out;
}

.featured-courses-shapes .shape-2 {
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(255, 107, 53, 0.01) 100%);
    animation: pulse-slow 20s infinite alternate-reverse ease-in-out;
}

.featured-courses-shapes .shape-3 {
    top: 40%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 201, 183, 0.03) 0%, rgba(0, 201, 183, 0.01) 100%);
    animation: float 12s infinite ease-in-out;
}

@keyframes pulse-slow {
    0% {
        transform: scale(1);
        opacity: 0.05;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.08;
    }
    100% {
        transform: scale(1);
        opacity: 0.05;
    }
}

@keyframes float {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -60%) rotate(5deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

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

@keyframes cardAppear {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Featured Course Card */
.featured-course-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(6, 30, 147, 0.08);
    transition: all var(--transition-elastic);
    height: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    border: 1px solid rgba(224, 224, 233, 0.5);
    transform: translateY(0) translateZ(0); /* Force hardware acceleration */
}

.featured-course-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(6, 30, 147, 0.18);
    border-color: rgba(6, 30, 147, 0.15);
}

/* Card Top Section */
.featured-course-card .card-top {
    position: relative;
}

/* Course Badge */
.featured-course-card .course-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-transform: uppercase;
}

.featured-course-card .course-badge-new {
    background: var(--gradient-teal);
    box-shadow: 0 4px 12px rgba(0, 201, 183, 0.3);
}

.featured-course-card .course-badge-hot {
    background: linear-gradient(135deg, #ff6b35 0%, #ff3d00 100%);
    box-shadow: 0 4px 12px rgba(255, 61, 0, 0.3);
}

.featured-course-card:hover .course-badge {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 16px rgba(255, 107, 53, 0.4);
}

.featured-course-card:hover .course-badge-new {
    box-shadow: 0 8px 16px rgba(0, 201, 183, 0.4);
}

.featured-course-card:hover .course-badge-hot {
    box-shadow: 0 8px 16px rgba(255, 61, 0, 0.4);
}

/* Course Image */
.featured-course-card .course-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    width: 100%;
}

.featured-course-card .course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(6, 30, 147, 0.6) 100%);
    z-index: 1;
    opacity: 0.7;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.featured-course-card:hover .course-overlay {
    opacity: 0.5;
}

.featured-course-card .course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--transition-smooth);
    transform: scale(1.01); /* Slight initial scale to avoid white edges */
    will-change: transform; /* Hint for browser optimization */
}

.featured-course-card:hover .course-image img {
    transform: scale(1.12) rotate(1deg);
}

/* Course Category */
.featured-course-card .course-category {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.featured-course-card:hover .course-category {
    transform: translateY(-5px);
}

.featured-course-card .course-category span {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 16px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.featured-course-card:hover .course-category span {
    color: var(--secondary-light);
    transform: translateY(-2px);
}

.featured-course-card .course-category i {
    margin-right: 8px;
    color: var(--secondary);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 1rem;
}

/* Card Body */
.featured-course-card .card-body {
    padding: 24px 24px 16px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-bottom: 1px solid rgba(224, 224, 233, 0.5);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.featured-course-card:hover .card-body {
    background-color: var(--light);
}

/* Course Title */
.featured-course-card .course-title {
    margin-bottom: 16px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 1.3rem;
    color: var(--dark);
    line-height: 1.4;
}

.featured-course-card:hover .course-title {
    color: var(--primary);
}

/* Course Meta */
.featured-course-card .course-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dashed rgba(138, 138, 163, 0.2);
}

.featured-course-card .meta-item {
    display: flex;
    align-items: center;
    color: var(--gray-dark);
    font-size: 0.85rem;
    margin-right: 16px;
    margin-bottom: 8px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.featured-course-card .meta-item i {
    margin-right: 8px;
    color: var(--primary);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 0.9rem;
}

.featured-course-card:hover .meta-item {
    color: var(--dark);
}

.featured-course-card:hover .meta-item i {
    color: var(--secondary);
    transform: scale(1.1);
}

/* Course Description */
.featured-course-card .course-description {
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 10px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.featured-course-card:hover .course-description {
    color: var(--dark);
}

/* Course Features */
.featured-course-card .course-features {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
    margin-top: auto;
    padding-top: 10px;
    position: relative;
}

.featured-course-card .course-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.5;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.featured-course-card:hover .course-features::before {
    width: 60px;
    opacity: 0.8;
}

.featured-course-card .feature-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--gray-dark);
    margin-right: 16px;
    margin-bottom: 4px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 3px 8px;
}

.featured-course-card:hover .feature-item {
    color: var(--dark);
}

.featured-course-card .feature-item i {
    margin-right: 8px;
    color: var(--secondary);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 0.9rem;
}

.featured-course-card:hover .feature-item i {
    transform: scale(1.1);
}

/* Card Footer */
.featured-course-card .card-footer {
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.featured-course-card:hover .card-footer {
    background-color: var(--light);
}

/* Course Rating */
.featured-course-card .course-rating {
    display: flex;
    align-items: center;
    color: var(--gray-dark);
    font-size: 0.85rem;
    font-weight: 600;
}

.featured-course-card .course-rating i {
    color: #FFD700;
    margin-right: 2px;
    font-size: 0.9rem;
}

.featured-course-card .course-rating span {
    margin-left: 8px;
    color: var(--dark);
}

/* Enroll Button */
.featured-course-card .btn-enroll {
    display: inline-block;
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(6, 30, 147, 0.2);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.featured-course-card .btn-enroll::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.featured-course-card:hover .btn-enroll {
    background: var(--gradient-secondary);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    transform: translateY(-3px);
}

.featured-course-card:hover .btn-enroll::before {
    left: 100%;
}

/* View All Button */
.btn-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 40px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 20px rgba(6, 30, 147, 0.2);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.btn-view-all::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-view-all:hover {
    background: var(--gradient-secondary);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.3);
    transform: translateY(-5px);
    color: var(--white);
}

.btn-view-all:hover::before {
    left: 100%;
}

.btn-view-all span {
    margin-right: 10px;
}

.btn-view-all i {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-view-all:hover i {
    transform: translateX(5px);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--gradient-purple);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.cta-box {
    background: var(--gradient-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    color: var(--white);
    box-shadow: 0 15px 40px rgba(6, 30, 147, 0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateZ(0); /* Force hardware acceleration */
    transition: all var(--transition-elastic);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

.cta-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
}

.cta-box h2 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.cta-box h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: var(--radius-full);
}

.cta-box p {
    margin-bottom: 0;
    opacity: 0.9;
    max-width: 600px;
}

.cta-box .btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.cta-box .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    z-index: -1;
}

.cta-box:hover {
    box-shadow: 0 20px 50px rgba(6, 30, 147, 0.35);
    transform: translateY(-5px) translateZ(0);
}

.cta-box .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.35);
}

.cta-box .btn:hover::before {
    transform: translateX(0);
}

@media (max-width: 992px) {
    .cta-box {
        text-align: center;
    }

    .cta-box .btn {
        margin-top: var(--spacing-md);
    }

    .about-stats .col-4 {
        padding: 0 5px;
    }
}

@media (max-width: 767px) {
    .about-stats .col-4 {
        padding: 0 3px;
    }

    .stat-item {
        padding: var(--spacing-sm) var(--spacing-xs);
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }

    .stat-item p {
        font-size: 0.8rem;
    }
}

@media (max-width: 575px) {
    /* Improved Course Cards for mobile */
    .courses-section .col-md-6 {
        padding: 0 15px;
        margin-bottom: 25px;
    }

    .course-card {
        margin-bottom: 0;
        height: 100%;
    }

    /* Improved Featured Course Cards for mobile */
    .featured-courses-section .col-md-6 {
        padding: 0 15px;
        margin-bottom: 25px;
    }

    .featured-course-card {
        margin-bottom: 0;
        height: 100%;
    }

    /* Improved Feature Boxes for mobile */
    .features-section .col-md-6 {
        padding: 0 15px;
        margin-bottom: 25px;
    }

    .feature-box {
        margin-bottom: 0;
        height: 100%;
        padding: var(--spacing-md);
    }

    /* Improved About Stats for mobile */
    .about-stats {
        text-align: center;
    }

    .about-stats .col-4 {
        padding: 0 10px;
        margin-bottom: 30px; /* Increased spacing between stat items (25-30px) */
        flex: 0 0 100%; /* Full width on mobile */
        max-width: 100%;
    }

    .stat-item {
        padding: var(--spacing-md);
        margin: 0 auto; /* Center the stat items horizontally */
        text-align: center; /* Ensure all content is centered */
    }

    .stat-item h3 {
        font-size: 2.2rem; /* Slightly larger for better visibility */
        margin-bottom: 8px;
        display: block; /* Ensure proper centering */
        text-align: center;
    }

    .stat-item p {
        font-size: 0.9rem; /* Slightly larger for better readability */
        margin-bottom: 0;
        text-align: center;
    }

    .stat-item::before {
        width: 3px;
    }

    /* Center the Learn More button in About section on mobile */
    .about-content .btn-primary {
        display: block;
        margin: 0 auto;
        max-width: 180px; /* Consistent width, not full width */
        text-align: center;
    }
}

/* ===== SERVICES PAGE STYLES ===== */
/* Services Intro Section */
.services-intro-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.services-intro-content {
    padding-right: 30px;
}

.services-intro-content h2 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.services-intro-content .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.services-stats {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.services-intro-image {
    position: relative;
    z-index: 1;
}

.services-image-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    top: 20px;
    right: -20px;
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.services-intro-image:hover .services-image-shape {
    top: 15px;
    right: -15px;
}

.services-image-badge {
    position: absolute;
    bottom: 30px;
    left: -15px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

/* Service Categories Section */
.service-categories-section {
    padding: 80px 0;
    background-color: var(--light);
    position: relative;
}

.service-categories-tabs {
    margin-top: 50px;
}

.service-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border: none;
    margin-bottom: 40px;
    gap: 10px;
}

.service-tabs .nav-item {
    margin: 0 5px;
}

.service-tabs .nav-link {
    background: var(--white);
    color: var(--gray-dark);
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: none;
}

.service-tabs .nav-link i {
    color: var(--primary);
}

.service-tabs .nav-link.active {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
    text-shadow: none;
}

.service-tabs .nav-link.active i {
    color: var(--white);
}

.service-tabs .nav-link:hover:not(.active) {
    background: var(--gray-light);
    transform: translateY(-3px);
    text-shadow: none;
}

.service-tab-content {
    padding: 20px 0;
}

/* Service Card */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6, 30, 147, 0.1);
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.service-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h4 {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--dark);
}

.service-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.service-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--gray);
}

.service-meta i {
    color: var(--primary);
}

.service-content p {
    color: var(--gray-dark);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.service-features {
    margin-bottom: 20px;
}

.service-features .feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.service-features .feature-item i {
    color: var(--secondary);
}

.service-content .btn {
    align-self: flex-start;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.service-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Responsive Styles for Services Page */
@media (max-width: 992px) {
    .services-intro-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .services-intro-image {
        margin-top: 30px;
    }

    .service-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
        gap: 5px;
    }

    .service-tabs .nav-item {
        margin: 0 3px;
    }

    .service-tabs .nav-item:first-child {
        margin-left: 15px;
    }

    .service-tabs .nav-item:last-child {
        margin-right: 15px;
    }

    .service-tabs .nav-link {
        padding: 10px 15px;
        white-space: nowrap;
        font-size: 0.9rem;
        text-shadow: none;
    }

    .service-tabs::-webkit-scrollbar {
        height: 2px;
    }

    .service-tabs::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
    }

    .service-tabs::-webkit-scrollbar-thumb {
        background: var(--primary-light);
    }
}

@media (max-width: 768px) {
    .services-stats {
        flex-direction: column;
        gap: 15px;
    }

    .services-image-badge {
        bottom: 20px;
        left: -10px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .service-categories-section {
        padding: 60px 0;
    }

    .service-categories-tabs {
        margin-top: 30px;
    }

    .service-tabs {
        margin-bottom: 25px;
    }

    .service-tabs .nav-item {
        margin: 0 5px;
    }

    .service-tabs .nav-link {
        padding: 8px 12px;
        font-size: 0.85rem;
        text-shadow: none;
    }

    .service-tabs .nav-link i {
        font-size: 0.9rem;
    }

    .service-content {
        padding: 20px;
    }

    .service-content h4 {
        font-size: 1.3rem;
    }

    .service-meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .services-intro-section,
    .service-categories-section {
        padding: 50px 0;
    }

    .services-intro-content h2 {
        font-size: 1.8rem;
    }

    .services-intro-content .lead {
        font-size: 1rem;
    }

    .service-image {
        height: 180px;
    }

    .service-category {
        bottom: 10px;
        left: 10px;
        padding: 4px 12px;
        font-size: 0.8rem;
    }

    .service-content {
        padding: 15px;
    }

    .service-content h4 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .service-meta span {
        font-size: 0.8rem;
    }

    .service-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .service-features .feature-item {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .service-content .btn {
        padding: 6px 15px;
        font-size: 0.85rem;
    }
}

/* Course Modal Styles */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    background: var(--gradient-primary);
    color: var(--white);
    border-bottom: none;
    padding: 20px 25px;
}

.modal-header .modal-title {
    font-weight: 600;
    font-size: 1.3rem;
}

.modal-header .btn-close {
    color: var(--white);
    opacity: 0.8;
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 25px;
}

.course-modal-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.course-modal-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.course-modal-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.course-modal-meta {
    color: var(--gray);
    font-size: 0.95rem;
}

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

.course-modal-description {
    color: var(--gray-dark);
    line-height: 1.6;
}

.course-modal-features h5,
.course-modal-price h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    margin-bottom: 10px;
    color: var(--gray-dark);
    font-size: 0.95rem;
}

.price-tag {
    background: var(--light);
    padding: 10px 15px;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--primary);
    display: inline-block;
}

.modal-footer {
    border-top: 1px solid var(--gray-light);
    padding: 20px 25px;
}

@media (max-width: 768px) {
    .modal-dialog {
        margin: 10px;
    }

    .modal-body {
        padding: 20px;
    }

    .course-modal-title {
        font-size: 1.3rem;
    }

    .course-modal-meta {
        font-size: 0.9rem;
    }

    .course-modal-features h5,
    .course-modal-price h5 {
        font-size: 1rem;
    }

    .features-list li {
        font-size: 0.9rem;
    }
}

/* ===== GALLERY PAGE STYLES ===== */
/* Gallery Intro Section */
.gallery-intro-section {
    padding: 80px 0 40px;
    text-align: center;
}

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px 0 20px;
    gap: 10px;
}

.filter-btn {
    background: var(--white);
    color: var(--gray-dark);
    border: none;
    border-radius: var(--radius-md);
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    text-shadow: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.filter-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: all 0.4s ease;
    z-index: -1;
}

.filter-btn:hover:before {
    left: 0;
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.filter-btn:hover:not(.active) {
    color: var(--white);
}

/* Gallery Grid Section */
.gallery-grid-section {
    padding: 40px 0 80px;
}

/* Bootstrap Gallery Styles */
#gallery-container {
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 0; /* Bootstrap's row gap handles spacing */
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    text-align: center;
    color: var(--white);
    padding: 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    transition-delay: 0.1s;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
    opacity: 1;
}

.gallery-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--white);
}

.gallery-info p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.gallery-zoom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-zoom:hover {
    transform: scale(1.1);
    color: var(--white);
    background: var(--gradient-secondary);
}

/* Lightbox Customization */
.lb-data .lb-caption {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    padding: 10px 0;
}

.lb-data .lb-details {
    width: 100%;
    text-align: center;
    padding: 15px 0;
}

.lb-data .lb-number {
    font-size: 0.9rem;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    margin-top: 5px;
    display: inline-block;
}

.lb-closeContainer {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.lb-close {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.lb-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.lb-nav a {
    opacity: 0.5;
    transition: all 0.3s ease;
}

.lb-nav a:hover {
    opacity: 1;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    width: 60px;
    height: 60px;
    background-size: 30px;
    background-position: center;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
}

.lb-nav a.lb-prev {
    left: 20px;
}

.lb-nav a.lb-next {
    right: 20px;
}

.lb-loader {
    border-radius: 50%;
}

.lb-outerContainer {
    border-radius: var(--radius-lg);
    background: transparent;
}

.lb-container {
    padding: 0;
}

/* Magnific Popup Styling - Simplified and Robust */
.mfp-bg {
    background: #000;
    opacity: 0.9;
}

.mfp-wrap {
    z-index: 9999;
}

.mfp-container {
    padding: 0;
}

.mfp-content {
    max-width: 90%;
}

.mfp-figure {
    padding: 0;
}

.mfp-figure:after {
    background: transparent;
    box-shadow: none;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
    color: #fff;
    right: 0;
    padding-right: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    opacity: 0.8;
}

.mfp-image-holder .mfp-close:hover,
.mfp-iframe-holder .mfp-close:hover {
    opacity: 1;
}

.mfp-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 0;
}

.mfp-counter {
    color: #f0f0f0;
    font-size: 0.9rem;
}

.mfp-arrow {
    opacity: 0.7;
}

.mfp-arrow:hover {
    opacity: 1;
}

/* Zoom animation */
.mfp-zoom-in .mfp-with-anim {
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transform: scale(0.8);
}

.mfp-zoom-in.mfp-ready .mfp-with-anim {
    opacity: 1;
    transform: scale(1);
}

.mfp-zoom-in.mfp-removing .mfp-with-anim {
    transform: scale(0.8);
    opacity: 0;
}

/* Background animation */
.mfp-zoom-in.mfp-bg {
    opacity: 0;
    transition: all 0.3s ease-out;
}

.mfp-zoom-in.mfp-ready.mfp-bg {
    opacity: 0.9;
}

.mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-section .lead {
    font-size: 1.2rem;
    color: var(--gray-dark);
    margin-bottom: 25px;
}

.cta-section .btn {
    padding: 12px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Responsive Styles for Gallery */
@media (max-width: 992px) {
    .gallery-intro-section {
        padding: 60px 0 30px;
    }

    .gallery-grid-section {
        padding: 30px 0 60px;
    }

    /* Bootstrap handles responsive grid automatically */

    .gallery-image {
        height: 250px;
    }

    .cta-section {
        padding: 60px 0;
    }

    /* Add horizontal scroll to gallery filter on mobile */
    .gallery-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-light) rgba(0, 0, 0, 0.05);
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
        width: calc(100% + 30px);
    }

    .gallery-filter::-webkit-scrollbar {
        height: 4px;
    }

    .gallery-filter::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 10px;
    }

    .gallery-filter::-webkit-scrollbar-thumb {
        background: var(--primary-light);
        border-radius: 10px;
    }

    .filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        margin-right: 8px;
    }

    .filter-btn:last-child {
        margin-right: 15px;
    }
}

/* ===== INTERNSHIP PAGE STYLES ===== */
/* Internship Intro Section */
.internship-intro-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.internship-intro-content {
    padding-right: 30px;
}

.internship-intro-content h2 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.internship-intro-content .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.internship-stats {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.internship-intro-image {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.internship-intro-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 2;
}

.internship-image-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    z-index: 1;
    opacity: 0.1;
    transform: translate(40px, -40px);
    transition: all var(--transition-normal);
}

.internship-intro-image:hover .internship-image-shape {
    transform: translate(30px, -30px);
    opacity: 0.15;
}

.internship-image-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    z-index: 3;
    transform: translateY(0);
    transition: all var(--transition-bounce);
}

.internship-intro-image:hover .internship-image-badge {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Benefits Section */
.benefits-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.benefit-box {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    z-index: 1;
    transition: all var(--transition-normal);
}

.benefit-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6, 30, 147, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition-normal);
    color: var(--primary);
    font-size: 2rem;
    box-shadow: var(--shadow-sm);
}

.benefit-box:hover .benefit-icon {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
    transform: scale(1.1);
}

.benefit-box h4 {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--dark);
}

.benefit-box p {
    color: var(--gray-dark);
    margin-bottom: 0;
}

/* Internship Categories Section */
.internship-categories-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.internship-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.internship-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6, 30, 147, 0.1);
}

.internship-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.internship-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

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

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

.internship-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.internship-content {
    padding: 25px;
}

.internship-content h4 {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
}

.internship-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--gray);
    font-size: 0.9rem;
}

.internship-info span {
    display: flex;
    align-items: center;
}

.internship-info span i {
    margin-right: 5px;
    color: var(--primary);
}

.internship-content p {
    color: var(--gray-dark);
    margin-bottom: 20px;
}

/* Application Process Section */
.application-process-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    padding: 20px 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 30px;
    width: 2px;
    height: calc(100% + 30px);
    background: var(--gray-light);
    z-index: 0;
}

.process-step:last-child::before {
    display: none;
}

.process-step-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    position: relative;
    z-index: 1;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: var(--shadow-primary);
    flex-shrink: 0;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: var(--shadow-secondary);
}

.process-step-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-md);
    flex: 1;
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.process-step:hover .process-step-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6, 30, 147, 0.1);
}

.process-step-content h4 {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
}

.process-step-content p {
    color: var(--gray-dark);
    margin-bottom: 0;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
}

.accordion-header {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.accordion-button {
    padding: 20px 25px;
    font-weight: 600;
    color: var(--dark);
    background-color: var(--white);
    box-shadow: none;
    border: none;
    transition: all var(--transition-normal);
}

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: rgba(6, 30, 147, 0.05);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23061e93'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    transition: all var(--transition-normal);
}

.accordion-body {
    padding: 20px 25px;
    background-color: var(--white);
}

.accordion-body p {
    color: var(--gray-dark);
    margin-bottom: 0;
}

/* Responsive Styles for Internship Page */
@media (max-width: 992px) {
    .internship-intro-section,
    .benefits-section,
    .internship-categories-section,
    .application-process-section,
    .faq-section {
        padding: 60px 0;
    }

    .internship-intro-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .internship-image-shape {
        width: 70%;
        height: 70%;
        transform: translate(30px, -30px);
    }

    .process-timeline {
        padding: 0;
    }

    .process-step {
        margin-bottom: 40px;
    }

    .process-step::before {
        left: 25px;
    }

    .process-step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-right: 20px;
    }

    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }

    .process-step-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .internship-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-item {
        padding: 15px;
    }

    .internship-image-badge {
        bottom: 20px;
        left: 20px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .process-step {
        flex-direction: column;
        align-items: flex-start;
    }

    .process-step::before {
        left: 25px;
        top: 50px;
        height: calc(100% - 20px);
    }

    .process-step-icon {
        margin-bottom: 20px;
    }

    .process-step-content {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .internship-intro-content h2 {
        font-size: 1.8rem;
    }

    .internship-intro-content .lead {
        font-size: 1rem;
    }

    .internship-image-shape {
        display: none;
    }

    .benefit-box {
        padding: 20px;
    }

    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .benefit-box h4 {
        font-size: 1.2rem;
    }

    .internship-card {
        margin-bottom: 20px;
    }

    .internship-content {
        padding: 20px;
    }

    .internship-content h4 {
        font-size: 1.2rem;
    }

    .process-step-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step-number {
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
        top: -5px;
        right: -5px;
    }

    .process-step::before {
        left: 20px;
        top: 40px;
    }

    .accordion-button {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .accordion-body {
        padding: 15px 20px;
    }
}

/* ===== CONTACT PAGE STYLES ===== */
/* Contact Intro Section */
.contact-intro-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-info-box {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    z-index: 1;
    transition: all var(--transition-normal);
}

.contact-info-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6, 30, 147, 0.1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all var(--transition-normal);
    color: var(--primary);
    font-size: 2rem;
    box-shadow: var(--shadow-sm);
}

.contact-info-box:hover .contact-icon {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
    transform: scale(1.1);
}

.contact-info-box h4 {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--dark);
}

.contact-info-box p {
    color: var(--gray-dark);
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form-header {
    margin-bottom: 30px;
}

.contact-form-header h3 {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
}

.contact-form-header p {
    color: var(--gray-dark);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark);
}

.contact-form .input-group {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact-form .input-group-text {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 0 15px;
}

.contact-form .form-control {
    border: 1px solid var(--gray-light);
    padding: 12px 15px;
    height: auto;
    transition: all var(--transition-normal);
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-light);
}

.contact-form .form-select {
    border: 1px solid var(--gray-light);
    padding: 12px 15px;
    height: auto;
    transition: all var(--transition-normal);
}

.contact-form .form-select:focus {
    box-shadow: none;
    border-color: var(--primary-light);
}

.contact-form .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.contact-form .submit-btn {
    width: 100%;
    max-width: 250px;
    padding: 12px 25px;
}

/* Contact Map Wrapper */
.contact-map-wrapper {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-map-header {
    margin-bottom: 30px;
}

.contact-map-header h3 {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
}

.contact-map-header p {
    color: var(--gray-dark);
}

.contact-map {
    flex: 1;
    margin-bottom: 30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact-map iframe {
    border-radius: var(--radius-md);
}

.contact-social {
    text-align: center;
}

.contact-social h4 {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--dark);
}

.contact-social .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.contact-social .social-link {
    width: 45px;
    height: 45px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    color: var(--primary);
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.contact-social .social-link:hover {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
    transform: translateY(-5px);
}

/* Contact FAQ Section */
.contact-faq-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6, 30, 147, 0.1);
}

.faq-item h4 {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
}

.faq-item h4 i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.5rem;
}

.faq-item p {
    color: var(--gray-dark);
    margin-bottom: 0;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-box {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.newsletter-content h3 {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
}

.newsletter-content p {
    color: var(--gray-dark);
    margin-bottom: 0;
}

.newsletter-form .input-group {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.newsletter-form .form-control {
    border: 1px solid var(--gray-light);
    padding: 12px 15px;
    height: auto;
    transition: all var(--transition-normal);
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-light);
}

.newsletter-form .btn {
    padding: 0 25px;
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    font-weight: 500;
}

.newsletter-form .btn:hover {
    background: var(--gradient-secondary);
}

/* Responsive Styles for Contact Page */
@media (max-width: 992px) {
    .contact-intro-section,
    .contact-form-section,
    .contact-faq-section,
    .newsletter-section {
        padding: 60px 0;
    }

    .contact-form-wrapper,
    .contact-map-wrapper {
        padding: 30px;
    }

    .contact-map-wrapper {
        margin-top: 30px;
    }

    .newsletter-box {
        padding: 30px;
    }

    .newsletter-content {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .contact-info-box {
        padding: 20px;
    }

    .contact-form-wrapper,
    .contact-map-wrapper {
        padding: 25px;
    }

    .contact-map {
        height: 300px;
    }

    .contact-social .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-item h4 {
        font-size: 1.2rem;
    }

    .faq-item h4 i {
        font-size: 1.3rem;
    }

    .newsletter-box {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .contact-info-box h4 {
        font-size: 1.2rem;
    }

    .contact-form-wrapper,
    .contact-map-wrapper {
        padding: 20px;
    }

    .contact-form-header h3,
    .contact-map-header h3 {
        font-size: 1.5rem;
    }

    .contact-map {
        height: 250px;
    }

    .contact-social .social-links {
        gap: 10px;
    }

    .contact-social .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .faq-item {
        padding: 15px;
    }

    .faq-item h4 {
        font-size: 1.1rem;
    }

    .faq-item h4 i {
        font-size: 1.2rem;
        margin-right: 8px;
    }

    .newsletter-box {
        padding: 20px;
    }

    .newsletter-content h3 {
        font-size: 1.5rem;
    }

    .newsletter-form .btn {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .gallery-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
        gap: 5px;
    }

    .filter-btn {
        padding: 8px 15px;
        white-space: nowrap;
        font-size: 0.9rem;
    }

    .gallery-filter::-webkit-scrollbar {
        height: 4px;
    }

    .gallery-filter::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 10px;
    }

    .gallery-filter::-webkit-scrollbar-thumb {
        background: var(--primary-light);
        border-radius: 10px;
    }

    /* Bootstrap handles responsive grid automatically */

    .gallery-image {
        height: 200px;
    }

    .gallery-info h4 {
        font-size: 1.1rem;
    }

    .gallery-info p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .gallery-zoom {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .cta-section .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .gallery-intro-section {
        padding: 50px 0 25px;
    }

    .gallery-grid-section {
        padding: 25px 0 50px;
    }

    /* Bootstrap handles responsive grid automatically */

    .gallery-image {
        height: 180px;
    }

    .gallery-info {
        padding: 15px;
    }

    .gallery-info h4 {
        font-size: 1rem;
        margin-bottom: 3px;
    }

    .gallery-info p {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .gallery-zoom {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .cta-section {
        padding: 50px 0;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section .lead {
        font-size: 1rem;
    }

    .cta-section .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 30, 147, 0.9), rgba(255, 107, 53, 0.75));
    z-index: 1;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--white);
    z-index: 2;
}

.page-header .container {
    position: relative;
    z-index: 3;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: var(--radius-full);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadcrumb-item {
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    transition: all var(--transition-normal);
    position: relative;
}

.breadcrumb-item a:hover {
    color: var(--secondary-light);
}

.breadcrumb-item.active {
    color: var(--white);
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    line-height: 1;
    margin: 0 10px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: rgba(255, 255, 255, 0.6);
}

/* ===== AOS ANIMATION FIXES ===== */
/* Fix for AOS animations */
[data-aos] {
    pointer-events: auto !important;
}

html:not(.no-js) [data-aos^=fade][data-aos^=fade] {
    opacity: 0;
    transition-property: opacity, transform;
}

html:not(.no-js) [data-aos^=fade][data-aos^=fade].aos-animate {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Ensure animations work on mobile */
@media screen and (max-width: 768px) {
    body[data-aos-disable-mobile] [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 50px;
        filter: none;
        /* filter: brightness(0) invert(1) drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3)); */
    }
}

.logo img {
    filter: none !important;
}
