﻿/*
Theme Name: Vedigrace
Theme URI: https://vedigrace.com
Description: Custom theme for Vedigrace with custom header
Author: Vedigrace
Author URI: https://vedigrace.com
Version: 2.2.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: vedigrace
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Roboto:wght@300;400;500;700&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

/* Global Color Variables */
:root {
    --saffron-gold: #FF9933;
    --deep-maroon: #8B0000;
    --text-primary: #333;
    
    /* Systematic Font Size Hierarchy - Desktop */
    --font-hero-title: 48px;          /* Hero main headings */
    --font-section-title: 40px;       /* Section titles (h1) */
    --font-large-heading: 32px;       /* Large headings (h2) */
    --font-medium-heading: 24px;      /* Medium headings (h3) */
    --font-subheading: 20px;          /* Subheadings (h4) */
    --font-small-heading: 18px;       /* Small headings (h5) */
    --font-tiny-heading: 16px;        /* Tiny headings (h6) */
    --font-emphasis: 18px;            /* Emphasized text */
    --font-body: 16px;                /* Body paragraphs */
    --font-base: 14px;                /* Base text size */
    --font-small: 13px;               /* Small text */
    --font-tiny: 12px;                /* Tiny text/labels */
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Section Spacing - 10px top & bottom for every section */
section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* All sections — exactly 10px padding top & bottom */
section[class],
section[id] {
    padding-top: 10px !important;
    padding-bottom: 10px;
}

/* Mobile: Reduce section padding to prevent gaps */
@media (max-width: 768px) {
    section[class],
    section[id] {
        padding-top: 5px !important;
        padding-bottom: 5px;
    }
}

@media (max-width: 480px) {
    section[class],
    section[id] {
        padding-top: 3px !important;
        padding-bottom: 3px;
    }
}

@media (max-width: 375px) {
    section[class],
    section[id] {
        padding-top: 2px !important;
        padding-bottom: 2px;
    }
}

/* All section inner containers/wrappers — no extra spacing */
section > div,
section > .container,
section > [class*="-container"],
section > [class*="-wrapper"] {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Grandchild grids & content blocks inside containers — no extra bottom margin */
section > div > div,
section > [class*="-container"] > div,
section > [class*="-container"] > [class*="-grid"],
section > [class*="-container"] > [class*="-content"] {
    margin-bottom: 0 !important;
}

/* All main headings inside sections — 10px from top only */
section h1,
section h2,
section h3,
section .section-title {
    margin-top: 10px !important;
    padding-top: 0 !important;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: var(--font-base);
    line-height: 1.6;
    color: #333;
    padding-bottom: 70px;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Justified text alignment for paragraphs and lists */
p {
    text-align: justify !important;
    text-justify: inter-word !important;
}

ul li, ol li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

/* Headings Font Family and Sizes */
h1 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: var(--font-section-title);
    font-weight: 700;
    line-height: 1.3;
    color: #4B1E1E !important;
}

h2 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: var(--font-large-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--deep-maroon) !important;
    color: #8B0000 !important;
}

h3 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: var(--font-medium-heading);
    font-weight: 600;
    line-height: 1.3;
}

h4 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: var(--font-subheading);
    font-weight: 600;
    line-height: 1.3;
}

h5 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: var(--font-small-heading);
    font-weight: 600;
    line-height: 1.3;
}

h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: var(--font-tiny-heading);
    font-weight: 600;
    line-height: 1.3;
}

p, span, div, a, li, td, th {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: var(--font-base);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Image Captions with Playfair Display */
figcaption,
.wp-caption-text,
.wp-caption .wp-caption-text,
.gallery-caption,
.image-caption,
img + em,
img + i,
.caption {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-style: italic;
    font-size: var(--font-base);
    line-height: 1.6;
    color: #666;
    margin-top: 8px;
}

/* Top Header Bar Styles */
.top-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #ff6b35 50%, #e63946 100%) !important;
    border-bottom: none;
    padding: 12px 0;
    font-size: var(--font-small);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-header-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.top-header-left {
    display: flex;
    gap: 25px;
    align-items: center;
}

.top-header-right {
    display: flex;
    gap: 25px;
    align-items: center;
}

.header-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-small);
    transition: all 0.3s ease;
    position: relative;
}

.header-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

.header-link:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.header-link:hover::after {
    width: 100%;
}

.header-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2;
}

.cart-link {
    font-weight: 500;
}

/* Currency Switcher Styles */
.currency-switcher {
    position: relative;
    z-index: 10000;
}

.currency-btn {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.currency-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.currency-btn .dropdown-arrow {
    transition: transform 0.3s ease;
}

.currency-switcher.active .dropdown-arrow {
    transform: rotate(180deg);
}

.currency-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10001;
    overflow: hidden;
}

.currency-switcher.active .currency-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.currency-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.currency-option:last-child {
    border-bottom: none;
}

.currency-option:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.currency-option.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.currency-code {
    font-weight: 700;
    color: #667eea;
    font-size: 14px;
}

.currency-name {
    font-size: 12px;
    color: #666;
}

.currency-option.active .currency-code {
    color: #764ba2;
}

/* User Profile Dropdown Styles */
.user-profile-dropdown {
    position: relative;
    z-index: 10000;
}

.user-profile-dropdown .profile-toggle {
    cursor: pointer;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.user-profile-dropdown .profile-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.user-profile-dropdown .dropdown-icon {
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.user-profile-dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

.profile-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10001;
    overflow: hidden;
}

.user-profile-dropdown.active .profile-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 14px;
}

.profile-menu-item:last-child {
    border-bottom: none;
}

.profile-menu-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    color: #667eea;
}

.profile-menu-item svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.profile-menu-item.logout-item:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(220, 38, 38, 0.05) 100%);
    color: #ef4444;
}

/* Main Header Styles */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: none;
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    padding: 10px 0;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
}

.main-header-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    gap: 30px;
}

.site-logo img {
    max-height: 45px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.site-logo a {
    display: block;
}

.site-logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.3));
}

/* Header Search Styles */
.header-search {
    flex: 1;
    max-width: 600px;
    display: flex;
    gap: 0;
}

.search-dropdown-wrapper {
    position: relative;
}

.courses-dropdown-btn {
    padding: 12px 18px;
    border: 2px solid #e8e8e8;
    border-right: none;
    border-radius: 25px 0 0 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    font-size: 14px;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    outline: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.courses-dropdown-btn:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-color: #ff6b35;
    color: #ff6b35;
}

.search-dropdown-wrapper.active .courses-dropdown-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-color: #ff6b35;
    color: #ff6b35;
}

.search-dropdown-wrapper.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-arrow {
    transition: transform 0.2s;
}

.search-dropdown-wrapper:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.courses-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.search-dropdown-wrapper.active .courses-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.courses-dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.courses-dropdown-menu a:last-child {
    border-bottom: none;
}

.courses-dropdown-menu a:hover {
    background-color: #f8f8f8;
}

.search-form {
    flex: 1;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-field {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
}

.search-field:focus {
    border-color: #ff6b35;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.search-field::placeholder {
    color: #999;
}

.search-submit {
    position: absolute;
    right: 2px;
    top: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%);
    border: none;
    padding: 0 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    border-radius: 0 2px 2px 0;
}

.search-submit:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #ff6b35 100%);
    color: #fff;
    transform: scale(1.02);
}

.search-submit svg {
    display: block;
}

.main-navigation {
    display: flex;
    gap: 35px;
    align-items: center;
}

.main-navigation .nav-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    position: relative;
}

.main-navigation .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #ff8555);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 3px 3px 0 0;
}

.main-navigation .nav-link:hover {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.05);
}

.main-navigation .nav-link:hover::before {
    width: 80%;
}

.main-navigation .nav-courses-dropdown {
    position: relative;
}

.nav-courses-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown-arrow {
    transition: transform 0.3s ease;
}

.nav-courses-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99999;
    margin-top: 0;
    pointer-events: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-courses-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.nav-courses-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.15) 0%, rgba(255, 107, 53, 0.05) 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-courses-item:hover::before {
    width: 100%;
}

.nav-courses-item:hover {
    border-left-color: #ff6b35;
    color: #ff6b35;
    padding-left: 23px;
    transform: translateX(3px);
}

.main-navigation a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.main-navigation a:hover {
    color: #ff6b35;
}

.main-navigation .dropdown {
    position: relative;
}

/* Reset WordPress defaults */
#site-header {
    margin: 0;
    padding: 0;
}

/* Admin Bar Offset */
.admin-bar #site-header {
    margin-top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar #site-header {
        margin-top: 46px;
    }
}

body {
    margin: 0;
    padding: 0;
}

#site-content {
    margin: 0;
    padding: 0;
}

/* Desktop hover for courses dropdown */
@media (min-width: 901px) {
    .nav-courses-menu {
        pointer-events: auto !important;
    }
    
    .nav-courses-item {
        pointer-events: auto !important;
    }
    
    .nav-courses-dropdown:hover .nav-courses-menu,
    .nav-courses-dropdown.active .nav-courses-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
    
    .nav-courses-dropdown:hover .nav-dropdown-arrow,
    .nav-courses-dropdown.active .nav-dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .nav-courses-toggle:hover {
        color: #ff6b35;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 280px;
        background: white;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 9999;
        padding: 80px 20px 20px;
        overflow-y: auto;
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .nav-courses-dropdown {
        width: 100%;
        position: relative;
        z-index: 1;
    }
    
    .nav-courses-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 15px 20px;
        cursor: pointer;
        pointer-events: auto !important;
    }
    
    .nav-courses-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
        transform: none;
        background: rgba(255, 107, 53, 0.05);
        border-radius: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .nav-courses-dropdown.active .nav-courses-menu {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 200px !important;
        padding: 5px 0 !important;
        pointer-events: auto !important;
    }
    
    .nav-courses-dropdown.active .nav-dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .nav-courses-item {
        padding: 10px 20px 10px 40px;
        font-size: 14px;
        border-left: none;
        pointer-events: auto !important;
    }
    
    .nav-courses-item:hover {
        padding-left: 45px;
    }
    
    .primary-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .primary-menu > .menu-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
}

/* Hero Section */
/* Hero Section - 2500x550px Banner Size - For legacy pages only */
.hero-section {
    width: 100% !important;
    min-height: 550px !important;
    height: 550px !important;
    max-height: 550px !important;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    display: block;
    padding: 0;
    margin: 0;
}

/* Note: .hero-carousel-wrapper styles are defined inline in front-page.php and home.php */

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

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    min-height: inherit;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    min-height: inherit;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    display: none;
}

.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 40px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #ff6b35;
    transition: width 0.3s ease;
}

.indicator.active {
    background: #ff6b35;
    width: 50px;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
}

.indicator:hover:not(.active) {
    background: rgba(255, 255, 255, 0.7);
    transform: scaleY(1.3);
}

.hero-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
}

.hero-content {
    padding: 20px 0;
}

.hero-badges {
    margin-bottom: 30px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.badge-green {
    background: rgba(212, 244, 221, 0.95);
    color: #0d5c2c;
    box-shadow: 0 4px 15px rgba(13, 92, 44, 0.2);
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.6s ease-out;
}

.badge-pink {
    background: rgba(255, 229, 229, 0.95);
    color: #d63031;
    box-shadow: 0 4px 15px rgba(214, 48, 49, 0.2);
    backdrop-filter: blur(10px);
    animation: fadeInLeft 0.8s ease-out;
}

.badge-purple {
    background: rgba(230, 230, 250, 0.95);
    color: #8b00b3;
    box-shadow: 0 4px 15px rgba(139, 0, 179, 0.3);
    backdrop-filter: blur(10px);
    animation: fadeInLeft 0.8s ease-out;
}

.badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 56px;
    font-weight: 800;
    color: #4B1E1E !important;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-family: 'Roboto', sans-serif !important;
    font-size: 20px;
    color: #e0e0e0;
    margin: 0 0 35px 0;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.6);
    font-weight: 400;
    letter-spacing: 0.3px;
    animation: fadeInUp 1s ease-out;
}

.hero-description {
    font-size: 16px;
    color: #ffffff;
    margin: 0 0 30px 0;
    padding: 0 0 15px 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.6;
    max-width: 600px;
    animation: fadeInUp 1.1s ease-out;
    opacity: 0.95;
}

.hero-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%);
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
    animation: fadeInUp 1.2s ease-out;
    position: relative;
    overflow: hidden;
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.hero-button:hover::before {
    left: 100%;
}

.hero-button:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #ff6b35 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.5);
}

.hero-image {
    position: relative;
    padding: 20px;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

/* Visual Showcase Container */
.visual-showcase {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 450px;
    perspective: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: visible;
}

/* Floating Geometric Shapes */
.shape-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 107, 53, 0.2));
    border: 2px solid rgba(255, 215, 0, 0.4);
    backdrop-filter: blur(10px);
    animation: floatRotate 15s infinite ease-in-out;
}

.shape-1 {
    width: 50px;
    height: 50px;
    top: 10%;
    left: 10%;
    border-radius: 50%;
    animation-delay: 0s;
}

.shape-2 {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 15%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation-delay: 2s;
}

.shape-3 {
    width: 35px;
    height: 35px;
    bottom: 20%;
    left: 20%;
    border-radius: 10px;
    animation-delay: 4s;
}

.shape-4 {
    width: 45px;
    height: 45px;
    top: 30%;
    right: 25%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-delay: 1s;
}

.shape-5 {
    width: 38px;
    height: 38px;
    bottom: 30%;
    right: 10%;
    border-radius: 50% 0;
    animation-delay: 3s;
}

@keyframes floatRotate {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
        opacity: 1;
    }
    75% {
        transform: translateY(-40px) rotate(270deg);
        opacity: 0.7;
    }
}

/* Holographic Display */
.holographic-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
}

.holo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-radius: 50%;
    animation: ringPulse 3s infinite ease-in-out;
}

.ring-1 {
    width: 150px;
    height: 150px;
    border-color: rgba(255, 215, 0, 0.4);
    animation-delay: 0s;
}

.ring-2 {
    width: 115px;
    height: 115px;
    border-color: rgba(255, 107, 53, 0.4);
    animation-delay: 1s;
}

.ring-3 {
    width: 80px;
    height: 80px;
    border-color: rgba(255, 215, 0, 0.6);
    animation-delay: 2s;
}

@keyframes ringPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.holo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 53, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.6), inset 0 0 20px rgba(255, 107, 53, 0.4);
    animation: holoPulse 2s infinite ease-in-out;
}

.holo-center svg {
    width: 45px;
    height: 45px;
    animation: iconFloat 3s infinite ease-in-out;
}

@keyframes holoPulse {
    0%, 100% {
        box-shadow: 0 0 60px rgba(255, 215, 0, 0.6), inset 0 0 30px rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 0 80px rgba(255, 215, 0, 0.9), inset 0 0 50px rgba(255, 107, 53, 0.6);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

/* Particle Field */
.particle-field {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.8), transparent);
    border-radius: 50%;
    animation: particleFloat 8s infinite ease-in-out;
}

.particle:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 30%; left: 80%; animation-delay: 1s; }
.particle:nth-child(3) { top: 50%; left: 10%; animation-delay: 2s; }
.particle:nth-child(4) { top: 70%; left: 70%; animation-delay: 3s; }
.particle:nth-child(5) { top: 20%; left: 50%; animation-delay: 1.5s; }
.particle:nth-child(6) { top: 80%; left: 30%; animation-delay: 2.5s; }
.particle:nth-child(7) { top: 40%; left: 60%; animation-delay: 0.5s; }
.particle:nth-child(8) { top: 60%; left: 40%; animation-delay: 3.5s; }
.particle:nth-child(9) { top: 25%; left: 90%; animation-delay: 1.8s; }
.particle:nth-child(10) { top: 85%; left: 15%; animation-delay: 2.8s; }

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    50% {
        transform: translate(50px, -80px) scale(1.5);
        opacity: 0.8;
    }
}

/* Energy Waves */
.energy-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.wave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    margin-left: -150px;
    margin-top: -150px;
    border: 2px solid;
    border-radius: 50%;
    opacity: 0;
    animation: waveExpand 4s infinite ease-out;
}

.wave-1 {
    border-color: rgba(255, 215, 0, 0.4);
    animation-delay: 0s;
}

.wave-2 {
    border-color: rgba(255, 107, 53, 0.4);
    animation-delay: 1.3s;
}

.wave-3 {
    border-color: rgba(255, 215, 0, 0.4);
    animation-delay: 2.6s;
}

@keyframes waveExpand {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Mini Stat Cards */
.mini-stat-card {
    position: absolute;
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    z-index: 15;
}

.stat-card-1 {
    top: 15%;
    right: 5%;
}

.stat-card-2 {
    bottom: 15%;
    left: 5%;
}

.mini-stat-icon {
    font-size: 20px;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.mini-stat-text {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Floating Badge Enhancements */
.floating-badge {
    position: absolute;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    backdrop-filter: blur(15px);
}

.badge-top-right {
    top: 8%;
    right: 15%;
}

.badge-middle-left {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
}

/* Animation Variations */
.animate-float-1 {
    animation: float1 4s ease-in-out infinite;
}

.animate-float-2 {
    animation: float2 5s ease-in-out infinite;
}

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

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

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

@keyframes float3 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(3deg);
    }
}

/* Zodiac Circle Animation for Slide 2 */
.zodiac-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
}

.zodiac-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-radius: 50%;
    animation: zodiacSpin 20s linear infinite;
}

.zodiac-ring-1 {
    width: 210px;
    height: 210px;
    border-color: rgba(147, 112, 219, 0.4);
}

.zodiac-ring-2 {
    width: 160px;
    height: 160px;
    border-color: rgba(255, 215, 0, 0.4);
    animation-direction: reverse;
}

@keyframes zodiacSpin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.zodiac-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.2), rgba(255, 215, 0, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(147, 112, 219, 0.6), inset 0 0 20px rgba(255, 215, 0, 0.4);
    animation: holoPulse 2s infinite ease-in-out;
}

.zodiac-center svg {
    width: 60px;
    height: 60px;
    animation: iconFloat 3s infinite ease-in-out;
}

/* Zodiac Symbols */
.zodiac-symbols {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.zodiac-symbol {
    position: absolute;
    font-size: 32px;
    color: rgba(255, 215, 0, 0.8);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    animation: symbolFloat 6s infinite ease-in-out;
}

.symbol-1 {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.symbol-2 {
    top: 15%;
    right: 15%;
    animation-delay: 1s;
}

.symbol-3 {
    top: 45%;
    left: 5%;
    animation-delay: 2s;
}

.symbol-4 {
    top: 45%;
    right: 5%;
    animation-delay: 3s;
}

.symbol-5 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.symbol-6 {
    bottom: 20%;
    right: 20%;
    animation-delay: 5s;
}

@keyframes symbolFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 1;
    }
}

.hero-main-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.floating-badge {
    position: absolute;
    z-index: 10;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

.badge-top-right {
    top: 30px;
    right: 40px;
}

.badge-bottom {
    bottom: 100px;
    left: 40px;
}

/* Hero Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Add glow effect to hero section */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: none;
    animation: none;
    z-index: 1;
    display: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Mission Section */
.mission-section {
    background: linear-gradient(135deg, #4B1E1E 0%, #6B2828 50%, #4B1E1E 100%);
    color: #FAF7F2;
    padding: 20px 15px;
    position: relative;
    overflow: hidden;
}

.mission-background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.mission-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: missionGlowPulse 4s ease-in-out infinite;
}

.mission-glow-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #C89B3C 0%, transparent 70%);
    top: -150px;
    left: 10%;
}

.mission-glow-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #9b59b6 0%, transparent 70%);
    bottom: -125px;
    right: 15%;
    animation-delay: 2s;
}

.mission-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.mission-particle:nth-child(3) {
    top: 20%;
    left: 20%;
    animation: floatParticle 8s ease-in-out infinite;
}

.mission-particle:nth-child(4) {
    top: 60%;
    right: 25%;
    animation: floatParticle 10s ease-in-out infinite 2s;
}

.mission-particle:nth-child(5) {
    bottom: 30%;
    left: 70%;
    animation: floatParticle 12s ease-in-out infinite 4s;
}

@keyframes missionGlowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(30px, -30px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translate(-20px, -60px) scale(1);
        opacity: 1;
    }
    75% {
        transform: translate(-40px, -30px) scale(0.8);
        opacity: 0.8;
    }
}

.mission-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.mission-icon {
    color: #ff6b35;
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconPulse 3s ease-in-out infinite;
    flex-shrink: 0;
}

.icon-ring,
.icon-ring-2 {
    position: absolute;
    border: 2px solid #ff6b35;
    border-radius: 50%;
    animation: ringExpand 3s ease-out infinite;
}

.icon-ring {
    width: 100%;
    height: 100%;
}

.icon-ring-2 {
    width: 100%;
    height: 100%;
    animation-delay: 1.5s;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes ringExpand {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.8;
    }
    100% {
        width: 150%;
        height: 150%;
        opacity: 0;
    }
}

.mission-text {
    flex: 1 1 auto;
    font-size: 18px;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    min-width: 0;
}

.mission-highlight {
    color: #ffd700;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.mission-number {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b35, #ffd700, #ff6b35);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    display: inline-block;
}

.mission-year {
    font-size: 20px;
    font-weight: 700;
    color: #ff6b35;
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
}

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

.mission-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    width: fit-content;
}

.stat-avatars {
    display: flex;
    margin-left: -10px;
}

.stat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid #1a1a1a;
    margin-left: -12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.stat-avatar:hover {
    transform: translateY(-5px) scale(1.15);
    border-color: #ff6b35;
    z-index: 10;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.5);
}

.stat-counter {
    display: flex;
    gap: 6px;
}

.counter-item {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    color: #1a1a1a;
    width: 36px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    animation: counterFlip 0.6s ease-out;
    animation-fill-mode: backwards;
    position: relative;
    overflow: hidden;
}

.counter-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.3), transparent);
    animation: counterShine 3s ease-in-out infinite;
}

@keyframes counterFlip {
    0% {
        transform: rotateX(90deg);
        opacity: 0;
    }
    100% {
        transform: rotateX(0);
        opacity: 1;
    }
}

@keyframes counterShine {
    0%, 100% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
}

.counter-item:nth-child(1) { animation-delay: 0.1s; }
.counter-item:nth-child(2) { animation-delay: 0.2s; }
.counter-item:nth-child(3) { animation-delay: 0.3s; }
.counter-item:nth-child(4) { animation-delay: 0.4s; }
.counter-item:nth-child(5) { animation-delay: 0.5s; }

.stat-label {
    font-size: 15px;
    color: #e0e0e0;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* About Institute Section */
.about-institute-section {
    padding: 10px 20px 10px;
    margin-top: 0 !important;
    background: linear-gradient(135deg, #FAF7F2 0%, #FDFCFA 100%);
    position: relative;
    overflow: hidden;
}

.about-institute-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(200, 155, 60, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(75, 30, 30, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.about-institute-container {
    max-width: 1440px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    position: relative;
}

.about-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(230, 57, 70, 0.1) 100%);
    border-radius: 50%;
    animation: aboutIconPulse 3s ease-in-out infinite;
}

@keyframes aboutIconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.about-icon {
    position: relative;
    z-index: 2;
    stroke: #e63946;
    filter: drop-shadow(0 4px 12px rgba(230, 57, 70, 0.3));
}

.about-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 32px !important;
    font-weight: 800;
    color: #8B0000 !important;
    color: var(--deep-maroon) !important;
    margin: 0 auto 20px;
    max-width: 950px;
    padding: 0 40px;
    line-height: 1.3;
    letter-spacing: -0.5px;
    position: relative;
    display: block;
    text-align: center;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e63946 0%, #ff6b35 100%);
    border-radius: 2px;
}

.about-content {
    max-width: 100%;
    margin: 0 auto 0;
    padding: 0;
}

.about-description {
    font-family: 'Roboto', sans-serif !important;
    font-size: 16px;
    line-height: 1.8;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 6px;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    word-spacing: 0.05em;
    font-weight: 400;
}

.about-description strong {
    color: #e63946;
    font-weight: 700;
}

.about-highlights {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 15px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.2);
    border-color: rgba(230, 57, 70, 0.3);
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e63946 0%, #ff6b35 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.highlight-icon svg {
    stroke: #ffffff;
}

.highlight-item span {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-title {
        font-size: 36px;
    }
    
    .about-description {
        font-size: 16px;
    }
    
    .about-highlights {
        gap: 20px;
        flex-direction: row !important;
    }
}

@media (max-width: 768px) {
    .about-institute-section {
        padding: 0 15px 10px;
        text-align: center;
        margin-top: 0;
    }
    
    .about-institute-container {
        text-align: center;
        padding: 0 20px;
    }
    
    .about-title {
        font-size: 26px;
        margin: 0 0 10px 0 !important;
        padding-bottom: 8px !important;
        text-align: center;
        position: relative;
    }
    
    .about-title::after {
        width: 60px;
        height: 3px;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-institute-section .about-description,
    .about-description {
        font-size: 15px !important;
        text-align: center !important;
        padding: 0 15px !important;
        margin-bottom: 12px !important;
        text-align-last: center !important;
        text-justify: none !important;
    }
    
    .about-highlights {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin-top: 12px;
    }
    
    .highlight-item {
        padding: 12px 18px;
        gap: 10px;
    }
    
    .highlight-icon {
        width: 35px;
        height: 35px;
    }
    
    .highlight-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .highlight-item span {
        font-size: 14px;
    }
    
    .about-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 25px;
    }
    
    .about-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .about-institute-section {
        padding: 0 10px 10px;
        text-align: center;
        margin-top: 0 !important;
    }
    
    .about-institute-container {
        padding: 0 15px;
        margin-top: 0 !important;
    }
    
    .about-title {
        font-size: 22px;
        margin: 0 0 10px 0 !important;
        padding-bottom: 8px !important;
        padding-top: 0 !important;
        text-align: center;
        position: relative;
    }
    
    .about-institute-section .about-description,
    .about-description {
        font-size: 14px !important;
        text-align: center !important;
        padding: 0 10px !important;
        margin-bottom: 10px !important;
        text-align-last: center !important;
        text-justify: none !important;
    }
        line-height: 1.6;
    }
    
    .about-highlights {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 10px;
    }
    
    .highlight-item {
        padding: 10px 15px;
        gap: 8px;
        width: 100%;
        max-width: 280px;
        justify-content: flex-start;
    }
    
    .highlight-icon {
        width: 32px;
        height: 32px;
    }
    
    .highlight-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .highlight-item span {
        font-size: 13px;
    }
    
    .about-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .about-icon {
        width: 35px;
        height: 35px;
    }
}

/* Courses Category Section */
.courses-category-section {
    padding: 30px 20px;
    background-color: #1a1a2e;
    background-image: 
        linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(44, 44, 74, 0.88) 100%),
        url('images/Our Services & Products.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    overflow: hidden;
}

.section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.courses-category-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.courses-category-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.courses-category-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 10px 0;
    color: #8B0000 !important;
    color: var(--deep-maroon) !important;
    position: relative;
    display: inline-block;
    width: 100%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding-bottom: 25px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35 0%, #ff8555 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.5);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
}

.category-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 35px 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid rgba(255, 215, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.category-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
}

.category-icon {
    color: #667eea;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.category-card:hover .category-icon {
    color: #ffd700;
    transform: scale(1.2) rotateY(360deg);
    filter: drop-shadow(0 5px 15px rgba(255, 215, 0, 0.5));
}

.category-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.category-card:hover .category-name {
    color: #764ba2;
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, #0f0f0f 0%, #2d1b47 50%, #0f0f0f 100%);
    padding: 40px 20px;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #ff6b35, #ffd700, #ff6b35) 1;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
    opacity: 0.3;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: #fff;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: #ff6b35;
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
}

.stat-number {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    animation: statGlow 2s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes statGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: #e0e0e0;
    line-height: 1.8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    white-space: nowrap;
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .mission-container {
        gap: 15px;
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .courses-category-section {
        padding: 25px 15px;
        background-position: center center;
        background-size: cover;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .courses-category-section {
        padding: 50px 15px;
    }
    
    .section-title {
        font-size: 28px;
        margin: 0 0 10px 0 !important;
        padding-bottom: 8px !important;
    }
    
    .category-card {
        padding: 25px 15px;
        gap: 12px;
    }
    
    .category-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .category-name {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .courses-category-section {
        padding: 40px 12px;
    }
    
    .section-title {
        font-size: 24px;
        margin: 0 0 10px 0 !important;
        padding-bottom: 8px !important;
    }
    
    .category-card {
        padding: 20px 15px;
    }
    
    .category-icon svg {
        width: 30px;
        height: 30px;
    }
}

/* Discover In-demand Courses Section */
.courses-section {
    padding: 30px 20px;
    margin-top: 40px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.courses-section .section-title {
    color: #1a1a2e;
    text-shadow: none;
}

.courses-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

.course-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.course-tab {
    padding: 14px 35px;
    border: 2px solid #e8e8e8;
    background: #ffffff;
    color: #4a5568;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    position: relative;
    overflow: hidden;
}

.course-tab::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(230, 57, 70, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.course-tab:hover::before {
    width: 300px;
    height: 300px;
}

.course-tab.active {
    background: linear-gradient(135deg, #e63946 0%, #ff6b6b 100%);
    color: #fff;
    border-color: #e63946;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

.course-tab:hover:not(.active) {
    background: #f8f9fa;
    color: #e63946;
    border-color: #e63946;
    transform: translateY(-2px);
}

/* Featured Articles Section Styles */
.featured-articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 60px;
    align-items: start;
}

/* Courses Grid - Compact Professional Layout */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

.courses-grid .course-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Course Grid Card - Same structure for all course sections */
.course-grid-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.course-grid-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #1e293b;
    display: block;
    text-decoration: none;
    flex-shrink: 0;
}

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

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

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

.course-card-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    color: #64748b;
    font-size: 12px;
}

.course-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.course-meta-item svg {
    flex-shrink: 0;
    color: #94a3b8;
    width: 14px;
    height: 14px;
}

.course-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
}

.course-card-btn-secondary {
    background: transparent !important;
    color: #e63946 !important;
    border: 2px solid #e63946 !important;
}

.course-card-btn-secondary:hover {
    background: #e63946 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.courses-grid .course-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.courses-grid .course-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.courses-grid .course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(230, 57, 70, 0.15);
    border-color: rgba(230, 57, 70, 0.2);
}

.courses-grid .course-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}

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

.courses-grid .course-card:hover .course-image img {
    transform: scale(1.05);
}

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

.courses-grid .course-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
}

.courses-grid .course-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #64748b;
    font-size: 13px;
}

.courses-grid .course-meta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.courses-grid .course-type {
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-articles-grid .course-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-articles-grid .course-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    display: block;
    background: #f1f5f9;
    flex-shrink: 0;
}

.featured-articles-grid .course-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.featured-articles-grid .course-card:hover .course-card-image img {
    transform: scale(1.08);
}

.featured-articles-grid .course-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.featured-articles-grid .course-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-bottom: 0 !important;
    padding: 0;
    flex-shrink: 0;
}

.featured-articles-grid .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    padding: 0;
    border: none;
    position: relative;
}

.featured-articles-grid .meta-item:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -10px;
    color: #cbd5e1;
    font-weight: bold;
}

.featured-articles-grid .meta-item svg {
    color: #e63946;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.featured-articles-grid .course-card:hover .meta-item svg {
    color: #ff6b35;
}

.featured-articles-grid .course-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.4;
    margin: 0 !important;
    min-height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-shrink: 0;
}

.featured-articles-grid .course-card-description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 63px;
}

.featured-articles-grid .course-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 6px !important;
    margin-top: 8px !important;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.featured-articles-grid .course-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

.featured-articles-grid .course-author img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.featured-articles-grid .read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #e63946;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.featured-articles-grid .course-card:hover .read-more-link {
    gap: 8px;
}

.featured-articles-grid .read-more-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.featured-articles-grid .course-card:hover .read-more-link svg {
    transform: translateX(4px);
}

.featured-articles-grid .course-card-content {
    padding: 18px !important;
    display: flex;
    flex-direction: column;
    gap: 6px !important;
}

.featured-articles-grid .category-badge {
    background: linear-gradient(135deg, #e63946, #ff6b35);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Course Enroll Button - Removed duplicate styles - now in front-page.php inline */

/* Featured Books Grid - Professional 2 Row x 4 Column Layout */
.books-grid.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Featured Books Card Styling */
.books-grid .course-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.books-grid .course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(230, 57, 70, 0.2);
    border-color: rgba(230, 57, 70, 0.3);
}

/* Book Image Container */
.books-grid .course-image {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.4s ease;
}

.books-grid .course-card:hover .course-image {
    transform: scale(1.02);
}

/* Stock Badge Styling */
.books-grid .stock-badge {
    backdrop-filter: blur(10px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.books-grid .stock-badge.in-stock {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

.books-grid .stock-badge.low-stock {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%) !important;
}

.books-grid .stock-badge.out-of-stock {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
}

/* Book Content Area */
.books-grid .course-content {
    padding: 10px 16px 6px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Book Title */
.books-grid .course-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: auto;
    transition: color 0.3s ease;
}

.books-grid .course-card:hover .course-title {
    color: #e63946;
}

/* Book Meta (Author Info) */
.books-grid .course-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 14px;
}

.books-grid .course-meta svg {
    width: 16px;
    height: 16px;
    color: #e63946;
    flex-shrink: 0;
}

.books-grid .course-type {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

/* Book Card Footer - Price & Button */
.books-grid .course-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding: 6px 0 0 0;
    border-top: 1px solid #e2e8f0;
}

/* Price Styling */
.books-grid .course-card-price {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}

.books-grid .price-current {
    font-size: 18px;
    font-weight: 700;
    color: #e63946;
    line-height: 1;
}

.books-grid .price-regular {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
}

/* Buy Now Button */
.books-grid .btn-buy {
    padding: 6px 13px;
    background: linear-gradient(135deg, #e63946 0%, #ff6b6b 100%);
    color: #ffffff;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
    white-space: nowrap;
}

.books-grid .btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
    background: linear-gradient(135deg, #d62839 0%, #ff5252 100%);
}

.books-grid .btn-buy:active {
    transform: translateY(0);
}

/* Out of Stock Button */
.books-grid .btn-buy.btn-disabled {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    cursor: not-allowed;
    opacity: 0.7;
}

.books-grid .btn-buy.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Link Styling */
.books-grid .course-image-link,
.books-grid .course-title-link {
    text-decoration: none;
    display: block;
}

.books-grid .course-title-link:hover {
    text-decoration: none;
}

/* Featured Books Section Heading */
.courses-section .section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 10px 0 !important;
    position: relative;
    padding-bottom: 8px !important;
}

.courses-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e63946 0%, #ff6b6b 100%);
    border-radius: 2px;
}

/* Responsive Courses Section */
@media (max-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .featured-articles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    /* Books Grid: 3 columns on large tablets */
    .books-grid.courses-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        padding: 0 20px;
    }
    
    .books-grid .course-title {
        font-size: 17px;
        min-height: 48px;
    }
    
    .books-grid .course-content {
        padding: 22px;
    }
    
    .books-grid .course-image {
        height: 260px !important;
    }
}

@media (max-width: 900px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .featured-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* Books Grid: 2 columns on medium tablets */
    .books-grid.courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 16px;
    }
    
    .books-grid .course-image {
        height: 280px !important;
    }
    
    .books-grid .course-content {
        padding: 20px;
    }
    
    .course-tabs {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 30px;
    }
    
    .course-tab {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .course-card {
        border-radius: 16px;
    }
    
    .course-card-image {
        height: 180px;
    }
    
    .course-card-content {
        padding: 20px 18px;
    }
}

@media (max-width: 768px) {
    .featured-articles-grid .course-card-image {
        height: 200px;
    }
    
    .featured-articles-grid .course-card-content {
        padding: 18px;
    }
    
    .courses-category-section {
        padding: 25px 15px;
    }
    
    .courses-section {
        padding: 25px 15px;
        margin-top: 30px;
    }
    
    .courses-container {
        padding: 0 10px;
    }
    
    .course-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .course-card-image {
        height: 160px;
    }
    
    /* Books Grid: 2 columns on small tablets */
    .books-grid.courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        padding: 0 15px;
    }
    
    .books-grid .course-image {
        height: 240px !important;
    }
    
    .books-grid .course-title {
        font-size: 16px;
        min-height: 44px;
    }
    
    .books-grid .course-content {
        padding: 18px;
    }
    
    .books-grid .price-current {
        font-size: 20px;
    }
    
    .books-grid .btn-buy,
    .books-grid .course-card-btn {
        padding: 9px 16px;
        font-size: 12px;
    }
    
    .books-grid .course-card-footer {
        flex-wrap: wrap;
        gap: 10px;
    }
}
    
    .course-title {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .course-description {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .featured-articles-grid .course-card-image {
        height: 200px;
    }
    
    .featured-articles-grid .course-card-content {
        padding: 18px;
    }
    
    /* Tablet enroll button responsive - keep inline layout */
    .course-btn,
    .course-card-btn {
        display: inline-flex !important;
        padding: 11px 18px !important;
        font-size: 11px !important;
        letter-spacing: 0.5px !important;
        border-radius: 8px !important;
    }
    
    .course-current-price {
        font-size: 19px !important;
    }
    
    .course-regular-price {
        font-size: 13px !important;
    }
}

/* Responsive Design: Small Mobile (< 480px) */
@media (max-width: 480px) {
    /* Books Grid: Optimized for small mobile screens */
    .books-grid.courses-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 12px;
    }
    
    .books-grid .course-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .books-grid .course-image {
        height: 260px !important;
        border-radius: 12px 12px 0 0;
    }
    
    .books-grid .course-content {
        padding: 16px;
    }
    
    .books-grid .course-title {
        font-size: 17px;
        min-height: auto;
        margin-bottom: 10px;
    }
    
    .books-grid .price-current {
        font-size: 16px;
    }
    
    .books-grid .price-regular {
        font-size: 12px;
    }
    
    .books-grid .btn-buy,
    .books-grid .course-card-btn {
        padding: 7px 14px;
        font-size: 12px;
    }
    
    .books-grid .course-card-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    
    .books-grid .stock-badge {
        font-size: 11px;
        padding: 3px 8px;
    }
}

@media (max-width: 600px) {
    .featured-articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-articles-grid .course-card-image {
        height: 220px;
    }
    
    .featured-articles-grid .course-card-content {
        padding: 16px;
    }
    
    .featured-articles-grid .course-card-title {
        font-size: 17px;
        min-height: 48px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    /* Books Grid: Single column on mobile */
    .books-grid.courses-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0 14px;
    }
    
    .books-grid .course-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .books-grid .course-image {
        height: 280px !important;
    }
    
    .books-grid .course-title {
        font-size: 18px;
        min-height: auto;
        margin-bottom: 12px;
    }
    
    .books-grid .course-content {
        padding: 18px;
    }
    
    .books-grid .price-current {
        font-size: 18px;
    }
    
    .books-grid .btn-buy,
    .books-grid .course-card-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .books-grid .course-card-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }
    
    .books-grid .course-card-price {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .courses-section .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
        gap: 20px;
    }
    
    .courses-category-section {
        padding: 40px 15px;
    }
    
    .courses-section {
        padding: 35px 15px;
        margin-top: 35px;
    }
    
    .section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .course-tabs {
        gap: 6px;
        margin-bottom: 30px;
    }
    
    .course-tab {
        padding: 8px 16px;
        font-size: 13px;
        border-radius: 30px;
    }
    
    .course-card {
        border-radius: 14px;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    }
    
    .course-card:hover {
        transform: translateY(-6px) scale(1.005);
        box-shadow: 0 15px 40px rgba(255, 107, 53, 0.15);
    }
    
    .course-card-image {
        height: 200px;
    }
    
    .course-card-content {
        padding: 20px 16px;
    }
    
    .course-title {
        font-size: 17px;
        margin-bottom: 10px;
        line-height: 1.4;
    }
    
    .course-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .course-meta {
        gap: 12px;
    }
    
    .course-duration,
    .course-type {
        font-size: 12px;
        gap: 6px;
    }
    
    .course-stock-badge {
        padding: 5px 12px;
        font-size: 11px;
    }
    
    /* Mobile responsive enroll button */
    .course-content {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .course-price-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin: 10px 0 12px !important;
    }
    
    .course-btn,
    .course-card-btn {
        display: flex !important;
        width: 100% !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        font-size: 12px !important;
        letter-spacing: 0.5px !important;
        border-radius: 8px !important;
        text-align: center !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        gap: 6px !important;
    }
    
    .course-current-price {
        font-size: 18px !important;
    }
    
    .course-regular-price {
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .courses-category-section {
        padding: 35px 12px;
    }
    
    .courses-section {
        padding: 30px 12px;
        margin-top: 25px;
    }
    
    .courses-container {
        padding: 0 5px;
    }
    
    .section-title {
        font-size: 22px;
        margin: 0 0 10px 0 !important;
        padding-bottom: 8px !important;
    }
    
    .section-title::after {
        width: 70px;
        height: 3px;
        bottom: -12px;
    }
    
    .course-tabs {
        gap: 5px;
        margin-bottom: 30px;
    }
    
    .course-tab {
        padding: 7px 14px;
        font-size: 12px;
    }
    
    .courses-grid {
        gap: 18px;
    }
    
    .course-card {
        border-radius: 12px;
    }
    
    .course-card-image {
        height: 180px;
    }
    
    .course-card-content {
        padding: 18px 14px;
    }
    
    .course-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .course-description {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    
    .course-meta {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .course-duration,
    .course-type {
        font-size: 11px;
        gap: 5px;
    }
    
    .course-duration svg,
    .course-type svg {
        width: 14px;
        height: 14px;
    }
    
    .course-stock-badge {
        padding: 4px 10px;
        font-size: 10px;
        top: 10px;
        right: 10px;
    }
    
    /* Extra small mobile enroll button */
    .course-content {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .course-price-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin: 10px 0 12px !important;
    }
    
    .course-btn,
    .course-card-btn {
        display: flex !important;
        width: 100% !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        font-size: 12px !important;
        letter-spacing: 0.5px !important;
        border-radius: 8px !important;
        font-weight: 700 !important;
        text-align: center !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        gap: 6px !important;
    }
    
    .course-btn:hover {
        transform: translateY(-1px) !important;
    }
    
    .course-current-price {
        font-size: 17px !important;
    }
    
    .course-regular-price {
        font-size: 12px !important;
    }
    
    .course-content {
        padding: 22px 18px !important;
    }
}

/* Why Choose VedicGrace Section */
.why-choose-section {
    padding: 30px 20px;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 50%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-section .section-title {
    color: #1a1a2e;
    text-shadow: none;
    margin: 0 0 10px 0;
    padding-bottom: 25px;
}

.why-choose-section::before,
.why-choose-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

.why-choose-section::before {
    top: -300px;
    left: -200px;
}

.why-choose-section::after {
    bottom: -300px;
    right: -200px;
    animation-delay: 7.5s;
}

.why-choose-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 10px;
    margin-bottom: 0;
}

.why-choose-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 12px;
    row-gap: 8px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.7s ease;
}

.why-choose-card:hover::before {
    left: 100%;
}

.why-choose-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.3);
}

.why-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    background: linear-gradient(135deg, #e63946 0%, #ff6b6b 50%, #ff8555 100%);
    border-radius: 50%;
    margin: 0;
    color: #fff;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
    position: relative;
}

.why-icon svg {
    width: 28px;
    height: 28px;
}

.why-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #ff6b35;
    opacity: 0;
    animation: iconRing 2s ease-out infinite;
}

@keyframes iconRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.why-choose-card:hover .why-icon {
    transform: scale(1.15) rotateY(360deg);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.5);
}

.why-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    flex: 1 1 calc(100% - 64px);
    text-align: left;
    transition: color 0.3s ease;
}

.why-choose-card:hover .why-title {
    color: #ff6b35;
}

.why-description {
    font-size: 14px;
    color: #5a6c7d;
    line-height: 1.6;
    margin: 0;
    flex: 0 0 100%;
    text-align: justify;
}

/* Responsive Why Choose Section */
@media (max-width: 1200px) {
    .why-choose-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 900px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .why-choose-section {
        padding: 30px 20px;
    }
    
    .why-choose-card {
        padding: 20px 18px;
    }
    
    .why-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }
    
    .why-icon svg {
        width: 26px;
        height: 26px;
    }
    
    .why-title {
        flex-basis: calc(100% - 60px);
    }
}

@media (max-width: 600px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .why-choose-section {
        padding: 25px 20px;
    }
    
    .why-choose-card {
        padding: 18px 16px;
    }
    
    .why-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
    
    .why-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .why-title {
        font-size: 15px;
        flex-basis: calc(100% - 56px);
    }
    
    .why-description {
        font-size: 13px;
    }
}

/* Latest Articles Section */
.latest-articles-section {
    padding: 10px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f1e 100%);
    position: relative;
    overflow: visible;
}

.latest-articles-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 107, 53, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

.latest-articles-container {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.latest-articles-section h2 {
    color: #fff;
    text-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Articles Header with Controls */
.articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.scroll-controls {
    display: flex;
    gap: 12px;
}

.scroll-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-btn:hover {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.8), rgba(255, 107, 53, 0.8));
    border-color: rgba(255, 107, 53, 0.8);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.scroll-btn:active {
    transform: scale(0.95);
}

.scroll-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Horizontal Scroll Wrapper */
.articles-scroll-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
    padding: 0;
}

/* Latest Articles Grid - Horizontal Scroller */
.latest-articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 10px;
}

.article-card {
    background: #ffffff;
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 480px;
    scroll-snap-align: start;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, rgba(230, 57, 70, 0.9), rgba(255, 107, 53, 0.9));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.article-card:hover {
    transform: translateY(0);
    box-shadow: 0 25px 70px rgba(255, 107, 53, 0.5);
    border-color: rgba(255, 107, 53, 0.5);
}

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

.article-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    flex-shrink: 0;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.article-date {
    color: rgba(255, 107, 53, 0.9);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    padding: 0 30px;
    margin-top: 25px;
}

.article-title {
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    padding: 0 30px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 75px;
}

.article-categories {
    color: #333333;
    font-size: 13px;
    margin-bottom: 10px;
    padding: 0 30px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-author {
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    padding: 0 30px;
    margin-bottom: 15px;
    margin-top: auto;
}

.article-read-more {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 30px;
    margin: 0 30px 30px;
    border-radius: 25px;
    background: linear-gradient(135deg, #e63946, #ff6b35);
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.article-read-more:hover {
    background: linear-gradient(135deg, #e63946, #ff6b35);
    border-color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* View More Articles Button */
.view-more-articles-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.view-more-articles-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #e63946 0%, #ff6b35 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
}

.view-more-articles-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(230, 57, 70, 0.4);
    background: linear-gradient(135deg, #ff6b35 0%, #e63946 100%);
}

.view-more-articles-btn svg {
    transition: transform 0.3s ease;
}

.view-more-articles-btn:hover svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1200px) {
    .latest-articles-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .latest-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .articles-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .latest-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-card {
        height: auto;
    }
    
    .latest-articles-section {
        padding: 25px 20px;
    }
}

.articles-table-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 0;
    margin-top: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: none;
    overflow: hidden;
}

.articles-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.articles-table thead {
    background: transparent;
    position: relative;
}

.articles-table thead::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.9) 0%, rgba(255, 107, 53, 0.9) 100%);
    border-radius: 19px 19px 0 0;
    z-index: 0;
}

.articles-table thead tr th:first-child {
    border-top-left-radius: 19px;
}

.articles-table thead tr th:last-child {
    border-top-right-radius: 19px;
}

.articles-table thead th {
    padding: 25px 40px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.articles-table tbody tr {
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.articles-table tbody tr::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #e63946, #ff6b35);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.articles-table tbody tr:hover::before {
    transform: scaleY(1);
}

.articles-table tbody tr:hover {
    background: rgba(255, 107, 53, 0.08);
    transform: translateX(8px);
    box-shadow: -4px 0 15px rgba(255, 107, 53, 0.2);
}

.articles-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}

.articles-table tbody tr:nth-child(even):hover {
    background: rgba(255, 107, 53, 0.08);
}

.articles-table tbody tr:last-child {
    border-bottom: none;
}

.articles-table tbody td {
    padding: 22px 40px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    border: none;
    transition: color 0.3s ease;
}

.articles-table tbody tr:first-child td {
    padding-top: 30px;
}

.articles-table tbody tr:last-child td {
    padding-bottom: 40px;
}

.articles-table tbody tr:hover td {
    color: #ffffff;
}

.articles-table tbody td:first-child {
    font-weight: 600;
    color: #ff8555;
}

.latest-articles-table thead th:nth-child(1),
.latest-articles-table tbody td:nth-child(1) {
    width: 150px;
}

.latest-articles-table thead th:nth-child(2),
.latest-articles-table tbody td:nth-child(2) {
    width: auto;
}

.latest-articles-table thead th:nth-child(3),
.latest-articles-table tbody td:nth-child(3) {
    width: 300px;
}

.latest-articles-table thead th:nth-child(4),
.latest-articles-table tbody td:nth-child(4) {
    width: 200px;
}

.latest-articles-table tbody td:nth-child(1) {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.latest-articles-table tbody td:nth-child(3) {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.latest-articles-table tbody td:nth-child(4) {
    color: #fff;
    font-weight: 500;
}

.latest-articles-table tbody td:nth-child(4) {
    color: #fff;
    font-weight: 500;
}

/* Other Articles Section */
.other-articles-section {
    padding: 80px 20px;
    background: #f5f5f5;
}

.other-articles-container {
    max-width: 1200px;
    margin: 0 auto;
}

.other-articles-section h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 40px 0;
    color: #333;
}

.simple-table-wrapper {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.simple-articles-table {
    width: 100%;
    border-collapse: collapse;
}

.simple-articles-table thead {
    background: linear-gradient(90deg, #f04e30 0%, #ff7849 100%);
}

.simple-articles-table thead th {
    padding: 18px 25px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.simple-articles-table thead th:first-child {
    width: 100px;
}

.simple-articles-table thead th:last-child {
    width: 180px;
    text-align: center;
}

.simple-articles-table tbody tr {
    border-bottom: 1px solid #e8e8e8;
    transition: background-color 0.2s ease;
}

.simple-articles-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.simple-articles-table tbody tr:hover {
    background: #f0f0f0;
}

.simple-articles-table tbody tr:last-child {
    border-bottom: none;
}

.simple-articles-table tbody td {
    padding: 16px 25px;
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

.simple-articles-table tbody td:first-child {
    width: 100px;
    font-weight: 600;
    color: #333;
}

.simple-articles-table tbody td:last-child {
    width: 180px;
    text-align: center;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.simple-articles-table tbody td:last-child:hover {
    color: #ff6b35;
}

/* Responsive */
@media (max-width: 900px) {
    .other-articles-section {
        padding: 60px 15px;
    }
    
    .other-articles-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .simple-table-wrapper {
        overflow-x: auto;
    }
    
    .simple-articles-table {
        min-width: 600px;
    }
    
    .simple-articles-table thead th,
    .simple-articles-table tbody td {
        padding: 12px 15px;
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .other-articles-section {
        padding: 40px 10px;
    }
    
    .section-title-dark {
        font-size: 22px;
    }
    
    .articles-table {
        min-width: 500px;
    }
    
    .articles-table thead th,
    .articles-table tbody td {
        padding: 10px 12px;
        font-size: 12px;
    }
}

/* Testimonials Section - Words Have Power */
.testimonials-section {
    padding: 30px 20px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 50%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section .section-title {
    color: #1a1a2e;
    text-shadow: none;
    margin: 0 0 10px 0;
    padding-bottom: 25px;
}

.section-subtitle {
    text-align: center;
    font-size: 17px;
    color: #666;
    margin: 0 auto 16px;
    line-height: 1.6;
}

.testimonial-read-more {
    color: #e63946;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.testimonial-read-more:hover {
    color: #ff6b35;
    text-decoration: underline;
}

.view-all-testimonials-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    background: linear-gradient(135deg, #e63946, #ff6b35);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
    border: 2px solid transparent;
}

.view-all-testimonials-btn:hover {
    background: #fff;
    color: #e63946;
    border-color: #e63946;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(230, 57, 70, 0.4);
}

.view-all-testimonials-btn svg {
    transition: transform 0.3s ease;
}

.view-all-testimonials-btn:hover svg {
    transform: translateX(5px);
}

/* Button wrapper margin override */
.testimonials-section > div > div[style*="text-align: center"] {
    margin-top: 25px !important;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.05) 2px, transparent 2px);
    background-size: 50px 50px;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.testimonials-slider {
    position: relative;
    margin-top: 10px;
    overflow: hidden;
    padding: 20px 80px 30px;
}

.testimonials-track {
    display: flex;
    gap: 35px;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: visible;
}

.testimonial-card {
    flex: 0 0 calc(25% - 26.25px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 22px 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.8);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.testimonial-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    flex-wrap: wrap;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 180px;
    font-family: Georgia, serif;
    color: rgba(255, 107, 53, 0.06);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.3);
    z-index: 10;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    margin: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(135deg, #e63946, #ff6b35) border-box;
    position: relative;
    transition: all 0.5s ease;
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

.testimonial-avatar::before {
    content: '';
    position: absolute;
    width: 110%;
    height: 110%;
    top: -5%;
    left: -5%;
    border-radius: 50%;
    border: 2px dashed #ff6b35;
    animation: rotate 10s linear infinite;
}

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

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.testimonial-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    text-align: left;
    line-height: 1.3;
    position: relative;
    white-space: nowrap;
}

.testimonial-name::after {
    display: none;
}

.testimonial-location {
    font-size: 12px;
    color: #888;
    margin: 0;
    font-style: italic;
    text-align: left;
    white-space: nowrap;
}

.testimonial-location::before {
    content: '• ';
    color: #ccc;
}

.testimonial-text {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
    text-align: justify;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e63946, #ff6b35);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10;
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

.slider-arrow:hover:not(:disabled) {
    background: linear-gradient(135deg, #d63031, #e63946);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(230, 57, 70, 0.5);
}

.slider-arrow:disabled {
    background: linear-gradient(135deg, #ccc, #ddd);
    cursor: not-allowed;
    opacity: 0.5;
    transform: translateY(-50%);
}

.slider-arrow-left {
    left: 0;
}

.slider-arrow-right {
    right: 0;
}

/* Responsive Testimonials */
@media (max-width: 1200px) {
    .testimonial-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
        min-height: 260px;
    }
    
    .testimonial-top {
        gap: 10px;
    }
    
    .testimonials-slider {
        padding: 0 50px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 25px 20px;
        padding-bottom: 15px;
    }
    
    .testimonial-card {
        flex: 0 0 100%;
        min-height: 260px;
        padding: 18px 16px;
    }
    
    .testimonial-top {
        gap: 10px;
    }
    
    .testimonial-header {
        gap: 5px;
    }
    
    .testimonial-avatar {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }
    
    .testimonial-name {
        font-size: 15px;
    }
    
    .testimonial-location {
        margin: 0;
        font-size: 11px;
    }
    
    .testimonials-slider {
        padding: 0 45px;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
    }
    
    .slider-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    /* Reduce gap between cards and button */
    .testimonials-section > div > div[style*="text-align: center"] {
        margin-top: 15px !important;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 25px 15px;
        padding-bottom: 10px;
    }
    
    .testimonials-slider {
        padding: 0 40px;
    }
    
    .testimonial-card {
        padding: 16px 14px;
        min-height: 240px;
    }
    
    .testimonial-top {
        gap: 8px;
    }
    
    .testimonial-header {
        gap: 4px;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
    }
    
    .testimonial-name {
        font-size: 14px;
    }
    
    .testimonial-location {
        font-size: 11px;
        margin: 0;
    }
    
    .testimonial-text {
        font-size: 13px;
    }
    
    /* Further reduce gap between cards and button on small mobile */
    .testimonials-section > div > div[style*="text-align: center"] {
        margin-top: 10px !important;
    }
}

/* Footer Styles */
.site-footer {
    background: #2c2c2c;
    color: #fff;
    margin: 0;
    padding: 0;
}

.footer-main {
    background: #2c2c2c;
    padding: 25px 20px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.footer-column {
    flex: 1;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px 0;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #3a3a3a;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #ff5722;
    transform: translateY(-3px);
}

/* Join Button */
.join-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #ff6b35 0%, #ff8c5a 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.join-button:hover {
    background: linear-gradient(90deg, #ff8c5a 0%, #ff6b35 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #4a4a4a;
    border-radius: 4px;
    background: #3a3a3a;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-input:focus {
    border-color: #ff5722;
}

.newsletter-submit {
    width: 45px;
    height: 45px;
    background: #ff5722;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.newsletter-submit:hover {
    background: #e64a19;
}

/* Footer Links Section */
.footer-links {
    background: #1f1f1f;
    padding: 25px 20px;
    padding-bottom: 100px;
}

.footer-links .footer-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-links-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
}

.footer-links-title {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.footer-links-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    line-height: 1.8;
    color: #999;
    font-size: 15px;
}

.footer-links-inline a {
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.footer-links-inline a:hover {
    color: #ff5722;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 5px;
}

.footer-menu a {
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-menu a:hover {
    color: #ff5722;
    padding-left: 5px;
}

.footer-courses-menu {
    column-gap: 30px;
}

.footer-courses-menu li {
    break-inside: avoid;
}

/* Footer Bottom */
.footer-bottom {
    background: #1a1a1a;
    padding: 5px 20px;
    border-top: 1px solid #333;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-contact {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ccc;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}

.footer-contact-item:hover {
    color: #ff5722;
}

.footer-contact-item svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.footer-phone,
.footer-whatsapp-number {
    font-weight: 700 !important;
}

.footer-copyright-inline .footer-text {
    font-size: 13px !important;
    color: #888 !important;
}

.footer-legal-inline {
    gap: 0 !important;
}

.footer-legal-inline a {
    font-size: 13px;
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-inline a:hover {
    color: #ff5722;
}

.footer-copyright {
    color: #999;
    font-size: 12px;
    width: 100%;
    text-align: center;
    display: block;
}

.footer-copyright p {
    margin: 0;
    text-align: center;
    display: block;
    width: 100%;
}

/* Footer Legal Section - Below Sticky Footer - REMOVED - Now merged into sticky footer */

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-links .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-courses-column {
        grid-column: span 2;
    }
    
    .footer-courses-menu {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-main {
        padding: 10px;
    }
    
    .footer-links {
        padding: 20px;
    }
    
    .footer-links .footer-container {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .footer-courses-column {
        grid-column: span 1;
    }
    
    .footer-courses-menu {
        column-count: 1;
    }
    
    .footer-contact {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px 10px;
        justify-items: center;
        width: 100% !important;
    }
    
    .footer-contact-item {
        display: flex;
        width: auto;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 10px 15px;
    }
    
    .footer-links {
        padding: 20px 15px;
    }
    
    .footer-bottom {
        padding: 15px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .join-button {
        width: 100%;
        justify-content: center;
    }
}

/* ====================================
   MOBILE RESPONSIVE HEADER STYLES
   ==================================== */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1002;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

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

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

/* Tablet & Mobile Responsive Styles */
@media (max-width: 1200px) {
    .top-header-container,
    .main-header-container {
        padding: 0 20px;
    }
    
    .header-search {
        max-width: 400px;
    }
    
    .main-navigation {
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .top-header {
        background: linear-gradient(90deg, #5c2e2e 0%, #7d4545 40%, #ff6b35 80%, #ff8555 100%);
        padding: 10px 0;
    }
    
    .top-header-left,
    .top-header-right {
        gap: 15px;
    }
    
    .header-link {
        font-size: 12px;
    }
    
    .main-header {
        padding: 15px 0;
    }
    
    .header-search {
        max-width: 300px;
    }
    
    .courses-dropdown-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .search-field {
        padding: 10px 40px 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 900px) {
    /* Mobile header layout - EXACT MATCH TO LOCALHOST */
    .main-header-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
        padding: 10px 15px !important;
    }
    
    /* Toggle Button - LEFT SIDE */
    .mobile-menu-toggle {
        display: flex !important;
        order: 1 !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        position: relative !important;
        z-index: 1002 !important;
        margin: 0 !important;
        width: 30px !important;
        height: 24px !important;
    }
    
    /* Logo - CENTER */
    .site-logo {
        order: 2 !important;
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
        text-align: center !important;
        margin: 0 auto !important;
    }
    
    .site-logo img {
        max-height: 40px !important;
        width: auto !important;
    }
    
    /* Search Box - RIGHT SIDE with proper width */
    .header-search {
        order: 3 !important;
        flex: 1 !important;
        max-width: 200px !important;
        min-width: 150px !important;
        margin-left: auto !important;
    }
    
    .search-form {
        width: 100% !important;
        position: relative !important;
    }
    
    .search-field {
        font-size: 12px !important;
        padding: 8px 40px 8px 12px !important;
        width: 100% !important;
        border: 1px solid #ddd !important;
        border-radius: 4px !important;
        background: #fff !important;
    }
    
    /* Orange Search Icon Background */
    .search-submit {
        position: absolute !important;
        right: 2px !important;
        top: 2px !important;
        bottom: 2px !important;
        background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%) !important;
        border: none !important;
        padding: 0 12px !important;
        border-radius: 0 2px 2px 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
    }
    
    .search-submit:hover {
        background: linear-gradient(135deg, #e55a2b 0%, #ff6b35 100%) !important;
    }
    
    .search-submit svg {
        width: 18px !important;
        height: 18px !important;
        color: #fff !important;
        stroke: #fff !important;
    }
    
    /* Hide desktop navigation */
    .main-navigation {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 300px !important;
        height: 100vh !important;
        background: #ffffff !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 80px 30px 30px !important;
        gap: 0 !important;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15) !important;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
        z-index: 1001 !important;
        overflow-y: auto !important;
        pointer-events: auto !important;
    }
    
    .main-navigation.active {
        right: 0 !important;
    }
    
    .main-navigation .nav-link {
        width: 100% !important;
        padding: 15px 20px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
        border-radius: 0 !important;
        margin-bottom: 0 !important;
        font-size: 16px !important;
        transition: all 0.3s ease !important;
        background: transparent !important;
    }
    
    .main-navigation .nav-link::before {
        display: none !important;
    }
    
    .main-navigation .nav-link:hover {
        background: linear-gradient(90deg, rgba(255, 107, 53, 0.1) 0%, transparent 100%) !important;
        padding-left: 30px !important;
        color: #ff6b35 !important;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex !important;
        position: relative !important;
        z-index: 1002 !important;
    }
    
    /* Ensure toggle button is always visible and clickable */
    .mobile-menu-toggle.active {
        position: relative;
        z-index: 1002;
    }
    
    .header-search {
        flex: 1;
        max-width: none;
        min-width: 0;
    }
    
    .search-form {
        width: 100%;
    }
    
    .search-field {
        border-radius: 4px;
        padding-left: 15px;
        padding-right: 50px;
    }
    
    .search-submit {
        right: 2px;
        top: 2px;
        bottom: 2px;
        border-radius: 0 2px 2px 0;
    }
}

@media (max-width: 768px) {
    .top-header {
        background: linear-gradient(90deg, #5c2e2e 0%, #7d4545 40%, #ff6b35 80%, #ff8555 100%) !important;
        font-size: 11px !important;
        padding: 8px 0 !important;
    }
    
    .top-header-container {
        flex-direction: column !important;
        gap: 8px !important;
        padding: 8px 10px !important;
    }
    
    .top-header-left,
    .top-header-right {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
    }
    
    .header-link,
    .currency-switcher {
        font-size: 9px !important;
        gap: 3px !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    .header-icon {
        width: 11px !important;
        height: 11px !important;
    }
    
    .main-header {
        padding: 12px 0 !important;
    }
    
    .main-header-container {
        display: flex !important;
        padding: 10px 15px !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    /* Toggle on LEFT */
    .mobile-menu-toggle {
        display: flex !important;
        order: 1 !important;
        flex: 0 0 30px !important;
    }
    
    /* Logo in CENTER */
    .site-logo {
        order: 2 !important;
        flex: 0 0 auto !important;
        margin: 0 auto !important;
    }
    
    .site-logo img {
        max-height: 40px !important;
    }
    
    /* Search on RIGHT */
    .header-search {
        order: 3 !important;
        flex: 1 !important;
        max-width: 180px !important;
        min-width: 140px !important;
        margin-left: auto !important;
    }
    
    .search-form {
        width: 100% !important;
    }
    
    .search-field {
        width: 100% !important;
        padding: 8px 40px 8px 10px !important;
        font-size: 12px !important;
        border-radius: 4px !important;
    }
    
    .search-submit {
        right: 2px !important;
        top: 2px !important;
        bottom: 2px !important;
        background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%) !important;
        border-radius: 0 2px 2px 0 !important;
        padding: 0 12px !important;
    }
    
    .search-submit svg {
        color: #fff !important;
        stroke: #fff !important;
    }
    
    .search-dropdown-wrapper {
        width: 100%;
    }
    
    .courses-dropdown-btn {
        width: 100%;
        border-radius: 25px;
        border-right: 2px solid #e8e8e8;
    }
    
    .search-form {
        width: 100%;
    }
    
    .search-field {
        border-radius: 4px;
        padding-right: 50px;
    }
    
    .search-submit {
        right: 2px;
        top: 2px;
        bottom: 2px;
        border-radius: 0 2px 2px 0;
        padding: 0 14px;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        order: 1 !important;
        position: relative !important;
        z-index: 1002 !important;
    }
    
    .main-navigation {
        width: 280px !important;
        padding: 70px 20px 20px !important;
        background: #ffffff !important;
    }
}

@media (max-width: 480px) {
    .top-header {
        background: linear-gradient(90deg, #5c2e2e 0%, #7d4545 40%, #ff6b35 80%, #ff8555 100%);
    }
    
    .top-header-left,
    .top-header-right {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .header-link {
        font-size: 10px;
    }
    
    .site-logo img {
        max-height: 35px;
    }
    
    .search-field {
        font-size: 12px;
        padding: 8px 45px 8px 12px;
        border-radius: 4px;
    }
    
    .search-submit {
        right: 2px !important;
        top: 2px !important;
        bottom: 2px !important;
        background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%) !important;
        border-radius: 0 2px 2px 0 !important;
        padding: 0 10px !important;
    }
    
    .search-submit svg {
        width: 16px !important;
        color: #fff !important;
        stroke: #fff !important;
      obile-menu-toggle {
        display: flex !important;
        order: 1 !important;
    }
    
    .main-navigation {
        width: 100% !important;
        padding: 60px 15px 15px !important;
        background: #ffffff !important;
    }
    
    .main-navigation .nav-link {
        padding: 12px 15px !important;
        font-size: 15px !important;
        background: transparent !important;
    }

    .mobile-menu-toggle {
        width: 26px;
        height: 20px;
    }
    
    .mobile-menu-toggle span {
        height: 2.5px;
    }
}

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

/* Ensure menu is above other content */
#site-header {
    position: relative;
    z-index: 999;
}

/* ====================================
   HERO SECTION MOBILE RESPONSIVE
   ==================================== */

@media (max-width: 1200px) {
    .hero-container {
        gap: 40px;
        padding: 0 20px;
        max-width: 1440px;
        box-sizing: border-box;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
}

/* Tablet - Large (1024px and below) */
@media (max-width: 1024px) {
    .hero-section {
        min-height: 450px !important;
        height: 450px !important;
        max-height: 450px !important;
    }
    
    .hero-carousel,
    .carousel-slide {
        min-height: 450px !important;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 0 20px;
        max-width: 1440px;
        box-sizing: border-box;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .hero-badges {
        display: flex;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .hero-image {
        min-height: 400px;
        order: -1;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .visual-showcase {
        height: 400px;
    }
    
    .holographic-display {
        width: 180px;
        height: 180px;
    }
    
    .ring-1 {
        width: 170px;
        height: 170px;
    }
    
    .ring-2 {
        width: 130px;
        height: 130px;
    }
    
    .ring-3 {
        width: 90px;
        height: 90px;
    }
    
    .holo-center {
        width: 70px;
        height: 70px;
    }
    
    .holo-center svg {
        width: 45px;
        height: 45px;
    }
}

/* Tablet - Small and Mobile (768px and below) */
@media (max-width: 768px) {
    .hero-section {
        min-height: 350px !important;
        height: 350px !important;
        max-height: 350px !important;
    }
    
    .hero-carousel,
    .carousel-slide {
        min-height: 350px !important;
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .hero-button {
        padding: 14px 32px;
        font-size: 14px;
    }
    
    .hero-badges {
        margin-bottom: 20px;
    }
    
    .badge {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .badge svg {
        width: 14px;
        height: 14px;
    }
    
    .hero-image {
        min-height: 350px;
        padding: 10px;
    }
    
    .visual-showcase {
        height: 350px;
    }
    
    .holographic-display {
        width: 150px;
        height: 150px;
    }
    
    .ring-1 {
        width: 140px;
        height: 140px;
    }
    
    .ring-2 {
        width: 110px;
        height: 110px;
    }
    
    .ring-3 {
        width: 80px;
        height: 80px;
    }
    
    .holo-center {
        width: 60px;
        height: 60px;
    }
    
    .holo-center svg {
        width: 40px;
        height: 40px;
    }
    
    .floating-shape {
        display: none;
    }
    
    .floating-badge {
        display: none;
    }
    
    .mini-stat-card {
        padding: 10px 14px;
        font-size: 11px;
    }
    
    .mini-stat-icon {
        font-size: 16px;
    }
    
    .mini-stat-text {
        font-size: 11px;
    }
    
    .stat-card-1 {
        top: 10%;
        right: 5%;
    }
    
    .stat-card-2 {
        bottom: 10%;
        left: 5%;
    }
    
    .carousel-indicators {
        bottom: 20px;
        gap: 8px;
    }
    
    .indicator {
        width: 30px;
        height: 5px;
    }
    
    .indicator.active {
        width: 40px;
    }
}

/* Mobile - Small (480px and below) */
@media (max-width: 480px) {
    .hero-section {
        min-height: 280px !important;
        height: 280px !important;
        max-height: 280px !important;
    }
    
    .hero-carousel,
    .carousel-slide {
        min-height: 280px !important;
    }
    
    .carousel-indicators {
        bottom: 12px;
    }
    
    .indicator {
        width: 20px;
        height: 3px;
    }
    
    .hero-title {
        font-size: 26px;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 18px;
    }
    
    .hero-button {
        padding: 12px 28px;
        font-size: 13px;
    }
    
    .badge {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .badge svg {
        width: 12px;
        height: 12px;
    }
    
    .hero-image {
        min-height: 280px;
    }
    
    .visual-showcase {
        height: 280px;
    }
    
    .holographic-display {
        width: 120px;
        height: 120px;
    }
    
    .ring-1 {
        width: 110px;
        height: 110px;
    }
    
    .ring-2 {
        width: 85px;
        height: 85px;
    }
    
    .ring-3 {
        width: 60px;
        height: 60px;
    }
    
    .holo-center {
        width: 50px;
        height: 50px;
    }
    
    .holo-center svg {
        width: 30px;
        height: 30px;
    }
    
    .mini-stat-card {
        padding: 8px 12px;
        font-size: 10px;
    }
    
    .mini-stat-icon {
        font-size: 14px;
    }
    
    .mini-stat-text {
        font-size: 10px;
    }
    
    .particle-field,
    .energy-waves {
        display: none;
    }
    
    .carousel-indicators {
        bottom: 15px;
        gap: 6px;
    }
    
    .indicator {
        width: 25px;
        height: 4px;
    }
    
    .indicator.active {
        width: 35px;
    }
}

/* ====================================
   MISSION SECTION MOBILE RESPONSIVE
   ==================================== */

@media (max-width: 1200px) {
    .mission-container {
        gap: 40px;
    }
    
    .mission-content h2 {
        font-size: 36px;
    }
    
    .mission-content p {
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .mission-section {
        padding: 60px 20px;
    }
    
    .mission-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mission-content {
        text-align: center;
    }
    
    .mission-content h2 {
        font-size: 32px;
    }
    
    .mission-content p {
        font-size: 15px;
        line-height: 1.0;
    }
    
    .mission-badges {
        justify-content: center;
    }
    
    .mission-image {
        min-height: 150px;
    }
    
    .tech-showcase {
        height: 150px;
    }
    
    .central-orb {
        width: 160px;
        height: 160px;
    }
    
    .orbit-ring {
        width: 200px;
        height: 200px;
    }
    
    .tech-icon {
        width: 50px;
        height: 50px;
    }
    
    .tech-icon svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 768px) {
    .mission-section {
        padding: 25px 15px;
    }
    
    .mission-container {
        gap: 15px;
        flex-direction: row;
        align-items: center;
        text-align: left;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .mission-icon {
        width: 45px;
        height: 45px;
    }
    
    .mission-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .mission-text {
        font-size: 15px;
        flex: 1 1 auto;
        text-align: left;
    }
    
    .mission-number {
        font-size: 18px;
    }
    
    .mission-stats {
        padding: 12px 20px;
        gap: 12px;
        width: fit-content;
        max-width: 350px;
        justify-content: center;
        flex-basis: 100%;
    }
    
    .mission-content h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .mission-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .mission-badge {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .mission-badge svg {
        width: 18px;
        height: 18px;
    }
    
    .badge-icon {
        width: 32px;
        height: 32px;
    }
    
    .badge-text {
        gap: 2px;
    }
    
    .badge-title {
        font-size: 13px;
    }
    
    .badge-subtitle {
        font-size: 10px;
    }
    
    .mission-image {
        min-height: 300px;
        padding: 10px;
    }
    
    .tech-showcase {
        height: 300px;
    }
    
    .central-orb {
        width: 130px;
        height: 130px;
    }
    
    .orbit-ring {
        width: 170px;
        height: 170px;
    }
    
    .tech-icon {
        width: 42px;
        height: 42px;
    }
    
    .tech-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .floating-particle {
        display: none;
    }
    
    .data-stream {
        opacity: 0.3;
    }
}

@media (max-width: 480px) {
    .mission-section {
        padding: 20px 10px;
    }
    
    .mission-container {
        display: grid;
        grid-template-columns: 26px minmax(0, 1fr);
        grid-template-areas:
            "icon text"
            "stats stats";
        column-gap: 6px;
        row-gap: 8px;
        align-items: center;
        justify-content: stretch;
    }
    
    .mission-icon {
        width: 26px;
        height: 26px;
        grid-area: icon;
    }
    
    .mission-icon svg {
        width: 12px;
        height: 12px;
    }
    
    .mission-text {
        font-size: 9px;
        text-align: left;
        grid-area: text;
        line-height: 1.1;
        letter-spacing: 0;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mission-number {
        font-size: 11px;
    }
    
    .mission-year {
        font-size: 11px;
    }
    
    .mission-stats {
        grid-area: stats;
        padding: 10px 15px;
        gap: 10px;
        flex: 0 0 100%;
        justify-content: center;
        justify-self: center;
        margin: 0 auto;
        max-width: 300px;
        width: fit-content;
    }
    
    .stat-avatar {
        width: 32px;
        height: 32px;
        border-width: 2px;
    }
    
    .counter-item {
        font-size: 16px;
        padding: 4px 8px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .mission-content h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .mission-content p {
        font-size: 13px;
        margin-bottom: 18px;
        line-height: 1.6;
    }
    
    .mission-badges {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .mission-badge {
        padding: 10px 16px;
        font-size: 12px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .badge-icon {
        width: 28px;
        height: 28px;
    }
    
    .mission-badge svg {
        width: 16px;
        height: 16px;
    }
    
    .badge-title {
        font-size: 12px;
    }
    
    .badge-subtitle {
        font-size: 9px;
    }
    
    .mission-image {
        min-height: 250px;
    }
    
    .tech-showcase {
        height: 250px;
    }
    
    .central-orb {
        width: 100px;
        height: 100px;
    }
    
    .orbit-ring {
        width: 140px;
        height: 140px;
    }
    
    .tech-icon {
        width: 36px;
        height: 36px;
    }
    
    .tech-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .data-stream {
        display: none;
    }
}

/* ====================================
   STATISTICS SECTION MOBILE RESPONSIVE
   ==================================== */

@media (max-width: 1200px) {
    .stats-container {
        gap: 30px;
    }
    
    .stat-card {
        padding: 25px;
    }
}

@media (max-width: 1024px) {
    .stats-section {
        padding: 60px 20px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-avatars img {
        width: 35px;
        height: 35px;
    }
    
    .counter-item {
        width: 32px;
        height: 36px;
        font-size: 16px;
    }
    
    .stat-label {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 25px 15px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-avatars {
        gap: -8px;
        margin-bottom: 12px;
    }
    
    .stat-avatars img {
        width: 32px;
        height: 32px;
    }
    
    .stat-counter {
        gap: 6px;
        margin-bottom: 8px;
    }
    
    .counter-item {
        width: 28px;
        height: 32px;
        font-size: 14px;
        border-radius: 6px;
    }
    
    .stat-label {
        font-size: 12px;
        letter-spacing: 0.5px;
        word-wrap: break-word;
        white-space: normal;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .stats-section {
        padding: 30px 10px;
    }
    
    .stats-container {
        gap: 15px;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .stat-avatars {
        margin-bottom: 10px;
    }
    
    .stat-avatars img {
        width: 28px;
        height: 28px;
        border-width: 2px;
    }
    
    .stat-counter {
        gap: 4px;
        margin-bottom: 6px;
    }
    
    .counter-item {
        width: 24px;
        height: 28px;
        font-size: 12px;
        border-radius: 5px;
    }
    
    .stat-label {
        font-size: 11px;
        letter-spacing: 0.3px;
        word-wrap: break-word;
        white-space: normal;
        max-width: 100%;
        overflow-wrap: break-word;
    }
}

/* ====================================
   OTHER ARTICLES SECTION - IMPROVED MOBILE RESPONSIVE
   ==================================== */

@media (max-width: 1024px) {
    .other-articles-section {
        padding: 60px 20px;
    }
    
    .other-articles-container {
        max-width: 100%;
    }
    
    .other-articles-section h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .other-articles-section {
        padding: 40px 15px;
    }
    
    .other-articles-section h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .simple-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .simple-articles-table {
        min-width: 650px;
        font-size: 13px;
    }
    
    .simple-articles-table thead th {
        padding: 14px 18px;
        font-size: 12px;
        white-space: nowrap;
    }
    
    .simple-articles-table tbody td {
        padding: 12px 18px;
        font-size: 13px;
    }
    
    .simple-articles-table thead th:first-child,
    .simple-articles-table tbody td:first-child {
        width: 70px;
        padding-left: 15px;
    }
    
    .simple-articles-table thead th:last-child,
    .simple-articles-table tbody td:last-child {
        width: 120px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .other-articles-section {
        padding: 30px 10px;
    }
    
    .other-articles-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .simple-table-wrapper {
        border-radius: 6px;
        margin: 0 -10px;
        width: calc(100% + 20px);
    }
    
    .simple-articles-table {
        min-width: 600px;
        font-size: 12px;
    }
    
    .simple-articles-table thead th {
        padding: 12px 12px;
        font-size: 11px;
    }
    
    .simple-articles-table tbody td {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .simple-articles-table thead th:first-child,
    .simple-articles-table tbody td:first-child {
        width: 60px;
        padding-left: 12px;
    }
    
    .simple-articles-table thead th:last-child,
    .simple-articles-table tbody td:last-child {
        width: 100px;
        padding-right: 12px;
        font-size: 11px;
    }
}

/* ====================================
   FIX HORIZONTAL SCROLLING ISSUE - PREVENT OVERFLOW
   ==================================== */

/* Prevent horizontal scrolling on all devices */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    position: relative;
}

/* Ensure all containers respect viewport width */
@media (max-width: 1024px) {
    * {
        max-width: 100%;
    }
    
    .hero-container,
    .mission-container,
    .stats-container,
    .courses-category-container,
    .courses-section,
    .why-choose-container,
    .testimonials-container,
    .other-articles-container,
    .site-footer {
        overflow-x: hidden;
        max-height: none;
    }
    
    .footer-links {
        max-height: none;
        overflow: visible;
    }
    
    .footer-links-inline {
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 768px) {
    /* Fix any containers that extend beyond viewport */
    section {
        overflow-x: hidden;
    }
    
    .hero-section,
    .mission-section,
    .stats-section,
    .courses-category-section,
    .courses-section,
    .why-choose-section,
    .testimonials-section,
    .other-articles-section {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Ensure containers have proper padding instead of extending */
    .hero-container,
    .mission-container,
    .courses-category-container,
    .why-choose-container,
    .testimonials-container,
    .other-articles-container {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    /* Extra small screens - ensure no horizontal overflow */
    * {
        box-sizing: border-box;
    }
    
    section {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Specifically target table wrapper to prevent overflow */
    .simple-table-wrapper {
        max-width: 100vw;
    }
}

/* ====================================
   FOOTER COPYRIGHT SECTION
   ==================================== */

.footer-copyright {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-bottom {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        transform: none !important;
    }
    
    .footer-contact {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px 8px;
        justify-items: center;
    }
    
    .footer-copyright {
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .footer-copyright p {
        font-size: 11px;
    }
}

/* ====================================
   FOOTER MOBILE RESPONSIVE STYLES
   ==================================== */

@media (max-width: 1200px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-links-column {
        margin-bottom: 20px;
    }
}

@media (max-width: 1024px) {
    .footer-main {
        padding: 25px 20px;
    }
    
    .footer-links {
        padding: 25px 20px;
    }
    
    .footer-bottom {
        padding: 20px;
    }
    
    .footer-container {
        gap: 20px;
    }
    
    .footer-title,
    .footer-links-title {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 10px 15px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-column {
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .newsletter-form {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .footer-links {
        padding: 10px 15px;
    }
    
    .footer-links .footer-container {
        gap: 15px;
    }
    
    .footer-links-row {
        text-align: left;
        margin-bottom: 3px;
        padding-bottom: 0;
    }
    
    .footer-links-title {
        font-size: 16px;
        margin-bottom: 2px;
    }
    
    .footer-links-inline {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .footer-links-inline a {
        font-size: 14px;
    }
    
    .footer-bottom {
        padding: 8px 15px;
        bottom: 38px;
    }
    
    .footer-bottom-container {
        flex-direction: row;
        gap: 0;
        text-align: center;
        justify-content: center;
    }
    
    .footer-contact {
        display: flex !important;
        flex-direction: row !important;
        gap: 0 !important;
        justify-content: space-evenly !important;
        width: 100% !important;
    }
    
    .footer-contact-center {
        display: contents !important;
    }
    
    /* Hide phone and availability on mobile */
    .footer-phone-link,
    .footer-availability {
        display: none !important;
    }
    
    /* Show only Request Call, WhatsApp, Live Chat */
    .footer-callback-link,
    .footer-whatsapp-link,
    .footer-livechat-link {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 8px 10px !important;
    }
    
    .footer-callback-link svg,
    .footer-whatsapp-link svg,
    .footer-livechat-link svg {
        width: 24px !important;
        height: 24px !important;
    }
    
    .footer-contact-item {
        font-size: 10px;
    }
    
    .footer-text {
        display: block !important;
        text-align: center !important;
        font-size: 9px !important;
    }
    
    .footer-copyright {
        display: none !important;
    }
    
    .footer-legal-section {
        padding: 6px 15px;
    }
    
    .footer-legal-container {
        gap: 8px;
        text-align: center;
    }
    
    .footer-copyright-text {
        font-size: 10px;
    }
    
    .footer-legal-links {
        font-size: 10px;
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 10px 10px;
    }
    
    .footer-container {
        gap: 15px;
    }
    
    .footer-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .join-button {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 8px;
    }
    
    .newsletter-input {
        width: 100%;
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .newsletter-submit {
        width: 100%;
        padding: 10px;
        justify-content: center;
    }
    
    .footer-links {
        padding: 10px 10px;
    }
    
    .footer-links-title {
        font-size: 15px;
        margin-bottom: 2px;
    }
    
    .footer-links-inline {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .footer-links-inline a {
        font-size: 13px;
    }
    
    .footer-bottom {
        padding: 6px 0;
        bottom: 40px;
    }
    
    body {
        padding-bottom: 15px;
    }
    
    .footer-callback-link,
    .footer-whatsapp-link,
    .footer-livechat-link {
        padding: 6px 8px !important;
        gap: 3px !important;
    }
    
    .footer-callback-link svg,
    .footer-whatsapp-link svg,
    .footer-livechat-link svg {
        width: 22px !important;
        height: 22px !important;
    }
    
    .footer-text {
        font-size: 8px !important;
    }
    
    .footer-legal-section {
        padding: 5px 10px;
    }
    
    .footer-legal-container {
        gap: 6px;
    }
    
    .footer-copyright-text {
        font-size: 9px;
    }
    
    .footer-legal-links {
        font-size: 9px;
        gap: 3px;
    }
}

/* Extra Small Screens - Better mobile optimization */
@media (max-width: 375px) {
    body {
        padding-bottom: 12px;
    }
    
    .footer-main {
        padding: 12px 12px;
    }
    
    .footer-container {
        gap: 20px;
    }
    
    .footer-title {
        font-size: 15px;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .social-icons {
        gap: 8px;
        justify-content: center;
    }
    
    .social-icon {
        width: 34px;
        height: 34px;
    }
    
    .social-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .join-button {
        width: 100%;
        padding: 10px 16px;
        font-size: 12px;
        justify-content: center;
    }
    
    .newsletter-form {
        width: 100%;
    }
    
    .newsletter-input {
        font-size: 12px;
        padding: 9px 10px;
    }
    
    .newsletter-submit {
        padding: 9px;
    }
    
    .footer-links {
        padding: 8px 12px;
        padding-bottom: 80px;
    }
    
    .footer-links-row {
        gap: 2px;
        margin-bottom: 2px;
    }
    
    .footer-links-title {
        font-size: 15px;
        margin-bottom: 2px;
    }
    
    .footer-links-inline {
        font-size: 13px;
        line-height: 1.5;
        gap: 3px;
    }
    
    .footer-links-inline a {
        font-size: 13px;
    }
    
    .footer-bottom {
        padding: 5px 0;
        min-height: 52px;
    }
    
    .footer-callback-link,
    .footer-whatsapp-link,
    .footer-livechat-link {
        padding: 5px 6px !important;
    }
    
    .footer-callback-link svg,
    .footer-whatsapp-link svg,
    .footer-livechat-link svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    .footer-text {
        font-size: 7px !important;
    }
}

@media (max-width: 360px) {
    body {
        padding-bottom: 10px;
    }
    
    .footer-main {
        padding: 10px 10px;
    }
    
    .footer-container {
        gap: 18px;
    }
    
    .footer-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .social-icons {
        gap: 6px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .social-icon svg {
        width: 15px;
        height: 15px;
    }
    
    .join-button {
        padding: 9px 14px;
        font-size: 11px;
        gap: 6px;
    }
    
    .join-button svg {
        width: 14px;
        height: 14px;
    }
    
    .newsletter-input {
        font-size: 11px;
        padding: 8px 10px;
    }
    
    .newsletter-submit {
        padding: 8px;
    }
    
    .newsletter-submit svg {
        width: 16px;
        height: 16px;
    }
    
    .footer-links {
        padding: 8px 10px;
        padding-bottom: 85px;
    }
    
    .footer-links-title {
        font-size: 14px;
        margin-bottom: 1px;
    }
    
    .footer-links-inline {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .footer-links-inline a {
        font-size: 12px;
    }
    
    .footer-bottom {
        padding: 4px 0;
        min-height: 50px;
    }
    
    .footer-callback-link,
    .footer-whatsapp-link,
    .footer-livechat-link {
        padding: 4px 5px !important;
    }
    
    .footer-callback-link svg,
    .footer-whatsapp-link svg,
    .footer-livechat-link svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    .footer-text {
        font-size: 7px !important;
    }
}

/* ====================================
   COURSES DROPDOWN IN NAVIGATION
   ==================================== */

/* ====================================
   NAVIGATION COURSES DROPDOWN (SEPARATE FROM SEARCH DROPDOWN)
   ==================================== */

.nav-courses-dropdown {
    position: relative;
}

.nav-courses-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown-arrow {
    transition: transform 0.3s ease;
}

.nav-courses-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99999;
    margin-top: 0;
    pointer-events: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-courses-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.nav-courses-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.15) 0%, rgba(255, 107, 53, 0.05) 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-courses-item:hover::before {
    width: 100%;
}

.nav-courses-item:hover {
    border-left-color: #ff6b35;
    color: #ff6b35;
    padding-left: 23px;
    transform: translateX(3px);
}

/* Desktop hover */
@media (min-width: 901px) {
    .nav-courses-menu {
        pointer-events: auto !important;
    }
    
    .nav-courses-item {
        pointer-events: auto !important;
    }
    
    .nav-courses-dropdown:hover .nav-courses-menu,
    .nav-courses-dropdown.active .nav-courses-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
    
    .nav-courses-dropdown:hover .nav-dropdown-arrow,
    .nav-courses-dropdown.active .nav-dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .nav-courses-toggle:hover {
        color: #ff6b35;
    }
}

/* Mobile responsive for navigation courses dropdown */
@media (max-width: 900px) {
    .nav-courses-dropdown {
        width: 100%;
        position: relative;
        z-index: 1;
    }
    
    .nav-courses-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 15px 20px;
        cursor: pointer;
        pointer-events: auto !important;
        background: transparent;
        border: none;
        text-align: left;
        font-family: inherit;
        font-size: inherit;
        color: inherit;
        position: relative;
        z-index: 2;
    }
    
    .nav-courses-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
        transform: none;
        background: rgba(255, 107, 53, 0.05);
        border-radius: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .nav-courses-dropdown.active .nav-courses-menu {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 200px !important;
        padding: 5px 0 !important;
        pointer-events: auto !important;
    }
    
    .nav-courses-dropdown.active .nav-dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .nav-courses-item {
        padding: 10px 20px 10px 40px;
        font-size: 14px;
        border-left: none;
        pointer-events: auto !important;
    }
    
    .nav-courses-item:hover {
        padding-left: 45px;
    }
}

/* ====================================
   OTHER ARTICLES - LIST WITH THUMBNAILS
   ==================================== */

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.article-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    position: relative;
    overflow: hidden;
}

.article-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #ff6b35 0%, #ff8c5a 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.article-item:hover {
    border-color: #ff6b35;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.15);
    transform: translateX(5px);
}

.article-item:hover::before {
    transform: scaleY(1);
}

.article-thumbnail {
    position: relative;
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}

.article-thumbnail svg {
    width: 35px;
    height: 35px;
    stroke: #fff;
    opacity: 0.9;
}

.article-num {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    background: #fff;
    color: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.article-content {
    flex: 1;
    min-width: 0;
}

.article-item-title {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.article-item:hover .article-item-title {
    color: #ff6b35;
}

.article-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-action {
    display: flex;
    align-items: center;
}

.read-now-btn {
    color: #ff6b35;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s ease;
    padding: 8px 18px;
    border-radius: 6px;
    background: rgba(255, 107, 53, 0.05);
}

.article-item:hover .read-now-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    color: #fff;
    transform: translateX(3px);
}

/* Responsive for tablets */
@media (max-width: 1024px) {
    .article-item {
        gap: 16px;
        padding: 18px;
    }
    
    .article-thumbnail {
        width: 65px;
        height: 65px;
        min-width: 65px;
    }
    
    .article-thumbnail svg {
        width: 32px;
        height: 32px;
    }
    
    .article-item-title {
        font-size: 16px;
    }
    
    .article-description {
        font-size: 13px;
    }
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .articles-list {
        gap: 12px;
        margin-top: 25px;
    }
    
    .article-item {
        gap: 14px;
        padding: 15px;
    }
    
    .article-thumbnail {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    
    .article-thumbnail svg {
        width: 28px;
        height: 28px;
    }
    
    .article-num {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
    
    .article-item-title {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .article-description {
        font-size: 13px;
        -webkit-line-clamp: 1;
    }
    
    .read-now-btn {
        font-size: 13px;
        padding: 6px 14px;
    }
}

@media (max-width: 480px) {
    .article-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .article-thumbnail {
        width: 55px;
        height: 55px;
        min-width: 55px;
    }
    
    .article-thumbnail svg {
        width: 26px;
        height: 26px;
    }
    
    .article-action {
        width: 100%;
    }
    
    .read-now-btn {
        width: 100%;
        text-align: center;
        display: block;
    }
    
    .article-item:hover {
        transform: translateY(-2px);
    }
}

/* ====================================
   OTHER ARTICLES - CARD GRID LAYOUT
   ==================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card-item {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff6b35 0%, #ff8c5a 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.2);
}

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

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 140, 90, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.card-item:hover .card-icon {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    transform: rotate(5deg) scale(1.05);
}

.card-icon svg {
    stroke: #ff6b35;
    transition: stroke 0.3s ease;
}

.card-item:hover .card-icon svg {
    stroke: #fff;
}

.card-number {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.card-item:hover .card-number {
    opacity: 0.5;
}

.card-title {
    font-size: 19px;
    font-weight: 700;
    color: #222;
    margin: 0 0 15px 0;
    line-height: 1.4;
    min-height: 52px;
    transition: color 0.3s ease;
}

.card-item:hover .card-title {
    color: #ff6b35;
}

.card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0 0 25px 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 8px;
    background: rgba(255, 107, 53, 0.05);
    transition: all 0.3s ease;
    align-self: flex-start;
}

.card-link svg {
    transition: transform 0.3s ease;
}

.card-link:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    color: #fff;
    gap: 14px;
}

.card-link:hover svg {
    transform: translateX(3px);
    stroke: #fff;
}

/* Responsive for tablets */
@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .card-item {
        padding: 25px;
    }
    
    .card-icon {
        width: 55px;
        height: 55px;
    }
    
    .card-icon svg {
        width: 26px;
        height: 26px;
    }
    
    .card-title {
        font-size: 18px;
    }
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 30px;
    }
    
    .card-item {
        padding: 22px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
    }
    
    .card-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .card-number {
        font-size: 22px;
    }
    
    .card-title {
        font-size: 17px;
        min-height: 48px;
    }
    
    .card-excerpt {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .card-link {
        font-size: 13px;
        padding: 10px 18px;
    }
}

@media (max-width: 480px) {
    .card-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .card-item {
        padding: 20px;
    }
    
    .card-link {
        width: 100%;
        justify-content: center;
    }
}

/* ====================================
   ARTICLE DATE AND AUTHOR STYLING
   ==================================== */

/* List Layout - Date Badge */
.article-date {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    color: #fff;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.3);
    white-space: nowrap;
    margin-bottom: 8px;
}

/* List Layout - Author */
.article-author {
    font-size: 12px;
    color: #ff6b35;
    font-weight: 600;
    margin: 0 0 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.article-author::before {
    content: 'âœ';
    font-size: 13px;
}

/* Card Grid Layout - Date */
.card-date {
    font-size: 13px;
    font-weight: 700;
    color: #ff6b35;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 140, 90, 0.1) 100%);
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
}

.card-item:hover .card-date {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    color: #fff;
}

/* Card Grid Layout - Author */
.card-author {
    font-size: 13px;
    color: #999;
    margin: 0 0 12px 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.card-author::before {
    content: '';
    font-size: 14px;
    color: #ff6b35;
}

.card-item:hover .card-author {
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .article-date {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .article-author {
        font-size: 11px;
    }
    
    .card-date {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .card-author {
        font-size: 12px;
    }
}

/* ====================================
   COURSE CARD IMAGES ENHANCEMENT
   ==================================== */

.course-image {
    background-size: cover;
    background-position: center;
    position: relative;
}

.course-badge {
    position: relative;
    z-index: 2;
}

/* Ensure gradient overlays still work with images */
.course-bg-gradient-1[style*='background-image']::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.7) 0%, rgba(147, 51, 234, 0.7) 100%);
    z-index: 1;
}

.course-bg-gradient-2[style*='background-image']::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.7) 0%, rgba(168, 85, 247, 0.7) 100%);
    z-index: 1;
}

.course-bg-gradient-3[style*='background-image']::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.7) 0%, rgba(5, 150, 105, 0.7) 100%);
    z-index: 1;
}

.course-bg-gradient-4[style*='background-image']::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.7) 0%, rgba(239, 68, 68, 0.7) 100%);
    z-index: 1;
}

.course-bg-gradient-5[style*='background-image']::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.7) 0%, rgba(14, 116, 144, 0.7) 100%);
    z-index: 1;
}

.course-bg-gradient-6[style*='background-image']::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.7) 0%, rgba(99, 102, 241, 0.7) 100%);
    z-index: 1;
}

.course-bg-gradient-7[style*='background-image']::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.7) 0%, rgba(167, 139, 250, 0.7) 100%);
    z-index: 1;
}

.course-bg-gradient-8[style*='background-image']::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.7) 0%, rgba(167, 139, 250, 0.7) 100%);
    z-index: 1;
}

/* ================================
   BLOG DETAILS PAGE STYLES
   ================================ */

/* Breadcrumb Section */
.breadcrumb-section {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 70px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb-container a {
    color: #6c757d;
    transition: color 0.3s ease;
}

.breadcrumb-container a:hover {
    color: #4a1e7a;
}

.breadcrumb-separator {
    color: #adb5bd;
}

/* Blog Detail Section */
.blog-detail-section {
    padding: 60px 0;
    background: #ffffff;
}

/* DISABLED - Moved to inline CSS in blog-details.html to avoid conflicts
.blog-detail-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 40px;
}

/* DISABLED - Using inline CSS
.blog-sidebar {
    width: 280px;
    flex-shrink: 0;
}
*/

Main Content
.blog-main-content {
    flex: 1;
    min-width: 0;
}
*/

.blog-header {
    margin-bottom: 30px;
}

.blog-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.article-author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #4a1e7a;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #1a1a2e;
    font-size: 15px;
}

.publish-date {
    font-size: 13px;
    color: #6c757d;
}

.blog-stats {
    display: flex;
    gap: 20px;
    align-items: center;
}

.view-count {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    font-size: 14px;
}

.view-count svg {
    color: #4a1e7a;
}

/* Featured Image */
.blog-featured-image {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Blog Content */
.blog-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.blog-content .lead-paragraph {
    font-size: 22px;
    font-weight: 500;
    color: #4a1e7a;
    line-height: 1.6;
    margin-bottom: 30px;
}

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

.blog-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 50px;
    margin-bottom: 25px;
    line-height: 1.3;
}

.blog-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2c1654;
    margin-top: 35px;
    margin-bottom: 20px;
}

.blog-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #4a1e7a;
    margin-top: 25px;
    margin-bottom: 15px;
}

.blog-quote {
    background: linear-gradient(135deg, #f8f3ff 0%, #f0e6ff 100%);
    border-left: 4px solid #4a1e7a;
    padding: 25px 30px;
    margin: 35px 0;
    border-radius: 8px;
}

.blog-quote p {
    font-size: 20px;
    font-style: italic;
    color: #2c1654;
    margin: 0;
    font-weight: 500;
}

.info-box {
    background: #e7f3ff;
    border-left: 4px solid #0066cc;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 8px;
}

.info-box h4 {
    color: #0066cc;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.info-box p {
    margin: 0;
    color: #333;
    font-size: 16px;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.tool-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 30, 122, 0.1);
    border-color: #4a1e7a;
}

.tool-card h4 {
    color: #4a1e7a;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.tool-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #2c1654 0%, #4a1e7a 100%);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 50px 0;
    color: #ffffff;
}

.cta-box h3 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 28px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-size: 16px;
}

.cta-button {
    display: inline-block;
    background: #ff6b35;
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #ff8555;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

/* Social Share */
.blog-social-share {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.blog-social-share h4 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.social-share-buttons {
    display: flex;
    gap: 15px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.share-facebook {
    background: #1877f2;
    color: #ffffff;
}

.share-facebook:hover {
    background: #0d65d9;
    transform: translateY(-3px);
}

.share-twitter {
    background: #000000;
    color: #ffffff;
}

.share-twitter:hover {
    background: #333333;
    transform: translateY(-3px);
}

.share-linkedin {
    background: #0077b5;
    color: #ffffff;
}

.share-linkedin:hover {
    background: #006399;
    transform: translateY(-3px);
}

.share-whatsapp {
    background: #25d366;
    color: #ffffff;
}

.share-whatsapp:hover {
    background: #1fba57;
    transform: translateY(-3px);
}

/* Author Bio */
.author-bio {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 35px;
    margin-top: 50px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.author-bio-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #4a1e7a;
    flex-shrink: 0;
}

.author-bio-content h3 {
    font-size: 16px;
    color: #6c757d;
    margin-top: 0;
    margin-bottom: 8px;
    font-weight: 500;
}

.author-bio-content h4 {
    font-size: 22px;
    color: #1a1a2e;
    margin-top: 0;
    margin-bottom: 15px;
}

.author-bio-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.author-social {
    display: flex;
    gap: 12px;
}

.author-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #4a1e7a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.author-social a:hover {
    background: #2c1654;
    transform: translateY(-2px);
}

/* Related Articles */
.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.related-articles h3 {
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 30px;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-article-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: block;
}

.related-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(74, 30, 122, 0.15);
    border-color: #4a1e7a;
}

.related-article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-article-content {
    padding: 20px;
}

.related-article-date {
    font-size: 13px;
    color: #6c757d;
    display: block;
    margin-bottom: 10px;
}

.related-article-content h4 {
    font-size: 18px;
    color: #1a1a2e;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.related-article-author {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

/* Sidebar */
/* DISABLED - Using inline CSS
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}
*/

.sidebar-widget {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #4a1e7a;
}

/* Sidebar Search */
.sidebar-search {
    position: relative;
}

.sidebar-search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sidebar-search-input:focus {
    outline: none;
    border-color: #4a1e7a;
    box-shadow: 0 0 0 3px rgba(74, 30, 122, 0.1);
}

.sidebar-search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #4a1e7a;
    color: #ffffff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-search-btn:hover {
    background: #2c1654;
}

/* Category List */
.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
}

.category-list a:hover {
    background: #ffffff;
    color: #4a1e7a;
    padding-left: 20px;
}

.category-list span {
    color: #6c757d;
    font-size: 13px;
}

/* Popular Posts */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popular-post {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.popular-post:hover {
    background: #ffffff;
}

.popular-post img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.popular-post-content h4 {
    font-size: 15px;
    color: #1a1a2e;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.popular-post-date {
    font-size: 13px;
    color: #6c757d;
}

/* Tags */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 8px 16px;
    background: #ffffff;
    color: #4a1e7a;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #4a1e7a;
    color: #ffffff;
    border-color: #4a1e7a;
}

/* Newsletter Widget */
.sidebar-newsletter {
    background: linear-gradient(135deg, #2c1654 0%, #4a1e7a 100%);
    color: #ffffff;
}

.sidebar-newsletter .widget-title {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.sidebar-newsletter p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 20px;
}

.newsletter-widget-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-widget-form input {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.newsletter-widget-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-widget-form input:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-widget-form button {
    padding: 12px 20px;
    background: #ff6b35;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-widget-form button:hover {
    background: #ff8555;
    transform: translateY(-2px);
}

/* Responsive Design for Blog Details */
@media (max-width: 1200px) {
    /* DISABLED - Moved to inline CSS
    .blog-detail-container {
        grid-template-columns: 1fr 320px;
        gap: 40px;
    }
    */

    .blog-title {
        font-size: 36px;
    }

    .blog-featured-image {
        height: 400px;
    }
}

@media (max-width: 992px) {
    /* DISABLED - Moved to inline CSS
    .blog-detail-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    */

    /* DISABLED - Using inline CSS
    .blog-sidebar {
        position: static;
    }
    */

    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .breadcrumb-container {
        padding: 0 20px;
        font-size: 13px;
    }

    /* DISABLED - Moved to inline CSS
    .blog-detail-container {
        padding: 0 20px;
    }
    */

    .blog-title {
        font-size: 28px;
    }

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .blog-featured-image {
        height: 300px;
    }

    .blog-content {
        font-size: 16px;
    }

    .blog-content .lead-paragraph {
        font-size: 18px;
    }

    .blog-content h2 {
        font-size: 26px;
    }

    .blog-content h3 {
        font-size: 20px;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .social-share-buttons {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .blog-title {
        font-size: 24px;
    }

    .blog-featured-image {
        height: 250px;
        border-radius: 8px;
    }

    .sidebar-widget {
        padding: 20px;
    }

    .cta-box {
        padding: 30px 20px;
    }

    .cta-box h3 {
        font-size: 22px;
    }
}

/* ============================================
   TABLE OF CONTENTS & TRENDING BLOG SIDEBAR
   ============================================ */

/* TOC and Trending Blog Sidebar Container */
.toc-sidebar {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 10px;
}

.toc-sidebar::-webkit-scrollbar {
    width: 6px;
}

.toc-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.toc-sidebar::-webkit-scrollbar-thumb {
    background: #4a1e7a;
    border-radius: 10px;
}

.toc-sidebar::-webkit-scrollbar-thumb:hover {
    background: #2c1654;
}

/* TOC Widget */
.toc-widget {
    background: #fff;
    border: 2px solid #4a1e7a;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(74, 30, 122, 0.1);
}

.toc-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c1654;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #4a1e7a;
}

.toc-nav {
    margin: 0;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 12px;
}

.toc-link {
    display: block;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 15px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.toc-link:hover {
    color: #4a1e7a;
    background: #f8f5fc;
    border-left-color: #4a1e7a;
    padding-left: 20px;
}

.toc-link:active,
.toc-link.active {
    color: #fff;
    background: linear-gradient(135deg, #2c1654 0%, #4a1e7a 100%);
    border-left-color: #ff6b35;
    font-weight: 600;
}

/* Trending Blog Widget */
.trending-blog-widget {
    background: #fff;
    border: 2px solid #ff6b35;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.1);
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c1654;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ff6b35;
}

.trending-nav {
    margin: 0;
}

.trending-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trending-list li {
    margin-bottom: 12px;
}

.trending-link {
    display: block;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 15px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.trending-link:hover {
    color: #ff6b35;
    background: #fff5f2;
    border-left-color: #ff6b35;
    padding-left: 20px;
}

/* Updated Blog Detail Section Layout */
.blog-detail-section {
    padding: 40px 0 80px;
    background: #f9f9f9;
}

/* DISABLED - Moved to inline CSS in blog-details.html to avoid conflicts
.blog-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

Main Blog Content Adjustments
.blog-main-content {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}
*/

/* Additional Content Styles */
.deployment-types,
.monitoring-tools {
    margin: 30px 0;
}

.deployment-item,
.tool-item {
    background: #f8f5fc;
    border-left: 4px solid #4a1e7a;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.deployment-item h3,
.tool-item h3 {
    color: #2c1654;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.deployment-item p,
.tool-item p {
    color: #555;
    line-height: 1.8;
    margin: 0;
}

/* Comparison Table Styles */
.comparison-table {
    margin: 30px 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.comparison-table thead {
    background: linear-gradient(135deg, #2c1654 0%, #4a1e7a 100%);
}

.comparison-table thead th {
    color: #fff;
    font-weight: 600;
    padding: 15px;
    text-align: left;
    font-size: 14px;
}

.comparison-table tbody td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 14px;
}

.comparison-table tbody tr:hover {
    background: #f8f5fc;
}

.table-note {
    margin-top: 10px;
    font-size: 13px;
    color: #777;
    font-style: italic;
}

/* Security List Styles */
.security-list {
    margin: 20px 0;
    padding-left: 30px;
    list-style: disc;
}

.security-list li {
    padding: 8px 0;
    line-height: 1.8;
    color: #555;
    margin-left: 0;
}

.security-list li::marker {
    color: #4a1e7a;
    font-size: 1.2em;
}

.security-list li strong {
    color: #2c1654;
    font-weight: 600;
}

/* Training Features List */
.training-features {
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.training-features li {
    padding: 15px 20px;
    margin-bottom: 15px;
    background: #f8f5fc;
    border-left: 4px solid #ff6b35;
    border-radius: 8px;
    line-height: 1.8;
}

.training-features li strong {
    color: #2c1654;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

/* Responsive Design for New Layout */
@media (max-width: 1200px) {
    /* DISABLED - Moved to inline CSS
    .blog-detail-container {
        grid-template-columns: 280px 1fr;
        gap: 30px;
    }
    */

    .toc-sidebar {
        top: 80px;
    }
}

@media (max-width: 992px) {
    /* DISABLED - Moved to inline CSS
    .blog-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    */

    .toc-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
        order: -1;
    }

    .toc-widget,
    .trending-blog-widget {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    /* DISABLED - Moved to inline CSS
    .blog-detail-container {
        padding: 0 20px;
    }
    */

    .blog-main-content {
        padding: 25px 20px;
    }

    .toc-widget,
    .trending-blog-widget {
        padding: 20px;
    }

    .comparison-table table {
        font-size: 12px;
    }

    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 10px;
    }
}

/* ============================================
   ENHANCED MOBILE RESPONSIVENESS FOR BLOG DETAILS
   ============================================ */

/* Mobile optimizations for all content sections */
@media (max-width: 768px) {
    /* Typography adjustments */
    .blog-title {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }

    .blog-content h2 {
        font-size: 22px !important;
        line-height: 1.4 !important;
        margin-top: 30px !important;
    }

    .blog-content h3 {
        font-size: 18px !important;
        line-height: 1.4 !important;
    }

    .blog-content h4 {
        font-size: 16px !important;
    }

    .blog-content p,
    .blog-content li {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }

    .lead-paragraph {
        font-size: 16px !important;
        line-height: 1.7 !important;
    }

    /* Deployment items - stack properly */
    .deployment-types {
        margin: 20px 0 !important;
    }

    .deployment-item,
    .tool-item {
        padding: 15px !important;
        margin-bottom: 15px !important;
    }

    .deployment-item h3,
    .tool-item h3 {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }

    .deployment-item p,
    .tool-item p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    /* Comparison tables - make scrollable */
    .comparison-table {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin: 20px -20px !important;
        padding: 0 20px !important;
    }

    .comparison-table table {
        font-size: 11px !important;
        min-width: 600px !important;
    }

    .comparison-table thead th {
        padding: 8px 6px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
    }

    .comparison-table tbody td {
        padding: 8px 6px !important;
        font-size: 11px !important;
    }

    .table-note {
        font-size: 11px !important;
        padding: 0 20px !important;
    }

    /* Security lists */
    .security-list {
        margin: 15px 0 !important;
        padding-left: 25px !important;
    }

    .security-list li {
        padding: 6px 0 !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    /* Training features */
    .training-features {
        margin: 20px 0 !important;
    }

    .training-features li {
        padding: 12px 15px !important;
        margin-bottom: 12px !important;
        font-size: 14px !important;
    }

    .training-features li strong {
        font-size: 15px !important;
    }

    /* Info boxes */
    .info-box {
        padding: 15px !important;
        margin: 20px 0 !important;
    }

    .info-box h4 {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }

    .info-box p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    /* CTA box */
    .cta-box {
        padding: 25px 20px !important;
        margin: 30px 0 !important;
    }

    .cta-box h3 {
        font-size: 20px !important;
        margin-bottom: 12px !important;
    }

    .cta-box p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }

    .cta-button {
        font-size: 14px !important;
        padding: 12px 24px !important;
    }

    /* Blog meta adjustments */
    .blog-meta {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .article-author-info {
        margin-bottom: 10px !important;
    }

    /* Featured image */
    .blog-featured-image {
        margin: 20px -20px !important;
        border-radius: 0 !important;
    }

    /* Monitoring tools grid */
    .monitoring-tools {
        margin: 20px 0 !important;
    }

    /* Tools grid for older content */
    .tools-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .tool-card {
        padding: 15px !important;
    }

    .tool-card h4 {
        font-size: 16px !important;
    }

    .tool-card p {
        font-size: 14px !important;
    }
}

@media (max-width: 576px) {
    /* Extra small screens */
    .blog-title {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .blog-content h2 {
        font-size: 20px !important;
    }

    .blog-content h3 {
        font-size: 17px !important;
    }

    .blog-main-content {
        padding: 20px 15px !important;
    }

    /* DISABLED - Moved to inline CSS
    .blog-detail-container {
        padding: 0 15px !important;
    }
    */

    .comparison-table {
        margin: 20px -15px !important;
        padding: 0 15px !important;
    }

    .comparison-table table {
        font-size: 10px !important;
    }

    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 6px 4px !important;
        font-size: 10px !important;
    }

    .toc-title,
    .widget-title {
        font-size: 18px !important;
    }

    .toc-link,
    .trending-link {
        font-size: 13px !important;
        padding: 8px 12px !important;
    }

    .deployment-item,
    .tool-item {
        padding: 12px !important;
    }

    .security-list li {
        padding: 6px 0 !important;
        font-size: 13px !important;
    }

    .training-features li {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
}

/* Ensure tables are scrollable on all mobile devices */
@media (max-width: 992px) {
    .comparison-table {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .comparison-table table {
        width: 100% !important;
    }

    /* Stack deployment items nicely */
    .deployment-types,
    .monitoring-tools {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }
}

/* Tablet optimizations */
@media (max-width: 992px) and (min-width: 769px) {
    .blog-title {
        font-size: 30px !important;
    }

    .blog-content h2 {
        font-size: 24px !important;
    }

    .blog-content h3 {
        font-size: 20px !important;
    }

    .deployment-item,
    .tool-item {
        padding: 18px !important;
    }
}

/* Breadcrumb Mobile Responsiveness */
@media (max-width: 768px) {
    .breadcrumb-section {
        padding: 15px 0 !important;
    }

    .breadcrumb-container {
        padding: 0 20px !important;
        font-size: 13px !important;
        flex-wrap: wrap !important;
    }

    .breadcrumb-container a,
    .breadcrumb-container span {
        font-size: 13px !important;
    }

    .breadcrumb-separator {
        margin: 0 6px !important;
    }
}

@media (max-width: 576px) {
    .breadcrumb-container {
        padding: 0 15px !important;
        font-size: 12px !important;
    }

    .breadcrumb-container a,
    .breadcrumb-container span {
        font-size: 12px !important;
    }

    .breadcrumb-separator {
        margin: 0 4px !important;
    }
}

/* Blog header mobile improvements */
@media (max-width: 768px) {
    .blog-header {
        padding: 0 0 20px 0 !important;
    }

    .author-avatar {
        width: 40px !important;
        height: 40px !important;
    }

    .author-name {
        font-size: 14px !important;
    }

    .publish-date {
        font-size: 13px !important;
    }

    .view-count {
        font-size: 13px !important;
    }
}

/* Blog quote mobile */
@media (max-width: 768px) {
    .blog-quote {
        padding: 15px 20px !important;
        margin: 20px 0 !important;
        font-size: 15px !important;
        border-left-width: 4px !important;
    }

    .blog-quote p {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }
}

/* Social share mobile */
@media (max-width: 768px) {
    .blog-social-share {
        padding: 20px 0 !important;
        margin: 30px 0 !important;
    }

    .blog-social-share h4 {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }

    .social-share-buttons {
        gap: 10px !important;
    }

    .share-btn {
        width: 40px !important;
        height: 40px !important;
    }

    .share-btn svg {
        width: 18px !important;
        height: 18px !important;
    }
}

/* Author bio mobile */
@media (max-width: 768px) {
    .author-bio {
        flex-direction: column !important;
        text-align: center !important;
        padding: 20px !important;
    }

    .author-bio-avatar {
        width: 80px !important;
        height: 80px !important;
        margin: 0 auto 15px !important;
    }

    .author-bio-content {
        padding-left: 0 !important;
    }

    .author-bio h3 {
        font-size: 16px !important;
    }

    .author-bio h4 {
        font-size: 18px !important;
    }

    .author-bio p {
        font-size: 14px !important;
    }

    .author-social {
        justify-content: center !important;
    }
}

/* Related articles mobile */
@media (max-width: 768px) {
    .related-articles {
        margin: 30px 0 !important;
    }

    .related-articles h3 {
        font-size: 22px !important;
        margin-bottom: 20px !important;
    }

    .related-articles-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .related-article-card {
        max-width: 100% !important;
    }

    .related-article-image {
        height: 200px !important;
    }

    .related-article-title {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    .related-article-excerpt {
        font-size: 14px !important;
    }
}

/* Sidebar widgets mobile (when they appear above content) */
@media (max-width: 992px) {
    .blog-sidebar {
        margin-bottom: 30px !important;
    }

    .sidebar-widget {
        margin-bottom: 20px !important;
    }

    .widget-title {
        font-size: 18px !important;
    }

    .sidebar-search-input {
        font-size: 14px !important;
        padding: 10px 12px !important;
    }

    .category-list li a {
        font-size: 14px !important;
        padding: 8px 0 !important;
    }

    .popular-post {
        padding: 10px 0 !important;
    }

    .popular-post img {
        width: 60px !important;
        height: 60px !important;
    }

    .popular-post-content h4 {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    .tag-cloud a {
        padding: 6px 12px !important;
        font-size: 13px !important;
    }
}

/* Ensure proper spacing on all mobile devices */
@media (max-width: 992px) {
    .blog-content > * {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .blog-content ul,
    .blog-content ol {
        padding-left: 20px !important;
    }
}

/* Fix any potential width issues */
@media (max-width: 768px) {
    * {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    pre, code {
        white-space: pre-wrap !important;
        word-break: break-all !important;
    }
}

/* ============================================
   FIX HEADER MOBILE RESPONSIVENESS
   ============================================ */

/* Reset conflicting styles for header elements */
@media (max-width: 768px) {
    /* Remove min-height from header links that might interfere */
    .header-link,
    .top-header a,
    .main-header a {
        min-height: auto !important;
        display: inline-flex !important;
    }
    
    /* Ensure mobile menu toggle is visible */
    .mobile-menu-toggle {
        display: flex !important;
        min-height: auto !important;
    }
    
    /* Make sure navigation is hidden on mobile by default */
    .main-navigation {
        display: none !important;
    }
    
    .main-navigation.active {
        display: flex !important;
    }
    
    /* Ensure header doesn't get affected by blog page styles */
    #site-header,
    #site-header * {
        box-sizing: border-box;
    }
    
    #site-header .header-link {
        min-height: auto !important;
        height: auto !important;
    }
    
    #site-header button {
        min-height: auto !important;
    }
}

/* Override any conflicting mobile button styles for header only */
@media (max-width: 768px) {
    #site-header a:not(.cta-button),
    #site-header button:not(.cta-button) {
        min-height: auto !important;
        display: inline-flex !important;
    }
}

/* ============================================
   FAQ SECTION STYLING
   ============================================ */

.faq-section {
    margin: 30px 0;
}

.faq-item {
    background: #f8f9fa;
    border-left: 4px solid #ff6b35;
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.faq-item h3 {
    color: #2c1654;
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.faq-item p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Vedic Quote Styling */
.vedic-quote {
    background: linear-gradient(135deg, #f5f3ff 0%, #e8e4ff 100%);
    border-left: 5px solid #4a1e7a;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 8px;
    font-style: italic;
    position: relative;
}

.vedic-quote::before {
    content: '"';
    font-size: 60px;
    color: #4a1e7a;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 15px;
    font-family: Georgia, serif;
}

.vedic-quote p {
    margin: 10px 0;
    color: #2c1654;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.vedic-quote p:first-child {
    font-weight: 600;
    font-size: 18px;
    color: #4a1e7a;
}

.vedic-quote em {
    font-size: 14px;
    color: #666;
}

/* Info Box Enhanced */
.info-box {
    background: linear-gradient(135deg, #fff9f0 0%, #fff4e6 100%);
    border: 2px solid #ff6b35;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 2px 8px rgba(255,107,53,0.1);
}

.info-box h4 {
    color: #ff6b35;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.info-box p {
    margin: 10px 0;
    line-height: 1.7;
}

/* CTA Box Enhanced */
.cta-box {
    background: linear-gradient(135deg, #2c1654 0%, #4a1e7a 100%);
    color: #fff;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 6px 20px rgba(44,22,84,0.3);
}

.cta-box h3 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
}

.cta-box p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
    font-size: 16px;
}

.cta-button {
    display: inline-block;
    background: #ff6b35;
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}

.cta-button:hover {
    background: #ff5520;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255,107,53,0.4);
}

/* Mobile Responsiveness for New Elements */
@media (max-width: 768px) {
    .faq-item {
        padding: 15px 20px;
    }
    
    .faq-item h3 {
        font-size: 16px;
    }
    
    .vedic-quote {
        padding: 20px 25px;
    }
    
    .vedic-quote::before {
        font-size: 40px;
    }
    
    .vedic-quote p {
        font-size: 14px;
    }
    
    .info-box {
        padding: 20px;
    }
    
    .cta-box {
        padding: 25px 20px;
    }
    
    .cta-box h3 {
        font-size: 20px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
        display: block;
        margin: 10px 0;
    }
}

@media (max-width: 576px) {
    .faq-item {
        padding: 12px 15px;
    }
    
    .faq-item h3 {
        font-size: 15px;
    }
    
    .faq-item p {
        font-size: 14px;
    }
    
    .vedic-quote {
        padding: 15px 20px;
    }
    
    .vedic-quote p:first-child {
        font-size: 16px;
    }
    
    .cta-box {
        padding: 20px 15px;
    }
}


/* ============================================
   COURSE DETAILS GRID - 4 COLUMN LAYOUT
   ============================================ */

.course-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
    padding: 0;
}

.detail-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e8ecf1;
    border-radius: 12px;
    padding: 25px 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.detail-card:hover {
    border-color: #ff6b35;
    box-shadow: 0 6px 20px rgba(255,107,53,0.15);
    transform: translateY(-3px);
}

.detail-icon {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}

.detail-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.detail-label {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #7d8592;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #2c1654;
    line-height: 1.4;
    word-wrap: break-word;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .course-details-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 992px) {
    .course-details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin: 30px 0;
    }

    .detail-card {
        padding: 20px 18px;
    }

    .detail-icon {
        width: 40px;
        height: 40px;
    }
    
    .detail-label {
        font-size: 13px !important;
    }

    .detail-value {
        font-size: 19px !important;
    }
}

@media (max-width: 576px) {
    .course-details-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 25px 0;
    }

    .detail-card {
        padding: 18px 16px;
        gap: 12px;
    }

    .detail-icon {
        width: 38px;
        height: 38px;
    }

    .detail-icon svg {
        width: 18px;
        height: 18px;
    }

    .detail-label {
        font-size: 13px !important;
    }

    .detail-value {
        font-size: 18px !important;
    }
}


/* ============================================================
   COURSE CATEGORY TAXONOMY TEMPLATE STYLES
   ============================================================ */

/* Category Hero Section */
.category-hero {
    position: relative;
    padding: 100px 20px 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2c2c54 50%, #3a3a6a 100%);
    overflow: hidden;
}

.category-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(230, 57, 70, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.category-hero-container {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.category-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
}

.category-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-breadcrumb a:hover {
    color: #ff6b35;
}

.category-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.4);
}

.category-breadcrumb span:last-child {
    color: #fff;
    font-weight: 600;
}

.category-hero-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 56px;
    font-weight: 800;
    color: #4B1E1E !important;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.category-hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.category-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.category-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.category-stat-item svg {
    stroke: #ff6b35;
}

/* Filter and Sort Section */
.filter-sort-section {
    padding: 30px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.filter-sort-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-left {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.filter-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.filter-count {
    font-size: 14px;
    color: #666;
}

.filter-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.sort-select {
    padding: 10px 40px 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="3"><polyline points="6 9 12 15 18 9"></polyline></svg>') no-repeat right 12px center;
    background-size: 12px;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
}

.sort-select:hover {
    border-color: #ff6b35;
}

.sort-select:focus {
    outline: none;
    border-color: #e63946;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.view-toggle {
    display: flex;
    gap: 5px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 3px;
}

.view-btn {
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.view-btn.active {
    background: linear-gradient(135deg, #e63946, #ff6b35);
    color: #fff;
}

/* Category Courses Section */
.category-courses-section {
    padding: 60px 20px;
    background: #ffffff;
}

.courses-grid-wrapper {
    max-width: 1440px;
    margin: 0 auto;
}

/* Grid View */
.courses-grid-wrapper.view-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* List View */
.courses-grid-wrapper.view-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.courses-grid-wrapper.view-list .course-item {
    display: flex;
    flex-direction: row;
    max-width: 100%;
}

.courses-grid-wrapper.view-list .course-image-link {
    flex-shrink: 0;
    width: 280px;
}

.courses-grid-wrapper.view-list .course-card-image {
    height: 200px;
}

.courses-grid-wrapper.view-list .course-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-type-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    background: rgba(230, 57, 70, 0.95);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Pagination */
.courses-pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.courses-pagination ul {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.courses-pagination a,
.courses-pagination span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.courses-pagination a:hover {
    background: linear-gradient(135deg, #e63946, #ff6b35);
    border-color: #e63946;
    color: #fff;
}

.courses-pagination .current {
    background: linear-gradient(135deg, #e63946, #ff6b35);
    border-color: #e63946;
    color: #fff;
}

/* No Courses Found */
.no-courses-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.no-courses-found svg {
    stroke: #ccc;
    margin-bottom: 20px;
}

.no-courses-found h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.no-courses-found p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.back-to-courses-btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #e63946, #ff6b35);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-to-courses-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

/* Related Categories Section */
.related-categories-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.section-heading {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 50px;
}

.related-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1440px;
    margin: 0 auto;
}

.related-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.related-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.15);
    border-color: rgba(230, 57, 70, 0.3);
}

.related-category-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(255, 107, 53, 0.1));
    border-radius: 50%;
    margin-bottom: 20px;
}

.related-category-icon svg {
    stroke: #e63946;
}

.related-category-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    text-align: center;
}

.related-category-count {
    font-size: 14px;
    color: #666;
}

/* Responsive */
@media (max-width: 1024px) {
    .category-hero-title {
        font-size: 42px;
    }
    
    .courses-grid-wrapper.view-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .category-hero {
        padding: 80px 20px 60px;
    }
    
    .category-hero-title {
        font-size: 32px;
    }
    
    .category-hero-description {
        font-size: 16px;
    }
    
    .category-stats {
        gap: 25px;
    }
    
    .filter-sort-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-left {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-right {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sort-select {
        width: 100%;
    }
    
    .view-toggle {
        justify-content: center;
    }
    
    .courses-grid-wrapper.view-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-grid-wrapper.view-list .course-item {
        flex-direction: column;
    }
    
    .courses-grid-wrapper.view-list .course-image-link {
        width: 100%;
    }
    
    .related-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .category-hero-title {
        font-size: 28px;
    }
    
    .section-heading {
        font-size: 28px;
    }
    
    .related-categories-grid {
        grid-template-columns: 1fr;
    }
}

/* Additional improvements for category archive page */
.category-courses-section .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.filter-sort-section .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.related-categories-section .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Improve course item styling for archive pages */
.category-courses-section .course-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.category-courses-section .course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(230, 57, 70, 0.15);
    border-color: rgba(230, 57, 70, 0.2);
}

.category-courses-section .course-card-image {
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.category-courses-section .course-content-wrapper {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.category-courses-section .course-item-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-courses-section .course-title-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.category-courses-section .course-title-link:hover {
    color: #e63946;
}

.category-courses-section .course-image-link {
    display: block;
    text-decoration: none;
}

.category-courses-section .course-trainer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.category-courses-section .course-trainer svg {
    stroke: #e63946;
    flex-shrink: 0;
}

.category-courses-section .course-meta-info {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.category-courses-section .course-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.category-courses-section .course-meta-item svg {
    stroke: #999;
    flex-shrink: 0;
}

.category-courses-section .course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.category-courses-section .course-price-wrapper {
    display: flex;
    flex-direction: column;
}

.category-courses-section .course-price {
    font-size: 24px;
    font-weight: 800;
    color: #e63946;
    line-height: 1;
}

.category-courses-section .course-enroll-button {
    padding: 10px 24px;
    background: linear-gradient(135deg, #e63946, #ff6b35);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-courses-section .course-enroll-button:hover {
    background: #fff;
    color: #e63946;
    border-color: #e63946;
    transform: scale(1.05);
}

/* Improve filter section */
.filter-title {
    font-size: 28px !important;
    font-weight: 800 !important;
}

.filter-count {
    font-size: 15px !important;
    color: #999 !important;
}

/* Better spacing for category stats */
.category-stat-item {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

/* Force proper display for critical sections - Live Server Fix */
section.about-institute-section {
    display: block !important;
    visibility: visible !important;
    padding: 80px 20px !important;
}

@media (max-width: 768px) {
    section.about-institute-section {
        padding: 0 15px 10px !important;
    }
}

@media (max-width: 480px) {
    section.about-institute-section {
        padding: 0 10px 10px !important;
    }
}

.about-institute-container {
    display: block !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
}

.about-highlights {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

/* Category Archive Page - Force Display */
section.category-hero,
section.filter-sort-section,
section.category-courses-section,
section.related-categories-section {
    display: block !important;
    visibility: visible !important;
}

.courses-grid-wrapper.view-grid {
    display: grid !important;
}

.filter-sort-wrapper {
    display: flex !important;
}

/* ============================================================
   CRITICAL FIX FOR ABOUT INSTITUTE SECTION - LIVE SERVER
   ============================================================ */

/* Force all elements to display */
section.about-institute-section,
.about-institute-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 10px 20px 10px 20px !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    clear: both !important;
}

@media (max-width: 768px) {
    section.about-institute-section,
    .about-institute-section {
        padding: 0 15px 10px !important;
    }
}

@media (max-width: 480px) {
    section.about-institute-section,
    .about-institute-section {
        padding: 0 10px 10px !important;
    }
}

.about-institute-container,
section.about-institute-section .about-institute-container {
    display: block !important;
    visibility: visible !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    text-align: center !important;
    position: relative !important;
    z-index: 1 !important;
    padding: 0 !important;
}

.about-title,
section.about-institute-section .about-title,
.about-institute-section h2.about-title {
    display: block !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 36px !important;
    font-weight: 800 !important;
    color: #8B0000 !important;
    color: var(--deep-maroon) !important;
    margin: 0 0 10px 0 !important;
    padding-bottom: 8px !important;
    line-height: 1.3 !important;
    text-align: center !important;
    visibility: visible !important;
    position: relative !important;
}

.about-content,
section.about-institute-section .about-content {
    display: block !important;
    max-width: 100% !important;
    margin: 0 auto 0 !important;
    padding: 0 !important;
    visibility: visible !important;
}

.about-description,
section.about-institute-section .about-description,
.about-content p.about-description {
    display: block !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #2c3e50 !important;
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    text-align-last: left !important;
    font-weight: 400 !important;
    visibility: visible !important;
}

.about-highlights,
section.about-institute-section .about-highlights {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    margin-top: 20px !important;
    visibility: visible !important;
}

.highlight-item,
section.about-institute-section .highlight-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 15px 25px !important;
    background: #ffffff !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    visibility: visible !important;
}

.about-icon-wrapper,
section.about-institute-section .about-icon-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100px !important;
    height: 100px !important;
    margin: 0 auto 30px !important;
    position: relative !important;
    visibility: visible !important;
}

/* ============================================================
   PROFESSIONAL STYLING FOR ABOUT SECTION - COMPLETE FIX
   ============================================================ */

/* Icon styling */
.about-icon-bg,
section.about-institute-section .about-icon-bg {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(230, 57, 70, 0.1) 100%) !important;
    border-radius: 50% !important;
    animation: aboutIconPulse 3s ease-in-out infinite !important;
}

@keyframes aboutIconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.about-icon,
section.about-institute-section .about-icon {
    position: relative !important;
    z-index: 2 !important;
    stroke: #e63946 !important;
    filter: drop-shadow(0 4px 12px rgba(230, 57, 70, 0.3)) !important;
}

/* Title underline */
.about-title::after,
section.about-institute-section .about-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 80px !important;
    height: 4px !important;
    background: linear-gradient(90deg, #e63946 0%, #ff6b35 100%) !important;
    border-radius: 2px !important;
    display: block !important;
}

/* Strong text in descriptions */
.about-description strong,
section.about-institute-section .about-description strong {
    color: #e63946 !important;
    font-weight: 700 !important;
}

/* Highlight badges */
.highlight-icon,
section.about-institute-section .highlight-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: linear-gradient(135deg, #e63946 0%, #ff6b35 100%) !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
}

.highlight-icon svg,
section.about-institute-section .highlight-icon svg {
    stroke: #ffffff !important;
}

.highlight-item span,
section.about-institute-section .highlight-item span {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
    display: block !important;
}

.highlight-item:hover,
section.about-institute-section .highlight-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.2) !important;
    border: 2px solid rgba(230, 57, 70, 0.3) !important;
    transition: all 0.3s ease !important;
}

/* Background pattern */
.about-institute-section::before,
section.about-institute-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(230, 57, 70, 0.05) 0%, transparent 50%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

/* Ensure proper spacing and layout */
section.about-institute-section > * {
    position: relative !important;
    z-index: 1 !important;
}

/* ============================================================
   FINAL FIX - MATCH LOCALHOST EXACTLY
   ============================================================ */

/* Force gradient background like localhost */
body section.about-institute-section,
html body section.about-institute-section,
section[role='region'].about-institute-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    background-color: #f8f9fa !important;
    min-height: 600px !important;
}

/* Center everything properly */
.about-institute-container > *,
section.about-institute-section .about-institute-container > * {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Make title position relative for underline */
h2.about-title,
.about-institute-section h2 {
    position: relative !important;
    padding-bottom: 20px !important;
}

/* Ensure content wrapper displays properly */
div.about-content {
    display: block !important;
    width: 100% !important;
}

/* Make paragraphs display properly */
p.about-description {
    display: block !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
}

/* Bottom badges container */
div.about-highlights {
    width: 100% !important;
    max-width: 1100px !important;
    margin: 20px auto 0 !important;
}

/* Individual badge items */
div.highlight-item {
    min-width: 200px !important;
    white-space: nowrap !important;
}

/* Remove any conflicting styles */
.about-institute-section * {
    box-sizing: border-box !important;
}

/* Ensure SVG icons display */
.about-icon-wrapper svg,
.highlight-icon svg {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

/* ============================================================
   ABOUT SECTION - HORIZONTAL LAYOUT FIX
   ============================================================ */

/* Icon and title in same horizontal line */
.about-institute-container {
    max-width: 1440px !important;
    padding: 0 !important;
}

.about-icon-wrapper {
    display: inline-flex !important;
    vertical-align: middle !important;
    margin: 0 20px 0 0 !important;
    width: 60px !important;
    height: 60px !important;
}

.about-title {
    display: inline-block !important;
    vertical-align: middle !important;
    margin-bottom: 0 !important;
    text-align: left !important;
}

/* Create wrapper for icon + title */
.about-institute-container > .about-icon-wrapper,
.about-institute-container > .about-title {
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Content full width */
.about-content {
    max-width: 100% !important;
    text-align: left !important;
}

/* Badges in single horizontal line */
.about-highlights {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 20px !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    margin: 20px 0 0 0 !important;
    max-width: 100% !important;
}

.highlight-item {
    flex: 0 0 auto !important;
    min-width: auto !important;
    white-space: nowrap !important;
}

/* Adjust title size for horizontal layout */
h2.about-title {
    font-size: 32px !important;
}

/* Remove center alignment */
section.about-institute-section,
.about-institute-section {
    text-align: center !important;
}

.about-institute-container {
    text-align: center !important;
}

/* ============================================================
   FIX ICON AND TITLE HORIZONTAL ALIGNMENT
   ============================================================ */

/* Force horizontal layout for icon and title container */
.about-institute-container {
    display: block !important;
}

/* Wrapper for icon + title to be on same line */
.about-icon-wrapper + .about-title {
    display: inline-block !important;
    vertical-align: middle !important;
    margin-left: 0 !important;
}

.about-icon-wrapper {
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 20px !important;
    margin-bottom: 0 !important;
}

.about-title {
    display: inline-block !important;
    vertical-align: middle !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Header section with icon + title */
.about-institute-container > .about-icon-wrapper ~ .about-title {
    display: inline-block !important;
}

/* Force content to be below icon+title */
.about-content {
    display: block !important;
    clear: both !important;
    margin-top: 40px !important;
}

/* Title after positioning */
h2.about-title::after {
    bottom: 0 !important;
}

/* ============================================================
   ICON SIZE AND BADGES SINGLE ROW FIX
   ============================================================ */

/* Icon same size as title */
.about-icon-wrapper {
    width: 50px !important;
    height: 50px !important;
}

.about-icon-wrapper svg,
.about-icon {
    width: 50px !important;
    height: 50px !important;
}

.about-icon-bg {
    width: 50px !important;
    height: 50px !important;
}

/* Badges in single horizontal row - no wrapping */
.about-highlights {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 20px !important;
    flex-wrap: nowrap !important;
    margin: 40px 0 0 0 !important;
    max-width: 100% !important;
    overflow-x: visible !important;
}

.highlight-item {
    flex: 0 0 auto !important;
    display: inline-flex !important;
}

/* Ensure all 4 badges fit in one row */
@media (min-width: 768px) {
    .highlight-item {
        min-width: 200px !important;
        max-width: 280px !important;
    }
}

/* ============================================================
   ADJUST ICON BACKGROUND SIZE TO MATCH TITLE HEIGHT
   ============================================================ */

/* Circular background size matching title height */
.about-icon-wrapper {
    width: 42px !important;
    height: 42px !important;
}

.about-icon-bg {
    width: 42px !important;
    height: 42px !important;
}

/* Icon size inside the circle */
.about-icon-wrapper svg,
.about-icon {
    width: 24px !important;
    height: 24px !important;
}

/* ============================================================
   REMOVE ANIMATED BACKGROUND AND RESIZE ICON
   ============================================================ */

/* Remove animated circular background */
.about-icon-bg {
    display: none !important;
}

/* Icon wrapper without background animation */
.about-icon-wrapper {
    width: 48px !important;
    height: 48px !important;
    background: transparent !important;
}

/* Icon size matching title font size */
.about-icon-wrapper svg,
.about-icon {
    width: 48px !important;
    height: 48px !important;
}

/* ============================================================
   FIX ICON VERTICAL ALIGNMENT WITH TITLE
   ============================================================ */

/* Perfect vertical alignment for icon and title */
.about-icon-wrapper {
    vertical-align: baseline !important;
    position: relative !important;
    top: -2px !important;
}

.about-title {
    vertical-align: baseline !important;
    line-height: 1 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* ============================================================
   EQUAL TOP PADDING FOR ICON AND TITLE
   ============================================================ */

/* Reset and align both icon and title properly */
.about-icon-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
    top: 8px !important;
}

.about-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 0 !important;
}

/* ============================================================
   CENTER ALIGN ICON AND TITLE INLINE
   ============================================================ */

/* Perfect center alignment for icon and title */
.about-icon-wrapper {
    vertical-align: middle !important;
    top: 0 !important;
    position: relative !important;
}

.about-title {
    vertical-align: middle !important;
    line-height: 1.2 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* ============================================================
   FORCE ALL BADGES IN SINGLE HORIZONTAL ROW
   ============================================================ */

/* Force single row layout with no wrapping */
.about-highlights {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 20px !important;
    width: 100% !important;
}

.highlight-item {
    flex: 0 0 auto !important;
    display: flex !important;
}

/* Force all items to stay in one row */
.about-highlights > * {
    flex-shrink: 0 !important;
}

/* ============================================================
   FULL 1440PX WIDTH FOR BADGES ROW
   ============================================================ */

/* Badges row using full 1440px width */
.about-highlights {
    max-width: 1440px !important;
    margin: 40px auto 0 !important;
    padding: 0 40px !important;
    justify-content: space-between !important;
}

.highlight-item {
    flex: 1 1 auto !important;
    max-width: 320px !important;
}

/* ============================================================
   MATCH HEADER WIDTH 1440PX EXACTLY
   ============================================================ */

/* Section container matching header width */
.about-institute-section {
    width: 100% !important;
}

.about-institute-container {
    max-width: 1440px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

@media (max-width: 768px) {
    .about-institute-container {
        padding: 0 15px !important;
        margin-top: 0 !important;
    }
}

@media (max-width: 480px) {
    .about-institute-container {
        padding: 0 15px !important;
        margin-top: 0 !important;
    }
    
    .about-title {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

.about-content {
    max-width: 100% !important;
    padding: 0 !important;
}

.about-highlights {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 20px 0 0 0 !important;
}

/* ============================================================
   FIX TEXT ALIGN FOR FULL WIDTH BADGES
   ============================================================ */

/* Remove center alignment for badges container */
.about-institute-container {
    text-align: left !important;
}

.about-highlights {
    text-align: left !important;
    display: flex !important;
    justify-content: flex-start !important;
}

/* Center only the title and icon */
.about-icon-wrapper,
.about-title {
    text-align: left !important;
}

/* Center align only content paragraphs */
.about-content {
    text-align: left !important;
}

/* ============================================================
   ENSURE 1440PX MAX-WIDTH LIKE OTHER SECTIONS
   ============================================================ */

/* Match exact layout of header/hero sections */
section.about-institute-section {
    max-width: none !important;
    width: 100% !important;
    padding: 80px 0 !important;
}

.about-institute-container {
    max-width: 1440px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.about-content,
.about-highlights {
    box-sizing: border-box !important;
}

/* ============================================================
   FORCE ALL 4 BADGES IN SINGLE HORIZONTAL ROW
   ============================================================ */

/* Override all flex-wrap settings */
.about-highlights {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 20px !important;
    width: 100% !important;
}

/* Make each badge flex to fit */
.about-highlights .highlight-item {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    white-space: nowrap !important;
}

/* ============================================================
   ABSOLUTE FORCE - ALL 4 BADGES IN SINGLE ROW
   ============================================================ */

/* Force container to be wide enough */
section.about-institute-section .about-highlights,
.about-institute-section .about-highlights,
.about-highlights {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 40px 0 0 0 !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

/* Reduce badge size to fit all 4 in one row */
section.about-institute-section .highlight-item,
.about-institute-section .highlight-item,
.about-highlights .highlight-item,
.highlight-item {
    display: flex !important;
    flex: 0 1 auto !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
    max-width: 24% !important;
    padding: 12px 18px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Adjust text size if needed */
.highlight-item span {
    font-size: 14px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* ============================================================
   HIGHLIGHT ITEMS - NO WHITE CARD, NO VERTICAL GAP
   ============================================================ */
section.about-institute-section .highlight-item,
.about-institute-section .highlight-item,
.about-highlights .highlight-item,
.highlight-item {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 6px 10px !important;
}

section.about-institute-section .about-highlights,
.about-institute-section .about-highlights,
.about-highlights {
    margin: 10px 0 0 0 !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

/* Reduce icon size */
.highlight-icon {
    flex-shrink: 0 !important;
    width: 24px !important;
    height: 24px !important;
}

.highlight-icon svg {
    width: 24px !important;
    height: 24px !important;
}

/* Desktop - Ensure horizontal row layout */
@media (min-width: 769px) {
    section.about-institute-section .about-highlights,
    .about-institute-section .about-highlights,
    .about-highlights {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 30px !important;
    }
    
    section.about-institute-section .highlight-item,
    .about-institute-section .highlight-item,
    .about-highlights .highlight-item,
    .highlight-item {
        flex: 0 0 auto !important;
        min-width: auto !important;
        max-width: none !important;
    }
}

/* Mobile Responsive Overrides for About Highlights */
@media (max-width: 768px) {
    section.about-institute-section .about-highlights,
    .about-institute-section .about-highlights,
    .about-highlights {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
    }
    
    section.about-institute-section .highlight-item,
    .about-institute-section .highlight-item,
    .about-highlights .highlight-item,
    .highlight-item {
        flex: 0 1 calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        min-width: 140px !important;
        padding: 10px 12px !important;
        white-space: normal !important;
    }
    
    .highlight-item span {
        font-size: 12px !important;
        white-space: normal !important;
        line-height: 1.3 !important;
    }
    
    .highlight-icon {
        width: 32px !important;
        height: 32px !important;
    }
    
    .highlight-icon svg {
        width: 18px !important;
        height: 18px !important;
    }
}

@media (max-width: 480px) {
    section.about-institute-section .about-highlights,
    .about-institute-section .about-highlights,
    .about-highlights {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding: 0 !important;
    }
    
    section.about-institute-section .highlight-item,
    .about-institute-section .highlight-item,
    .about-highlights .highlight-item,
    .highlight-item {
        flex: 0 0 auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
        padding: 12px 15px !important;
        justify-content: flex-start !important;
        align-items: center !important;
        white-space: normal !important;
    }
    
    .highlight-item span {
        font-size: 14px !important;
        white-space: normal !important;
        flex: 1 !important;
    }
    
    .highlight-icon {
        width: 36px !important;
        height: 36px !important;
        flex-shrink: 0 !important;
    }
    
    .highlight-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
}

/* ============================================================
   FINAL OVERRIDE - DESKTOP HORIZONTAL LAYOUT
   ============================================================ */
@media (min-width: 769px) {
    section.about-institute-section .about-highlights,
    .about-institute-section .about-highlights,
    div.about-highlights,
    .about-highlights {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 30px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    section.about-institute-section .highlight-item,
    .about-institute-section .highlight-item,
    .about-highlights .highlight-item,
    div.highlight-item,
    .highlight-item {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: auto !important;
        display: flex !important;
        flex-direction: row !important;
    }
}

/* FOOTER CONTACT MOBILE GRID - FINAL OVERRIDE */
@media (max-width: 768px) {
    .footer-bottom .footer-bottom-container .footer-contact,
    .footer-bottom-container .footer-contact,
    div.footer-contact,
    .footer-contact {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px 8px !important;
        justify-items: center !important;
        width: 100% !important;
        flex-direction: unset !important;
    }
    
    .footer-contact-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 4px !important;
        font-size: 9px !important;
        max-width: 100% !important;
    }
    
    .footer-contact-item svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .footer-contact-item span {
        word-break: break-word !important;
        white-space: normal !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 480px) {
    .footer-bottom .footer-bottom-container .footer-contact,
    .footer-bottom-container .footer-contact,
    div.footer-contact,
    .footer-contact {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px 5px !important;
        justify-items: center !important;
        width: 100% !important;
        flex-direction: unset !important;
    }
    
    .footer-contact-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 3px !important;
        font-size: 8px !important;
        max-width: 100% !important;
    }
    
    .footer-contact-item svg {
        width: 14px !important;
        height: 14px !important;
    }
    
    .footer-contact-item span {
        word-break: break-word !important;
        white-space: normal !important;
        line-height: 1.2 !important;
    }
}

/* ============================================================
   REMOVE GAPS BETWEEN ABOUT SECTION AND FEATURED BOOKS
   ============================================================ */
section.about-institute-section,
.about-institute-section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

section.about-institute-section .about-highlights,
.about-institute-section .about-highlights,
.about-highlights {
    margin-bottom: 0 !important;
}

/* Remove top spacing from Featured Books section */
section.courses-section {
    margin-top: 0 !important;
}

/* ============================================================
   MOBILE: REMOVE TOP SPACING FROM ABOUT SECTION - FINAL FIX
   ============================================================ */
@media (max-width: 768px) {
    section.about-institute-section,
    .about-institute-section {
        padding-top: 0 !important;
        margin-top: 0 !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .about-institute-container {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .about-title,
    section.about-institute-section .about-title,
    .about-institute-section h2.about-title,
    h2.about-title {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

@media (max-width: 480px) {
    section.about-institute-section,
    .about-institute-section {
        padding-top: 0 !important;
        margin-top: 0 !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .about-institute-container {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .about-title,
    section.about-institute-section .about-title,
    .about-institute-section h2.about-title,
    h2.about-title {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

/* ============================================================
   SYSTEMATIC RESPONSIVE FONT SIZES - TABLET
   ============================================================ */
@media (max-width: 768px) {
    :root {
        --font-hero-title: 38px;
        --font-section-title: 32px;
        --font-large-heading: 28px;
        --font-medium-heading: 22px;
        --font-subheading: 18px;
        --font-small-heading: 17px;
        --font-tiny-heading: 16px;
        --font-emphasis: 17px;
        --font-body: 15px;
        --font-base: 14px;
        --font-small: 13px;
        --font-tiny: 12px;
    }
}

/* ============================================================
   SYSTEMATIC RESPONSIVE FONT SIZES - MOBILE
   ============================================================ */
@media (max-width: 480px) {
    :root {
        --font-hero-title: 32px;
        --font-section-title: 28px;
        --font-large-heading: 24px;
        --font-medium-heading: 20px;
        --font-subheading: 18px;
        --font-small-heading: 16px;
        --font-tiny-heading: 15px;
        --font-emphasis: 16px;
        --font-body: 15px;
        --font-base: 14px;
        --font-small: 13px;
        --font-tiny: 12px;
    }
}

/* ============================================================
   ABOUT TITLE - FINAL OVERRIDE: match section-title style
   ============================================================ */
h1.about-title,
h2.about-title,
.about-title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    font-size: 32px !important;
    line-height: 1.3 !important;
    padding: 0 16px !important;
    margin: 0 auto 10px !important;
    vertical-align: baseline !important;
}

@media (max-width: 768px) {
    h1.about-title, h2.about-title, .about-title {
        font-size: 26px !important;
    }
}

@media (max-width: 480px) {
    h1.about-title, h2.about-title, .about-title {
        font-size: 22px !important;
        padding: 0 8px !important;
    }
}

/* About section heading mobile responsive when using section-title class */
@media (max-width: 768px) {
    .about-institute-section .section-title {
        font-size: 28px !important;
    }
}

@media (max-width: 480px) {
    .about-institute-section .section-title {
        font-size: 22px !important;
    }
}

/* ============================================================
   BOOKS GRID - match heading-to-grid gap of other sections
   ============================================================ */
.books-grid.courses-grid {
    margin-top: 25px !important;
}

/* ============================================================
   HIGHLIGHTS - 2x2 GRID, ICON + VISIBLE TEXT
   ============================================================ */
section.about-institute-section .about-highlights,
.about-institute-section .about-highlights,
.about-highlights {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 8px 0 0 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

section.about-institute-section .highlight-item,
.about-institute-section .highlight-item,
.about-highlights .highlight-item,
.highlight-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex: 0 0 calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
    min-width: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 4px 6px !important;
    gap: 6px !important;
}

.about-highlights .highlight-item span,
.highlight-item span {
    font-size: 11px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
}

.about-highlights .highlight-icon,
.highlight-icon {
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0 !important;
}

.about-highlights .highlight-icon svg,
.highlight-icon svg {
    width: 14px !important;
    height: 14px !important;
}

/* Mobile responsive styles for headings with inline font-size */
@media (max-width: 768px) {
    h2.section-title[style*="font-size: 36px"],
    .section-title[style*="font-size: 36px"] {
        font-size: 28px !important;
    }
}

@media (max-width: 480px) {
    h2.section-title[style*="font-size: 36px"],
    .section-title[style*="font-size: 36px"] {
        font-size: 22px !important;
        padding-bottom: 15px !important;
    }
}