/* =========================================================
   PENTAMARK AFRICA - MAIN WEBSITE STYLES
   Brand palette based on supplied Pentamark Africa logo
   Navy:  #082B5C / #0F3B78
   Orange:#FF6B00 / #FF7A00
   ========================================================= */

:root {
    --primary: #ff6b00;
    --primary-dark: #d95700;
    --primary-light: #fff1e7;
    --secondary: #082b5c;
    --secondary-2: #0f3b78;
    --dark: #071d3a;
    --dark-light: #12365f;
    --white: #ffffff;
    --light: #f5f9fd;
    --light-2: #edf3fa;
    --text: #506174;
    --text-dark: #142b49;
    --border: #dbe5ef;
    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #dc2626;
    --shadow-sm: 0 4px 15px rgba(8, 43, 92, 0.07);
    --shadow: 0 10px 30px rgba(8, 43, 92, 0.10);
    --shadow-lg: 0 20px 50px rgba(3, 26, 60, 0.20);
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --container: 1200px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: Arial, Helvetica, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; border: none; }
ul { list-style: none; }
.container { width: min(92%, var(--container)); margin: 0 auto; }

/* =========================================================
   TOP BAR
   ========================================================= */
.top-bar { background: var(--secondary); color: #dbe8f8; font-size: 13px; }
.top-bar-content { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.top-bar-content > div { display: flex; align-items: center; gap: 25px; }
.top-bar-content span { display: inline-flex; align-items: center; gap: 8px; }
.top-bar-content i { color: var(--primary); }

/* =========================================================
   HEADER
   ========================================================= */
.main-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(8, 43, 92, .04);
}
.navbar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }

/* =========================================================
   LOGO (Header) — handles pentamark-logo.png in all forms
   ========================================================= */
.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    min-width: 0;
}

/* Direct <img class="company-logo"> inside .logo */
.logo > .company-logo {
    height: 66px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    object-position: left center;
    transition: var(--transition);
}

/* Wrapped <div class="logo-image-wrap"><img class="company-logo"></div> */
.logo-image-wrap {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.logo-image-wrap .company-logo {
    height: auto;
    max-height: 66px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    object-position: left center;
    transition: var(--transition);
}

.logo:hover .company-logo { transform: scale(1.03); }

/* Fallback text logo (no image available) */
.logo-fallback { display: flex; align-items: center; gap: 10px; }
.logo-mark {
    width: 48px; height: 48px;
    border: 3px solid var(--secondary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 27px; font-weight: 900;
}
.logo-fallback-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main { color: var(--secondary); font-size: 21px; font-weight: 800; letter-spacing: .5px; }
.logo-sub { color: var(--primary); font-size: 18px; font-weight: 800; margin-top: 2px; letter-spacing: 4px; text-transform: uppercase; }
.logo-fallback-text small { color: #64748b; font-size: 7px; margin-top: 5px; white-space: nowrap; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav-menu { display: flex; align-items: center; gap: 3px; }
.nav-menu > a {
    padding: 10px 13px;
    font-size: 14px; font-weight: 700;
    color: var(--text-dark);
    border-radius: 7px;
    transition: var(--transition);
    display: inline-flex; align-items: center; gap: 6px;
}
.nav-menu > a:hover,
.nav-menu > a.active { color: var(--primary); background: var(--primary-light); }

.quote-btn {
    display: inline-flex !important;
    align-items: center; gap: 8px;
    color: var(--white) !important;
    background: var(--primary);
    padding: 11px 18px !important;
    margin-left: 8px;
    border-radius: 22px !important;
}
.quote-btn:hover {
    background: var(--primary-dark) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    width: 43px; height: 43px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 8px;
    font-size: 19px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 8px;
    font-size: 14px; font-weight: 700;
    transition: var(--transition);
    cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 0, .25);
}
.btn-outline { color: var(--white); border: 1px solid rgba(255, 255, 255, .55); }
.btn-outline:hover { background: var(--white); color: var(--secondary); }
.btn-light { background: var(--white); color: var(--secondary); }
.btn-light:hover { color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.btn-outline-light { color: var(--white); border: 1px solid rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    min-height: 650px;
    display: flex; align-items: center;
    background: linear-gradient(115deg, #061f43 0%, #082b5c 50%, #0b3975 100%);
    overflow: hidden;
}
.hero::before {
    content: ""; position: absolute;
    width: 600px; height: 600px;
    right: -220px; top: -200px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
}
.hero::after {
    content: ""; position: absolute;
    width: 400px; height: 400px;
    right: 30px; bottom: -250px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 75% 45%, rgba(255, 107, 0, .18), transparent 34%);
}
.hero-decoration {
    position: absolute;
    border: 2px solid rgba(255, 107, 0, .75);
    border-radius: 50%;
    pointer-events: none;
}
.hero-decoration-left { width: 330px; height: 330px; left: -205px; bottom: -210px; }
.hero-decoration-right {
    width: 390px; height: 390px;
    right: 270px; top: -170px;
    border-left-color: transparent;
    border-bottom-color: transparent;
}
.hero-content {
    position: relative; z-index: 2;
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    align-items: center;
    gap: 80px;
}
.hero-text { max-width: 720px; animation: fadeUp .8s ease both; }
.hero-small-title {
    display: inline-flex; align-items: center; gap: 8px;
    color: #ff9b55;
    font-size: 13px; font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}
.hero h1 {
    color: var(--white);
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08; letter-spacing: -1.8px;
    margin-bottom: 22px;
}
.hero h1 span { color: var(--primary); }
.hero p {
    max-width: 650px;
    color: #d9e5f4;
    font-size: 17px; line-height: 1.8;
    margin-bottom: 34px;
}
.hero-buttons { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }

.hero-card {
    padding: 35px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    animation: fadeUp .8s .15s ease both;
}
.hero-card-icon {
    width: 55px; height: 55px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 107, 0, .16);
    color: var(--primary);
    border-radius: 12px; font-size: 22px;
    margin-bottom: 23px;
}
.hero-card h3 { font-size: 21px; margin-bottom: 12px; }
.hero-card p { color: #d1deed; font-size: 14px; line-height: 1.7; margin-bottom: 25px; }
.hero-card-stats { display: grid; grid-template-columns: 1fr 1fr; }
.hero-card-stat {
    display: flex; flex-direction: column; gap: 2px;
    padding: 10px 12px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .13);
}
.hero-card-stat + .hero-card-stat { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .13); }
.hero-card-stat strong { color: var(--primary); font-size: 24px; font-weight: 800; line-height: 1; }
.hero-card-stat span { color: #d1deed; font-size: 13px; }

/* =========================================================
   QUICK SERVICES
   ========================================================= */
.quick-services { background: var(--white); border-bottom: 1px solid var(--border); position: relative; z-index: 5; }
.quick-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-service {
    min-height: 115px;
    display: flex; align-items: center; gap: 15px;
    padding: 22px;
    border-right: 1px solid var(--border);
    transition: var(--transition);
}
.quick-service:last-child { border-right: none; }
.quick-service > i {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 19px;
}
.quick-service h4 { color: var(--secondary); font-size: 15px; margin-bottom: 3px; }
.quick-service p { color: #64748b; font-size: 12px; line-height: 1.5; }

/* =========================================================
   SECTION HEADINGS
   ========================================================= */
.section-heading { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-heading > span {
    display: inline-block;
    color: var(--primary);
    font-size: 12px; font-weight: 800;
    letter-spacing: 1.8px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.section-heading h2 {
    color: var(--secondary);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2; letter-spacing: -1px;
    margin-bottom: 14px;
}
.section-heading p { color: #64748b; font-size: 15px; line-height: 1.8; }
.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 12px; font-weight: 800;
    letter-spacing: 1.8px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.section-button { text-align: center; margin-top: 45px; }

/* =========================================================
   PRODUCTS
   ========================================================= */
.products-section { padding: 95px 0; background: linear-gradient(135deg, #f1f7fd, #ffffff); }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex; flex-direction: column;
}
.product-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
    border-color: rgba(255, 107, 0, .28);
}
.product-image {
    height: 210px; position: relative;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, #edf5fc, #fff6ef);
    color: var(--primary);
    overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 72px; color: var(--primary);
}
.product-category {
    position: absolute; top: 15px; left: 15px;
    padding: 5px 11px;
    background: var(--primary); color: var(--white);
    border-radius: 20px;
    font-size: 10px; font-weight: 700;
    letter-spacing: .5px; text-transform: uppercase;
}
.product-content { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-brand {
    display: block;
    color: var(--primary);
    font-size: 11px; font-weight: 800;
    letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 7px;
}
.product-content h3 { color: var(--secondary); font-size: 18px; margin-bottom: 8px; }
.product-content p { font-size: 13px; color: #64748b; line-height: 1.6; flex: 1; }
.product-bottom {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--border);
    margin-top: 16px; padding-top: 15px;
}
.product-bottom strong { color: var(--primary); font-size: 17px; font-weight: 800; }
.product-link {
    color: var(--primary);
    font-size: 13px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 7px;
    transition: var(--transition);
}
.product-link:hover { gap: 11px; }

/* =========================================================
   SERVICES
   ========================================================= */
.services-section { padding: 95px 0; background: linear-gradient(135deg, #ffffff, #fff9f5); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    transition: var(--transition);
    display: flex; flex-direction: column;
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 107, 0, .28);
    box-shadow: var(--shadow);
}
.service-icon {
    width: 55px; height: 55px;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    font-size: 22px;
    margin-bottom: 22px;
}
.service-content { flex: 1; display: flex; flex-direction: column; }
.service-category {
    display: block; margin-bottom: 7px;
    color: var(--primary);
    font-size: 11px; font-weight: 800;
    letter-spacing: 1px; text-transform: uppercase;
}
.service-content h3 { color: var(--secondary); font-size: 19px; margin-bottom: 9px; }
.service-content p { color: #64748b; font-size: 13px; line-height: 1.7; margin-bottom: 18px; flex: 1; }
.service-price { display: block; color: var(--text-dark); font-size: 14px; font-weight: 700; margin-bottom: 15px; }
.service-link {
    color: var(--primary);
    font-size: 13px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 7px;
    transition: var(--transition);
}
.service-link:hover { gap: 11px; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-cta { padding: 100px 0; background: linear-gradient(135deg, #edf5fc, #ffffff); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-content h2 {
    color: var(--secondary);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2; letter-spacing: -1px;
    margin-bottom: 18px;
}
.about-content > p { color: #64748b; font-size: 15px; line-height: 1.8; margin-bottom: 18px; }
.about-content .btn { margin-top: 15px; }

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-feature {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 22px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.about-feature:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 0, .28);
    box-shadow: var(--shadow-sm);
}
.about-feature > i { color: var(--primary); font-size: 20px; margin-top: 2px; flex-shrink: 0; }
.about-feature h4 { color: var(--secondary); font-size: 15px; margin-bottom: 5px; }
.about-feature p { color: #64748b; font-size: 13px; line-height: 1.6; }

/* =========================================================
   PROCESS
   ========================================================= */
.process-section { padding: 95px 0; background: var(--light); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.process-step {
    background: var(--white);
    padding: 32px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    position: relative;
    transition: var(--transition);
}
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.process-number {
    position: absolute; right: 16px; top: 12px;
    font-size: 13px; font-weight: 800;
    color: #c5d1df; letter-spacing: 1px;
}
.process-step > i {
    display: flex; align-items: center; justify-content: center;
    width: 55px; height: 55px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 20px;
}
.process-step h3 { color: var(--secondary); font-size: 17px; margin-bottom: 8px; }
.process-step p { color: #64748b; font-size: 13px; line-height: 1.6; }

/* =========================================================
   CUSTOMER CTA
   ========================================================= */
.customer-cta {
    background: linear-gradient(100deg, var(--secondary), var(--secondary-2));
    color: var(--white);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.customer-cta::after {
    content: ""; position: absolute;
    width: 300px; height: 300px;
    right: -160px; top: -210px;
    border: 2px solid rgba(255, 107, 0, .65);
    border-radius: 50%;
}
.customer-cta-content {
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px;
    position: relative; z-index: 2;
}
.customer-cta-content > div:first-child { max-width: 720px; }
.customer-cta span { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: #ffad76; }
.customer-cta h2 { font-size: clamp(26px, 3.5vw, 36px); line-height: 1.25; margin: 8px 0 13px; }
.customer-cta p { color: #d5e2f1; font-size: 14px; line-height: 1.7; }
.customer-cta-buttons { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-section { padding: 90px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.contact-item {
    display: flex; align-items: flex-start; gap: 15px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--white);
}
.contact-item:hover {
    border-color: rgba(255, 107, 0, .3);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}
.contact-item > i {
    width: 48px; height: 48px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 10px;
    font-size: 18px;
}
.contact-item h4 { color: var(--secondary); font-size: 15px; margin-bottom: 5px; }
.contact-item p { color: #64748b; font-size: 13px; line-height: 1.7; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--secondary); color: #aebfd4; }
.footer-grid {
    padding: 70px 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
}
.footer-grid h3 { color: var(--white); font-size: 20px; margin-bottom: 15px; }
.footer-grid h4 { color: var(--white); font-size: 14px; margin-bottom: 18px; letter-spacing: .5px; }
.footer-company p { max-width: 330px; font-size: 13px; line-height: 1.8; margin-top: 5px; }
.footer-grid a { display: block; font-size: 13px; margin-bottom: 10px; transition: var(--transition); }
.footer-grid a:hover { color: var(--primary); padding-left: 4px; }
.footer-grid p { font-size: 13px; margin-bottom: 8px; }

/* FOOTER LOGO — handles pentamark-logo.png */
.footer-logo {
    display: inline-flex !important;
    align-items: center;
    min-height: 58px;
    margin-bottom: 15px;
    text-decoration: none;
}
.footer-logo img,
.footer-logo-img {
    max-width: 245px;
    max-height: 65px;
    height: auto;
    width: auto;
    object-fit: contain;
    object-position: left center;
    /* Uncomment if your PNG has transparency and blends into the navy footer:
       filter: brightness(0) invert(1);
    */
}
.footer-logo-text { color: var(--white); font-size: 20px; letter-spacing: .3px; }
.footer-logo-text strong { font-weight: 800; }
.footer-logo-text b { color: var(--primary); font-weight: 800; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .10); background: #061f43; }
.footer-bottom .container {
    min-height: 60px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px;
}
.footer-bottom p,
.footer-bottom span { font-size: 12px; }
.footer-bottom span { color: var(--primary); }

/* =========================================================
   EMPTY STATE
   ========================================================= */
.empty-state {
    padding: 70px 30px;
    background: var(--white);
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
}
.empty-state i { margin-bottom: 20px; color: var(--primary); font-size: 55px; }
.empty-state h3 { color: var(--secondary); margin-bottom: 10px; font-size: 22px; }
.empty-state p { color: #777; margin-bottom: 25px; font-size: 14px; }

/* =========================================================
   ANIMATION
   ========================================================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   TABLET
   ========================================================= */
@media (max-width: 1050px) {
    .nav-menu { gap: 0; }
    .nav-menu > a { padding-left: 9px; padding-right: 9px; font-size: 13px; }
    .hero-content { gap: 45px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 800px) {
    .top-bar-content > div:first-child span:last-child { display: none; }
    .top-bar-content { justify-content: center; }

    .navbar { min-height: 70px; }

    /* Header logo smaller */
    .logo > .company-logo,
    .logo-image-wrap { height: 58px; }
    .logo > .company-logo,
    .logo-image-wrap .company-logo { max-height: 56px; max-width: 200px; }

    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }

    .nav-menu {
        position: absolute;
        top: 70px; left: 0; right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        padding: 12px;
        background: var(--white);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }
    .nav-menu.show { display: flex; }
    .nav-menu > a { padding: 12px 15px; width: 100%; }
    .nav-menu .quote-btn { margin: 5px 0 0; justify-content: center; }

    .hero { min-height: auto; }
    .hero-content {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 80px; padding-bottom: 80px;
        gap: 40px;
    }
    .hero h1 { font-size: 43px; }
    .hero p { font-size: 15px; }
    .hero-card { max-width: 500px; }

    .quick-services-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-service { border-bottom: 1px solid var(--border); }
    .quick-service:nth-child(2) { border-right: none; }
    .quick-service:nth-child(3),
    .quick-service:nth-child(4) { border-bottom: none; }

    .products-section,
    .services-section,
    .process-section { padding: 70px 0; }

    .about-cta { padding: 70px 0; }
    .about-grid { grid-template-columns: 1fr; gap: 45px; }
    .about-features { grid-template-columns: 1fr 1fr; }

    .contact-grid { grid-template-columns: 1fr; gap: 20px; }

    .customer-cta-content { flex-direction: column; align-items: flex-start; }

    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }

    /* Footer logo smaller */
    .footer-logo img,
    .footer-logo-img { max-width: 190px; max-height: 55px; }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */
@media (max-width: 520px) {
    .container { width: min(92%, 100%); }
    .top-bar { display: none; }

    /* Header logo compact */
    .logo > .company-logo,
    .logo-image-wrap { height: 52px; }
    .logo > .company-logo,
    .logo-image-wrap .company-logo { max-height: 50px; max-width: 180px; }

    .logo-main { font-size: 16px; }
    .logo-sub { font-size: 15px; letter-spacing: 3px; }
    .logo-fallback-text small { font-size: 6px; }

    .hero-content { padding-top: 60px; padding-bottom: 60px; }
    .hero h1 { font-size: 36px; letter-spacing: -1px; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons a { width: 100%; }

    .quick-services-grid { grid-template-columns: 1fr; }
    .quick-service,
    .quick-service:nth-child(2),
    .quick-service:nth-child(3),
    .quick-service:nth-child(4) {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .quick-service:last-child { border-bottom: none; }

    .products-grid,
    .services-grid,
    .process-grid { grid-template-columns: 1fr; }

    .about-features { grid-template-columns: 1fr; }

    .customer-cta-buttons { width: 100%; flex-direction: column; align-items: stretch; }
    .customer-cta-buttons a { width: 100%; }

    .footer-grid { grid-template-columns: 1fr; gap: 35px; padding: 55px 0; }
    .footer-bottom .container {
        min-height: auto;
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    /* Footer logo on tiny screens */
    .footer-logo img,
    .footer-logo-img { max-width: 170px; max-height: 50px; }
}

/* =========================================================
   TRUST BAR / STATS STRIP
========================================================= */

.trust-bar {
    background: linear-gradient(100deg, var(--secondary), var(--secondary-2));
    padding: 38px 0;
    border-bottom: 3px solid var(--primary);
}

.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    padding: 8px 15px;
    border-right: 1px solid rgba(255, 255, 255, .12);
}

.trust-item:last-child { border-right: none; }

.trust-item > i {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 0, .15);
    color: var(--primary);
    border-radius: 12px;
    font-size: 22px;
}

.trust-item strong {
    display: block;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.trust-item span {
    color: #c5d4e8;
    font-size: 13px;
}


/* =========================================================
   WHY CHOOSE US
========================================================= */

.why-choose-section {
    padding: 95px 0;
    background: linear-gradient(135deg, #f1f7fd, #ffffff);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.why-card {
    padding: 32px 26px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 107, 0, .28);
    box-shadow: var(--shadow);
}

.why-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    font-size: 24px;
}

.why-card h3 {
    color: var(--secondary);
    font-size: 17px;
    margin-bottom: 10px;
}

.why-card p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonials-section {
    padding: 95px 0;
    background: linear-gradient(135deg, #ffffff, #fff9f5);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.testimonial-card {
    padding: 32px 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: 10px;
    right: 22px;
    font-size: 80px;
    font-family: Georgia, serif;
    line-height: 1;
    color: rgba(255, 107, 0, .12);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(255, 107, 0, .28);
}

.testimonial-stars {
    color: #f5b301;
    font-size: 14px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-text {
    color: #475569;
    font-size: 14px;
    line-height: 1.8;
    font-style: italic;
    flex: 1;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-2));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    color: var(--secondary);
    font-size: 14px;
}

.testimonial-author span {
    color: #64748b;
    font-size: 12px;
}


/* =========================================================
   FAQ
========================================================= */

.faq-section {
    padding: 95px 0;
    background: var(--light);
}

.faq-list {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.open {
    border-color: rgba(255, 107, 0, .35);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    color: var(--primary);
    font-size: 13px;
    transition: transform .3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq-item.open .faq-answer {
    max-height: 400px;
}

.faq-answer p {
    padding: 0 24px 22px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   FLOATING ACTION BUTTONS
========================================================= */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
    z-index: 999;
    transition: var(--transition);
    animation: pulseGreen 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 28px rgba(37, 211, 102, .65);
    animation: none;
}

.whatsapp-tooltip {
    position: absolute;
    left: 72px;
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    background: var(--secondary);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
}

.whatsapp-tooltip::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: var(--secondary);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@keyframes pulseGreen {
    0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .55); }
    50%      { box-shadow: 0 6px 20px rgba(37, 211, 102, .45), 0 0 0 14px rgba(37, 211, 102, 0); }
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 46px;
    height: 46px;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-3px);
}


/* =========================================================
   RESPONSIVE — new sections
========================================================= */

@media (max-width: 1050px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .trust-item:nth-child(2) { border-right: none; }
    .trust-item:nth-child(1),
    .trust-item:nth-child(2) { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
    .trust-item:nth-child(3),
    .trust-item:nth-child(4) { padding-top: 18px; }
}

@media (max-width: 800px) {
    .why-choose-section,
    .testimonials-section,
    .faq-section { padding: 70px 0; }

    .why-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .trust-bar { padding: 28px 0; }
}

@media (max-width: 520px) {
    .why-grid { grid-template-columns: 1fr; }
    .trust-bar-grid { grid-template-columns: 1fr; }
    .trust-item,
    .trust-item:nth-child(2),
    .trust-item:nth-child(3),
    .trust-item:nth-child(4) {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        padding: 14px 0;
    }
    .trust-item:last-child { border-bottom: none; }
    .trust-item > i { width: 44px; height: 44px; font-size: 18px; }
    .trust-item strong { font-size: 22px; }

    .faq-question { padding: 16px 18px; font-size: 14px; }
    .faq-answer p { padding: 0 18px 18px; font-size: 13px; }

    .whatsapp-float { width: 52px; height: 52px; font-size: 26px; bottom: 20px; left: 20px; }
    .whatsapp-tooltip { display: none; }
    .back-to-top { width: 42px; height: 42px; bottom: 20px; right: 20px; }
}
/* =========================================================
   SECTION BACKGROUND RHYTHM OVERRIDES
   Prevents consecutive sections from blending together
   ========================================================= */

/* Explore Shortcuts — force plain white so it separates from
   the light-blue "Why Choose Us" section that follows */
.products-section.explore-section {
    background: var(--white);
}

/* Why Choose Us — keep the light blue gradient (differentiates from above) */

/* Testimonials — softer white so it separates from Why Choose Us */
.testimonials-section {
    background: linear-gradient(135deg, #ffffff, #fff9f5);
}

/* Process — keep var(--light) (differentiates from Testimonials) */

/* FAQ — force plain white so it separates from Process */
.faq-section {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Trust bar — subtle top glow for premium feel */
.trust-bar {
    position: relative;
}
.trust-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 500px;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 107, 0, .7),
        transparent);
}
/* =========================================================
   LIGHT BANNER + LIGHT CTA OVERRIDES
   Separates the dark navy sections so they don't blend
   ========================================================= */

/* =========================================================
   TRUST BAR — switch to LIGHT so it stands out from hero
   ========================================================= */

.trust-bar {
    background: linear-gradient(135deg, #edf3fa 0%, #ffffff 100%);
    border-top: 1px solid var(--border);
    border-bottom: 3px solid var(--primary);
    padding: 38px 0;
    position: relative;
}

/* remove the old orange top glow */
.trust-bar::before {
    display: none;
}

.trust-item {
    color: var(--secondary);
    border-right: 1px solid var(--border);
}

.trust-item > i {
    background: var(--primary-light);
    color: var(--primary);
}

.trust-item strong {
    color: var(--secondary);
    font-weight: 800;
}

.trust-item span {
    color: var(--text);
}


/* =========================================================
   CUSTOMER CTA — switch to LIGHT so it stands out
   from FAQ above and footer below
   ========================================================= */

.customer-cta {
    background: linear-gradient(135deg, #fff1e7 0%, #fff9f5 100%);
    color: var(--secondary);
    padding: 70px 0;
    border-top: 1px solid var(--border);
    border-bottom: 3px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.customer-cta::after {
    border-color: rgba(255, 107, 0, .22);
}

.customer-cta span {
    color: var(--primary);
}

.customer-cta h2 {
    color: var(--secondary);
}

.customer-cta p {
    color: var(--text);
}

/* Fix buttons that assumed a dark background */

.customer-cta .btn-light {
    background: var(--primary);
    color: var(--white);
}

.customer-cta .btn-light:hover {
    background: var(--primary-dark);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(255, 107, 0, .25);
}

.customer-cta .btn-outline-light {
    background: transparent;
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

.customer-cta .btn-outline-light:hover {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}


/* =========================================================
   RESPONSIVE — keep trust bar readable on mobile
   ========================================================= */

@media (max-width: 1050px) {
    .trust-item:nth-child(1),
    .trust-item:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 520px) {
    .trust-item,
    .trust-item:nth-child(2),
    .trust-item:nth-child(3),
    .trust-item:nth-child(4) {
        border-bottom: 1px solid var(--border);
    }
    .trust-item:last-child {
        border-bottom: none;
    }
}
/* =========================================================
   HERO — TECHNOLOGY IMAGE ON THE RIGHT SIDE
========================================================= */

.hero-tech-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 100%;

    /* ▼ PUT YOUR IMAGE PATH HERE (relative to css/style.css) */
    background-image: url('../images/tech-bg.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;

    opacity: 0.30;
    pointer-events: none;
    z-index: 0;

    /* Fade the left edge so it dissolves smoothly into the navy hero */
    -webkit-mask-image: linear-gradient(
        to left,
        rgba(0, 0, 0, 1)    0%,
        rgba(0, 0, 0, 0.92) 30%,
        rgba(0, 0, 0, 0.55) 60%,
        rgba(0, 0, 0, 0.15) 85%,
        rgba(0, 0, 0, 0)   100%
    );
    mask-image: linear-gradient(
        to left,
        rgba(0, 0, 0, 1)    0%,
        rgba(0, 0, 0, 0.92) 30%,
        rgba(0, 0, 0, 0.55) 60%,
        rgba(0, 0, 0, 0.15) 85%,
        rgba(0, 0, 0, 0)   100%
    );
}

/* On tablet, let it stretch a bit more */
@media (max-width: 1050px) {
    .hero-tech-bg {
        width: 62%;
        opacity: 0.25;
    }
}

/* On mobile, go full-width and dim it so text stays readable */
@media (max-width: 800px) {
    .hero-tech-bg {
        width: 100%;
        opacity: 0.14;
        background-position: center center;
    }
}
/* =========================================================
   HERO — TECH BACKGROUND (pure CSS, no image needed)
========================================================= */

.hero-tech-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 62%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* 1. Subtle grid */
.tech-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 107, 0, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 0, 0.06) 1px, transparent 1px);
    background-size: 45px 45px;
    -webkit-mask-image: radial-gradient(
        ellipse at center right,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,0.6) 40%,
        rgba(0,0,0,0) 75%
    );
    mask-image: radial-gradient(
        ellipse at center right,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,0.6) 40%,
        rgba(0,0,0,0) 75%
    );
    animation: gridPan 18s linear infinite;
}

@keyframes gridPan {
    from { background-position: 0 0; }
    to   { background-position: 45px 45px; }
}

/* 2. Circuit-like diagonal lines */
.tech-circuit {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent 0,
            transparent 70px,
            rgba(255, 107, 0, 0.10) 70px,
            rgba(255, 107, 0, 0.10) 71px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent 0,
            transparent 90px,
            rgba(255, 255, 255, 0.05) 90px,
            rgba(255, 255, 255, 0.05) 91px
        );
    -webkit-mask-image: radial-gradient(
        ellipse at 70% 50%,
        rgba(0,0,0,0.9) 0%,
        rgba(0,0,0,0) 70%
    );
    mask-image: radial-gradient(
        ellipse at 70% 50%,
        rgba(0,0,0,0.9) 0%,
        rgba(0,0,0,0) 70%
    );
    opacity: 0.9;
}

/* 3. Glowing dots */
.tech-dots {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255, 107, 0, 0.55) 1.5px, transparent 2px),
        radial-gradient(circle, rgba(255, 155, 85, 0.35) 1px, transparent 1.5px);
    background-size: 120px 120px, 200px 200px;
    background-position: 0 0, 60px 60px;
    -webkit-mask-image: radial-gradient(
        ellipse at center right,
        rgba(0,0,0,0.8) 0%,
        rgba(0,0,0,0) 65%
    );
    mask-image: radial-gradient(
        ellipse at center right,
        rgba(0,0,0,0.8) 0%,
        rgba(0,0,0,0) 65%
    );
    animation: techDotPulse 4s ease-in-out infinite;
}

@keyframes techDotPulse {
    0%, 100% { opacity: 0.6; }
    50%      { opacity: 1; }
}


/* =========================================================
   HERO — TECH ILLUSTRATION (SVG)
========================================================= */

.hero-tech-illustration {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 480px;
    height: 480px;
    max-width: 45%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.55;
    animation: techFloat 6s ease-in-out infinite;
}

.hero-tech-illustration svg {
    width: 100%;
    height: 100%;
    display: block;
}

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


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {
    .hero-tech-bg { width: 70%; }
    .hero-tech-illustration {
        width: 380px;
        height: 380px;
        opacity: 0.4;
        right: 2%;
    }
}

@media (max-width: 800px) {
    .hero-tech-bg {
        width: 100%;
        opacity: 0.75;
    }
    .hero-tech-illustration {
        width: 300px;
        height: 300px;
        opacity: 0.28;
        right: -60px;
        top: 55%;
    }
}

@media (max-width: 520px) {
    .hero-tech-illustration {
        display: none;
    }
    .hero-tech-bg { opacity: 0.6; }
    .tech-grid { background-size: 32px 32px; }
}
/* =========================================================
   PRODUCT CARD — Cart Actions
========================================================= */

.product-buttons {
    display: flex;
    gap: 6px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #edf0ef;
    align-items: stretch;
    flex-wrap: wrap;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .2s ease;
    font-family: inherit;
    white-space: nowrap;
    min-height: 40px;
    box-sizing: border-box;
}

.product-btn-cart {
    background: #edf3fa;
    color: #082b5c;
    width: 100%;
}
.product-btn-cart:hover { background: #dbe5ef; }

.product-btn-buy {
    background: #ff6b00;
    color: #fff;
    width: 100%;
    box-shadow: 0 4px 12px rgba(255, 107, 0, .25);
}
.product-btn-buy:hover {
    background: #d95700;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(255, 107, 0, .35);
}

.product-btn-quote {
    background: #fff;
    color: #ff6b00;
    border: 1px solid #ff6b00;
    padding: 10px 12px;
    flex-shrink: 0;
    width: auto !important;
}
.product-btn-quote:hover {
    background: #fff1e7;
}

/* Nav cart */
.cart-nav-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    position: relative;
    padding: 10px 14px !important;
}
.cart-nav-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 11px;
    background: #ff6b00;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}