/* ============================================
   PROFESSIONAL HEADER & FOOTER STYLES
   Dorany Services Malaysia
   Version: 2.0 | Updated: 2024
   ============================================ */

/* ============================================
   CSS VARIABLES (EASY THEME CUSTOMIZATION)
   ============================================ */
:root {
    /* Primary Colors - Green Theme */
    --primary-color: #2E7D32;
    --primary-dark: #1B5E20;
    --primary-light: #4CAF50;
    --primary-soft: #81C784;
    --primary-bg: #E8F5E9;
    
    /* Secondary Colors */
    --secondary-color: #00A8FF;
    --secondary-dark: #0088cc;
    --accent-color: #FFB347;
    
    /* Neutral Colors */
    --dark-color: #1a1a2e;
    --dark-soft: #2d2d3a;
    --gray-dark: #4a4a5a;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    
    /* Status Colors */
    --success-color: #00C853;
    --warning-color: #FFC107;
    --danger-color: #FF3B30;
    --info-color: #2196F3;
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* 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;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
    --shadow-2xl: 0 25px 50px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Container Width */
    --container-width: 1280px;
    --container-padding: 1.5rem;
    
    /* Z-Index Layers */
    --z-negative: -1;
    --z-low: 10;
    --z-medium: 100;
    --z-high: 1000;
    --z-higher: 2000;
    --z-highest: 9999;
    
    /* Header Specific */
    --header-height-desktop: 80px;
    --header-height-mobile: 70px;
    --logo-height-desktop: 50px;
    --logo-height-mobile: 40px;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --light-color: #1a1a2e;
        --gray-light: #2d2d3a;
        --white: #1a1a2e;
        --dark-color: #ffffff;
    }
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--dark-color);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
    color: var(--gray);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Section Spacing */
section {
    padding: var(--spacing-3xl) 0;
}

@media (max-width: 768px) {
    section {
        padding: var(--spacing-2xl) 0;
    }
}

/* ============================================
   TOP HEADER BAR
   ============================================ */
.top-header {
    background: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
    position: relative;
    z-index: var(--z-high);
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.top-header-left .contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.top-header-left .contact-info a,
.top-header-left .contact-info span {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 13px;
}

.top-header-left .contact-info a:hover {
    color: var(--secondary-color);
}

.top-header-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.hours-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
}

.social-icons a {
    color: var(--white);
    text-decoration: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    background: rgba(255,255,255,0.1);
}

.social-icons a:hover {
    background: var(--secondary-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.emergency-link {
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 5px 15px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: var(--transition-fast);
}

.emergency-link:hover {
    background: var(--white);
    transform: scale(1.05);
}

/* ============================================
   MAIN NAVIGATION
   ============================================ */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: var(--z-higher);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

/* Logo Styles */
.nav-brand {
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: var(--logo-height-desktop);
    width: auto;
    object-fit: contain;
    transition: height var(--transition-fast);
}

.logo-light {
    display: none;
}

.navbar.scrolled .logo-dark {
    display: none;
}

.navbar.scrolled .logo-light {
    display: block;
}

/* Navigation Menu Container */
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: var(--spacing-sm) 0;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link i {
    font-size: 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle .dropdown-icon {
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

.dropdown:hover .dropdown-toggle .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    padding: var(--spacing-md) 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    list-style: none;
    z-index: var(--z-higher);
    border: 1px solid rgba(0,0,0,0.05);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.875rem;
}

.dropdown-menu li a i {
    width: 20px;
    color: var(--primary-color);
}

.dropdown-menu li a:hover {
    background: var(--primary-bg);
    color: var(--primary-color);
    padding-left: 28px;
}

.dropdown-divider {
    height: 1px;
    background: var(--gray-light);
    margin: 8px 0;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-left: var(--spacing-lg);
}

.btn-quote {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    transition: var(--transition-fast);
    color: var(--dark-color);
    padding: var(--spacing-sm);
    border-radius: var(--radius-full);
}

.search-toggle:hover {
    background: var(--gray-light);
    color: var(--primary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 0;
    z-index: var(--z-higher);
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: var(--dark-color);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ============================================
   SEARCH OVERLAY
   ============================================ */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: var(--z-highest);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 90%;
    max-width: 700px;
    position: relative;
}

.search-form {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.search-form input {
    flex: 1;
    padding: 18px 20px;
    font-size: 1.125rem;
    border: none;
    border-radius: var(--radius-full);
    background: var(--white);
    outline: none;
}

.search-form button {
    background: var(--primary-color);
    border: none;
    padding: 0 32px;
    border-radius: var(--radius-full);
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
}

.search-form button:hover {
    background: var(--primary-dark);
}

.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition-fast);
}

.search-close:hover {
    transform: rotate(90deg);
}

.search-suggestions {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.search-suggestions p {
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--spacing-sm);
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
}

.suggestion-tags a {
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.suggestion-tags a:hover {
    background: var(--primary-color);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: var(--z-high);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.float-btn {
    position: fixed;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    z-index: var(--z-high);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.float-whatsapp {
    bottom: 100px;
    right: 24px;
    background: #25D366;
    color: white;
    font-size: 28px;
}

.float-whatsapp:hover {
    transform: scale(1.1);
    background: #20b858;
}

.float-call {
    bottom: 30px;
    right: 24px;
    background: var(--primary-color);
    color: white;
    font-size: 24px;
}

.float-call:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.float-tooltip {
    position: absolute;
    right: 70px;
    background: var(--dark-color);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.float-btn:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.5;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 24px;
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: var(--z-high);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.footer {
    background: #1a2632;
    color: #b0b8c5;
    margin-top: var(--spacing-3xl);
}

.footer-top {
    padding: 70px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 45px;
    width: auto;
}

.footer-logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
}

.footer-logo-text span {
    color: var(--secondary-color);
}

.footer-description {
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.badge {
    background: rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-social h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-social .social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social .social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social .social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b8c5;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 12px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-links a:hover i {
    color: var(--secondary-color);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact li i {
    font-size: 20px;
    color: var(--secondary-color);
    margin-top: 3px;
}

.footer-contact li div {
    display: flex;
    flex-direction: column;
}

.footer-contact li strong {
    color: var(--white);
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-contact li span,
.footer-contact li a {
    color: #b0b8c5;
    text-decoration: none;
    font-size: 14px;
}

.footer-contact li a:hover {
    color: var(--white);
}

.working-hours {
    list-style: none;
    margin-bottom: 30px;
}

.working-hours li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.working-hours li span:first-child {
    font-weight: 500;
}

.newsletter h4 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 16px;
}

.newsletter p {
    font-size: 13px;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: none;
    border-radius: 30px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    outline: none;
}

.newsletter-form input::placeholder {
    color: #8a9aa8;
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: var(--primary-color);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
}

/* Footer Bottom */
.footer-bottom {
    background: #11181f;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #b0b8c5;
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 24px;
}

.payment-methods i {
    color: #8a9aa8;
    transition: var(--transition);
}

.payment-methods i:hover {
    color: var(--white);
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 15px 25px;
    border-radius: var(--radius-lg);
    z-index: var(--z-higher);
    transform: translateY(150%);
    transition: var(--transition);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-content i {
    font-size: 30px;
    color: var(--secondary-color);
}

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-accept {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.cookie-accept:hover {
    background: var(--primary-dark);
}

.cookie-settings {
    background: var(--gray-light);
    color: var(--dark-color);
    padding: 8px 20px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.cookie-settings:hover {
    background: var(--gray);
    color: white;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') repeat-x bottom;
    background-size: cover;
    opacity: 0.1;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 800;
}

.page-header p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.breadcrumbs a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--secondary-color);
}

.breadcrumbs .separator {
    color: rgba(255,255,255,0.5);
}

.breadcrumbs .current {
    color: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet Landscape */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-links {
        gap: 1.5rem;
    }
}

/* Tablet Portrait - Mobile Menu Active */
@media (max-width: 992px) {
    /* Hide desktop navigation, show mobile menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 100px var(--spacing-xl) var(--spacing-xl);
        transition: var(--transition);
        z-index: var(--z-higher);
        overflow-y: auto;
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: var(--spacing-md);
        width: 100%;
    }
    
    .nav-link {
        justify-content: space-between;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: var(--spacing-lg);
        display: none;
        width: 100%;
        background: transparent;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li a:hover {
        padding-left: 20px;
    }
    
    .nav-actions {
        margin-top: var(--spacing-xl);
        flex-direction: column;
        width: 100%;
        margin-left: 0;
    }
    
    .btn-quote {
        width: 100%;
        justify-content: center;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Hide top header on tablet */
    .top-header {
        display: none;
    }
    
    /* Adjust page header */
    .page-header h1 {
        font-size: 36px;
    }
    
    /* Grid adjustments */
    .story-grid,
    .mission-grid,
    .stats-grid,
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: clamp(1.75rem, 4vw, 2rem); }
    h2 { font-size: clamp(1.5rem, 3.5vw, 1.75rem); }
    
    /* Layout */
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Floating buttons */
    .float-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 80px;
        right: 20px;
    }
    
    .float-call {
        width: 50px;
        height: 50px;
        font-size: 22px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        left: 20px;
    }
    
    /* Logo */
    .logo img {
        height: var(--logo-height-mobile);
    }
    
    .btn-quote span {
        display: none;
    }
    
    .btn-quote i {
        margin: 0;
    }
    
    .btn-quote {
        padding: 10px 16px;
    }
    
    /* Search overlay */
    .search-form {
        flex-direction: column;
    }
    
    .search-form button {
        padding: 12px 20px;
    }
    
    /* Page header */
    .page-header {
        padding: 50px 0;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    /* Grid adjustments */
    .story-grid,
    .mission-grid,
    .stats-grid,
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .milestones {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .footer-title {
        font-size: 16px;
    }
    
    .milestones {
        grid-template-columns: 1fr;
    }
    
    .suggestion-tags {
        gap: 8px;
    }
    
    .suggestion-tags a {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mt-5 { margin-top: var(--spacing-2xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-2xl); }

.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }
.p-3 { padding: var(--spacing-lg); }
.p-4 { padding: var(--spacing-xl); }
.p-5 { padding: var(--spacing-2xl); }

.hidden { display: none; }
.visible { display: block; }

@media (max-width: 768px) {
    .hide-mobile { display: none; }
    .show-mobile { display: block; }
}

@media (min-width: 769px) {
    .hide-desktop { display: none; }
}