/*
Theme Name: Univertsite
Theme URI: https://unec.edu.az
Author: Code Companion
Description: UNEC için özel tasarlanmış, DMU ve Astra stili referans alınarak geliştirilmiş modern tema.
Version: 2.0
*/

/* ==========================================
   1. VARIABLES & RESET (Astra Style)
   ========================================== */
:root {
    /* Brand Colors (UNEC) */
    --ast-global-color-0: #002B5C;
    /* Primary Blue */
    --ast-global-color-1: #d32f2f;
    /* Secondary Red */
    --ast-global-color-2: #1e293b;
    /* Dark Heading */
    --ast-global-color-3: #475569;
    /* Body Text */
    --ast-global-color-4: #f1f5f9;
    /* Light BG */
    --ast-global-color-5: #ffffff;
    /* White */

    /* Typography */
    --ast-body-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ast-body-font-weight: 400;
    --ast-body-font-size: 16px;
    --ast-body-line-height: 1.65;

    --ast-heading-font-family: 'Inter', sans-serif;
    --ast-heading-font-weight: 700;
    --ast-heading-line-height: 1.3;

    /* Spacing & Layout */
    --ast-container-width: 1240px;
    --ast-section-spacing: 5rem;
    --ast-border-radius: 4px;
    /* Astra usually simpler/sharper */
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--ast-body-font-family);
    font-size: var(--ast-body-font-size);
    font-weight: var(--ast-body-font-weight);
    line-height: var(--ast-body-line-height);
    color: var(--ast-global-color-3);
    background-color: var(--ast-global-color-5);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--ast-heading-font-family);
    font-weight: var(--ast-heading-font-weight);
    line-height: var(--ast-heading-line-height);
    color: var(--ast-global-color-2);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

a {
    color: var(--ast-global-color-0);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--ast-global-color-1);
}

.container {
    max-width: var(--ast-container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   2. HEADER (Modern & Sticky)
   ========================================== */
.site-header {
    width: 100%;
    z-index: 1000;
    position: relative;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

/* TOP BAR (Dark Blue) */
.header-top {
    background-color: var(--ast-global-color-0);
    /* Dark Blue */
    padding: 10px 0;
    font-size: 0.85rem;
    color: white;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact,
.header-social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-contact a {
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.header-contact a:hover {
    color: white;
}

.header-social a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.header-social a:hover {
    color: var(--ast-global-color-1);
    /* Red accent */
}


/* MAIN NAVIGATION (White & Clean) */
.header-main {
    background-color: white;
    padding: 0;
    /* Removing padding to align menu height */
    transition: all 0.3s ease;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 75px;
    /* Bigger logo */
    width: auto;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    color: var(--ast-global-color-2);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 35px 0;
    /* Tall click area */
    display: inline-block;
    position: relative;
}

/* Hover Line Effect */
.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--ast-global-color-1);
    /* Red */
    transition: width 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--ast-global-color-0);
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* Header Action Button (Apply Now) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-header {
    background-color: var(--ast-global-color-1);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
}

.btn-header:hover {
    background-color: #b71c1c;
    color: white;
    transform: translateY(-2px);
}

/* Sticky Header State */
body.header-sticky .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideDown 0.3s ease;
}

body.header-sticky .header-main {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

body.header-sticky .header-main .container {
    height: 70px;
    /* Compress header */
}

body.header-sticky .site-logo img {
    height: 50px;
}

body.header-sticky .header-top {
    display: none;
    /* Hide top bar on scroll */
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--ast-global-color-2);
    cursor: pointer;
    padding: 10px;
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--ast-global-color-1);
}

/* Search Toggle Button */
.search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: var(--ast-global-color-2);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.search-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--ast-global-color-1);
}

/* Search Modal Overlay */
.search-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-modal-overlay.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
    opacity: 1;
}

.search-modal-content {
    background: white;
    width: 90%;
    max-width: 700px;
    border-radius: 20px;
    padding: 40px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.search-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    font-size: 1.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-modal-close:hover {
    background: #f1f5f9;
    color: var(--ast-global-color-2);
    transform: rotate(90deg);
}

.search-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.search-modal-header h2 {
    font-size: 2rem;
    color: var(--ast-global-color-2);
    margin-bottom: 10px;
}

.search-modal-header p {
    color: #64748b;
    font-size: 1rem;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.search-input-wrapper i.fa-search {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.2rem;
}

.search-input-wrapper input {
    width: 100%;
    padding: 18px 60px 18px 55px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.search-input-wrapper input:focus {
    border-color: var(--ast-global-color-0);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 43, 92, 0.1);
}

.search-loading {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ast-global-color-1);
    font-size: 1.2rem;
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-results p {
    font-size: 1.1rem;
    margin: 0;
}

.search-error {
    text-align: center;
    padding: 40px 20px;
    color: #ef4444;
    background: #fee2e2;
    border-radius: 12px;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-result-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-result-item:hover {
    background: white;
    border-color: var(--ast-global-color-0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.search-result-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ast-global-color-0);
    color: white;
    border-radius: 12px;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.search-result-content {
    flex: 1;
}

.search-result-content h4 {
    font-size: 1.1rem;
    color: var(--ast-global-color-2);
    margin-bottom: 8px;
    font-weight: 700;
}

.search-result-content p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.search-result-type {
    display: inline-block;
    padding: 4px 12px;
    background: #e0e7ff;
    color: #4f46e5;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


@media (max-width: 992px) {

    .nav-menu,
    .header-actions .btn-header {
        display: none;
        /* Hide desktop menu */
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .search-toggle {
        display: flex !important;
    }
}

/* ==========================================
   3. HERO SECTION (DMU Style)
   ========================================== */
/* ==========================================
   3. HERO SECTION (Premium Gradient & Depth)
   ========================================== */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(0, 43, 92, 0.95) 0%, rgba(0, 43, 92, 0.7) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    animation: fadeUp 1s ease-out;
}

.hero-title {
    color: #ffffff !important;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-header h1 {
    color: #ffffff !important;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.6;
    max-width: 650px;
}

/* ==========================================
   4. BUTTONS (Modern, Gradient, Shadow)
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--ast-global-color-1) 0%, #b71c1c 100%);
    color: #fff;
    box-shadow: 0 10px 25px rgba(211, 47, 47, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(211, 47, 47, 0.4);
    background: linear-gradient(135deg, #b71c1c 0%, var(--ast-global-color-1) 100%);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: #fff;
    color: var(--ast-global-color-0);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   5. QUICK ACCESS BAR (Glassmorphism)
   ========================================== */
.quick-access-bar {
    background: transparent;
    margin-top: -60px;
    position: relative;
    z-index: 20;
    padding-bottom: 2rem;
}

.quick-access-grid {
    display: flex;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.quick-link-item {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 2rem 1.5rem;
    color: var(--ast-global-color-2);
    transition: all 0.3s ease;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.quick-link-item:last-child {
    border-right: none;
}

.quick-link-item i {
    font-size: 2rem;
    color: var(--ast-global-color-1);
    transition: transform 0.3s ease;
}

.quick-link-item:hover {
    background: linear-gradient(135deg, var(--ast-global-color-0) 0%, #004e92 100%);
    color: #fff;
}

.quick-link-item:hover i {
    color: #fff;
    transform: scale(1.1);
}

/* ==========================================
   6. CARDS & SECTIONS (Clean & Elevated)
   ========================================== */
.section {
    padding: 6rem 0;
}

.features-section {
    background-color: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    height: 220px;
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-icon img {
    transform: scale(1.05);
}

.feature-description {
    color: var(--ast-global-color-3);
    line-height: 1.7;
    font-size: 1rem;
}

/* ==========================================
   7. STATS (Bold & Animated)
   ========================================== */
.stats-section {
    background: var(--ast-global-color-0);
    padding: 5rem 0;
    color: white;
    position: relative;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   8. FORMS & INPUTS (Modern UI)
   ========================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--ast-body-font-family);
    transition: all 0.3s ease;
    background: #fdfdfd;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--ast-global-color-0);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 43, 92, 0.1);
    background: #fff;
}

label {
    font-weight: 600;
    color: var(--ast-global-color-2);
    margin-bottom: 8px;
    display: block;
    font-size: 0.95rem;
}

/* ==========================================
   9. TABLES (Clean & Readable)
   ========================================== */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

th {
    background: #f8f9fa;
    color: var(--ast-global-color-0);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 20px;
    border-bottom: 2px solid #e2e8f0;
}

td {
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--ast-global-color-3);
    vertical-align: middle;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background-color: #fafbfc;
}

/* ==========================================
   10. FOOTER (Modern Dark)
   ========================================== */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding-top: 6rem;
    font-size: 0.95rem;
}

.footer-widget h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
    /* Makes logo white */
}

.footer-logo a {
    display: inline-block;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--ast-global-color-1);
}

.footer-widget a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s;
}

.footer-widget a:hover {
    color: white;
    padding-left: 5px;
}

/* ==========================================
   11. ANIMATIONS
   ========================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   8. DROPDOWN MENU STYLES
   ========================================== */

/* Main sub-menu container */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--ast-global-color-1);
    z-index: 9999;
    padding: 0;
    list-style: none;
    border-radius: 0 0 4px 4px;
    animation: fadeIn 0.2s ease;
}

/* Show on hover */
.nav-menu li:hover>.sub-menu {
    display: block;
}

/* Link styling */
.nav-menu .sub-menu li a {
    padding: 12px 20px;
    display: block;
    color: var(--ast-global-color-3);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: none;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s;
    height: auto;
    /* Override header link height */
}

.nav-menu .sub-menu li {
    position: relative;
    width: 100%;
}

.nav-menu .sub-menu li a::after {
    display: none;
    /* Remove underline effect */
}

/* Hover state */
.nav-menu .sub-menu li a:hover {
    background-color: #f8f9fa;
    color: var(--ast-global-color-0);
    padding-left: 25px;
    /* Slight movement */
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        margin-top: 10px;
    }

    to {
        opacity: 1;
        margin-top: 0;
    }
}

/* Remove last border */
.nav-menu .sub-menu li:last-child a {
    border-bottom: none;
}

/* ==========================================
   12. MOBILE RESPONSIVE STYLES
   ========================================== */

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--ast-global-color-0) 0%, #004e92 100%);
    z-index: 9999;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 80px 30px 30px;
    display: none;
    /* Hidden by default */
}

.mobile-menu-overlay.active {
    left: 0;
    display: block;
    /* Show when active */
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-menu li a {
    display: block;
    padding: 18px 0;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.mobile-nav-menu li a:hover {
    padding-left: 15px;
    color: var(--ast-global-color-1);
}

.mobile-menu-actions {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-actions .btn-header {
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
}

/* Tablet Styles (768px - 992px) */
@media (max-width: 992px) {
    .header-main .container {
        height: 70px;
    }

    .site-logo img {
        height: 55px;
    }

    .nav-menu {
        display: none !important;
    }

    .header-actions .btn-header {
        display: none;
    }

    .mobile-menu-toggle {
        display: block !important;
    }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {

    /* Typography */
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    /* Container padding */
    .container {
        padding: 0 15px;
    }

    /* Header Top Bar */
    .header-top {
        padding: 8px 0;
        font-size: 0.75rem;
    }

    .header-top .container {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .header-contact,
    .header-social {
        gap: 12px;
        flex-wrap: wrap;
    }

    .header-contact a {
        font-size: 0.75rem;
        gap: 5px;
    }

    .header-social a {
        font-size: 0.85rem;
    }

    /* Header Main */
    .header-main .container {
        height: 60px;
        padding: 0 15px;
    }

    .site-logo img {
        height: 45px;
    }

    /* Hero Section */
    .hero-section {
        min-height: 60vh;
        padding: 40px 0;
    }

    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
        letter-spacing: -0.5px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .hero-content {
        padding: 0 15px;
    }

    /* Hero Buttons */
    .hero-buttons {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .btn-primary,
    .btn-outline {
        display: block;
    }

    /* Search Modal Mobile */
    .search-modal-content {
        width: 95%;
        padding: 30px 20px;
        max-height: 90vh;
    }

    .search-modal-header h2 {
        font-size: 1.5rem;
    }

    .search-input-wrapper input {
        padding: 15px 50px 15px 45px;
        font-size: 1rem;
    }

    .search-result-item {
        padding: 15px;
        flex-direction: column;
        gap: 10px;
    }

    .search-result-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .search-result-content h4 {
        font-size: 1rem;
    }

    .search-result-content p {
        font-size: 0.85rem;
    }


    /* Quick Access Bar */
    .quick-access-bar {
        margin-top: -40px;
        padding-bottom: 1.5rem;
    }

    .quick-access-grid {
        flex-direction: column;
        border-radius: 8px;
    }

    .quick-link-item {
        min-width: 100%;
        padding: 1.5rem 1rem;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .quick-link-item:last-child {
        border-bottom: none;
    }

    .quick-link-item i {
        font-size: 1.5rem;
    }

    /* Sections */
    .section {
        padding: 3rem 0;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .feature-icon {
        height: 180px;
        margin-bottom: 1rem;
    }

    /* Stats Section */
    .stats-section {
        padding: 3rem 0;
    }

    .stats-grid {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    /* Footer */
    .site-footer {
        padding-top: 3rem;
        font-size: 0.9rem;
    }

    .footer-widget h3 {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    /* Footer Widgets - Mobile */
    .footer-widgets {
        grid-template-columns: 1fr !important;
    }

    /* Footer Links Combined - Mobile */
    .footer-links-combined>div {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }


    /* Forms */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    textarea,
    select {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    /* Tables */
    table {
        font-size: 0.85rem;
    }

    th,
    td {
        padding: 12px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {

    /* Typography */
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    /* Hero */
    .hero-title {
        font-size: 1.6rem !important;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-section {
        min-height: 50vh;
    }

    /* Container */
    .container {
        padding: 0 12px;
    }

    /* Header */
    .header-main .container {
        height: 55px;
    }

    .site-logo img {
        height: 40px;
    }

    .mobile-menu-toggle {
        font-size: 1.3rem;
    }

    /* Quick Access */
    .quick-access-bar {
        margin-top: -30px;
    }

    .quick-link-item {
        padding: 1.2rem 0.8rem;
        gap: 8px;
    }

    .quick-link-item i {
        font-size: 1.3rem;
    }

    .quick-link-item span {
        font-size: 0.85rem;
    }

    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    /* Feature Cards */
    .feature-card {
        padding: 1.2rem;
    }

    .feature-icon {
        height: 150px;
    }

    /* Stats */
    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Footer */
    .footer-widget h3 {
        font-size: 1rem;
    }
}

/* Landscape Mobile Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
    }

    .hero-title {
        font-size: 1.8rem !important;
    }
}