/* ============================================
   NATIONAL MINING CORPORATION - MASTER CSS
   Modern, Clean, Unified Design System
   ============================================ */

/* ========== CSS VARIABLES ========== */
:root {
    /* Brand Colors */
    --primary-green: #1a3a2f;
    --primary-gold: #b8860b;
    --secondary-gold: #d4af37;
    --light-gold: #f8e6c4;
    --light-green: #e8f1ee;
    
    /* Neutrals */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Typography */
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* ========== RESET & BASE STYLES ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    padding-top: 100px;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ========== NAVIGATION (Compatible with main.js) ========== */

/* Modern Top Bar */
.modern-top-bar {
    background: linear-gradient(135deg, var(--primary-green) 0%, #0f3d2f 100%) !important;
    color: white !important;
    padding: 10px 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1050 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-bottom: 1px solid rgba(184, 134, 11, 0.3) !important;
}

.modern-top-bar.hidden {
    transform: translateY(-100%) !important;
    opacity: 0 !important;
}

.top-bar-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 20px !important;
}

.contact-info-modern {
    display: flex !important;
    gap: 25px !important;
    align-items: center !important;
}

.info-link {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    transition: all 0.3s ease !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
}

.info-link:hover {
    color: var(--primary-gold) !important;
    background: rgba(184, 134, 11, 0.1) !important;
    transform: translateX(3px) !important;
}

.info-link i {
    font-size: 0.875rem !important;
}

.top-bar-right {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

/* Language Selector */
.language-selector {
    position: relative !important;
}

.lang-btn {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-size: 0.875rem !important;
    transition: all 0.3s ease !important;
}

.lang-btn:hover {
    background: rgba(184, 134, 11, 0.2) !important;
    border-color: var(--primary-gold) !important;
}

.lang-dropdown {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    min-width: 180px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 100 !important;
    overflow: hidden !important;
}

.lang-dropdown.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.lang-dropdown a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 16px !important;
    color: var(--primary-green) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.lang-dropdown a:last-child {
    border-bottom: none !important;
}

.lang-dropdown a:hover {
    background: var(--light-gold) !important;
    color: var(--primary-green) !important;
    padding-left: 20px !important;
}

.lang-dropdown a i {
    color: var(--primary-gold) !important;
}

/* Social Links in Top Bar */
.social-links-modern {
    display: flex !important;
    gap: 8px !important;
}

.social-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    color: white !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.social-icon:hover {
    background: var(--primary-gold) !important;
    border-color: var(--primary-gold) !important;
    transform: translateY(-3px) scale(1.1) !important;
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3) !important;
}

/* Modern Main Navbar */
.modern-navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
    position: fixed !important;
    top: 50px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1040 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-bottom: 2px solid transparent !important;
}

.modern-navbar.scrolled {
    top: 0 !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12) !important;
    border-bottom-color: var(--primary-gold) !important;
}

.navbar-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 0 !important;
    gap: 40px !important;
}

/* Brand Logo */
.brand-logo {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.brand-logo:hover {
    transform: scale(1.02) !important;
}

.logo-container {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.logo-img {
    height: 45px !important;
    width: auto !important;
    object-fit: contain !important;
    transition: all 0.3s ease !important;
}

.modern-navbar.scrolled .logo-img {
    height: 38px !important;
}

.brand-text {
    display: flex !important;
    flex-direction: column !important;
}

.brand-name {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--primary-green) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.5px !important;
}

.brand-tagline {
    font-size: 0.75rem !important;
    color: var(--primary-gold) !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

/* Desktop Navigation Menu */
.nav-menu {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-item {
    position: relative !important;
}

.nav-link {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 18px !important;
    color: var(--primary-green) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.nav-link i {
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.nav-link::before {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    width: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold)) !important;
    transform: translateX(-50%) !important;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 3px 3px 0 0 !important;
}

.nav-link:hover {
    color: var(--primary-gold) !important;
    background: rgba(184, 134, 11, 0.08) !important;
}

.nav-link:hover::before {
    width: 80% !important;
}

.nav-link:hover i {
    transform: scale(1.15) !important;
}

.nav-link.active {
    color: var(--primary-gold) !important;
    background: rgba(184, 134, 11, 0.12) !important;
    font-weight: 600 !important;
}

.nav-link.active::before {
    width: 100% !important;
}

/* CTA Button Style */
.nav-link-cta {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold)) !important;
    color: white !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3) !important;
}

.nav-link-cta:hover {
    background: linear-gradient(135deg, var(--secondary-gold), var(--primary-gold)) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4) !important;
}

.nav-link-cta::before {
    display: none !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none !important;
    flex-direction: column !important;
    gap: 5px !important;
    background: linear-gradient(135deg, var(--primary-green), #0f3d2f) !important;
    border: 2px solid var(--primary-gold) !important;
    cursor: pointer !important;
    padding: 10px 12px !important;
    z-index: 1060 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.mobile-menu-toggle:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3) !important;
}

.mobile-menu-toggle .bar {
    width: 26px !important;
    height: 3px !important;
    background: var(--primary-gold) !important;
    border-radius: 3px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0 !important;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: white !important;
    z-index: 1055 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow-y: auto !important;
}

.mobile-menu-overlay.active {
    transform: translateX(0) !important;
}

.mobile-menu-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 20px !important;
    background: var(--primary-green) !important;
    color: white !important;
}

.mobile-brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    color: white !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
}

.mobile-logo {
    height: 40px !important;
    width: auto !important;
}

.mobile-close {
    background: rgba(184, 134, 11, 0.15) !important;
    border: 2px solid var(--primary-gold) !important;
    color: white !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 1.3rem !important;
}

.mobile-close:hover {
    background: var(--primary-gold) !important;
    transform: rotate(90deg) scale(1.1) !important;
}

.mobile-nav-menu {
    list-style: none !important;
    padding: 30px 20px !important;
    margin: 0 !important;
}

.mobile-nav-menu a {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 18px 20px !important;
    color: var(--primary-green) !important;
    text-decoration: none !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 14px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: white !important;
    margin-bottom: 8px !important;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold)) !important;
    color: white !important;
    transform: translateX(8px) !important;
}

.mobile-nav-menu i {
    font-size: 1.4rem !important;
}

.mobile-menu-footer {
    padding: 25px 20px 30px !important;
    border-top: 2px solid rgba(184, 134, 11, 0.2) !important;
}

.mobile-language {
    margin-bottom: 25px !important;
}

.mobile-lang-btn {
    width: 100% !important;
    padding: 16px 20px !important;
    background: white !important;
    border: 2px solid var(--primary-gold) !important;
    color: var(--primary-green) !important;
    border-radius: 14px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

.mobile-lang-btn:hover {
    background: var(--primary-gold) !important;
    color: white !important;
}

.mobile-lang-dropdown {
    margin-top: 12px !important;
    background: white !important;
    border: 2px solid rgba(184, 134, 11, 0.2) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    max-height: 0 !important;
    opacity: 0 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.mobile-lang-dropdown.show {
    max-height: 250px !important;
    opacity: 1 !important;
}

.mobile-lang-dropdown a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 16px 20px !important;
    color: var(--primary-green) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.mobile-lang-dropdown a:last-child {
    border-bottom: none !important;
}

.mobile-lang-dropdown a:hover {
    background: rgba(184, 134, 11, 0.1) !important;
    color: var(--primary-gold) !important;
}

.mobile-social {
    display: flex !important;
    gap: 15px !important;
    justify-content: center !important;
    margin-top: 20px !important;
}

.mobile-social a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 56px !important;
    height: 56px !important;
    background: white !important;
    border: 2px solid var(--primary-gold) !important;
    border-radius: 16px !important;
    color: var(--primary-gold) !important;
    font-size: 1.4rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.mobile-social a:hover {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold)) !important;
    color: white !important;
    transform: translateY(-5px) scale(1.05) !important;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-green);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); }
h5 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h6 { font-size: 1.125rem; }

.text-gold { color: var(--primary-gold); }
.text-green { color: var(--primary-green); }
.text-gray { color: var(--gray-600); }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--secondary-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: #123026;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid currentColor;
    color: var(--primary-gold);
}

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

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

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

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 58, 47, 0.8), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ========== SECTIONS ========== */
.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-lg {
    padding: 7rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--primary-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* ========== CARDS ========== */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

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

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

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

/* Product Cards */
.product-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card .card-img {
    height: 300px;
}

.product-features {
    margin-top: auto;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.product-features i {
    color: var(--primary-gold);
    margin-top: 0.25rem;
}

/* ========== STATS SECTION ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
}

/* ========== TESTIMONIALS ========== */
.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--primary-gold);
}

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

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ========== FORMS ========== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(135deg, var(--primary-green) 0%, #0f2a22 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold), var(--primary-gold));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h5 {
    color: var(--light-gold);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-gold);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--light-gold);
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.footer-icon {
    width: 40px;
    height: 40px;
    background: rgba(184, 134, 11, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* ========== UTILITIES ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.container-fluid {
    max-width: 100%;
    padding: 0 1.5rem;
    width: 100%;
}

.px-4 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 2rem; }

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

.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 2rem; }
.mb-lg { margin-bottom: 3rem; }

.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }

/* Background Colors */
.bg-primary { background: var(--primary-green); }
.bg-gold { background: var(--primary-gold); }
.bg-light { background: var(--gray-50); }
.bg-white { background: var(--white); }

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    body {
        padding-top: 110px;
    }

    .modern-top-bar {
        padding: 8px 0 !important;
    }

    .contact-info-modern {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: flex-start !important;
    }

    .top-bar-content {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .top-bar-right {
        width: 100% !important;
        justify-content: space-between !important;
    }

    .brand-text {
        display: none !important;
    }

    .modern-navbar {
        padding: 12px 0 !important;
        top: 45px !important;
    }

    .modern-navbar.scrolled {
        top: 0 !important;
    }

    .nav-menu {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .section {
        padding: 3rem 0;
    }

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

@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }

    .modern-top-bar {
        padding: 6px 0 !important;
    }

    .modern-navbar {
        top: 35px !important;
        padding: 10px 0 !important;
    }

    .logo-img {
        height: 38px !important;
    }

    .hero {
        min-height: 70vh;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .section-lg {
        padding: 4rem 0;
    }

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 70px;
    }

    .modern-top-bar {
        display: none !important;
    }

    .modern-navbar {
        top: 0 !important;
        padding: 8px 0 !important;
    }

    .logo-img {
        height: 35px !important;
    }

    .container,
    .container-fluid {
        padding: 0 1rem;
    }

    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .hero {
        min-height: 60vh;
    }

    h1 {
        font-size: 1.75rem;
    }

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

    .mobile-menu-toggle {
        padding: 8px 10px !important;
    }

    .mobile-menu-toggle .bar {
        width: 22px !important;
    }
}


/* ========== ADDITIONAL FOOTER COMPATIBILITY STYLES ========== */
.footer .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.footer .col-lg-4,
.footer .col-lg-3,
.footer .col-lg-2,
.footer .col-md-6 {
    padding: 0 15px;
    margin-bottom: 2rem;
}

.footer .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.footer .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.footer .col-lg-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.footer .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.footer h5 {
    color: var(--light-gold);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-gold);
}

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

.footer .list-unstyled li {
    margin-bottom: 0.75rem;
}

.footer .list-unstyled a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer .list-unstyled a:hover {
    color: var(--light-gold);
}

.footer .copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer .social-links a {
    color: white;
    font-size: 1.2rem;
    display: inline-block;
    margin-right: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer .social-links a:hover {
    color: var(--light-gold);
    transform: translateY(-3px);
}

.footer .logo-section {
    margin-bottom: 1.5rem;
}

.footer .logo-section img {
    max-height: 50px;
    margin-bottom: 1rem;
}

.footer .d-flex {
    display: flex;
}

.footer .justify-content-between {
    justify-content: space-between;
}

.footer .justify-content-center {
    justify-content: center;
}

.footer .justify-content-md-end {
    justify-content: flex-end;
}

.footer .align-items-center {
    align-items: center;
}

.footer .flex-wrap {
    flex-wrap: wrap;
}

.footer .gap-2 {
    gap: 0.5rem;
}

.footer .border-bottom {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .pb-2 {
    padding-bottom: 0.5rem;
}

.footer .mb-0 {
    margin-bottom: 0;
}

.footer .mb-2 {
    margin-bottom: 0.5rem;
}

.footer .mb-4 {
    margin-bottom: 1.5rem;
}

.footer .mt-3 {
    margin-top: 1rem;
}

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

.footer .mt-5 {
    margin-top: 3rem;
}

.footer .pt-4 {
    padding-top: 1.5rem;
}

.footer .me-3 {
    margin-right: 1rem;
}

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

.footer .text-md-start {
    text-align: left;
}

.footer .text-md-end {
    text-align: right;
}

.footer .badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
}

.footer .bg-gold {
    background-color: var(--primary-gold) !important;
}

.footer h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--light-gold);
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(184, 134, 11, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    flex-shrink: 0;
}

.footer .g-4 {
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .footer .col-lg-4,
    .footer .col-lg-3,
    .footer .col-lg-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .footer .col-lg-4,
    .footer .col-lg-3,
    .footer .col-lg-2,
    .footer .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer .text-md-start,
    .footer .text-md-end {
        text-align: center !important;
    }

    .footer .justify-content-md-end {
        justify-content: center !important;
    }
}

/* ========== ADDITIONAL UTILITY CLASSES FOR COMPATIBILITY ========== */
.g-4 {
    gap: 1.5rem;
}

.g-5 {
    gap: 2rem;
}

.gx-5 {
    column-gap: 2rem;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.position-fixed {
    position: fixed;
}

.top-0 {
    top: 0;
}

.start-0 {
    left: 0;
}

.end-0 {
    right: 0;
}

.bottom-0 {
    bottom: 0;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.d-inline-block {
    display: inline-block;
}

.d-block {
    display: block;
}

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

.align-items-start {
    align-items: flex-start;
}

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

.justify-content-between {
    justify-content: space-between;
}

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

.flex-wrap {
    flex-wrap: wrap;
}

.rounded {
    border-radius: var(--radius-md);
}

.rounded-circle {
    border-radius: 50%;
}

.shadow {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
}

.overflow-hidden {
    overflow: hidden;
}

.text-uppercase {
    text-transform: uppercase;
}

.fw-bold {
    font-weight: 700;
}

.fw-medium {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fst-italic {
    font-style: italic;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.display-3 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.display-4 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.display-5 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

.text-muted {
    color: var(--gray-600);
}

.opacity-0 {
    opacity: 0;
}

.opacity-1 {
    opacity: 1;
}

.translate-middle {
    transform: translate(-50%, -50%);
}

.start-50 {
    left: 50%;
}

/* ========== MODERN FOOTER STYLES (New Design) ========== */

/* Footer Wave Decoration */
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-99%);
    z-index: 1;
}

.footer-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer Main Grid */
.footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

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

/* Footer Brand Section */
.footer-brand {
    margin-bottom: 2rem;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.footer-logos img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    opacity: 1;
    transition: all 0.3s ease;
}

.footer-logos img:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

.footer-brand h3 {
    color: var(--light-gold);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 0;
}

/* Footer Contact List */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    background: rgba(184, 134, 11, 0.15);
    transform: translateX(5px);
}

.footer-contact-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

.footer-contact-text {
    flex: 1;
}

.footer-contact-text strong {
    display: block;
    color: var(--light-gold);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.footer-contact-text a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-text a:hover {
    color: var(--primary-gold);
}

/* Footer Column Title */
.footer-title {
    color: var(--light-gold);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 3px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.35rem 0;
}

.footer-links a:hover {
    color: var(--light-gold);
    transform: translateX(8px);
    padding-left: 0.5rem;
}

.footer-links a i {
    font-size: 0.75rem;
    color: var(--primary-gold);
    transition: transform 0.3s ease;
}

.footer-links a:hover i {
    transform: scale(1.2);
}

/* Footer Certifications */
.footer-certs {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-certs h5 {
    color: var(--light-gold);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.2), rgba(212, 175, 55, 0.2));
    border: 1px solid var(--primary-gold);
    border-radius: var(--radius-full);
    color: var(--light-gold);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cert-badge:hover {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.4);
}

.cert-badge i {
    font-size: 1rem;
}

/* Working Hours */
.working-hours {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(184, 134, 11, 0.15);
}

.hour-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 2rem;
}

.hour-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hour-item:first-child {
    padding-top: 0;
}

.hour-item .day {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
}

.hour-item .time {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: right;
    white-space: nowrap;
    justify-self: end;
}

.hour-item.closed .time {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

/* Footer Social */
.footer-social {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-social h5 {
    color: var(--light-gold);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.2), rgba(212, 175, 55, 0.2));
    border: 2px solid var(--primary-gold);
    border-radius: var(--radius-lg);
    color: var(--light-gold);
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.5);
    border-color: var(--secondary-gold);
}

.social-link:hover i {
    color: white;
    transform: rotate(360deg);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    margin-top: 3rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-copyright {
    flex: 1;
    min-width: 250px;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-dev {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

.footer-dev a {
    color: var(--primary-gold);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-dev a:hover {
    color: var(--light-gold);
    border-bottom-color: var(--light-gold);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-gold);
}

.footer-legal a:hover::after {
    width: 100%;
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.4);
}

/* Footer Responsive Design */
@media (max-width: 1200px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

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

    .footer-legal {
        justify-content: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

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

    .footer-logos {
        justify-content: center;
    }

    .footer-contact-list {
        align-items: stretch;
    }

    .footer-contact-item {
        flex-direction: row;
    }

    .social-links {
        justify-content: center;
    }

    .cert-badges {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-main {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .footer-brand h3 {
        font-size: 1.2rem;
    }

    .footer-title {
        font-size: 1.15rem;
    }

    .footer-logos img {
        max-height: 40px;
    }

    .social-link {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 2rem;
    }

    .footer-copyright p,
    .footer-dev {
        font-size: 0.85rem;
    }

    .footer-legal {
        font-size: 0.85rem;
        gap: 0.75rem;
    }
}

/* Footer Animation on Scroll */
@keyframes footerSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer.animate-in .footer-col {
    animation: footerSlideUp 0.6s ease-out forwards;
}

.footer.animate-in .footer-col:nth-child(1) {
    animation-delay: 0.1s;
}

.footer.animate-in .footer-col:nth-child(2) {
    animation-delay: 0.2s;
}

.footer.animate-in .footer-col:nth-child(3) {
    animation-delay: 0.3s;
}

.footer.animate-in .footer-col:nth-child(4) {
    animation-delay: 0.4s;
}

/* ========== ENHANCED MOBILE RESPONSIVE STYLES ========== */

/* Mobile Hero Section Improvements */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.75rem !important;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 1rem !important;
    }
    
    .hero-content .flex {
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100%;
    }
    
    .hero-content .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile Stats Banner */
@media (max-width: 768px) {
    .section-sm .flex-between {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .section-sm .stat-number {
        font-size: 2rem !important;
    }
    
    .section-sm h2 {
        font-size: 1.5rem !important;
    }
}

/* Mobile Product Cards */
@media (max-width: 768px) {
    .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .product-card .card-img {
        height: 220px !important;
    }
    
    .card-body {
        padding: 1.25rem !important;
    }
    
    .card-title {
        font-size: 1.25rem !important;
    }
}

/* Mobile Video Section */
@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr !important;
    }
    
    .section video {
        border-radius: 1rem !important;
    }
}

/* Mobile About Section */
@media (max-width: 768px) {
    .section .grid[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .section .grid[style*="grid-template-columns: 1fr 1fr"] > div:last-child {
        order: -1;
    }
}

/* Mobile Testimonials */
@media (max-width: 768px) {
    .testimonial {
        padding: 1.5rem !important;
    }
    
    .testimonial-quote {
        font-size: 1rem !important;
    }
    
    .testimonial-avatar {
        width: 50px !important;
        height: 50px !important;
    }
}

/* Mobile Footer Improvements */
@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    
    .footer-logos {
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
    }
    
    .footer-logos img {
        max-height: 45px !important;
    }
    
    .footer-brand {
        text-align: left !important;
    }
    
    .footer-brand h3 {
        font-size: 1.25rem !important;
    }
    
    .footer-contact-list {
        gap: 1rem !important;
    }
    
    .footer-contact-item {
        padding: 0.6rem !important;
    }
    
    .footer-contact-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    .footer-title {
        font-size: 1.15rem !important;
        text-align: left !important;
    }
    
    .footer-title::after {
        left: 0 !important;
        transform: none !important;
    }
    
    .footer-links {
        text-align: left !important;
    }
    
    .footer-links a {
        justify-content: flex-start !important;
    }
    
    .working-hours {
        padding: 1rem !important;
    }
    
    .footer-social {
        text-align: left !important;
    }
    
    .social-links {
        justify-content: flex-start !important;
    }
    
    .social-link {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.15rem !important;
    }
    
    .cert-badges {
        justify-content: flex-start !important;
    }
    
    .footer-bottom-content {
        flex-direction: column !important;
        text-align: left !important;
        gap: 1.5rem !important;
        align-items: flex-start !important;
    }
    
    .footer-copyright {
        text-align: left !important;
    }
    
    .footer-legal {
        flex-direction: column !important;
        gap: 0.5rem !important;
        align-items: flex-start !important;
    }
    
    .footer-legal span {
        display: none !important;
    }
}

/* Small Mobile (iPhone SE, etc) */
@media (max-width: 380px) {
    .hero-content h1 {
        font-size: 1.5rem !important;
    }
    
    .hero-content p {
        font-size: 0.95rem !important;
    }
    
    .btn-lg {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.95rem !important;
    }
    
    .section-title {
        font-size: 1.5rem !important;
    }
    
    .section-description {
        font-size: 1rem !important;
    }
    
    .footer-logos img {
        max-height: 35px !important;
    }
    
    .footer-brand h3 {
        font-size: 1.1rem !important;
    }
    
    .footer-contact-icon {
        width: 36px !important;
        height: 36px !important;
    }
}

/* Landscape Mobile Fixes */
@media (max-width: 992px) and (orientation: landscape) {
    .hero {
        min-height: 100vh !important;
    }
    
    body {
        padding-top: 80px !important;
    }
    
    .modern-navbar {
        padding: 8px 0 !important;
    }
}

/* Tablet Portrait Optimizations */
@media (min-width: 577px) and (max-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Fix for text readability on small screens */
@media (max-width: 576px) {
    body {
        font-size: 0.95rem;
    }
    
    .card-text {
        font-size: 0.9rem !important;
    }
    
    .product-features li {
        font-size: 0.85rem !important;
    }
    
    .section-subtitle {
        font-size: 0.8rem !important;
    }
    
    .footer-tagline {
        font-size: 0.85rem !important;
    }
    
    .footer-contact-text p {
        font-size: 0.85rem !important;
    }
}

/* Touch-friendly button sizes on mobile */
@media (max-width: 768px) {
    .btn {
        min-height: 44px;
        padding: 0.875rem 1.5rem;
    }
    
    .mobile-menu-toggle {
        min-width: 44px !important;
        min-height: 44px !important;
    }
}

/* Improve spacing on mobile */
@media (max-width: 576px) {
    .section {
        padding: 2.5rem 0 !important;
    }
    
    .section-header {
        margin-bottom: 2rem !important;
    }
    
    .grid {
        gap: 1.5rem !important;
    }
}
