/* --- System Design & Root Variables --- */
:root {
    /* Color Palette (Vibrant Red & Gold theme based on exact logo color) */
    --primary-hue: 0;
    --primary-sat: 100%;
    --primary-dark: hsl(var(--primary-hue), var(--primary-sat), 35%); /* Deep pure red #b30000 */
    --primary-medium: #FF0000; /* Exact vibrant red from logo */
    --primary-light: hsl(var(--primary-hue), 50%, 96%); /* Soft red/pink tint #fdf5f5 */
    --primary-glow: rgba(255, 0, 0, 0.06);
    
    --accent: #ffd936; /* Bright yellow from logo */
    --accent-hover: #e6c01e;
    --accent-glow: rgba(255, 217, 54, 0.35);
    
    --orange-hue: 20;
    --orange: hsl(var(--orange-hue), 90%, 52%); /* #f35815 */
    --orange-glow: rgba(243, 88, 21, 0.2);

    --bg-dark: #fdfaf9; /* Cheerful warm light cream background */
    --bg-card: rgba(255, 255, 255, 0.96);
    --border-card: rgba(255, 0, 0, 0.1); /* Red border */
    --border-glow-green: rgba(255, 0, 0, 0.35); /* Pure red glow */
    --border-glow-yellow: rgba(234, 179, 8, 0.4);
    --border-glow-orange: rgba(249, 115, 22, 0.3);
    
    --text-light: #2d1a1a; /* Dark charcoal text for high contrast readability */
    --text-muted: #735758;
    
    /* Fonts */
    --font-primary: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Tajawal', var(--font-primary);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px rgba(255, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(255, 217, 54, 0.25);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    background-color: var(--bg-dark);
    /* Subtle background grid pattern to simulate coordinates or map mesh */
    background-image: 
        radial-gradient(at 100% 0%, hsla(145, 45%, 15%, 0.3) 0px, transparent 50%),
        radial-gradient(at 0% 100%, hsla(38, 90%, 10%, 0.2) 0px, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.004) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.004) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    color: var(--text-light);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Inline brand logo text styling (using high quality transparent brand_text.png) */
.brand-logo-text {
    height: 1.05em; /* Scales perfectly with adjacent font-size */
    width: auto;     /* Retains aspect ratio */
    vertical-align: middle;
    display: inline-block;
    margin: 0 4px;
    transition: var(--transition-fast);
    visibility: hidden; /* Hidden initially to prevent flash of white background */
    transform: translateY(-0.08em); /* Shifting it slightly upwards to align perfectly with Arabic text baseline */
}

/* In the hero title, make it slightly larger so it matches the giant text scale */
.hero-title .brand-logo-text {
    height: 1.2em;
    margin-left: 8px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Selection style */
::selection {
    background-color: var(--accent);
    color: var(--bg-dark);
}

/* Utility Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-secondary);
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--accent);
    color: #2c1a1b; /* Dark crimson text for high readability */
    box-shadow: 0 4px 15px var(--accent-glow);
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 217, 54, 0.5);
}

.btn-secondary {
    background: rgba(255, 0, 0, 0.05); /* Soft transparent red */
    color: var(--text-light);
    border: 1px solid var(--border-card);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255, 0, 0, 0.1);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--orange));
    color: #2d1a1a; /* Dark text for contrast */
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary-medium);
    border: 2px solid var(--primary-medium);
}
.btn-outline:hover {
    background: var(--primary-medium);
    color: #ffffff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    font-size: 1.1rem;
    padding: 12px 24px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    background-color: #20ba59;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* --- Header / Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85); /* Changed to bright glassmorphism */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 0, 0, 0.08); /* Exact red glow header boundary */
    transition: var(--transition-normal);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-light);
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition-fast);
}

.logo-img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.2));
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-muted);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    padding: 6px 0;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-dark); /* Color changes to deep green */
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition-fast);
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 95vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('assets/images/hero_bg.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(10, 18, 14, 0.4) 0%,
        rgba(10, 18, 14, 0.75) 50%,
        var(--bg-dark) 100%
    );
    z-index: 1;
}

.hero-sparks-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.hero-title {
    color: #ffffff; /* Explicitly white on dark background */
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.glow-text {
    background: linear-gradient(135deg, var(--accent) 30%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 217, 54, 0.4));
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #e2ede7; /* Light muted color for dark background */
    margin-bottom: 40px;
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-ctas {
    display: flex;
    gap: 20px;
}

/* Beautiful Hero Wave SVG Divider */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 4;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-wave .shape-fill {
    fill: var(--bg-dark);
}

/* --- Section Global --- */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- Services Section --- */
.services-section {
    padding: 100px 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Glassmorphism Card Style */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
}

.card-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.card-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(10, 18, 14, 0.75);
    border: 1px solid var(--border-card);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(5px);
}

.service-body {
    padding: 30px;
    position: relative;
    padding-top: 45px;
}

.service-icon {
    position: absolute;
    top: -30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-medium), var(--primary-light));
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.service-card-title {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Individual card glows on hover */
.card-glow-green:hover {
    border-color: var(--border-glow-green);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.1);
    transform: translateY(-8px);
}
.card-glow-yellow:hover {
    border-color: var(--border-glow-yellow);
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.1);
    transform: translateY(-8px);
}
.card-glow-orange:hover {
    border-color: var(--border-glow-orange);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.1);
    transform: translateY(-8px);
}

/* --- Compiler Section (Order Builder) --- */
.compiler-section {
    padding: 100px 0;
    background: rgba(255, 0, 0, 0.02); /* Soft pure red tint */
    border-top: 1px solid rgba(255, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 0, 0, 0.08);
}

.compiler-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
    align-items: start;
}

/* Tabs Navigation */
.tabs-nav {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px;
    border-radius: 12px;
    border: 1px solid var(--border-card);
    margin-bottom: 30px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 12px 16px;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-btn:hover {
    color: var(--primary-dark);
    background: rgba(255, 0, 0, 0.04);
}

.tab-btn.active {
    background: var(--accent);
    color: #2d1a1a; /* High-contrast dark text on yellow */
    box-shadow: 0 4px 12px var(--accent-glow);
}

/* Tab Panels */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fade-in 0.4s ease;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Product Cards */
.product-item-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-normal);
}

.product-item-card:hover {
    border-color: rgba(255, 0, 0, 0.2);
    background: #ffffff;
    transform: translateY(-3px);
}

.product-info {
    margin-bottom: 15px;
}

.product-name {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 6px;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.product-price {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 700;
    color: #000000;
}

.product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 0, 0, 0.04); /* Soft transparent red */
    border: 1px solid var(--border-card);
    border-radius: 6px;
    padding: 4px;
}

.btn-qty {
    background: transparent;
    border: none;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.btn-qty:hover {
    background: rgba(255, 0, 0, 0.08);
    color: var(--primary-dark);
}

.btn-qty:active {
    transform: scale(0.9);
}

.qty-number {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1rem;
    min-width: 25px;
    text-align: center;
}

.product-item-card.has-items {
    border-color: var(--primary-medium);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.1);
}
.product-item-card.has-items .product-name {
    color: var(--primary-dark);
    font-weight: 800;
}

/* Sidebar Order Summary */
.order-summary-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-md);
    border-radius: 16px;
    position: sticky;
    top: 100px;
    overflow: hidden;
}

.sidebar-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
    padding: 20px;
    border-bottom: 1px solid var(--border-card);
    text-align: center;
}

.sidebar-header h3 {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent); /* Cheerful yellow gold logo color */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.summary-content {
    padding: 20px;
}

.empty-cart-message {
    text-align: center;
    padding: 40px 10px;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 2.5rem;
    color: var(--primary-medium);
    margin-bottom: 15px;
}

.cart-items-list {
    list-style: none;
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-left: 5px;
}

/* Custom Scrollbar for list */
.cart-items-list::-webkit-scrollbar {
    width: 4px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 0, 0, 0.08);
    font-size: 0.9rem;
    animation: slide-up 0.25s ease;
}

.cart-item-name {
    font-weight: 600;
}

.cart-item-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-price {
    font-family: var(--font-secondary);
    color: var(--primary-dark);
    font-weight: 700;
}

.btn-remove-item {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px;
}

.cart-total-section {
    border-top: 2px dashed rgba(255, 0, 0, 0.15);
    padding-top: 15px;
    margin-bottom: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.05rem;
}

.total-amount {
    font-family: var(--font-secondary);
    color: var(--primary-dark);
}

/* Order Forms inside summary */
.order-form-details {
    border-top: 1px solid rgba(255, 0, 0, 0.1);
    padding-top: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-card);
    color: var(--text-light);
    padding: 10px 14px;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-medium);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.1);
}

/* --- Locations Section --- */
.locations-section {
    padding: 100px 0;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.location-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
}

.location-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.05);
    transform: translateY(-5px);
}

.location-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.location-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.2));
}

.location-title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.location-address,
.location-timing {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.location-card .btn {
    margin-top: 25px;
}

/* --- Contact Section --- */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-dark) 100%);
    border-top: 1px solid rgba(255, 0, 0, 0.08);
}

.contact-card {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 50px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: var(--shadow-md);
}

.contact-header {
    flex: 1;
}

.contact-header h2 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-header h2 i {
    color: var(--accent);
    filter: drop-shadow(0 0 5px var(--accent-glow));
}

.contact-header p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 550px;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 320px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.btn-lbl {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.btn-val {
    display: block;
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
}

.phone-btn {
    background: rgba(255, 217, 54, 0.08);
    border: 1px solid rgba(255, 217, 54, 0.2);
}
.phone-btn .icon-circle {
    background: var(--accent);
    color: #2c1a1b;
}
.phone-btn:hover {
    background: rgba(255, 217, 54, 0.15);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.wa-btn {
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.2);
}
.wa-btn .icon-circle {
    background: #25D366;
    color: white;
}
.wa-btn:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: #25D366;
    transform: translateY(-2px);
}

/* --- Footer --- */
.main-footer {
    background: #f5ecec; /* Muted, faded/dull pinkish-grey background */
    padding: 60px 0 30px 0;
    border-top: 1px solid rgba(255, 0, 0, 0.06);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin-bottom: 8px;
    filter: grayscale(20%) opacity(90%); /* Faded appearance */
}

.footer-brand p {
    color: #6e5557; /* Soft faded dark red-gray text */
    font-size: 0.9rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #6e5557; /* Soft faded links */
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-medium); /* Exact logo red on hover */
    padding-right: 5px;
}

.footer-copy {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 0, 0, 0.06);
    padding-top: 25px;
    text-align: center;
    color: rgba(110, 85, 87, 0.6); /* Muted faded copyright */
    font-size: 0.85rem;
}

/* --- Animations & Keyframes --- */
@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px var(--accent-glow));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.6));
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

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

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .compiler-layout {
        grid-template-columns: 1fr;
    }
    .order-summary-sidebar {
        position: static;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 920px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 25px;
    }
    .contact-actions {
        width: 100%;
        max-width: 320px;
    }
    .contact-header h2 {
        justify-content: center;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .footer-brand,
    .footer-links {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        border-bottom: 1px solid var(--border-card);
        padding: 30px;
        display: none;
        box-shadow: var(--shadow-md);
    }
    
    .nav-menu.open {
        display: block;
        animation: fade-in 0.3s ease;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .hero-section {
        height: auto;
        padding: 140px 0 80px 0;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 15px;
    }
    
    .tabs-nav {
        flex-direction: column;
        border-radius: 8px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}
