/* ================================================================
   HMU SAVERS LLC — MAIN STYLESHEET
   To change the color scheme, edit the :root variables below.
================================================================ */

:root {
    --navy:      #1a1f5e;
    --blue:      #1e5adb;
    --cyan:      #00c8e6;
    --light-bg:  #f0f4ff;
    --text-dark: #0d1440;
    --text-gray: #5a6380;
    --white:     #ffffff;
    --card-shadow: 0 4px 22px rgba(30,90,219,0.08);
    --card-shadow-hover: 0 14px 42px rgba(30,90,219,0.15);
    --nav-h: 120px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ================================================================
   NAVIGATION
================================================================ */
#main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    z-index: 1000;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    transition: box-shadow 0.3s;
}
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-link img {
    height: 110px;
    width: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
    filter: contrast(1.05) saturate(1.1);
}
/* Footer logo — white pill background so logo is always visible on dark footer */
#main-footer .logo-link img {
    mix-blend-mode: normal;
    filter: none;
    background: white;
    border-radius: 10px;
    padding: 6px 12px;
    height: 60px;
}
.footer-logo img { height: 60px; }

.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.co-name   { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.co-suffix { font-size: 0.72rem; font-weight: 600; color: var(--blue); letter-spacing: 2.5px; text-transform: uppercase; }

.nav-links { display: flex; list-style: none; gap: 36px; }
.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.93rem;
    transition: color 0.25s;
    position: relative;
    padding-bottom: 4px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--cyan);
    transition: width 0.25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--blue); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--navy); border-radius: 2px; transition: all 0.3s;
}

/* ================================================================
   BUTTONS
================================================================ */
.btn-primary {
    background: var(--cyan); color: var(--navy);
    padding: 13px 30px; border-radius: 6px;
    text-decoration: none; font-weight: 700; font-size: 0.97rem;
    transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px;
    border: none; cursor: pointer;
}
.btn-primary:hover {
    background: white; color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,200,230,0.45);
}
.btn-secondary {
    background: transparent; color: white;
    padding: 13px 30px; border-radius: 6px;
    text-decoration: none; font-weight: 600; font-size: 0.97rem;
    border: 2px solid rgba(255,255,255,0.45); transition: all 0.3s;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover {
    border-color: white; background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent; color: var(--blue);
    padding: 10px 24px; border-radius: 6px;
    text-decoration: none; font-weight: 600; font-size: 0.9rem;
    border: 2px solid var(--blue); transition: all 0.3s;
    display: inline-flex; align-items: center; gap: 7px;
}
.btn-outline:hover { background: var(--blue); color: white; }

/* ================================================================
   HOME HERO
================================================================ */
.home-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 55%, var(--blue) 85%, var(--cyan) 100%);
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 160px 5% 70px;
    position: relative; overflow: hidden;
}
.home-hero::before {
    content: '';
    position: absolute; top: -100px; right: -150px;
    width: 550px; height: 550px;
    background: radial-gradient(circle, rgba(0,200,230,0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.home-hero::after {
    content: '';
    position: absolute; bottom: -80px; left: 5%;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(30,90,219,0.18) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-decor {
    position: absolute; right: 8%; top: 50%;
    transform: translateY(-50%);
    opacity: 0.06; font-size: 18rem; color: white;
}
.hero-content { max-width: 720px; color: white; position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,200,230,0.15);
    border: 1px solid rgba(0,200,230,0.4);
    color: var(--cyan); padding: 7px 18px; border-radius: 30px;
    font-size: 0.82rem; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; margin-bottom: 22px;
}
.hero-content h1 {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    font-weight: 800; line-height: 1.18; margin-bottom: 22px;
}
.hero-content h1 .accent { color: var(--cyan); }
.hero-content p {
    font-size: 1.08rem; opacity: 0.88;
    margin-bottom: 38px; max-width: 620px; line-height: 1.75;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ================================================================
   INNER PAGE HERO BANNER
================================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 60%, var(--blue) 100%);
    padding: calc(var(--nav-h) + 50px) 5% 55px;
    color: white;
    position: relative; overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute; bottom: -60px; right: -60px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0,200,230,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.page-hero-inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb { font-size: 0.82rem; opacity: 0.7; margin-bottom: 12px; }
.breadcrumb a { color: var(--cyan); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.page-hero p  { font-size: 1.05rem; opacity: 0.85; max-width: 600px; }

/* ================================================================
   SECTIONS COMMON
================================================================ */
section { padding: 85px 5%; }
.container { max-width: 1180px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 55px; }
.section-tag {
    display: inline-block; color: var(--blue);
    font-weight: 700; font-size: 0.8rem;
    letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 10px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--navy); font-weight: 800; margin-bottom: 14px;
}
.section-header p { color: var(--text-gray); max-width: 580px; margin: 0 auto; font-size: 1.02rem; }

/* ================================================================
   SERVICE CARDS (home + services page)
================================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 26px;
}
.service-card {
    background: white; border-radius: 14px; padding: 36px 30px;
    box-shadow: var(--card-shadow); transition: all 0.3s;
    position: relative; overflow: hidden; text-decoration: none; color: inherit;
    display: block;
}
.service-card::before {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    transform: scaleX(0); transition: transform 0.35s; transform-origin: left;
}
.service-card:hover { transform: translateY(-7px); box-shadow: var(--card-shadow-hover); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 58px; height: 58px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; font-size: 1.45rem; color: white;
    box-shadow: 0 4px 16px rgba(30,90,219,0.25);
}
.service-card h3 { color: var(--navy); font-size: 1.1rem; font-weight: 700; margin-bottom: 11px; }
.service-card p  { color: var(--text-gray); font-size: 0.93rem; line-height: 1.65; margin-bottom: 16px; }
.service-card .card-link { color: var(--blue); font-size: 0.88rem; font-weight: 600; }

/* ================================================================
   CORE COMPETENCIES
================================================================ */
.competencies {
    background: linear-gradient(140deg, var(--navy) 0%, #16327a 50%, var(--blue) 100%);
}
.competencies .section-tag { color: var(--cyan); }
.competencies .section-header h2 { color: white; }
.competencies .section-header p  { color: rgba(255,255,255,0.75); }
.comp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
    gap: 22px;
}
.comp-item {
    text-align: center; padding: 36px 20px;
    background: rgba(255,255,255,0.07);
    border-radius: 14px; border: 1px solid rgba(255,255,255,0.1);
    color: white; transition: all 0.3s;
}
.comp-item:hover {
    background: rgba(0,200,230,0.14);
    border-color: rgba(0,200,230,0.5); transform: translateY(-5px);
}
.comp-icon { font-size: 2.2rem; color: var(--cyan); margin-bottom: 16px; }
.comp-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.comp-item p  { font-size: 0.86rem; opacity: 0.78; line-height: 1.6; }

/* ================================================================
   ABOUT PAGE
================================================================ */
.about-section { background: white; }
.about-intro { background: var(--light-bg); }

.about-block {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 50px; align-items: center; max-width: 1180px; margin: 0 auto;
}
.about-block.reverse { direction: rtl; }
.about-block.reverse > * { direction: ltr; }
.about-text h2 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); color: var(--navy); font-weight: 800; margin-bottom: 16px; }
.about-text p  { color: var(--text-gray); line-height: 1.82; margin-bottom: 14px; }

.about-visual {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    border-radius: 16px; padding: 50px 40px;
    color: white; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.about-visual i { font-size: 4rem; color: var(--cyan); }
.about-visual h3 { font-size: 1.3rem; font-weight: 700; }
.about-visual p  { font-size: 0.95rem; opacity: 0.82; }

.about-cards-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
    max-width: 1180px; margin: 0 auto;
}
.about-card {
    padding: 38px; border-radius: 14px; background: var(--light-bg);
    border-left: 5px solid var(--blue); transition: all 0.3s;
}
.about-card.vision { border-left-color: var(--cyan); }
.about-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.about-card .card-icon { font-size: 2.4rem; margin-bottom: 16px; }
.about-card h3 { color: var(--navy); font-size: 1.4rem; font-weight: 800; margin-bottom: 14px; }
.about-card p  { color: var(--text-gray); line-height: 1.82; }

.cta-section {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    text-align: center; color: white; padding: 70px 5%;
}
.cta-section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.cta-section p  { opacity: 0.85; max-width: 550px; margin: 0 auto 30px; }

/* ================================================================
   SERVICES OVERVIEW PAGE
================================================================ */
.services-page { background: var(--light-bg); }
.services-page .service-card { background: white; }

/* ================================================================
   SERVICE SUB-PAGE NAV
================================================================ */
.service-nav-bar {
    background: var(--navy); padding: 0 5%; overflow-x: auto;
    display: flex; gap: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.service-nav-bar::-webkit-scrollbar { display: none; }
#service-nav { display: flex; gap: 0; min-width: max-content; }
.svc-tab {
    color: rgba(255,255,255,0.7); text-decoration: none;
    padding: 16px 20px; font-size: 0.85rem; font-weight: 600;
    white-space: nowrap; border-bottom: 3px solid transparent;
    transition: all 0.25s; display: flex; align-items: center; gap: 7px;
}
.svc-tab:hover { color: white; border-bottom-color: rgba(255,255,255,0.4); }
.svc-tab.active { color: var(--cyan); border-bottom-color: var(--cyan); }

/* ================================================================
   PRODUCT CATEGORIES & GRID
================================================================ */
.product-section { background: var(--light-bg); padding: 60px 5%; }
.category-tabs {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px;
}
.cat-tab {
    padding: 9px 20px; border-radius: 30px;
    border: 2px solid var(--blue); color: var(--blue);
    font-weight: 600; font-size: 0.85rem;
    cursor: pointer; background: white; transition: all 0.25s;
}
.cat-tab:hover,
.cat-tab.active { background: var(--blue); color: white; }

.product-category { display: none; }
.product-category.active { display: block; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
}
.product-card {
    background: white; border-radius: 12px; padding: 24px 20px;
    box-shadow: var(--card-shadow); text-align: center;
    transition: all 0.3s; border-top: 3px solid transparent;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-top-color: var(--cyan);
}
.product-card i { font-size: 1.8rem; color: var(--blue); margin-bottom: 12px; }
.product-card h4 { color: var(--navy); font-size: 0.92rem; font-weight: 700; margin-bottom: 8px; }
.product-card p  { color: var(--text-gray); font-size: 0.8rem; margin-bottom: 14px; }
.product-card a  { color: var(--cyan); font-size: 0.8rem; font-weight: 600; text-decoration: none; }
.product-card a:hover { color: var(--blue); }

/* ================================================================
   IT SERVICES PAGE
================================================================ */
.it-services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.it-card {
    background: white; border-radius: 14px; padding: 40px 34px;
    box-shadow: var(--card-shadow); transition: all 0.3s;
}
.it-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.it-card-icon {
    width: 65px; height: 65px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 16px; display: flex; align-items: center;
    justify-content: center; font-size: 1.6rem; color: white;
    margin-bottom: 22px; box-shadow: 0 4px 18px rgba(30,90,219,0.25);
}
.it-card h3 { color: var(--navy); font-size: 1.25rem; font-weight: 800; margin-bottom: 14px; }
.it-card p  { color: var(--text-gray); line-height: 1.78; margin-bottom: 20px; }
.it-card ul { list-style: none; }
.it-card ul li {
    color: var(--text-gray); font-size: 0.9rem; padding: 5px 0;
    border-bottom: 1px solid #eef0f8; display: flex; align-items: center; gap: 8px;
}
.it-card ul li i { color: var(--cyan); font-size: 0.75rem; }

/* ================================================================
   CONTACT PAGE
================================================================ */
.contact-split {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px;
    max-width: 1100px; margin: 0 auto;
}
.contact-info-col h2 { color: var(--navy); font-size: 1.7rem; font-weight: 800; margin-bottom: 10px; }
.contact-info-col > p { color: var(--text-gray); margin-bottom: 35px; }
.contact-detail {
    display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px;
}
.contact-detail .icon {
    width: 48px; height: 48px; min-width: 48px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 12px; display: flex; align-items: center;
    justify-content: center; font-size: 1.1rem; color: white;
}
.contact-detail h4 { color: var(--navy); font-weight: 700; margin-bottom: 4px; }
.contact-detail p, .contact-detail a {
    color: var(--text-gray); font-size: 0.93rem; text-decoration: none;
}
.contact-detail a:hover { color: var(--blue); }

/* Contact form */
.contact-form-wrap {
    background: var(--light-bg); border-radius: 16px; padding: 42px;
}
.contact-form-wrap h3 { color: var(--navy); font-size: 1.3rem; font-weight: 800; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--navy); margin-bottom: 7px; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; padding: 12px 16px;
    border: 2px solid #dde3f8; border-radius: 8px;
    font-family: inherit; font-size: 0.93rem; color: var(--text-dark);
    background: white; transition: border-color 0.25s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; padding: 14px; font-size: 1rem; justify-content: center; }

/* ================================================================
   CONTACT CARDS (home page)
================================================================ */
.contact-cards { background: var(--light-bg); }
.contact-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}
.contact-card {
    background: white; padding: 38px 28px; border-radius: 14px;
    text-align: center; box-shadow: var(--card-shadow); transition: all 0.3s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--card-shadow-hover); }
.contact-card-icon {
    width: 58px; height: 58px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; margin: 0 auto 20px;
    font-size: 1.25rem; color: white;
}
.contact-card h3 { color: var(--navy); font-weight: 700; margin-bottom: 10px; }
.contact-card p, .contact-card a {
    color: var(--text-gray); text-decoration: none; font-size: 0.94rem; line-height: 1.7;
}
.contact-card a:hover { color: var(--blue); }

/* ================================================================
   FOOTER
================================================================ */
#main-footer { background: var(--navy); color: rgba(255,255,255,0.78); padding: 55px 0 0; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 5%; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1.3fr 1.4fr;
    gap: 40px; margin-bottom: 42px;
}
.footer-brand p { margin-top: 14px; font-size: 0.88rem; line-height: 1.72; opacity: 0.65; }
.footer-brand .co-name   { color: white; }
.footer-brand .co-suffix { color: var(--cyan); }

.footer-col h4 {
    color: white; font-size: 0.95rem; font-weight: 700;
    margin-bottom: 18px; padding-bottom: 9px;
    border-bottom: 2px solid var(--cyan); display: inline-block;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    color: rgba(255,255,255,0.65); text-decoration: none;
    font-size: 0.87rem; transition: color 0.25s;
    display: flex; align-items: center; gap: 7px;
}
.footer-col ul li a i { font-size: 0.75rem; color: var(--cyan); min-width: 14px; }
.footer-col ul li a:hover { color: var(--cyan); }

.footer-contact { list-style: none; }
.footer-contact li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.86rem; margin-bottom: 12px;
}
.footer-contact li i { color: var(--cyan); margin-top: 3px; min-width: 14px; }
.footer-contact li a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.25s; }
.footer-contact li a:hover { color: var(--cyan); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0; display: flex; flex-direction: column;
    align-items: center; gap: 12px;
}
.biz-ids {
    display: flex; flex-wrap: wrap; gap: 16px 26px;
    justify-content: center; font-size: 0.78rem;
}
.biz-ids span { color: rgba(255,255,255,0.5); }
.biz-ids strong { color: var(--cyan); margin-right: 4px; }
.copyright { font-size: 0.82rem; opacity: 0.5; text-align: center; }

/* ================================================================
   LIGHT SECTION
================================================================ */
.bg-light { background: var(--light-bg); }
.bg-white { background: var(--white); }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .about-block,
    .about-cards-grid,
    .contact-split { grid-template-columns: 1fr; }
    .about-block.reverse { direction: ltr; }
}

@media (max-width: 640px) {
    :root { --nav-h: 80px; }
    .nav-links {
        display: none;
        position: absolute; top: var(--nav-h); left: 0; right: 0;
        background: white; flex-direction: column;
        padding: 18px 5% 22px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1); gap: 16px;
    }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }
    .logo-link img { height: 65px; }
    .co-name { font-size: 1.05rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-decor { display: none; }
    .home-hero { min-height: 85vh; }
    .contact-form-wrap { padding: 26px 20px; }
    .about-visual { padding: 32px 24px; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
