/* 
   Chonburi Vocational College - World-Class Vibrant UI 
*/

:root {
    /* Vibrant Color Palette */
    --primary: #0ea5e9;
    /* Sky Blue */
    --primary-light: #38bdf8;
    --primary-dark: #0284c7;

    --secondary: #f43f5e;
    /* Rose / Pink */
    --secondary-hover: #e11d48;

    --accent: #8b5cf6;
    /* Violet */
    --accent-orange: #f59e0b;
    --accent-green: #10b981;

    --bg-main: #ffffff;
    --bg-soft: #f0f9ff;
    /* Soft Blue */
    --bg-surface: #ffffff;
    --bg-footer: #f8fafc;

    --text-dark: #0f172a;
    --text-main: #334155;
    --text-light: #64748b;
    --text-white: #ffffff;

    --border: #e2e8f0;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-vibrant: 0 10px 25px -5px rgba(14, 165, 233, 0.4);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --font-heading: 'Prompt', sans-serif;
    --font-body: 'Kanit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 60px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.bg-soft-blue {
    background-color: #f0f9ff;
}

.bg-soft-mint {
    background-color: #f0fdf4;
}

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

.mt-4 {
    margin-top: 1.5rem;
}

.py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.border-top {
    border-top: 1px solid var(--border);
}

/* Typography & Titles */
.sub-heading {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header.center {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.section-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--bg-soft);
    padding-bottom: 1rem;
}

.section-header-compact .section-title {
    font-size: 1.5rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
}

/* Gradients */
.text-gradient-vibrant {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-1 {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-color: #7dd3fc;
}

.bg-gradient-2 {
    background: linear-gradient(135deg, #fce7f3, #fbcfe8);
    border-color: #f9a8d4;
}

.bg-gradient-3 {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: #fcd34d;
}

.bg-gradient-4 {
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
    border-color: #d8b4fe;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-white);
    box-shadow: var(--shadow-vibrant);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(14, 165, 233, 0.5);
    color: var(--text-white);
}

.btn-primary-light {
    background-color: var(--bg-soft);
    color: var(--primary-dark);
    font-weight: 600;
}

.btn-primary-light:hover {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-outline-vibrant {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

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

.btn-text {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-text:hover {
    gap: 0.5rem;
    color: var(--primary-dark);
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    background-color: var(--bg-soft);
    border-radius: 50px;
    padding: 0.25rem 0.25rem 0.25rem 1rem;
    border: 1px solid var(--border);
}

.search-input {
    border: none;
    background: none;
    outline: none;
    padding: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    width: 200px;
    color: var(--text-main);
}

.btn-search {
    background-color: var(--primary);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-search:hover {
    background-color: var(--primary-dark);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 0.25rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-toggle {
    display: none;
    /* Desktop hidden */
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--primary-dark);
    cursor: pointer;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1001;
    /* Above menu on mobile */
}

.brand-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: -0.2rem;
    color: var(--text-dark);
}

.brand-text span {
    font-size: 0.75rem;
    color: var(--primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

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

.nav-list {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mega Menu */
.mega-dropdown {
    position: static;
    /* Let the menu be full width relative to navbar */
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-surface);
    box-shadow: var(--shadow-xl);
    border-top: 1px solid var(--border);
    border-bottom: 3px solid var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s ease;
    z-index: 100;
    padding: 2rem 0;
}

/* Desktop Hover */
@media (min-width: 1025px) {
    .mega-dropdown:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.mega-menu-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    /* Default to 4 columns for generic mega menus */
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.mega-menu-about .mega-menu-inner {
    grid-template-columns: 1fr 1fr;
}

.mega-col-wide {
    background-color: var(--bg-soft);
    padding: 1.5rem;
    border-radius: 12px;
}

.mega-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.5rem;
}

.sub-mega-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    margin-top: 1rem;
}

.academic-jobs .sub-mega-title {
    margin-top: 0;
}

.mega-links li {
    margin-bottom: 0.5rem;
}

.mega-links li a {
    color: var(--text-main);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
}

.mega-links li a i {
    font-size: 1.1rem;
    color: var(--primary);
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.mega-links li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.mega-links li a:hover i {
    color: var(--primary-dark);
}

/* Spacing between category groups in same column */
.mt-mega {
    margin-top: 1.5rem !important;
}

/* Color utilities for icons */
.text-blue { color: var(--primary) !important; }
.text-orange { color: var(--accent-orange) !important; }
.text-pink { color: var(--secondary) !important; }
.text-purple { color: var(--accent) !important; }
.text-green { color: var(--accent-green) !important; }
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }

.columns-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    background-color: #f8fafc;
}

.hero-shape {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 150px;
    background: var(--bg-main);
    clip-path: polygon(0 40%, 100% 0, 100% 100%, 0% 100%);
    z-index: 20;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 10s ease;
}

.swiper-slide-active .hero-bg {
    transform: scale(1);
}

/* Vibrant Overlay - much lighter, soft gradient */
.hero-overlay-vibrant {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 249, 255, 0.6) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
    max-width: 1320px;
    margin: 0 auto;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: var(--primary);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    width: max-content;
    box-shadow: var(--shadow-md);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--text-dark);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-main);
    max-width: 600px;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Swiper navigation vibrant */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.25rem;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary);
    color: white;
}

.swiper-pagination-bullet {
    background: var(--primary-dark);
    opacity: 0.3;
    width: 12px;
    height: 12px;
}

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

/* Quick Links Floating */
.quick-links {
    margin-top: -80px;
    position: relative;
    z-index: 30;
}

.ql-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.ql-card {
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid;
    position: relative;
    overflow: hidden;
}

.ql-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    opacity: 0;
    transition: var(--transition);
}

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

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

.ql-icon {
    font-size: 3.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.ql-card:hover .ql-icon {
    transform: scale(1.1);
}

.ql-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 2;
    color: var(--text-dark);
}

.ql-card p {
    color: var(--text-main);
    font-size: 0.875rem;
    position: relative;
    z-index: 2;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background-color: var(--bg-surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
}

.news-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-color: var(--primary-light);
}

.news-badge.pinned {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--secondary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: var(--shadow-md);
}

.news-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #e2e8f0;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

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

.news-date {
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    background-color: var(--bg-surface);
    color: var(--primary-dark);
    padding: 0.5rem;
    text-align: center;
    border-radius: 8px 8px 0 0;
    min-width: 60px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.news-date .day {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}

.news-date .month {
    font-size: 0.75rem;
    font-weight: 500;
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.75rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 600;
}

.tag-blue {
    background-color: #e0f2fe;
    color: #0284c7;
}

.tag-orange {
    background-color: #ffedd5;
    color: #ea580c;
}

.tag-green {
    background-color: #dcfce3;
    color: #16a34a;
}

.tag-purple {
    background-color: #f3e8ff;
    color: #9333ea;
}

.tag-yellow {
    background-color: #fef9c3;
    color: #a16207;
}

.tag-gray {
    background-color: #f1f5f9;
    color: #475569;
}

.agency {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
}

.news-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-title a {
    color: var(--text-dark);
}

.news-title a:hover {
    color: var(--primary);
}

.news-excerpt {
    color: var(--text-main);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--bg-soft);
    padding-top: 1rem;
    margin-top: auto;
}

.news-footer .date {
    font-size: 0.875rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-read-more {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-top: 1px solid var(--bg-soft);
    padding-top: 1rem;
    margin-top: auto;
}

.btn-read-more:hover {
    gap: 0.5rem;
    color: var(--primary-dark);
}

.news-card.featured {
    grid-column: 1 / -1;
    flex-direction: row;
}

.news-card.featured .news-img {
    width: 50%;
    aspect-ratio: unset;
    flex-shrink: 0;
}

.news-card.featured .news-content {
    width: 50%;
    padding: 2.5rem;
}

.news-card.featured .news-title {
    font-size: 1.5rem;
}

.news-card.featured .news-excerpt {
    font-size: 1rem;
    -webkit-line-clamp: 3;
}

/* ============================
   Newsletter (จดหมายข่าว)
   ============================ */

/* Month tab pills */
.nl-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.nl-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    border: 2px solid var(--border);
    background: #fff;
    color: #475569;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
    line-height: 1;
}

.nl-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #eef2ff;
}

.nl-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(99,102,241,.35);
}

.nl-count {
    background: rgba(255,255,255,.3);
    border-radius: 50px;
    font-size: 0.75rem;
    padding: 0.1rem 0.45rem;
    min-width: 20px;
    text-align: center;
    font-weight: 700;
}

.nl-tab:not(.active) .nl-count {
    background: #e2e8f0;
    color: #64748b;
}

/* Panel show/hide */
.nl-panel { display: none; }
.nl-panel.active { display: block; }

/* Image grid */
.nl-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

/* Thumbnail card */
.nl-thumb {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.nl-thumb:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(99,102,241,.2);
}

.nl-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.nl-thumb:hover img {
    transform: scale(1.05);
}

.nl-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(99,102,241,.0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    opacity: 0;
    transition: all .3s ease;
}

.nl-thumb:hover .nl-thumb-overlay {
    background: rgba(99,102,241,.45);
    opacity: 1;
}

/* GLightbox zoom override */
.glightbox-container .gzoom-out-max {
    cursor: zoom-out;
}

/* Responsive newsletter grid */
@media (max-width: 991px) {
    .nl-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
    .nl-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .nl-tabs { gap: 0.4rem; }
    .nl-tab { font-size: 0.82rem; padding: 0.45rem 0.9rem; }
}

@media (max-width: 575px) {
    .nl-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
}

/* ============================
   Highlights Product Cards
   ============================ */
.highlights-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.highlight-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}

.highlight-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(99,102,241,.15);
}

/* Image variant */
.hpc-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f1f5f9;
}

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

.highlight-product-card:hover .hpc-image img {
    transform: scale(1.06);
}

/* Icon variant (no image) */
.hpc-icon-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card body */
.hpc-body {
    padding: 1.1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.4rem;
}

.hpc-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 50px;
    letter-spacing: .03em;
    text-transform: uppercase;
    align-self: flex-start;
}

.hpc-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    margin: 0;
}

.hpc-desc {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.hpc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    margin-top: 0.5rem;
}

.hpc-link:hover { text-decoration: underline; }

/* Mixed Grid Sections */
.mixed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Highlights */
.highlights-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: var(--bg-surface);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    gap: 1rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.highlight-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fef08a, #f59e0b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.highlight-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.highlight-info p {
    font-size: 0.875rem;
    color: var(--text-main);
}

/* Events Calendar */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-item {
    display: flex;
    align-items: stretch;
    background: var(--bg-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.event-date-box {
    background: var(--primary);
    color: white;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.event-date-box.bg-purple {
    background: var(--accent);
}

.event-date-box.bg-orange {
    background: var(--accent-orange);
}

.event-date-box .d {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}

.event-date-box .m {
    font-size: 0.875rem;
    font-weight: 500;
}

.event-info {
    padding: 1.25rem;
    flex-grow: 1;
}

.event-info h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.event-info p {
    font-size: 0.875rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Gallery Masonry */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.item-wide {
    grid-column: span 2;
    grid-row: span 1;
}

@media (max-width: 768px) {

    .item-large,
    .item-wide {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Procurement & Documents */
.procurement-list,
.document-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.procurement-item,
.doc-card {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    gap: 1.5rem;
    transition: var(--transition);
}

.procurement-item:hover,
.doc-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.procurement-status {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.1em;
}

.status-open {
    background-color: #dcfce3;
    color: #16a34a;
}

.status-closed {
    background-color: #f1f5f9;
    color: #64748b;
}

.badge-blue {
    background: #e0f2fe;
    color: #0284c7;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-orange {
    background: #ffedd5;
    color: #ea580c;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-gray {
    background: #f1f5f9;
    color: #475569;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.procurement-info {
    flex-grow: 1;
}

.procurement-info h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.procurement-date {
    text-align: right;
    color: var(--text-main);
    font-size: 0.875rem;
    font-weight: 500;
}

.doc-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.doc-icon.pdf {
    background-color: #ffe4e6;
    color: #e11d48;
}

.doc-icon.xls {
    background-color: #dcfce3;
    color: #16a34a;
}

.doc-info {
    flex-grow: 1;
}

.doc-cat {
    font-size: 0.75rem;
    color: var(--primary);
    background-color: #e0f2fe;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.25rem;
    display: inline-block;
    font-weight: 600;
}

.doc-info h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.doc-meta {
    font-size: 0.75rem;
    color: var(--text-light);
}

.btn-download {
    background: var(--bg-soft);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.btn-download:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* External Links */
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    opacity: 0.7;
}

.partner-logos img {
    max-height: 50px;
    border-radius: 8px;
    filter: grayscale(50%);
    transition: var(--transition);
}

.partner-logos img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Footer Lighter Modern - OVERRIDDEN by .footer-modern dark theme below */
/* Old light theme rules removed - see "BEAUTIFUL MODERN FOOTER" section */

/* Responsive adjustments */
@media (max-width: 1024px) {
    .news-card.featured {
        flex-direction: column;
    }

    .news-card.featured .news-img {
        width: 100%;
        height: 300px;
        aspect-ratio: unset;
    }

    .news-card.featured .news-content {
        width: 100%;
    }

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

    .footer-modern .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile & Tablet Nav Handling - Burger Left, Ladder Accordion */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }

    /* Reorder header items for mobile: Burger (Left), Logo (Center), Actions (Right) */
    .mobile-toggle {
        display: block;
        order: 1;
    }

    .nav-brand {
        order: 2;
        margin: 0 auto;
        padding-right: 1rem;
    }

    .nav-actions {
        order: 3;
    }

    .nav-actions .search-box {
        display: none;
        /* Hide search input on mobile, maybe icon only */
    }

    .brand-logo {
        font-size: 2rem;
    }

    .brand-text h1 {
        font-size: 1rem;
    }

    /* ==========================================================
       🌟 PREMIUM MOBILE SIDEBAR 🌟
    ========================================================== */
    .nav-menu-wrapper {
        position: absolute;
        top: 100%; /* Drops exactly below navbar */
        left: -100%;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 20px 0 40px rgba(15, 23, 42, 0.08);
        overflow-y: auto;
        z-index: 999;
        border-right: none;
    }

    .nav-menu-wrapper.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .nav-list > li {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 1.25rem;
        border: none;
        border-radius: 12px;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--text-dark);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-link.dropdown-toggle i {
        margin-left: auto;
    }
    
    .nav-link:hover, .nav-link:active, .nav-link.active {
        background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(14, 165, 233, 0.02));
        color: var(--primary-dark);
        transform: translateX(4px);
    }

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

    /* Mega Menu to Ladder Accordion */
    .mega-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background-color: transparent;
        padding: 0;
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s ease;
    }

    .mega-dropdown.active .mega-menu {
        max-height: 2500px; /* large enough for content */
        opacity: 1;
        visibility: visible;
    }

    .mega-menu-inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0.5rem 0 1rem 1rem;
        border-left: 2px solid rgba(14, 165, 233, 0.15);
        margin-left: 1.5rem;
    }

    .mega-col {
        padding: 0;
        background: transparent;
        border-radius: 0;
    }

    .mega-col-wide {
        padding: 0;
        background: transparent;
    }

    /* Sub-menu Titles */
    .mega-title {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-main);
        cursor: pointer;
        padding: 0.85rem 1rem;
        margin: 0;
        border-bottom: none;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.2s ease;
    }
    
    .mega-title:hover, .mega-title.active {
        background: rgba(15, 23, 42, 0.03);
        color: var(--primary-dark);
    }

    .mega-title i:first-child {
        margin-right: 0.5rem;
    }

    .mega-title::after {
        content: '\25BE';
        font-size: 1.2rem;
        transition: transform 0.3s ease;
        color: var(--primary);
    }

    .mega-title.active::after {
        transform: rotate(-180deg);
    }

    .mega-links {
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        padding: 0 0 0 1rem;
        margin: 0;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, padding 0.4s ease;
    }

    .mega-title.active + .mega-links {
        max-height: 1200px;
        opacity: 1;
        padding: 0.5rem 0 0.5rem 1rem;
    }
    
    .mega-links li a {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
        color: var(--text-light);
        display: flex;
        align-items: center;
        gap: 0.5rem;
        border-radius: 8px;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .mega-links li a:hover {
        background: white;
        color: var(--primary);
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        transform: translateX(4px);
    }

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

    .sub-mega-title {
        margin-top: 1rem;
        border-top: 1px dashed rgba(14, 165, 233, 0.2);
        padding-top: 1rem;
    }
}

@media (max-width: 480px) {
    .ql-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .procurement-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .procurement-status {
        writing-mode: horizontal-tb;
        transform: none;
        width: auto;
    }

    .procurement-date {
        text-align: left;
    }

    .footer-modern .footer-grid {
        grid-template-columns: 1fr;
    }

    .fb-content {
        justify-content: center;
        text-align: center;
    }
}
/* Ultra-Premium Hero Section */
.hero-premium {
    position: relative;
    padding-top: 1rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-main);
}

.hero-container {
    width: 96%;
    max-width: 1600px;
    height: 88vh;
    min-height: 700px;
    margin: 0 auto;
    margin-top: 6rem;
    border-radius: 40px;
    position: relative;
    overflow: visible;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    overflow: hidden;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 10s ease;
}

.swiper-slide-active .hero-image {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
    border-radius: 40px;
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 4rem;
}

.hero-text-area {
    max-width: 650px;
}

.hero-badge-glow {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f8fafc;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.hero-display {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    line-height: 1.05;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.text-stroke-white {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.8);
    color: transparent;
}

.hero-lead {
    font-size: 1.125rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-glow-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
    transition: all 0.3s;
}

.btn-glow-primary:hover {
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.8);
    transform: translateY(-3px);
    color: white;
}

.btn-glass-play {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-glass-play i {
    font-size: 1.5rem;
}

.btn-glass-play:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Floating Elements */
.hero-floating-elements {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-card {
    position: absolute;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    pointer-events: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.card-top-right {
    top: 15%;
    right: 5%;
    animation: float-slow 6s ease-in-out infinite alternate;
}

.card-bottom-left {
    bottom: 25%;
    right: 20%;
    animation: float-slow 8s ease-in-out infinite alternate-reverse;
}

.icon-box-small {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.float-info h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.float-info span {
    color: #cbd5e1;
    font-size: 0.8rem;
}

.avatar-group {
    display: flex;
    align-items: center;
}

.avatar-group img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    margin-left: -15px;
}
.avatar-group img:first-child { margin-left: 0; }

.avatar-more {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: -15px;
    border: 2px solid rgba(255,255,255,0.5);
}

@keyframes float-slow {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

/* Quick Link Bar */
.hero-quick-links {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 20;
    display: flex;
    justify-content: center;
}

.quick-link-bar {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 3rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,1);
}

.quick-link-bar a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
}

.quick-link-bar a i {
    font-size: 1.5rem;
}

.quick-link-bar a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .hero-container { width: 100%; height: auto; min-height: 80vh; border-radius: 0; margin-top: 0; padding-top: 5rem; padding-bottom: 5rem; }
    .hero-slider { border-radius: 0; }
    .hero-overlay { border-radius: 0; }
    .hero-content-wrapper { padding: 0 2rem; flex-direction: column; justify-content: center; text-align: center; }
    .hero-text-area { max-width: 100%; margin-top: 2rem; }
    .hero-cta-group { justify-content: center; flex-wrap: wrap; }
    .hero-floating-elements { display: none; } /* Hide floating elements on mobile */
    .hero-quick-links { position: static; transform: none; bottom: 0; margin-top: 3rem; }
    .quick-link-bar { flex-direction: column; border-radius: 20px; padding: 1.5rem; gap: 1rem; width: 100%; max-width: 400px; margin: 0 auto; }
}

/* ==========================================================
   Ultimate Aesthetic Hero Section
========================================================== */
.hero-ultimate {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #020617; /* Slate 950 */
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-slider, .hero-bg-slider .swiper-wrapper, .hero-bg-slider .swiper-slide {
    width: 100%;
    height: 100%;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.swiper-slide-active .hero-bg-img {
    transform: scale(1);
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(2, 6, 23, 0.4) 0%, rgba(2, 6, 23, 0.8) 100%);
    z-index: 2;
}

.hero-content-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.hero-content-center {
    max-width: 900px;
    margin-top: -5rem;
}

.hero-badge-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-subtext {
    font-size: 1.125rem;
    display: inline-block;
}
@media (max-width: 768px) {
    .hero-subtext { font-size: 0.9rem; }
}

.hero-title-massive {
    font-size: clamp(2.5rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.text-glow-white {
    color: white;
    text-shadow: 0 0 40px rgba(255,255,255,0.4);
}

.text-gradient-neon {
    background: linear-gradient(to right, #38bdf8, #818cf8, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc-clean {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
}

.hero-btn-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-neon-solid {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: white;
    color: #0f172a;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(255,255,255,0.2);
}

.btn-neon-solid:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255,255,255,0.4);
    background: #f8fafc;
}

.btn-neon-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.4s;
}

.btn-neon-outline i { font-size: 1.5rem; }

.btn-neon-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-5px);
}

/* Glass Orbs Parallax */
.glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    pointer-events: none;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(56, 189, 248, 0.4);
    top: -100px;
    left: -100px;
    animation: float-slow 10s infinite alternate;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(244, 114, 182, 0.3);
    bottom: -150px;
    right: -100px;
    animation: float-slow 15s infinite alternate-reverse;
}

/* Hero Quick Actions */
.hero-quick-actions {
    position: absolute;
    bottom: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    z-index: 20;
    padding: 0 1rem;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hq-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 2rem;
    border-radius: 20px;
    transition: all 0.4s;
    cursor: pointer;
}

.hq-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.hq-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.hq-info strong {
    display: block;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.hq-info a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.3s;
}

.hq-card:hover .hq-info a {
    color: white;
}

@media (max-width: 1024px) {
    .hero-ultimate {
        min-height: 100vh;
        height: auto;
        padding-top: 80px; /* Space for navbar */
        padding-bottom: 2rem;
    }
    .hero-content-center { 
        margin-top: 0; 
    }
    .hero-quick-actions { flex-direction: column; bottom: 0; position: relative; margin-top: 3rem; width: 100%; max-width: 400px; }
    .hero-btn-group { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
    .btn-neon-solid, .btn-neon-outline { width: 100%; justify-content: center; }
}

/* ==========================================================
   Lightbox Gallery Overlay
========================================================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: zoom-out;
}

.lightbox-overlay.active {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 48px;
    height: 48px;
    background: white;
    color: #0f172a;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

/* ==========================================================
   Back to Top Button
========================================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary, #0ea5e9);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.6);
}

/* ==========================================================
   Body Menu Open (Prevent scroll when mobile menu is open)
========================================================== */
body.menu-open {
    overflow: hidden;
}

/* ==========================================================
   Gallery Hover Enhancement
========================================================== */
.gallery-item {
    cursor: zoom-in;
}

.gallery-item img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ==========================================================
   Search Box Expand
========================================================== */
.search-box {
    position: relative;
    transition: all 0.3s;
}

.search-box .search-input {
    width: 0;
    padding: 0;
    border: none;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-box.expanded .search-input {
    width: 240px;
    padding: 0.5rem 1rem;
    opacity: 1;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50px;
    background: rgba(255,255,255,0.95);
}

/* ==========================================================
   ✨ FULL RESPONSIVE DESIGN - All Devices
   Mobile First Optimized | Last updated for index.php
========================================================== */

/* Hero Base Styles (replaces inline style) */
.hero-ultimate {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}
.hero-bg-slider {
    width: 100%;
    height: 100%;
}

/* Global Container Fixes */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
}

img, video {
    max-width: 100%;
    height: auto;
}

* {
    box-sizing: border-box;
}

/* ---------- LARGE DESKTOP (1400px+) ---------- */
@media (min-width: 1400px) {
    .container { max-width: 1320px; }
    .hero-title-massive { font-size: clamp(3rem, 6vw, 5rem) !important; }
    .news-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr !important;
    }
}

/* ---------- STANDARD DESKTOP (1200-1399px) ---------- */
@media (max-width: 1399px) and (min-width: 1200px) {
    .container { max-width: 1140px; }
    .hero-quick-actions {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* ---------- SMALL DESKTOP / LARGE TABLET (992-1199px) ---------- */
@media (max-width: 1199px) {
    .container { max-width: 960px; padding-left: 1.25rem; padding-right: 1.25rem; }

    .hero-title-massive {
        font-size: clamp(2.5rem, 5vw, 4rem) !important;
        line-height: 1.1 !important;
    }
    .hero-desc-clean { font-size: 1rem !important; }

    .hero-quick-actions {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
    }
    .news-card.featured {
        grid-column: 1 / -1;
    }

    .mixed-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem !important;
    }

    .document-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .section-title { font-size: 1.75rem !important; }
}

/* ---------- TABLET (768-991px) ---------- */
@media (max-width: 991px) {
    .container { max-width: 720px; padding-left: 1rem; padding-right: 1rem; }

    /* Highlights Product Grid: 2 cols on tablet */
    .highlights-product-grid { grid-template-columns: repeat(2, 1fr); }

    /* Hero Section */
    .hero-ultimate {
        height: auto !important;
        min-height: 100vh !important;
        padding: 100px 0 3rem !important;
    }
    .hero-content-container {
        position: relative !important;
        padding: 2rem 1rem !important;
    }
    .hero-title-massive {
        font-size: clamp(2rem, 7vw, 3.5rem) !important;
        line-height: 1.15 !important;
    }
    .hero-desc-clean {
        font-size: 0.95rem !important;
        max-width: 90% !important;
        padding: 0 1rem;
    }
    .hero-badge-glass {
        padding: 0.4rem 1rem !important;
        font-size: 0.8rem !important;
    }
    .hero-btn-group {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .btn-neon-solid, .btn-neon-outline {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Quick Actions */
    .hero-quick-actions {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        max-width: 100% !important;
        margin: 2rem auto 0 !important;
        padding: 0 1rem !important;
        width: 100% !important;
    }
    .hq-card {
        padding: 1rem !important;
        flex-direction: row !important;
    }
    .hq-icon { font-size: 1.5rem !important; }
    .hq-info strong { font-size: 0.85rem !important; }
    .hq-info a { font-size: 0.75rem !important; }

    /* Sections */
    .section-padding { padding: 3rem 0 !important; }
    .section-title { font-size: 1.5rem !important; }
    .sub-heading { font-size: 0.75rem !important; }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        text-align: left;
    }

    /* News Grid */
    .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    .news-card.featured { grid-column: 1 / -1; }
    .news-card.featured .news-img { height: 260px !important; width: 50% !important; }
    .news-content { padding: 1.25rem !important; }
    .news-title { font-size: 1rem !important; line-height: 1.4; }

    /* Mixed Grid (Highlights & Events) */
    .mixed-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Gallery Masonry */
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 150px !important;
    }
    .gallery-item.item-large,
    .gallery-item.item-wide {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
    }

    /* Document Grid */
    .document-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    /* Hide swiper navigation on mobile */
    .swiper-button-next, .swiper-button-prev {
        display: none !important;
    }
}

/* ---------- LARGE PHONE / MOBILE LANDSCAPE (576-767px) ---------- */
@media (max-width: 767px) {
    .container { padding-left: 1rem; padding-right: 1rem; }

    /* Highlights Product Grid: 2 cols on tablet/phone */
    .highlights-product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

    /* Hero */
    .hero-ultimate {
        padding: 90px 0 2rem !important;
    }
    .hero-title-massive {
        font-size: clamp(1.75rem, 8vw, 2.75rem) !important;
    }
    .hero-desc-clean {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
    .glass-orb { display: none !important; }

    /* Quick Actions */
    .hero-quick-actions {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.6rem !important;
    }
    .hq-card {
        padding: 0.85rem !important;
        border-radius: 12px !important;
        gap: 0.6rem !important;
    }
    .hq-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 1.2rem !important;
    }
    .hq-info strong { font-size: 0.78rem !important; }
    .hq-info a {
        font-size: 0.7rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }

    /* News Grid - single column on phones */
    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .news-card.featured {
        flex-direction: column !important;
    }
    .news-card.featured .news-img {
        width: 100% !important;
        height: 220px !important;
        aspect-ratio: unset !important;
    }
    .news-card.featured .news-content {
        width: 100% !important;
    }

    /* Gallery - single column */
    .gallery-masonry {
        grid-template-columns: 1fr !important;
        grid-auto-rows: 200px !important;
    }
    .gallery-item.item-large,
    .gallery-item.item-wide,
    .gallery-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    /* Documents */
    .document-grid {
        grid-template-columns: 1fr !important;
    }
    .doc-card {
        flex-direction: row;
        align-items: center;
        padding: 1rem !important;
    }

    /* Events */
    .event-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .event-date-box {
        min-width: 56px !important;
        padding: 0.5rem !important;
    }
    .event-date-box .d { font-size: 1.25rem !important; }

    /* Highlights */
    .highlight-item {
        flex-direction: row;
        gap: 0.75rem;
        padding: 1rem !important;
    }
    .highlight-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.25rem !important;
    }

    /* Buttons */
    .btn { padding: 0.55rem 1.1rem !important; font-size: 0.85rem !important; }

    /* Section Title */
    .section-title { font-size: 1.35rem !important; }
    .section-padding { padding: 2.5rem 0 !important; }
}

/* ---------- SMALL PHONE (< 576px) ---------- */
@media (max-width: 575px) {
    .container { padding-left: 0.875rem; padding-right: 0.875rem; }

    /* Hero */
    .hero-ultimate {
        padding: 80px 0 1.5rem !important;
    }
    .hero-title-massive {
        font-size: clamp(1.5rem, 9vw, 2.25rem) !important;
        line-height: 1.2 !important;
    }
    .hero-desc-clean {
        font-size: 0.85rem !important;
        padding: 0 0.5rem;
    }
    .hero-badge-glass {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.75rem !important;
    }

    /* Quick Actions - 1 col on small phones */
    .hero-quick-actions {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
        margin-top: 1.5rem !important;
    }
    .hq-card {
        padding: 0.75rem !important;
        flex-direction: row !important;
    }

    /* News */
    .news-card .news-img { height: 180px; aspect-ratio: unset; }
    .news-card.featured .news-img { height: 200px !important; width: 100% !important; aspect-ratio: unset !important; }
    .news-card .news-img img { width: 100%; height: 100%; object-fit: cover; }
    .news-content { padding: 1rem !important; }
    .news-title { font-size: 0.95rem !important; }
    .news-excerpt { font-size: 0.85rem !important; }
    .news-date {
        bottom: 0 !important;
        left: 1rem !important;
        top: auto !important;
        right: auto !important;
        padding: 0.3rem 0.5rem !important;
        min-width: 44px;
    }
    .news-date .day { font-size: 1rem !important; }
    .news-date .month { font-size: 0.6rem !important; }

    /* Section Title */
    .section-title { font-size: 1.2rem !important; line-height: 1.3 !important; }
    .section-header-compact {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    /* Events */
    .events-list { gap: 0.75rem !important; }
    .event-info h4 { font-size: 0.9rem !important; }
    .event-info p { font-size: 0.78rem !important; }

    /* Highlights */
    .highlight-info h4 { font-size: 0.9rem !important; }
    .highlight-info p { font-size: 0.8rem !important; }

    /* Document Card */
    .doc-card {
        padding: 0.85rem !important;
        gap: 0.75rem;
    }
    .doc-icon { font-size: 2rem !important; min-width: 44px !important; }
    .doc-info h4 { font-size: 0.88rem !important; }
    .doc-info .doc-meta { font-size: 0.75rem !important; }

    /* Buttons */
    .btn { padding: 0.5rem 1rem !important; font-size: 0.8rem !important; width: 100%; max-width: 280px; justify-content: center; }
    .btn-primary-light, .btn-outline-vibrant { width: auto !important; }

    /* Section Header center buttons */
    .section-header > a.btn { align-self: stretch; width: 100% !important; max-width: none !important; }

    /* Back to top - smaller */
    .back-to-top {
        bottom: 1rem !important;
        right: 1rem !important;
        width: 42px !important;
        height: 42px !important;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        text-align: center;
    }
}

/* ---------- EXTRA SMALL (< 380px) ---------- */
@media (max-width: 379px) {
    .container { padding-left: 0.75rem; padding-right: 0.75rem; }
    .hero-title-massive { font-size: 1.5rem !important; }
    .hero-desc-clean { font-size: 0.8rem !important; }
    .section-title { font-size: 1.1rem !important; }
    .hq-info strong { font-size: 0.72rem !important; }
    .hq-info a { font-size: 0.65rem !important; }
}

/* ---------- LANDSCAPE PHONE ORIENTATION ---------- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-ultimate {
        min-height: auto !important;
        padding: 80px 0 2rem !important;
    }
    .hero-quick-actions {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* ---------- TOUCH DEVICE OPTIMIZATIONS ---------- */
@media (hover: none) and (pointer: coarse) {
    /* Bigger touch targets */
    .btn, .nav-link, .hq-card, .news-card a, .gallery-item, .doc-card a {
        min-height: 44px;
    }
    /* Remove hover transforms on touch */
    .news-card:hover,
    .doc-card:hover,
    .hq-card:hover {
        transform: none !important;
    }
}

/* ---------- HIGH DPI / RETINA DISPLAYS ---------- */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .news-img img, .gallery-item img, .brand-logo img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* ---------- REDUCED MOTION ACCESSIBILITY ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ---------- DARK MODE PREP (optional) ---------- */
@media (prefers-color-scheme: dark) {
    /* Currently not used - placeholder for future */
}

/* ---------- PRINT STYLES ---------- */
@media print {
    .navbar, .footer, .back-to-top, .hero-quick-actions, .swiper-pagination, .swiper-button-next, .swiper-button-prev {
        display: none !important;
    }
    .hero-ultimate {
        height: auto !important;
        page-break-after: always;
    }
    body { background: white !important; color: black !important; }
}

/* ==========================================================
   📱 Universal Mobile Improvements
========================================================== */

/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Fix Swiper width on mobile */
.swiper {
    max-width: 100%;
}

/* Better text rendering on mobile */
@media (max-width: 991px) {
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* Better tap targets */
    a, button { min-height: 44px; display: inline-flex; align-items: center; }
    .nav-link, .tag, .news-meta a { min-height: auto; }

    /* Prevent zoom on input focus (iOS) */
    input, select, textarea {
        font-size: 16px !important;
    }

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

/* Ensure images don't overflow */
.news-img, .gallery-item, .hero-bg-img {
    overflow: hidden;
}

/* Glass orbs hide on mobile */
@media (max-width: 991px) {
    .glass-orb {
        display: none;
    }
}

/* ==========================================================
   🎨 BEAUTIFUL MOBILE NAVBAR - Elegant & Proportional
========================================================== */
@media (max-width: 991px) {
    .navbar {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
        border-bottom: 1px solid rgba(14, 165, 233, 0.08);
        padding: 0 !important;
    }
    .nav-container {
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        gap: 0.85rem !important;
        align-items: center !important;
        padding: 0.65rem 1rem !important;
        min-height: 64px;
        max-width: 100%;
    }

    /* Mobile Toggle - Beautiful gradient button */
    .mobile-toggle {
        order: 1 !important;
        width: 42px !important;
        height: 42px !important;
        border: none !important;
        background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
        color: white !important;
        border-radius: 12px !important;
        font-size: 1.3rem !important;
        cursor: pointer;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }
    .mobile-toggle:active {
        transform: scale(0.92);
        box-shadow: 0 3px 8px rgba(14, 165, 233, 0.4);
    }
    .mobile-toggle::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
        pointer-events: none;
    }

    /* Brand - elegant typography & spacing */
    .nav-brand {
        order: 2 !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.7rem !important;
        text-decoration: none;
        min-width: 0;
        overflow: hidden;
    }
    .nav-brand .brand-logo {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        flex-shrink: 0;
        display: flex !important;
        align-items: center;
        justify-content: center;
        filter: drop-shadow(0 2px 6px rgba(14, 165, 233, 0.2));
    }
    .nav-brand .brand-logo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
    }
    .nav-brand .brand-text {
        min-width: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.1rem;
    }
    .nav-brand .brand-text h1 {
        font-size: 0.95rem !important;
        line-height: 1.15 !important;
        margin: 0 !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        letter-spacing: -0.01em;
        background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .nav-brand .brand-text span {
        font-size: 0.62rem !important;
        color: #0ea5e9 !important;
        font-weight: 700 !important;
        letter-spacing: 0.08em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        line-height: 1.2;
        text-transform: uppercase;
    }

    /* Login Button - elegant pill style */
    .nav-actions {
        order: 3 !important;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    .nav-actions .search-box {
        display: none !important;
    }
    .login-btn {
        padding: 0.55rem 1rem !important;
        font-size: 0.8rem !important;
        border-radius: 12px !important;
        white-space: nowrap;
        background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
        color: white !important;
        box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
        text-decoration: none;
        font-weight: 600;
        line-height: 1;
        min-height: 42px !important;
        display: inline-flex !important;
        align-items: center;
        transition: all 0.2s ease;
        position: relative;
        overflow: hidden;
    }
    .login-btn:active {
        transform: scale(0.96);
    }
}

/* Smaller mobile — hide subtitle, shrink login */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.55rem 0.85rem !important;
        gap: 0.5rem !important;
        grid-template-columns: auto 1fr auto !important;
    }
    .nav-brand .brand-logo {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
    }
    .nav-brand .brand-text h1 {
        font-size: 0.85rem !important;
    }
    /* ซ่อน subtitle บน mobile เล็ก — ไม่งั้น login button ทับ */
    .nav-brand .brand-text span {
        display: none !important;
    }
    .login-btn {
        padding: 0.45rem 0.7rem !important;
        font-size: 0.72rem !important;
        min-height: 36px !important;
        border-radius: 10px !important;
    }
    .mobile-toggle {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.15rem !important;
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .nav-brand .brand-logo {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
    }
    .nav-brand .brand-text h1 {
        font-size: 0.78rem !important;
    }
    .login-btn {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.68rem !important;
    }
}

/* ==========================================================
   🎨 QUICK SERVICES SECTION - Premium Bento Grid (All devices)
========================================================== */
.quick-services-section {
    position: relative;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 4rem 0 3rem;
    z-index: 5;
}
.quick-services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.2), transparent);
}

.quick-services-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.qs-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #0ea5e9;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    padding: 0.35rem 0.85rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(56, 189, 248, 0.05));
    border-radius: 100px;
    border: 1px solid rgba(14, 165, 233, 0.15);
}
.qs-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0ea5e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Quick Actions - Bento Grid for all devices */
.hero-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

.hq-card {
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 18px;
    padding: 1.35rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.03),
        0 12px 30px -10px rgba(15, 23, 42, 0.05);
}
.hq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hq-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.04),
        0 24px 40px -15px rgba(14, 165, 233, 0.2);
    border-color: rgba(14, 165, 233, 0.2);
}
.hq-card:hover::before {
    transform: scaleX(1);
}

.hq-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.hq-card:hover .hq-icon {
    transform: scale(1.08) rotate(-3deg);
}
.hq-icon.text-blue { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #0284c7; }
.hq-icon.text-pink { background: linear-gradient(135deg, #fce7f3, #fbcfe8); color: #be185d; }
.hq-icon.text-purple { background: linear-gradient(135deg, #ede9fe, #ddd6fe); color: #6d28d9; }
.hq-icon.text-orange { background: linear-gradient(135deg, #ffedd5, #fed7aa); color: #c2410c; }
.hq-icon.text-cyan { background: linear-gradient(135deg, #cffafe, #a5f3fc); color: #0e7490; }
.hq-icon.text-indigo { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); color: #4338ca; }

.hq-info {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.hq-info strong {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hq-info .hq-desc {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    transition: color 0.2s;
}
.hq-card:hover .hq-info .hq-desc {
    color: #0ea5e9;
}
.hq-info .hq-desc i {
    transition: transform 0.3s ease;
}
.hq-card:hover .hq-info .hq-desc i {
    transform: translateX(3px);
}

/* Tablet - 2 columns */
@media (max-width: 991px) {
    .quick-services-section {
        padding: 2.5rem 0 2rem;
    }
    .quick-services-header {
        margin-bottom: 1.75rem;
    }
    .hero-quick-actions {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        padding: 0 0.5rem !important;
        margin: 0 !important;
        max-width: 100% !important;
    }
    .hq-card {
        padding: 1.1rem !important;
        border-radius: 16px !important;
        gap: 0.85rem !important;
    }
    .hq-icon {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        font-size: 1.3rem !important;
        border-radius: 12px !important;
    }
    .hq-info strong {
        font-size: 0.9rem !important;
    }
    .hq-info .hq-desc {
        font-size: 0.74rem !important;
    }
}

/* Small phones - keep 2 columns but tighter */
@media (max-width: 480px) {
    .quick-services-section {
        padding: 2rem 0 1.5rem;
    }
    .qs-title { font-size: 1.5rem !important; }
    .hero-quick-actions {
        gap: 0.6rem !important;
        padding: 0 0.25rem !important;
    }
    .hq-card {
        padding: 0.9rem !important;
        gap: 0.7rem !important;
        border-radius: 14px !important;
    }
    .hq-icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        font-size: 1.15rem !important;
        border-radius: 11px !important;
    }
    .hq-info strong {
        font-size: 0.82rem !important;
        line-height: 1.2 !important;
    }
    .hq-info .hq-desc {
        font-size: 0.68rem !important;
    }
}

/* Very small phones - 1 column for readability */
@media (max-width: 360px) {
    .hero-quick-actions {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================
   🎨 PREMIUM MOBILE HERO - World-Class Design
========================================================== */
@media (max-width: 991px) {
    /* Hero Container - Full immersive experience */
    .hero-ultimate {
        position: relative !important;
        height: auto !important;
        min-height: 100vh !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: #0a0e1a !important;
        margin-top: -64px;
        padding-top: 64px !important;
    }

    /* Swiper Container - Take full hero space */
    .hero-ultimate .swiper.hero-bg-slider {
        width: 100% !important;
        height: calc(100vh - 64px) !important;
        min-height: 600px;
        max-height: none !important;
        position: relative !important;
    }
    .hero-ultimate .swiper-slide {
        height: 100% !important;
        position: relative !important;
    }

    /* Background Image - Full coverage with parallax feel */
    .hero-bg-img {
        position: absolute !important;
        inset: 0 !important;
        background-size: cover !important;
        background-position: center center !important;
        transform: scale(1.05);
        filter: brightness(0.85) saturate(1.1);
    }

    /* Stronger gradient overlay for readability */
    .hero-gradient-overlay {
        position: absolute !important;
        inset: 0 !important;
        background: linear-gradient(
            180deg,
            rgba(10, 14, 26, 0.4) 0%,
            rgba(10, 14, 26, 0.2) 30%,
            rgba(10, 14, 26, 0.7) 70%,
            rgba(10, 14, 26, 0.95) 100%
        ) !important;
    }

    /* Hero Content - Center bottom with breathing room */
    .hero-content-container {
        position: absolute !important;
        inset: 0 !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: center !important;
        padding: 0 1.5rem 5rem !important;
        z-index: 5;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }
    .hero-content-center {
        text-align: center !important;
        z-index: 10 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

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

    /* Premium Badge */
    .hero-badge-glass {
        display: inline-flex !important;
        align-items: center;
        gap: 0.5rem;
        margin: 0 auto 1.25rem !important;
        padding: 0.5rem 1.1rem !important;
        background: rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 100px !important;
        font-size: 0.78rem !important;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }
    .hero-badge-glass .live-dot {
        width: 8px;
        height: 8px;
        background: #22c55e;
        border-radius: 50%;
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
        animation: livePulse 2s ease-in-out infinite;
    }
    @keyframes livePulse {
        0%, 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); }
        50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.05); }
    }

    /* Hero Title - Stunning typography */
    .hero-title-massive {
        font-size: clamp(2.25rem, 11vw, 3.75rem) !important;
        line-height: 1.05 !important;
        font-weight: 800 !important;
        margin: 0 auto 1rem !important;
        letter-spacing: -0.02em !important;
        text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
        text-align: center !important;
        width: 100% !important;
        padding: 0 !important;
    }
    .text-glow-white,
    .text-gradient-neon {
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        margin: 0 auto !important;
    }
    .text-glow-white {
        color: white !important;
        margin-bottom: 0.25rem !important;
    }
    .text-gradient-neon {
        background: linear-gradient(135deg, #38bdf8 0%, #a78bfa 50%, #f472b6 100%) !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        color: transparent !important;
        filter: drop-shadow(0 4px 20px rgba(56, 189, 248, 0.4));
    }

    /* Hero Description - force center */
    .hero-desc-clean,
    .hero-btn-group {
        text-align: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Hero Description */
    .hero-desc-clean {
        font-size: 1rem !important;
        line-height: 1.65 !important;
        max-width: 380px !important;
        margin: 0 auto 2rem !important;
        color: rgba(255, 255, 255, 0.85) !important;
        padding: 0 0.5rem !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    /* CTA Button - Premium feel */
    .hero-btn-group {
        display: flex !important;
        justify-content: center !important;
        gap: 0.75rem !important;
    }
    .btn-neon-solid {
        padding: 0.95rem 2rem !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        background: white !important;
        color: #0f172a !important;
        border: none !important;
        border-radius: 100px !important;
        box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.25),
            0 0 0 0 rgba(255, 255, 255, 0.3) !important;
        text-decoration: none;
        display: inline-flex !important;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        position: relative;
        overflow: hidden;
        white-space: nowrap;
    }
    .btn-neon-solid::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, transparent, rgba(56, 189, 248, 0.1), transparent);
        opacity: 0;
        transition: opacity 0.3s;
    }
    .btn-neon-solid:hover::before { opacity: 1; }
    .btn-neon-solid:active {
        transform: scale(0.97);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
    }

    /* Scroll Indicator */
    .hero-ultimate::after {
        content: '';
        position: absolute;
        bottom: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 28px;
        height: 44px;
        border: 2px solid rgba(255, 255, 255, 0.4);
        border-radius: 14px;
        z-index: 10;
        pointer-events: none;
    }
    .hero-ultimate::before {
        content: '';
        position: absolute;
        bottom: 2.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 8px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 2px;
        z-index: 11;
        pointer-events: none;
        animation: scrollHint 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    }
    @keyframes scrollHint {
        0% { transform: translate(-50%, -8px); opacity: 0; }
        40% { opacity: 1; }
        80%, 100% { transform: translate(-50%, 8px); opacity: 0; }
    }

    /* Swiper Pagination */
    .hero-ultimate .swiper-pagination {
        bottom: 5.5rem !important;
        z-index: 10;
    }
    .hero-ultimate .swiper-pagination-bullet {
        width: 8px !important;
        height: 8px !important;
        background: rgba(255, 255, 255, 0.4) !important;
        opacity: 1 !important;
        transition: all 0.3s ease;
        margin: 0 4px !important;
    }
    .hero-ultimate .swiper-pagination-bullet-active {
        background: white !important;
        width: 28px !important;
        border-radius: 4px !important;
    }

    /* Hide nav buttons on mobile */
    .hero-ultimate .swiper-button-next,
    .hero-ultimate .swiper-button-prev {
        display: none !important;
    }
}

/* Small phone refinements */
@media (max-width: 480px) {
    .hero-ultimate .swiper.hero-bg-slider {
        height: calc(100vh - 64px) !important;
        min-height: 540px;
    }
    .hero-title-massive {
        font-size: clamp(2rem, 12vw, 3rem) !important;
    }
    .hero-desc-clean {
        font-size: 0.92rem !important;
        max-width: 320px !important;
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .hero-content-container {
        padding: 0 1rem 4.5rem !important;
    }
    .hero-title-massive {
        font-size: 1.85rem !important;
    }
    .btn-neon-solid {
        padding: 0.85rem 1.75rem !important;
        font-size: 0.9rem !important;
    }
}

/* ==========================================================
   💻 DESKTOP: Restore original Glass overlay on Hero
========================================================== */
@media (min-width: 992px) {
    /* Add bottom padding to hero so quick-actions don't cover the CTA */
    .hero-ultimate {
        padding-bottom: 9rem !important;
    }
    .hero-ultimate .hero-content-container {
        align-items: center !important;
    }

    /* Make quick-services-section transparent & overlay hero bottom only */
    .quick-services-section {
        position: relative !important;
        background: transparent !important;
        padding: 0 !important;
        margin-top: -7rem !important;
        margin-bottom: 5rem !important;
        z-index: 25 !important;
    }
    .quick-services-section::before {
        display: none !important;
    }

    /* Hide the new mobile header on desktop */
    .quick-services-header {
        display: none !important;
    }

    /* Quick actions: original layout - horizontal centered glass cards */
    .quick-services-section .hero-quick-actions {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem !important;
        max-width: 1200px;
        margin: 0 auto !important;
        padding: 0 1rem !important;
    }

    /* Glass card - original premium glassmorphism */
    .quick-services-section .hq-card {
        flex: 0 1 auto;
        background: rgba(255, 255, 255, 0.07) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
        padding: 1.1rem 1.5rem !important;
        border-radius: 20px !important;
        display: flex !important;
        align-items: center !important;
        gap: 1rem !important;
        color: white !important;
        text-decoration: none;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        min-width: 220px;
    }
    .quick-services-section .hq-card::before {
        display: none !important;
    }
    .quick-services-section .hq-card:hover {
        background: rgba(255, 255, 255, 0.13) !important;
        border-color: rgba(255, 255, 255, 0.25) !important;
        transform: translateY(-6px) !important;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255,255,255,0.05) !important;
    }

    /* Icon - glass style */
    .quick-services-section .hq-icon {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px !important;
        font-size: 1.5rem !important;
        flex-shrink: 0;
    }
    /* Override colored backgrounds back to white tint with colored icon */
    .quick-services-section .hq-icon.text-blue   { color: #38bdf8 !important; background: rgba(56, 189, 248, 0.15) !important; }
    .quick-services-section .hq-icon.text-pink   { color: #f472b6 !important; background: rgba(244, 114, 182, 0.15) !important; }
    .quick-services-section .hq-icon.text-purple { color: #a78bfa !important; background: rgba(167, 139, 250, 0.15) !important; }
    .quick-services-section .hq-icon.text-orange { color: #fb923c !important; background: rgba(251, 146, 60, 0.15) !important; }
    .quick-services-section .hq-icon.text-cyan   { color: #22d3ee !important; background: rgba(34, 211, 238, 0.15) !important; }
    .quick-services-section .hq-icon.text-indigo { color: #818cf8 !important; background: rgba(129, 140, 248, 0.15) !important; }

    /* Card text - white */
    .quick-services-section .hq-info strong {
        color: white !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        white-space: nowrap;
    }
    .quick-services-section .hq-info .hq-desc {
        color: rgba(255, 255, 255, 0.6) !important;
        font-size: 0.78rem !important;
        font-weight: 400;
        display: flex;
        align-items: center;
        gap: 0.25rem;
        transition: color 0.3s;
        white-space: nowrap;
    }
    .quick-services-section .hq-card:hover .hq-info .hq-desc {
        color: white !important;
    }
    .quick-services-section .hq-card:hover .hq-icon {
        transform: scale(1.06);
    }
}

/* Large desktops - tighter spacing */
@media (min-width: 1400px) {
    .quick-services-section .hero-quick-actions {
        gap: 1.25rem !important;
    }
    .quick-services-section .hq-card {
        padding: 1.25rem 1.75rem !important;
    }
}

/* ==========================================================
   🎯 STICKY FOOTER - No More White Space Below
========================================================== */
html {
    height: 100%;
    background: #f8fafc;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
}
body > .footer-modern {
    margin-top: auto;
}

/* ==========================================================
   ✨ BEAUTIFUL MODERN FOOTER
========================================================== */
.footer-modern {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-modern::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

@media (max-width: 991px) {
    .footer-modern {
        padding-top: 2rem;
    }

    .footer-top {
        padding: 2.5rem 0 1.5rem !important;
        position: relative;
        z-index: 2;
    }

    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        text-align: center;
    }

    /* Info Section */
    .footer-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .footer-logo {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin-bottom: 1rem;
        gap: 0.75rem;
    }
    .footer-logo img {
        margin: 0 !important;
        height: 56px !important;
        filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.15));
    }
    .footer-logo > div {
        text-align: center;
    }
    .footer-logo h2 {
        font-size: 1.1rem !important;
        margin: 0 !important;
        color: white !important;
        font-weight: 700 !important;
        line-height: 1.3;
    }
    .footer-logo p {
        font-size: 0.75rem !important;
        margin: 0.25rem 0 0 !important;
        color: #38bdf8 !important;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-weight: 600;
    }
    .footer-desc {
        font-size: 0.875rem !important;
        line-height: 1.7 !important;
        max-width: 320px;
        margin: 0 auto 1.25rem !important;
        color: rgba(255, 255, 255, 0.7) !important;
    }

    /* Social Icons - Modern */
    .social-icons-modern {
        display: flex !important;
        justify-content: center;
        gap: 0.75rem !important;
        margin-top: 0 !important;
    }
    .social-icons-modern a {
        width: 44px !important;
        height: 44px !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: white !important;
        font-size: 1.25rem !important;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .social-icons-modern a:hover {
        background: linear-gradient(135deg, #0ea5e9, #38bdf8) !important;
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
        border-color: transparent;
    }

    /* Links Section */
    .footer-links,
    .footer-contact-modern {
        padding-bottom: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .footer-links:last-child,
    .footer-contact-modern:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .footer-links h3,
    .footer-contact-modern h3 {
        font-size: 1rem !important;
        color: white !important;
        margin: 0 0 1.25rem !important;
        font-weight: 700 !important;
        position: relative;
        display: inline-block;
        padding-bottom: 0.5rem;
    }
    .footer-links h3::after,
    .footer-contact-modern h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 3px;
        background: linear-gradient(90deg, #0ea5e9, #38bdf8);
        border-radius: 3px;
    }

    .footer-links ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-links ul li a {
        display: inline-block;
        padding: 0.55rem 1rem;
        color: rgba(255, 255, 255, 0.8) !important;
        text-decoration: none;
        font-size: 0.9rem;
        border-radius: 8px;
        transition: all 0.25s ease;
        background: rgba(255, 255, 255, 0.03);
    }
    .footer-links ul li a:hover {
        color: white !important;
        background: rgba(14, 165, 233, 0.15);
        transform: translateX(3px);
    }

    /* Contact Section */
    .footer-contact-modern ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
    }
    .footer-contact-modern ul li {
        display: flex !important;
        align-items: center !important;
        gap: 0.85rem !important;
        text-align: left;
        padding: 0.75rem 1rem;
        background: rgba(255, 255, 255, 0.04);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        transition: all 0.25s ease;
    }
    .footer-contact-modern ul li:hover {
        background: rgba(255, 255, 255, 0.06);
        transform: translateX(3px);
    }
    .footer-contact-modern .icon-box {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px;
        border-radius: 10px !important;
        background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(56, 189, 248, 0.2)) !important;
        color: #38bdf8 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.1rem !important;
        flex-shrink: 0;
    }
    .footer-contact-modern ul li span {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        color: rgba(255, 255, 255, 0.85) !important;
        word-break: break-word;
    }

    /* Footer Bottom */
    .footer-bottom {
        padding: 1.25rem 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(0, 0, 0, 0.2);
        position: relative;
        z-index: 2;
    }
    .fb-content {
        flex-direction: column !important;
        gap: 0.75rem !important;
        text-align: center;
    }
    .fb-content p {
        font-size: 0.78rem !important;
        margin: 0 !important;
        color: rgba(255, 255, 255, 0.6) !important;
    }
    .fb-links {
        display: flex;
        gap: 0.75rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    .fb-links a {
        font-size: 0.78rem !important;
        color: rgba(255, 255, 255, 0.6) !important;
        text-decoration: none;
        padding: 0.25rem 0.75rem;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.05);
        transition: all 0.2s ease;
    }
    .fb-links a:hover {
        color: #38bdf8 !important;
        background: rgba(56, 189, 248, 0.1);
    }
}

/* Smaller phones - even more compact */
@media (max-width: 480px) {
    .footer-top { padding: 2rem 0 1rem !important; }
    .footer-grid { gap: 2rem !important; }
    .footer-logo img { height: 48px !important; }
    .footer-logo h2 { font-size: 1rem !important; }
    .footer-logo p { font-size: 0.7rem !important; }
    .footer-desc { font-size: 0.825rem !important; }
    .social-icons-modern a {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
    .footer-links ul li a { font-size: 0.85rem; padding: 0.5rem 0.85rem; }
    .footer-contact-modern ul li { padding: 0.65rem 0.85rem; }
    .footer-contact-modern .icon-box {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px;
        font-size: 1rem !important;
    }
}

/* Desktop Footer Polish */
@media (min-width: 992px) {
    .footer-top {
        padding: 4rem 0 3rem;
        position: relative;
        z-index: 2;
    }
    .footer-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr 1.2fr;
        gap: 3rem;
    }
    .footer-logo {
        display: flex;
        align-items: center;
        margin-bottom: 1.25rem;
    }
    .footer-logo h2 {
        font-size: 1.25rem;
        color: white;
        margin: 0;
        font-weight: 700;
    }
    .footer-logo p {
        font-size: 0.8rem;
        color: #38bdf8;
        margin: 0.25rem 0 0;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-weight: 600;
    }
    .footer-desc {
        font-size: 0.92rem;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.75);
        margin-bottom: 1.5rem;
        max-width: 380px;
    }
    .social-icons-modern {
        display: flex;
        gap: 0.75rem;
    }
    .social-icons-modern a {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.2rem;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .social-icons-modern a:hover {
        background: linear-gradient(135deg, #0ea5e9, #38bdf8);
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
    }

    .footer-links h3,
    .footer-contact-modern h3 {
        font-size: 1.05rem;
        color: white;
        margin: 0 0 1.5rem;
        font-weight: 700;
        position: relative;
        padding-bottom: 0.75rem;
    }
    .footer-links h3::after,
    .footer-contact-modern h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 36px;
        height: 3px;
        background: linear-gradient(90deg, #0ea5e9, #38bdf8);
        border-radius: 3px;
    }

    .footer-links ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
    }
    .footer-links ul li a {
        color: rgba(255, 255, 255, 0.75);
        text-decoration: none;
        font-size: 0.92rem;
        padding: 0.4rem 0;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.25s ease;
        position: relative;
    }
    .footer-links ul li a::before {
        content: '→';
        opacity: 0;
        transform: translateX(-8px);
        transition: all 0.25s ease;
        color: #38bdf8;
    }
    .footer-links ul li a:hover {
        color: white;
        padding-left: 0.5rem;
    }
    .footer-links ul li a:hover::before {
        opacity: 1;
        transform: translateX(0);
    }

    .footer-contact-modern ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .footer-contact-modern ul li {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
    }
    .footer-contact-modern .icon-box {
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 10px;
        background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(56, 189, 248, 0.15));
        color: #38bdf8;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    .footer-contact-modern ul li span {
        font-size: 0.92rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.85);
        padding-top: 0.5rem;
    }

    .footer-bottom {
        padding: 1.5rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(0, 0, 0, 0.2);
        position: relative;
        z-index: 2;
    }
    .fb-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    .fb-content p {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.6);
        margin: 0;
    }
    .fb-links {
        display: flex;
        gap: 1rem;
    }
    .fb-links a {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.6);
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .fb-links a:hover {
        color: #38bdf8;
    }
}
