@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= GLOBAL LINK RESET ================= */
a {
    color: inherit;              /* Use parent text color */
    text-decoration: none;       /* Remove underline */
}

a:visited {
    color: inherit;
}

a:hover {
    color: inherit;
}

/* Subtle hover for normal links */
a:hover {
    opacity: 0.85;
}

.carousel-card a,
.carousel-card h3 {
    color: #333;
}


body {
    font-family: "Poppins", sans-serif;
    background: #f8fbff;
    color: #333;
    padding-top: 70px;
}

/* ================= HEADER ================= */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    z-index: 1000;
}

.header_content {
    max-width: 1200px;
    margin: auto;
    height: 64px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 44px;
}

/* ================= NAV ================= */
.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav a {
    text-decoration: none;
    color: #333;
}

.btn {
    padding: 8px 18px;
    background: #1a73e8;
    color: white;
    border-radius: 30px;
    text-decoration: none;
}

.btn.outline {
    background: transparent;
    border: 1px solid #1a73e8;
    color: #1a73e8;
}

/* ================= HAMBURGER ================= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: #333;
    border-radius: 2px;
}

/* ================= MOBILE MENU ================= */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100%;
    background: white;
    padding: 90px 24px;
    box-shadow: -3px 0 12px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 22px;
    transition: right 0.3s ease;
    z-index: 2000;
}

.mobile-menu.open {
    right: 0;
}

/* ================= HERO ================= */
.hero {
    position: relative;
    min-height: calc(100vh - 70px);
    background: url("../images/heromq.jpeg") center / cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 6%;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 37, 64, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: white;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.7;
}

.hero-buttons {
    margin-top: 20px;
    display: flex;
    gap: 14px;
}

/* ================= SECTIONS ================= */
.section {
    max-width: 1000px;
    margin: auto;
    padding: 80px 20px;
}

.section.light {
    background: white;
}

/* ================= QUALITY ================= */
.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.quality-item {
    background: #f9fbff;
    padding: 20px;
    border-left: 4px solid #1a73e8;
}

/* ================= CONTACT ================= */
.contact-box {
    background: #f4f8ff;
    padding: 30px;
    border-radius: 16px;
}

/* ================= FOOTER ================= */
.footer {
    background: #0a2540;
    color: white;
    text-align: center;
    padding: 30px;
}

/* ================= CAROUSEL ================= */
.carousel-wrapper {
    position: relative;
    margin-top: 40px;
}

.carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 10px 40px;
    scroll-behavior: smooth;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    min-width: 260px;
    background: #f4f8ff;
    padding: 20px;
    border-radius: 18px;
    text-align: center;
    flex-shrink: 0;
}

.carousel-card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    body {
        padding-top: 64px;
    }

    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 80px 20px;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .carousel-track {
        padding: 10px 20px;
    }

    .carousel-btn {
        display: none;
    }

    .section {
        padding: 60px 16px;
    }

    .quality-grid {
        grid-template-columns: 1fr;
    }
}
.hamburger {
    position: relative;
    z-index: 3001;
}
.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1999;
}

.menu-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}
/* ================= MOBILE MENU STYLING ================= */

.mobile-menu a {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    padding: 12px 4px;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Hover / tap feedback */
.mobile-menu a:hover {
    background: #f2f6ff;
    color: #1a73e8;
}

/* Separate items visually */
.mobile-menu a:not(:last-child) {
    border-bottom: 1px solid #eef1f6;
}

/* Contact button inside mobile menu */
.mobile-menu .btn {
    margin-top: 16px;
    text-align: center;
    padding: 12px 0;
    font-size: 15px;
}

/* Make menu content start nicely */
.mobile-menu {
    padding-top: 88px;
}

/* Optional: slightly larger touch targets on very small phones */
@media (max-width: 480px) {
    .mobile-menu a {
        font-size: 17px;
        padding: 14px 6px;
    }
}
/* ================= CAROUSEL ARROW FIX ================= */

.carousel-btn {
    z-index: 50;                 /* Above content */
    color: #1a73e8;              /* Force visible arrow */
    background: white;
    opacity: 1;                  /* Prevent global opacity side-effects */
}

.carousel-btn:hover {
    background: #f2f6ff;
    opacity: 1;                  /* Override global link hover */
}

/* Make sure arrows are clickable */
.carousel-wrapper {
    position: relative;
    z-index: 20;
}
@media (max-width: 768px) {
    .carousel-btn {
        display: none;
    }
}
