/* Custom variables - Mint & Navy Theme */
:root {
    --primary-bg: #F4F7F6;       /* Light slate */
    --secondary-bg: #DFF0E9;     /* Mint green surface */
    --accent-gold: #E5A827;      /* Logo gold */
    --primary-teal: #1D9E75;     /* Primary Teal */
    --soft-teal: #9FD9C5;        /* Sector gap/border */
    --icon-bg: #C2EDD8;          /* Icon background */
    --icon-text: #055038;        /* Deep teal icons */
    --navbar-navy: #0E1C2E;      /* Navy (logo) */
    --nav-links: #A0C8BC;        /* Muted teal */
    --heading-text: #0A2018;     /* Dark green */
    --body-text: #1A5040;        /* Mid green */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--primary-bg);
    color: var(--body-text);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    color: var(--heading-text);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 8%;
    background: var(--navbar-navy);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(29, 158, 117, 0.2);
}

.site-logo { height: 55px; }

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.company-name {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.company-line1 {
    color: #ff0000;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.company-line2 {
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.8px;
}

.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li { margin-left: 2rem; }
.nav-links a {
    text-decoration: none;
    color: var(--nav-links);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--accent-gold); }

.nav-btn {
    background: transparent;
    border: 1.5px solid var(--accent-gold);
    color: var(--accent-gold) !important;
    padding: 8px 20px;
    border-radius: 4px;
}

/* Hero Section - FIXED FOR iOS */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    /*
    background: linear-gradient(rgba(244, 247, 246, 0.8), rgba(244, 247, 246, 0.5)), 
                url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=1600&q=80');*/
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

@media (pointer: coarse), (max-width: 1024px) {
    .hero {
        background-attachment: scroll !important;
    }
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content h1 span {
    color: var(--heading-text);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--body-text);
    margin-bottom: 2.5rem;
    max-width: 600px;
}
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.heroSwiper {
    position: absolute;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-1 {
    background-image:
        url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=1800&q=80');
}

.slide-2 {
    background-image:
        url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=1800&q=80');
}

.slide-3 {
    background-image:
        url('https://images.unsplash.com/photo-1513828583688-c52646db42da?auto=format&fit=crop&w=1800&q=80');
}

.heroSwiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 20;
}

.swiper-pagination {
    z-index: 30 !important;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.40);
}
.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 999;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-left: 8%;
    padding-right: 8%;

    pointer-events: none;
}

.hero-actions,
.hero-content a {
    pointer-events: auto;
}

.hero-content h1,
.hero-content p {
    color: #ffffff;
}

.hero-content h1 span {
    color: #E5A827;
}

.swiper-pagination-bullet {
    background: #fff !important;
}

.swiper-pagination-bullet-active {
    background: #E5A827 !important;
}

.btn-primary, .btn-secondary {
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    display: inline-block;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;

}


.btn-primary { background: var(--primary-teal); color: white; margin-right: 15px; border: none; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(29, 158, 117, 0.3); }



.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.8);
    padding: 15px 35px;
    border-radius: 6px;
    font-weight: 700;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #0E1C2E;
    border-color: #ffffff;
}


/* UAE Badge Styling */
.uae-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--secondary-bg);
    color: var(--icon-text);
    border: 1px solid var(--primary-teal);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* About Section & Learn More Button */
.about-section { padding: 100px 8%; background: var(--secondary-bg); }
.about-container { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
.about-text { flex: 1; min-width: 300px; }
.section-title-alt { color: var(--heading-text); font-size: 3rem; margin-bottom: 25px; font-weight: 800; }
.about-text p { color: var(--body-text); margin-bottom: 20px; font-size: 1.1rem; }

.btn-learn-more {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 30px;
    font-weight: bold;
    transition: var(--transition);
}
.btn-learn-more:hover { background: var(--primary-teal); color: white; }

/* Business Sectors - UPDATED TO 3 BOXES PER ROW */
.products { padding: 100px 8%; background: var(--primary-bg); text-align: center; }
.section-title { font-size: 3rem; margin-bottom: 4rem; font-weight: 800; }

.product-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); /* Exactly 3 in a row on desktop */
    gap: 30px;
}

.product-card {
    padding: 60px 30px;
    text-align: center;
    transition: var(--transition);
    background: var(--secondary-bg);
    border-radius: 12px;
    border: 1px solid var(--soft-teal);
}

.product-card:hover { 
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(5, 80, 56, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--icon-bg);
    color: var(--icon-text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.8rem;
    margin: 0 auto 30px auto;
}

.product-card h3 { 
    margin-bottom: 0px; 
    font-size: 1.4rem; 
    font-weight: 800; 
    line-height: 1.3;
}

/* Contact Us Section */
.contact-section { background-color: var(--white); color: var(--body-text); padding: 100px 8%; }
.contact-main-title { text-align: center; color: var(--heading-text); font-size: 3.5rem; margin-bottom: 60px; font-weight: 800; }
.contact-container { display: flex; gap: 80px; flex-wrap: wrap; }
.contact-form-side, .contact-info-side { flex: 1; min-width: 300px; }
.contact-form-side input, .contact-form-side textarea {
    width: 100%; padding: 18px; margin-bottom: 20px; background: #f9f9f9; border: 1px solid #eee; border-radius: 4px;
}
.send-btn { width: 100%; padding: 18px; background: var(--primary-teal); color: white; border: none; font-weight: bold; cursor: pointer; border-radius: 4px; font-size: 1rem; }

/* Message us on WhatsApp (Dark Box Style) */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background: #37474F; 
    color: #ffffff !important;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    gap: 15px;
    margin: 15px 0 30px 0;
}

.whatsapp-btn i {
    color: #25D366; 
    font-size: 1.3rem;
}

.whatsapp-btn span {
    font-size: 1.1rem;
}

.whatsapp-btn:hover {
    background: #263238;
}

/* Horizontal Strip Footer CTA */
.footer-cta-strip {
    background: var(--navbar-navy);
    padding: 25px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--nav-links);
    font-weight: 500;
}
.strip-info { font-size: 1rem; }
.strip-btn {
    background: var(--accent-gold);
    color: var(--navbar-navy);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 800;
    transition: var(--transition);
}
.strip-btn:hover { opacity: 0.9; transform: scale(1.05); }

/* Main Footer */
.main-footer { background-color: var(--navbar-navy); color: var(--nav-links); padding: 40px 8%; border-top: 1px solid rgba(160, 200, 188, 0.1); }
.footer-top-bar { 
    display: flex; 
    justify-content: space-between; 
    padding-bottom: 25px; 
    margin-bottom: 30px; 
    font-size: 0.85rem; 
}
.footer-nav { 
    display: flex; 
    justify-content: center; 
    gap: 25px; 
    flex-wrap: wrap; 
}
.footer-nav a { 
    color: var(--nav-links); 
    text-decoration: none; 
    font-size: 0.8rem; 
    font-weight: bold; 
    text-transform: uppercase; 
    transition: var(--transition);
}
.footer-nav a:hover { color: var(--accent-gold); }

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .footer-cta-strip { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
}





.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.product-service-card:hover {
    transform: translateY(-8px);
}

.product-service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-service-content {
    padding: 25px;
}

.product-service-content h3 {
    color: var(--primary-teal);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.product-service-content ul {
    padding-left: 18px;
}

.product-service-content li {
    margin-bottom: 8px;
    color: var(--body-text);
    line-height: 1.6;
}


/* =========================
   TABLET RESPONSIVE
   ========================= */
@media (max-width: 992px) {

    .navbar {
        padding: 15px 20px;
    }

    .company-line1 {
        font-size: 1.1rem;
    }

    .company-line2 {
        font-size: 0.65rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .contact-container {
        gap: 40px;
    }
}

/* =========================
   MOBILE RESPONSIVE
   ========================= */
@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .logo-container {
        justify-content: center;
    }

    .site-logo {
        height: 50px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav-links li {
        margin-left: 0;
    }

    .nav-btn {
        display: none;
    }

    .hero-content {
        padding: 120px 25px 30px;
        justify-content: center;
        text-align: center;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2.7rem;
        line-height: 1.15;
    }

    .hero-content p {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 15px;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 240px;
        text-align: center;
        margin-right: 0;
    }

    .section-title,
    .section-title-alt,
    .contact-main-title {
        font-size: 2.2rem;
    }

    .about-container {
        flex-direction: column;
    }

    .about-image img {
        width: 100%;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-top-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-nav {
        gap: 15px;
    }

    .footer-cta-strip {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .strip-info {
        font-size: 0.9rem;
    }
}

/* =========================
   SMALL PHONES
   ========================= */
@media (max-width: 480px) {

    .company-line1 {
        font-size: 0.9rem;
    }

    .company-line2 {
        font-size: 0.55rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
    }

    .section-title,
    .section-title-alt,
    .contact-main-title {
        font-size: 1.8rem;
    }
}