/* QUBRIXA EXACT HOMEPAGE THEME DESIGN SYSTEM */
:root {
  --topbar-bg: #ff5722;
  --topbar-text: #ffffff;
  --nav-bg: #ffffff;
  --nav-text: #1e293b;
  --primary-accent: #ff5722;
  --primary-hover: #e64a19;
  --body-bg: #ffffff;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --footer-light: #e0f2fe;
  --font-main: 'Outfit', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: var(--font-main); background: var(--body-bg); color: var(--text-dark); line-height: 1.6; }
body { overflow-x: hidden; min-height: 100vh; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* 1. TOP BAR */
.top-bar { background: var(--topbar-bg); color: var(--topbar-text); font-size: 0.8rem; padding: 0.5rem 0; font-weight: 500; }
.top-bar-container { display: flex; justify-content: space-between; align-items: center; }
.top-contact-info { display: flex; gap: 1.5rem; list-style: none; }
.top-contact-info a { color: #ffffff; text-decoration: none; display: flex; align-items: center; gap: 0.4rem; }
.top-social-links { display: flex; gap: 0.75rem; }
.top-social-links a { color: #ffffff; text-decoration: none; font-size: 0.85rem; }

/* 2. MAIN NAVBAR */
.main-header { background: var(--nav-bg); border-bottom: 1px solid #f1f5f9; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.header-flex { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.brand-logo img { height: 55px; width: auto; object-fit: contain; }

.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-links a { color: var(--nav-text); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-accent); }

.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; width: 220px; background: #ffffff; border: 1px solid #e2e8f0; border-top: 3px solid var(--primary-accent); box-shadow: 0 10px 25px rgba(0,0,0,0.1); list-style: none; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 1100; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; }
.dropdown-menu a { display: block; padding: 0.75rem 1rem; color: #334155; font-size: 0.85rem; border-bottom: 1px solid #f8fafc; }
.dropdown-menu a:hover { background: #fff5f2; color: var(--primary-accent); }

/* 3. HERO BANNER WITH BACKGROUND IMAGE */
.home-hero { background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.85)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat; padding: 8rem 0; text-align: center; color: #ffffff; position: relative; }
.home-hero h1 { font-size: 3.5rem; color: #ffffff; margin-bottom: 1rem; font-family: var(--font-heading); font-weight: 700; }
.home-hero p { font-size: 1.3rem; color: #e2e8f0; margin-bottom: 2rem; font-weight: 500; }
.btn-hero { background: #ffffff; color: var(--primary-accent); font-weight: 700; font-size: 1.1rem; padding: 1rem 2.5rem; border-radius: 50px; text-decoration: none; display: inline-block; transition: all 0.3s ease; box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
.btn-hero:hover { background: var(--primary-accent); color: #ffffff; transform: translateY(-3px); }

/* SECTION TYPOGRAPHY */
.section-eyebrow { font-family: cursive, sans-serif; color: var(--primary-accent); font-size: 1.35rem; display: block; margin-bottom: 0.5rem; }
.section-h2 { font-size: 2.25rem; color: var(--text-dark); margin-bottom: 1.25rem; font-family: var(--font-heading); line-height: 1.3; }

/* 4. WELCOME INTRO SECTION */
.section-padding { padding: 5rem 0; }
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.check-list { list-style: none; margin: 1.5rem 0; }
.check-list li { margin-bottom: 0.75rem; font-weight: 600; color: var(--text-dark); display: flex; align-items: center; gap: 0.6rem; }
.check-list li i { color: var(--primary-accent); font-size: 1.1rem; }

/* Blob Image Wrapper */
.blob-img-wrapper { position: relative; text-align: center; }
.blob-img { width: 100%; max-width: 450px; border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%; box-shadow: 0 20px 40px rgba(255, 87, 34, 0.2); }

/* 5. SERVICES ICON GRID (Categorized Red Cards) */
.cat-services-wrapper { margin-top: 2rem; }
.cat-group-title { font-size: 1.15rem; color: var(--primary-accent); margin: 2rem 0 1rem; border-bottom: 2px solid #ffe0b2; padding-bottom: 0.4rem; display: inline-block; }
.services-grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.icon-card { background: #ffffff; border: 1px solid var(--card-border); border-radius: 10px; padding: 1.5rem 1rem; text-align: center; transition: all 0.3s ease; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 130px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.icon-card:hover { border-color: var(--primary-accent); transform: translateY(-4px); box-shadow: 0 12px 25px rgba(255, 87, 34, 0.15); }
.icon-card i { font-size: 1.85rem; color: var(--primary-accent); margin-bottom: 0.75rem; }
.icon-card span { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); line-height: 1.3; }

/* 6. COUNTER BANNER */
.counter-banner { background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1531482615713-2afd69097998?auto=format&fit=crop&w=1600&q=80') center/cover fixed; padding: 5rem 0; color: #ffffff; text-align: center; }
.counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.counter-card { background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 12px; padding: 2rem 1rem; }
.counter-num { font-size: 3rem; font-weight: 900; color: var(--primary-accent); font-family: var(--font-heading); line-height: 1; }
.counter-lbl { font-size: 0.95rem; color: #e2e8f0; margin-top: 0.5rem; font-weight: 600; }

/* 7. PORTFOLIO SHOWCASE */
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem; }
.portfolio-card { background: #ffffff; border-radius: 12px; overflow: hidden; border: 1px solid var(--card-border); box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s; }
.portfolio-card:hover { transform: translateY(-5px); }
.portfolio-img-box { height: 180px; background: #f1f5f9; display: flex; align-items: center; justify-content: center; }

/* 8. TESTIMONIALS */
.testimonial-card { background: #fff5f2; border: 1px solid #ffe0b2; border-radius: 16px; padding: 2.5rem; display: flex; gap: 2rem; align-items: center; }
.quote-mark { font-size: 4rem; color: var(--primary-accent); line-height: 1; }

/* 9. BLOG GRID */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.blog-card { background: #ffffff; border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.blog-img { height: 200px; background: #e2e8f0; }
.blog-content { padding: 1.5rem; }
.blog-title { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 0.75rem; }

/* 10. CLIENT LOGOS STRIP */
.client-logos-strip { background: #f8fafc; padding: 3rem 0; border-y: 1px solid var(--card-border); text-align: center; }
.logos-flex { display: flex; justify-content: center; align-items: center; gap: 2rem; flex-wrap: wrap; margin-top: 1.5rem; }
.logo-card { background: #ffffff; border: 1px solid var(--card-border); border-radius: 8px; padding: 0.75rem 1.5rem; font-weight: 700; color: var(--text-dark); }

/* 11. CONTACT DETAILS BOX */
.contact-details-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 2rem; margin-top: 3rem; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.contact-col h4 { font-size: 0.95rem; color: var(--text-dark); margin-bottom: 0.5rem; font-weight: 700; }
.contact-col p { font-size: 0.85rem; color: var(--text-muted); }

/* 12. CATEGORIZED FOOTER */
.categorized-footer { background: var(--footer-light); padding: 4rem 0 3rem; border-top: 1px solid #cbd5e1; }
.categorized-footer h3 { font-size: 1.5rem; color: var(--text-dark); text-align: center; margin-bottom: 2.5rem; font-family: var(--font-heading); }
.footer-categories-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.footer-cat-col h4 { font-size: 0.95rem; color: var(--text-dark); margin-bottom: 1rem; font-weight: 700; border-bottom: 2px solid var(--primary-accent); padding-bottom: 0.4rem; display: inline-block; }
.footer-cat-links { list-style: none; }
.footer-cat-links li { margin-bottom: 0.5rem; }
.footer-cat-links a { color: #334155; font-size: 0.8rem; text-decoration: none; }
.footer-cat-links a:hover { color: var(--primary-accent); }

/* 13. BOTTOM ORANGE FOOTER */
.bottom-footer { background: var(--topbar-bg); color: #ffffff; padding: 1.25rem 0; font-size: 0.85rem; }
.bottom-footer-flex { display: flex; justify-content: space-between; align-items: center; }

/* FLOATING WIDGETS */
.floating-widgets { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 9999; }
.float-btn { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #ffffff; font-size: 1.25rem; box-shadow: 0 4px 12px rgba(0,0,0,0.3); text-decoration: none; }
.float-wa { background: #25d366; }
.float-phone { background: #0284c7; }

/* COOKIE CONSENT */
.cookie-consent { position: fixed; bottom: 0; left: 0; right: 0; background: #0f172a; border-top: 1px solid var(--primary-accent); padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; z-index: 99999; transform: translateY(100%); transition: transform 0.4s ease; flex-wrap: wrap; color: #ffffff; }
.cookie-consent.show { transform: translateY(0); }
.cookie-consent p { font-size: 0.85rem; margin: 0; flex: 1; }
.cookie-consent-btns { display: flex; gap: 0.5rem; }
.cookie-consent-btns button { padding: 0.5rem 1.2rem; border-radius: 6px; cursor: pointer; font-size: 0.85rem; font-weight: 600; }
.cookie-btn-accept { background: var(--primary-accent); color: #ffffff; border: none; }
.cookie-btn-decline { background: transparent; color: #ffffff; border: 1px solid #ffffff; }

/* RESPONSIVE */
@media (max-width: 992px) {
  .grid-2col { grid-template-columns: 1fr; }
  .services-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-categories-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 576px) {
  .services-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .counter-grid { grid-template-columns: 1fr; }
  .footer-categories-grid { grid-template-columns: 1fr; }
}
