/* ==========================
   DESIGN TOKENS & RESET
========================== */
:root {
    --primary: #083d8c;
    --primary-light: #eef4ff;
    --accent: #12c7ef;
    --accent-hover: #0fa7ca;
    --bg: #f5f7fb;
    --text: #222;
    --text-muted: #64748b;
    --white: #fff;
    --dark: #111;
    --border: #eee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================
   STRUCTURE & LAYOUT
========================== */
.container {
    width: min(1400px, 92%);
    margin: auto;
}

.section {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.title {
    font-size: 40px;
    margin-bottom: 30px;
}

.subtitle {
    color: var(--text-muted);
    max-width: 700px;
    margin: auto;
}

/* ==========================
   HEADER / NAVIGATION
========================== */
.topbar {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
}

.logo span {
    white-space: nowrap;
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 30px;
    flex: 1;
    margin-left: 40px;
}

.desktop-nav.show {
    display: flex;
}

.desktop-nav a {
    font-size: 15px;
    font-weight: 500;
    color: #222;
    white-space: nowrap;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icons a {
    font-size: 18px;
    color: #222;
}

.hamburger {
    display: none;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 22px;
}

/* ==========================
   ICON NAV
========================== */
.icon-nav {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 15px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 6px rgba(0,0,0,.03);
    transition: all .35s ease;
}

.icon-nav.hide {
    height: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    border: none;
}

.icon-item {
    text-align: center;
    cursor: pointer;
}

.icon-item img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.icon-item span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
}

/* ==========================
   MOBILE SIDEBAR MENU
========================== */
.mobile-menu {
    position: fixed;
    left: -100%;
    top: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    padding: 25px;
    transition: .3s;
    z-index: 99999;
}

.mobile-menu.show {
    left: 0;
}

.mobile-menu a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

/* ==========================
   PRODUCT CARDS
========================== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    transition: .3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.card img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    min-height: 60px;
    margin-bottom: 15px;
}

/* BADGES & TAGS */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    margin: 0 auto 15px auto;
}

.bestseller { background: var(--primary); }
.trending { background: #16a34a; }
.new { background: #f59e0b; }
.popular { background: #7c3aed; }

.tags {
    margin-top: auto;
    margin-bottom: 20px;
}

.tags span {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 10px;
    border-radius: 6px;
    margin: 4px;
    font-size: 12px;
    font-weight: 500;
}

.card-btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s;
}

.card-btn:hover {
    background: var(--accent-hover);
    color: var(--white);
}

/* ==========================
   SERVICES SECTIONS
========================== */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service {
    background: var(--white);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,.06);
    transition: .3s;
}

.service:hover {
    transform: translateY(-6px);
}

.service-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.service h3 {
    margin-bottom: 12px;
    color: var(--primary);
}

/* ==========================
   CALL TO ACTION & FOOTER
========================== */
.cta {
    background: linear-gradient(135deg, #083d8c, #0e62d0);
    color: var(--white);
    text-align: center;
    padding: 90px 20px;
}

.cta h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 25px;
}

.cta-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
}

/* --- Premium Footer Styles --- */

.footer-section {
    background-color: #03153d; /* Extra dark navy background seen in the new footer image */
    color: #ffffff;
    padding: 60px 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- Top Action Bar --- */
.footer-top-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 35px;
}

/* Pill-Shaped Newsletter Input Box */
.newsletter-form {
    display: flex;
    background-color: #ffffff;
    border-radius: 50px;
    padding: 6px 6px 6px 24px;
    width: 100%;
    max-width: 500px;
    align-items: center;
}

.newsletter-form input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    color: #333333;
}

.newsletter-form input::placeholder {
    color: #8c98a4;
}

.newsletter-form button {
    background-color: #1a44a5; /* Royal Blue matching image_bf9187.png button rules */
    color: #ffffff;
    border: none;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.newsletter-form button:hover {
    background-color: #123382;
}

/* Circular Social Icons */
.social-icon {
    width: 42px;
    height: 42px;
    background-color: #1a44a5; /* Matching branding blue */
    color: #ffffff !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
    background-color: #00d2ff; /* Accents out to cyan on hover */
    transform: translateY(-2px);
}

/* --- Grid Structure --- */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr; /* Proportional column sizing */
    gap: 40px;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Columns Common Typography --- */
.footer-col h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #ffffff;
}

/* Brand/About description tweak */
.brand-col .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-col .footer-logo h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    margin: 0;
    font-weight: 700;
}

.brand-col p {
    font-size: 0.92rem;
    line-height: 1.7;
    opacity: 0.55; /* Softened typography hierarchy matching the user's reference image */
    margin-bottom: 15px;
}

/* --- About Us Chevron Menu List --- */
.links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-col ul li {
    margin-bottom: 12px;
}

.links-col ul li a {
    color: #ffffff;
    opacity: 0.55;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: opacity 0.2s ease, padding-left 0.2s ease;
}

/* Custom CSS generated chevron indicators */
.links-col ul li a::before {
    content: "❯";
    font-size: 0.7rem;
    margin-right: 10px;
    color: #ffffff;
    opacity: 0.5;
}

.links-col ul li a:hover {
    opacity: 1;
    padding-left: 5px;
    color: #00d2ff;
}

/* --- Business Hours --- */
.hours-col .hours-label {
    font-size: 0.95rem;
    opacity: 0.4;
    margin-bottom: 4px;
}

.hours-col .hours-time {
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
}

/* --- Contact Details --- */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ffffff;
}

.contact-list li i {
    color: #00d2ff; /* Light accent blue for functional detail icons */
    font-size: 1rem;
    margin-top: 4px;
    width: 16px;
    text-align: center;
}

.contact-list li span {
    opacity: 0.55;
}

.whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

/* ==========================
   MEDIA QUERIES (RESPONSIVE)
========================== */

/* LAPTOP / TABLET DEVIATIONS */
@media(max-width: 1200px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 992px) {
    .services,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .icon-nav {
        gap: 25px;
    }
}

/* MOBILE DEVICES */
@media(max-width: 768px) {
    .topbar {
        padding: 12px 15px;
    }

    .logo {
        font-size: 18px;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

    .desktop-nav {
        display: none !important;
    }

    .hamburger {
        display: block;
    }

    .header-icons {
        gap: 12px;
    }

    .header-icons a {
        font-size: 17px;
    }

    /* Horizontal scrollable icon bar on mobile */
    .icon-nav {
        justify-content: flex-start;
        overflow-x: auto;
        gap: 15px;
        padding: 12px;
    }

    .icon-nav::-webkit-scrollbar {
        display: none;
    }

    .icon-item {
        min-width: 90px;
        flex-shrink: 0;
    }

    .icon-item img {
        width: 40px;
        height: 40px;
    }

    .icon-item span {
        font-size: 11px;
        line-height: 1.3;
    }

    /* Fixed: Products layout is unified, roomy, and clear on phone displays */
    .cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        max-width: 420px;
        margin: 0 auto;
        padding: 20px;
    }

    .card img {
        height: 220px;
    }

    .card h3 {
        font-size: 16px;
        min-height: auto;
    }

    .services,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 50px 15px;
    }

    .title {
        font-size: 26px;
    }

    .subtitle {
        font-size: 14px;
        line-height: 1.6;
    }

    .service {
        padding: 25px;
    }

    .cta h2 {
        font-size: 30px;
    }

    .whatsapp {
        width: 55px;
        height: 55px;
    }
}



.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column; /* Stacks the items vertically */
    align-items: flex-end;   /* Aligns them perfectly to the right side edge */
    gap: 12px;
    z-index: 9999;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action-btn:hover {
    transform: translateY(-3px);
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
}

.demo-btn {
    background: var(--primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .floating-actions {
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }

    .whatsapp-btn img {
        width: 26px;
        height: 26px;
    }

    .demo-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}