/* Modern & Professional Design System for Amana SAT */

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

:root {
    --primary-color: #0f172a;
    /* Slate 900 */
    --primary-light: #1e293b;
    --secondary-color: #38bdf8;
    /* Cyan 400 */
    --accent-color: #10b981;
    /* Emerald 500 */
    --bg-light: #f8fafc;
    /* Slate 50 */
    --text-main: #0f172a;
    --text-muted: #64748b;
    /* Slate 500 */
    --white: #ffffff;
    --border-color: #e2e8f0;
    /* Slate 200 */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --hero-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --glass-bg: rgba(255, 255, 255, 0.85);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Modern Header with Glassmorphism */
/* Top Bar */
.top-bar {
    background: var(--primary-color);
    color: white;
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left i {
    color: var(--accent-color);
    margin-right: 8px;
}

.top-bar-right a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.top-bar-right a:hover {
    color: var(--secondary-color);
}

.top-bar-right i {
    margin-right: 5px;
}

header {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Text Logo Design */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary-color);
}

.logo span {
    color: #0369a1;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--secondary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(56, 189, 248, 0.3);
}

.logo-icon i {
    color: #ffffff !important;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    padding: 8px 0;
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--secondary-color);
    opacity: 1;
}

.nav-links a.active {
    color: var(--secondary-color);
    opacity: 1;
}

.mobile-toggle {
    display: none;
}

/* Professional Hero Section */
.hero {
    color: var(--white);
    padding: 100px 0 80px;
    min-height: 450px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--primary-color);
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
    pointer-events: none;
    transform: scale(1.1);
    animation: heroZoom 10s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1.2);
    }

    to {
        transform: scale(1.05);
    }
}

/* Responsive framing */
@media (max-width: 768px) {
    .hero-bg-img {
        object-position: 35% center;
        /* Better framing for the fridge on narrow screens */
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* More sophisticated tri-color gradient for depth and text focus */
    background: linear-gradient(135deg,
            rgba(26, 26, 46, 0.9) 0%,
            rgba(26, 26, 46, 0.6) 50%,
            rgba(26, 26, 46, 0.9) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 3;
    /* Increased for visibility */
    width: 100%;
}

.hero-content {
    max-width: 800px;
    text-align: inherit;
}

.hero-center .hero-content {
    margin: 0 auto;
    text-align: center !important;
}

.hero-center .hero-content h1,
.hero-center .hero-content p {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-align: left !important;
}

.hero p {
    font-size: 1.35rem;
    max-width: 650px;
    margin-bottom: 40px;
    color: #e2e8f0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-align: left !important;
}

/* Service Cards Overhaul */
.services-grid-section {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.service-card i {
    font-size: 2.25rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
    background: #f0f9ff;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
}

/* Feature Cards with subtle backgrounds */
.features {
    padding: 100px 0;
    background: #f1f5f9;
}

.features .service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
}

/* Modern Buttons */
.btn-primary {
    background: #0369a1;
    color: #ffffff !important;
    padding: 16px 40px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    box-shadow: 0 4px 14px 0 rgba(3, 105, 161, 0.3);
}

.btn-primary:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 105, 161, 0.2);
}

/* Footer Modernization */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-section h3 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 28px;
    color: #cbd5e1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
    padding-top: 40px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Footer Contact Info Redesign */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    transform: translateX(8px);
    opacity: 0.8;
}

.footer-contact-circle {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Extreme specificity to win over global white rules */
.footer-contact-circle i,
.footer-contact-item .footer-contact-circle i,
footer .footer-contact-circle i {
    color: #1a1a2e !important;
}

/* Homepage CTA Button Refinement - Balanced and smaller */
.cta-button-refined {
    min-width: 180px !important;
    padding: 12px 25px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
}

.cta-whatsapp-btn {
    background: #25d366 !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
}

.cta-whatsapp-btn:hover {
    background: #22c35e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
}

/* WhatsApp Redesign */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 32px;
    right: 32px;
    background: #22c55e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.3);
    z-index: 1000;
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.75rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: var(--shadow-lg);
        border-bottom: 3px solid var(--secondary-color);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 15px 0;
        width: 100%;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .mobile-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 5px;
    }

    .mobile-toggle.active {
        color: var(--secondary-color);
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2.25rem;
        word-wrap: break-word;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .top-bar-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-bar-right {
        display: flex;
        gap: 15px;
        justify-content: center;
    }
}

/* Contact Page Specific Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: #f0f9ff;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
}

.contact-item .content h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.contact-item .content p,
.contact-item .content a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Premium Form Styling */
.form-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
}

.form-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50px;
    right: 50px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Modern Contact Icons (Badagine Style) */
.contact-item-clean {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-item-clean i {
    width: 40px;
    height: 40px;
    background: white;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-item-clean:hover i {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

.contact-item-clean .content h4 {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.contact-item-clean .content p,
.contact-item-clean a {
    font-weight: 600;
    color: inherit;
}

footer .contact-item-clean a {
    color: rgba(255, 255, 255, 0.8);
}

footer .contact-item-clean:hover a {
    color: white;
}

/* Enhanced Cookie Popup Style */
.cookie-popup {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 550px;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
    border: 1px solid var(--border-color);
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-popup h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cookie-popup p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-btn {
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    flex: 1;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: #0369a1;
    color: white;
}

.cookie-btn.accept:hover {
    background: #0ea5e9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.cookie-btn.essential {
    background: var(--bg-light);
    color: var(--primary-color);
    border-color: var(--border-color);
}

.cookie-btn.essential:hover {
    background: var(--white);
    border-color: var(--secondary-color);
}

.cookie-btn.reject {
    background: white;
    color: var(--text-muted);
    border-color: var(--border-color);
}

.cookie-btn.reject:hover {
    background: #fff1f2;
    color: #ef4444;
    border-color: #fee2e2;
}

@media (max-width: 600px) {
    .cookie-popup {
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 20px 20px 0 0;
        padding: 25px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* Hide reCAPTCHA badge */
.grecaptcha-badge {
    visibility: hidden;
}