/*
Theme Name: Zoom Front Solutions
Theme URI: https://zoomfrontsolutions.co.ke
Author: Zoom Front Solutions
Author URI: https://zoomfrontsolutions.co.ke
Description: Official WordPress theme for Zoom Front Solutions Ltd -- IT infrastructure, networking, domain hosting/registration, and business registration in Kenya. Upload your logo from Appearance > Customize > Site Identity.
Version: 1.0.0
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: zoomfront
Tags: one-column, custom-logo, custom-menu, translation-ready
*/

* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      background-color: #f8fafc;
      color: #0b1a33;
      line-height: 1.5;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* ===== HEADER / NAV ===== */
    .navbar {
      background-color: #ffffff;
      box-shadow: 0 1px 3px rgba(0,0,0,0.04);
      padding: 10px 0;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      position: relative;
    }
    @media (min-width: 769px) {
      .nav-container {
        flex-wrap: nowrap;
      }
    }

    /* ===== BRAND LOGO ===== */
    .logo {
      display: flex;
      align-items: center;
      gap: 14px;
      text-decoration: none;
    }
    
    .logo-mark {
      width: 160px;
      height: 44px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      overflow: hidden;
    }
    .logo-mark svg,
    .logo-mark img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: contain;
      object-position: left center;
    }
    .logo-mark a,
    .logo-mark .custom-logo-link {
      display: block;
      width: 100%;
      height: 100%;
    }
    
    .logo-text-group {
      display: flex;
      flex-direction: column;
      line-height: 1.1;
    }
    .logo-name {
      font-weight: 800;
      font-size: 1.5rem;
      letter-spacing: -0.02em;
      color: #0b1a33;
    }
    .logo-name .front {
      color: #f47920;
    }
    
    .logo-tagline {
      font-size: 0.6rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      margin-top: 1px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .logo-tagline .separator {
      color: #b6c8e0;
      font-weight: 300;
    }
    .logo-tagline .request {
      color: #0b1a33;
    }
    .logo-tagline .deliver {
      color: #f47920;
    }

    .logo-mark-uploaded {
      width: 240px;
      height: 68px;
    }

    /* ===== NAVIGATION WITH MEGA MENU ===== */
    .nav-links {
      display: flex;
      align-items: center;
      gap: 0.15rem;
      list-style: none;
      font-weight: 500;
      flex-wrap: nowrap;
    }
    .nav-links > li {
      position: relative;
    }
    .nav-links > li > a {
      text-decoration: none;
      color: #1f2a44;
      font-size: 0.85rem;
      padding: 10px 10px;
      transition: color 0.2s;
      display: block;
      border-radius: 8px;
      white-space: nowrap;
    }
    .nav-links > li > a:hover {
      color: #f47920;
      background: #fef6f0;
    }
    .nav-links > li > a i {
      margin-left: 4px;
      font-size: 0.7rem;
    }

    .nav-cta {
      background-color: #f47920;
      color: white !important;
      padding: 10px 18px !important;
      border-radius: 40px !important;
      font-weight: 600;
      transition: background 0.2s !important;
    }
    .nav-cta:hover {
      background-color: #d96b1a !important;
      color: white !important;
    }

    /* ===== MEGA MENU ===== */
    .mega-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      background: white;
      border-radius: 16px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.12);
      padding: 28px 32px;
      min-width: 880px;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      border: 1px solid #eef2f8;
      z-index: 999;
    }
    .nav-links > li:hover .mega-menu {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(8px);
    }
    .mega-menu-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .mega-menu-single {
      min-width: 280px;
      padding: 22px;
    }
    .mega-menu-grid-single {
      grid-template-columns: 1fr;
    }
    .mega-menu-column h4 {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      color: #3f4e72;
      font-weight: 700;
      margin-bottom: 12px;
      border-bottom: 2px solid #f47920;
      padding-bottom: 8px;
      display: inline-block;
    }
    .mega-menu-column a {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 0;
      color: #1f2a44;
      text-decoration: none;
      font-size: 0.9rem;
      transition: color 0.2s;
      border-radius: 6px;
      padding: 6px 10px;
    }
    .mega-menu-column a:hover {
      color: #f47920;
      background: #fef6f0;
    }
    .mega-menu-column a i {
      width: 28px;
      height: 28px;
      background: #fef6f0;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #f47920;
      font-size: 0.8rem;
      flex-shrink: 0;
    }
    .mega-menu-column a:hover i {
      background: #f47920;
      color: white;
    }
    .mega-menu .featured {
      grid-column: span 4;
      background: #fef6f0;
      border-radius: 12px;
      padding: 16px 20px;
      margin-top: 8px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .mega-menu .featured span {
      font-weight: 600;
      color: #0b1a33;
    }
    .mega-menu .featured a {
      color: #f47920;
      font-weight: 600;
      text-decoration: none;
    }

    .hamburger {
      display: none;
      font-size: 1.6rem;
      background: none;
      border: none;
      color: #0b1a33;
      cursor: pointer;
    }

    /* ===== HERO ===== */
    .hero {
      padding: 40px 0 32px;
      background: linear-gradient(145deg, #ffffff 0%, #fef6f0 100%);
      border-bottom: 1px solid #e9edf4;
    }
    .hero-grid {
      display: flex;
      align-items: center;
      gap: 40px;
      flex-wrap: wrap;
    }
    .hero-content {
      flex: 1 1 380px;
    }
    .hero-content h1 {
      font-size: 2.8rem;
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -0.02em;
      color: #0b1a33;
      margin-bottom: 16px;
    }
    .hero-content h1 span {
      color: #f47920;
    }
    .hero-content p {
      font-size: 1.2rem;
      color: #2c3a5e;
      margin-bottom: 28px;
      max-width: 540px;
    }
    .hero-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }
    .btn-primary {
      background-color: #f47920;
      color: white;
      padding: 14px 36px;
      border-radius: 40px;
      font-weight: 600;
      border: none;
      font-size: 1rem;
      cursor: pointer;
      transition: background 0.2s, transform 0.1s;
      text-decoration: none;
      display: inline-block;
    }
    .btn-primary:hover {
      background-color: #d96b1a;
      transform: translateY(-1px);
    }
    .btn-outline {
      background: transparent;
      color: #0b1a33;
      padding: 14px 36px;
      border-radius: 40px;
      font-weight: 600;
      border: 1.5px solid #b6c8e0;
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
      display: inline-block;
    }
    .btn-outline:hover {
      border-color: #f47920;
      color: #f47920;
    }
    .hero-stats {
      display: flex;
      gap: 28px;
      margin-top: 24px;
      flex-wrap: nowrap;
    }
    .stat-item {
      display: flex;
      flex-direction: column;
      gap: 2px;
      min-width: 0;
    }
    .stat-number {
      font-weight: 800;
      font-size: 1.8rem;
      color: #f47920;
      line-height: 1.1;
      white-space: nowrap;
    }
    .stat-label {
      color: #3f4e72;
      font-weight: 500;
      font-size: 0.85rem;
      white-space: nowrap;
    }

    .hero-image {
      flex: 1 1 340px;
      min-height: 280px;
      border-radius: 24px;
      background: linear-gradient(135deg, #0b1a33 0%, #1a3a6b 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 30px;
      position: relative;
      overflow: hidden;
    }
    .hero-image svg {
      width: 100%;
      height: 100%;
      max-height: 220px;
    }

    /* ===== SECTION TITLES ===== */
    .section-title {
      font-size: 2rem;
      font-weight: 700;
      letter-spacing: -0.01em;
      margin-bottom: 12px;
      color: #0b1a33;
    }
    .section-title .highlight {
      color: #f47920;
    }
    .section-sub {
      color: #3f4e72;
      font-size: 1.1rem;
      max-width: 640px;
      margin-bottom: 32px;
    }

    /* ===== ABOUT - UPDATED WITH NEW STORY ===== */
    .about-section {
      padding: 44px 0 32px;
      background: white;
    }
    .about-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      align-items: center;
    }
    .about-text {
      flex: 1 1 340px;
    }
    .about-text .tagline-badge {
      display: inline-block;
      background: #fef6f0;
      color: #f47920;
      font-weight: 700;
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      padding: 4px 14px;
      border-radius: 40px;
      margin-bottom: 12px;
      border: 1px solid #fde8d8;
    }
    .about-text p {
      color: #1f2a44;
      margin-bottom: 16px;
      font-size: 1.05rem;
      line-height: 1.7;
    }
    .about-text .highlight-text {
      color: #f47920;
      font-weight: 600;
    }
    .about-image {
      flex: 1 1 300px;
      border-radius: 24px;
      min-height: 240px;
      background: linear-gradient(135deg, #fef6f0 0%, #fde8d8 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 30px;
    }

    /* ===== SERVICES - 3 PER ROW, 2 ROWS ===== */
    .services-section {
      padding: 44px 0 32px;
      background: #f8fafc;
    }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
      max-width: 1100px;
      margin: 0 auto;
    }
    .service-card {
      background: white;
      padding: 32px 24px;
      border-radius: 20px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.02);
      border: 1px solid #eef2f8;
      transition: box-shadow 0.2s, transform 0.2s;
      text-align: center;
    }
    .service-card:hover {
      box-shadow: 0 12px 28px rgba(0,0,0,0.06);
      transform: translateY(-4px);
      border-color: #f47920;
    }
    .service-card .icon-wrapper {
      width: 72px;
      height: 72px;
      background: #fef6f0;
      border-radius: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
      font-size: 32px;
      color: #f47920;
      transition: background 0.3s, color 0.3s;
    }
    .service-card:hover .icon-wrapper {
      background: #f47920;
      color: white;
    }
    .service-card h3 {
      font-size: 1.15rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: #0b1a33;
    }
    .service-card p {
      color: #3f4e72;
      font-size: 0.95rem;
      line-height: 1.6;
    }
    .service-features {
      list-style: none;
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px dashed #eef2f8;
      text-align: left;
    }
    .service-features li {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: 0.86rem;
      color: #3f4e72;
      margin-bottom: 8px;
      line-height: 1.4;
    }
    .service-features li:last-child {
      margin-bottom: 0;
    }
    .service-features li i {
      color: #f47920;
      font-size: 0.75rem;
      margin-top: 4px;
      flex-shrink: 0;
    }

    /* ===== PROCESS ===== */
    .process-section {
      padding: 44px 0 32px;
      background: white;
    }
    .process-steps {
      display: flex;
      flex-wrap: wrap;
      gap: 32px;
      justify-content: space-between;
    }
    .step {
      flex: 1 1 180px;
      text-align: center;
      padding: 20px 12px;
      position: relative;
    }
    .step::after {
      content: '';
      position: absolute;
      top: 44px;
      right: -20px;
      width: 30px;
      height: 2px;
      background: #d0dcec;
      display: none;
    }
    .step:last-child::after {
      display: none;
    }
    .step-number {
      background: #f47920;
      color: white;
      width: 52px;
      height: 52px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 1.4rem;
      margin: 0 auto 12px;
    }
    .step h4 {
      font-weight: 600;
      margin-bottom: 4px;
      font-size: 1.1rem;
    }
    .step p {
      color: #3f4e72;
      font-size: 0.95rem;
    }

    @media (min-width: 768px) {
      .step::after {
        display: block;
      }
    }

    /* ===== TESTIMONIALS ===== */
    .testimonials-section {
      padding: 44px 0 32px;
      background: #fef6f0;
    }
    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 28px;
    }
    .testimonial-card {
      background: white;
      padding: 28px 22px;
      border-radius: 20px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.02);
      border-left: 4px solid #f47920;
    }
    .testimonial-card .quote {
      font-style: italic;
      color: #1f2a44;
      margin-bottom: 12px;
      font-size: 0.98rem;
    }
    .testimonial-card .author {
      font-weight: 600;
      color: #f47920;
    }
    .testimonial-card .company {
      color: #3f4e72;
      font-size: 0.9rem;
    }

    /* ===== FAQ ===== */
    .faq-section {
      padding: 44px 0 32px;
      background: white;
    }
    .faq-list {
      max-width: 780px;
    }
    .faq-grid {
      display: grid;
      grid-template-columns: 1.35fr 1fr;
      gap: 40px;
      align-items: start;
    }
    .faq-grid .faq-list {
      max-width: none;
    }
    .tech-news {
      background: #fff;
      border: 1px solid #e9edf4;
      border-radius: 20px;
      padding: 24px;
    }
    .tech-news-title {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 1.05rem;
      font-weight: 700;
      color: #0b1a33;
      margin-bottom: 4px;
    }
    .tech-news-title i {
      color: #f47920;
    }
    .tech-news-sub {
      font-size: 0.85rem;
      color: #3f4e72;
      margin-bottom: 18px;
    }
    .news-card {
      display: block;
      text-decoration: none;
      color: inherit;
      border-radius: 16px;
      overflow: hidden;
      background: #f8fafc;
      border: 1px solid #eef2f8;
      margin-bottom: 18px;
      transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    }
    .news-card:last-child {
      margin-bottom: 0;
    }
    .news-card:hover {
      box-shadow: 0 12px 28px rgba(0,0,0,0.08);
      transform: translateY(-3px);
      border-color: #f47920;
    }
    .news-card img {
      width: 100%;
      height: 140px;
      object-fit: cover;
      display: block;
    }
    .news-card-body {
      padding: 14px 16px 16px;
    }
    .news-tag {
      display: inline-block;
      background: #fef6f0;
      color: #f47920;
      font-size: 0.68rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      padding: 3px 10px;
      border-radius: 40px;
      margin-bottom: 8px;
    }
    .news-card h4 {
      font-size: 0.98rem;
      font-weight: 700;
      color: #0b1a33;
      line-height: 1.35;
      margin-bottom: 6px;
    }
    .news-card p {
      font-size: 0.85rem;
      color: #3f4e72;
      line-height: 1.5;
    }
    .faq-item {
      border: 1px solid #e9edf4;
      border-radius: 14px;
      margin-bottom: 14px;
      overflow: hidden;
      background: #f8fafc;
    }
    .faq-question {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 18px 22px;
      background: transparent;
      border: none;
      text-align: left;
      font-size: 1.02rem;
      font-weight: 600;
      color: #0b1a33;
      cursor: pointer;
      font-family: inherit;
    }
    .faq-question i {
      color: #f47920;
      transition: transform 0.25s;
      flex-shrink: 0;
    }
    .faq-question[aria-expanded="true"] i {
      transform: rotate(180deg);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
      padding: 0 22px;
      color: #3f4e72;
    }
    .faq-answer p {
      padding-bottom: 18px;
    }
    .faq-item.open .faq-answer {
      max-height: 300px;
    }

    /* ===== QUOTE REQUEST FORM ===== */
    .quote-section {
      padding: 44px 0 32px;
      background: #0b1a33;
      color: white;
    }
    .quote-section h2 {
      font-size: 2.2rem;
      font-weight: 700;
      margin-bottom: 12px;
      text-align: center;
    }
    .quote-section h2 .highlight {
      color: #f47920;
    }
    .quote-section .section-sub {
      color: #bcc8e0;
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    }
    .quote-form-wrapper {
      max-width: 700px;
      margin: 0 auto;
      background: white;
      border-radius: 24px;
      padding: 40px 48px;
      color: #0b1a33;
      box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    }
    .form-group {
      margin-bottom: 20px;
    }
    .form-group label {
      display: block;
      font-weight: 600;
      margin-bottom: 6px;
      font-size: 0.9rem;
      color: #1f2a44;
    }
    .form-group label .required {
      color: #f47920;
      margin-left: 2px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%;
      padding: 12px 16px;
      border: 2px solid #eef2f8;
      border-radius: 12px;
      font-size: 1rem;
      font-family: inherit;
      transition: border-color 0.2s;
      background: #fafbfc;
    }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: #f47920;
      background: white;
    }
    .form-group textarea {
      min-height: 100px;
      resize: vertical;
    }
    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    .form-group .captcha-wrapper {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }
    .form-group .captcha-wrapper .captcha-display {
      background: #fef6f0;
      padding: 10px 20px;
      border-radius: 12px;
      font-size: 1.3rem;
      font-weight: 700;
      color: #0b1a33;
      border: 2px solid #f47920;
      min-width: 120px;
      text-align: center;
      letter-spacing: 2px;
      font-family: 'Courier New', monospace;
    }
    .form-group .captcha-wrapper input {
      flex: 1;
      min-width: 120px;
    }
    .form-group .captcha-wrapper .captcha-refresh {
      background: none;
      border: none;
      color: #f47920;
      font-size: 1.2rem;
      cursor: pointer;
      padding: 8px;
      transition: transform 0.3s;
    }
    .form-group .captcha-wrapper .captcha-refresh:hover {
      transform: rotate(180deg);
    }
    .form-group .captcha-error {
      color: #e74c3c;
      font-size: 0.85rem;
      margin-top: 4px;
      display: none;
    }
    .form-group .captcha-error.show {
      display: block;
    }
    .form-group .success-message {
      color: #27ae60;
      font-size: 0.95rem;
      padding: 12px 16px;
      background: #eafaf1;
      border-radius: 8px;
      display: none;
    }
    .form-group .success-message.show {
      display: block;
    }
    .quote-form-wrapper .btn-primary {
      width: 100%;
      text-align: center;
      font-size: 1.1rem;
      padding: 16px;
    }

    /* ===== CHAT WIDGET ===== */
    .chat-launcher {
      position: fixed;
      bottom: 24px;
      right: 24px;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: #f47920;
      color: white;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      cursor: pointer;
      box-shadow: 0 10px 26px rgba(11,26,51,0.25);
      z-index: 500;
      transition: transform 0.2s, background 0.2s;
    }
    .chat-launcher:hover {
      background: #d96b1a;
      transform: translateY(-2px);
    }
    .chat-launcher::after {
      content: '';
      position: absolute;
      inset: -4px;
      border-radius: 50%;
      border: 2px solid #f47920;
      opacity: 0.5;
      animation: chatPulse 2.2s ease-out infinite;
    }
    @keyframes chatPulse {
      0% { transform: scale(1); opacity: 0.6; }
      100% { transform: scale(1.35); opacity: 0; }
    }
    .chat-panel {
      position: fixed;
      bottom: 96px;
      right: 24px;
      width: 340px;
      max-width: calc(100vw - 32px);
      background: white;
      border-radius: 20px;
      box-shadow: 0 24px 60px rgba(0,0,0,0.2);
      overflow: hidden;
      z-index: 500;
      opacity: 0;
      visibility: hidden;
      transform: translateY(16px) scale(0.98);
      transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }
    .chat-panel.open {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }
    .chat-panel-header {
      background: #0b1a33;
      color: white;
      padding: 18px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .chat-panel-header .chat-title {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
    }
    .chat-panel-header .chat-title .status-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #27ae60;
      display: inline-block;
      box-shadow: 0 0 0 3px rgba(39,174,96,0.25);
    }
    .chat-panel-close {
      background: none;
      border: none;
      color: #bcc8e0;
      font-size: 1rem;
      cursor: pointer;
      padding: 4px;
    }
    .chat-panel-close:hover { color: white; }
    .chat-panel-body {
      padding: 18px 20px;
    }
    .chat-bubble {
      background: #fef6f0;
      border-radius: 14px 14px 14px 4px;
      padding: 12px 14px;
      font-size: 0.9rem;
      color: #1f2a44;
      line-height: 1.5;
      margin-bottom: 10px;
    }
    .chat-bubble strong { color: #0b1a33; }
    .chat-location-status {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.8rem;
      color: #3f4e72;
      margin-bottom: 14px;
    }
    .chat-location-status i {
      color: #f47920;
    }
    .chat-location-status .spinner {
      width: 12px;
      height: 12px;
      border: 2px solid #eef2f8;
      border-top-color: #f47920;
      border-radius: 50%;
      animation: chatSpin 0.7s linear infinite;
    }
    @keyframes chatSpin { to { transform: rotate(360deg); } }
    .chat-actions {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .chat-action-btn {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 14px;
      border-radius: 12px;
      border: 1px solid #eef2f8;
      background: #fafbfc;
      color: #0b1a33;
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 600;
      transition: border-color 0.2s, background 0.2s;
    }
    .chat-action-btn:hover {
      border-color: #f47920;
      background: #fef6f0;
    }
    .chat-action-btn i {
      color: #f47920;
      width: 18px;
      text-align: center;
    }

    /* ===== FOOTER ===== */
    .footer {
      background: #08142b;
      color: #bcc8e0;
      padding: 48px 0 32px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 32px;
      margin-bottom: 32px;
    }
    .footer h4 {
      color: white;
      font-weight: 600;
      margin-bottom: 12px;
    }
    .footer a {
      color: #bcc8e0;
      text-decoration: none;
      display: block;
      margin-bottom: 6px;
      font-size: 0.95rem;
    }
    .footer a:hover {
      color: #f47920;
    }
    .footer-bottom {
      border-top: 1px solid #1f2a44;
      padding-top: 24px;
      text-align: center;
      font-size: 0.9rem;
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 992px) {
      .mega-menu {
        min-width: 500px;
        left: 0;
        transform: none;
      }
      .nav-links > li:hover .mega-menu {
        transform: translateY(8px);
      }
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
      }
    }

    @media (max-width: 768px) {
      .faq-grid {
        grid-template-columns: 1fr;
      }
      .hamburger {
        display: block;
      }
      .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        padding: 20px 0 8px;
        align-items: stretch;
      }
      .nav-links.open {
        display: flex;
      }
      .nav-links > li > a {
        padding: 10px 12px;
      }
      .mega-menu {
        position: static;
        transform: none;
        min-width: auto;
        padding: 16px;
        box-shadow: none;
        border: 1px solid #eef2f8;
        margin-top: 4px;
        opacity: 1;
        visibility: visible;
        display: none;
        border-radius: 12px;
      }
      /* Tap-to-open on mobile (touch has no real :hover) */
      .nav-links > li.submenu-open > .mega-menu {
        transform: none;
        display: block;
      }
      .nav-links > li > a i.fa-chevron-down {
        transition: transform 0.2s ease;
      }
      .nav-links > li.submenu-open > a i.fa-chevron-down {
        transform: rotate(180deg);
      }
      .mega-menu-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
      }
      .mega-menu .featured {
        grid-column: span 2;
        flex-direction: column;
        gap: 8px;
        text-align: center;
      }
      .hero-content h1 {
        font-size: 2.2rem;
      }
      .hero {
        padding: 28px 0 24px;
      }
      .about-section,
      .services-section,
      .process-section,
      .testimonials-section,
      .faq-section,
      .quote-section,
      .cta-section {
        padding: 32px 0 24px;
      }
      .section-sub {
        margin-bottom: 22px;
      }
      .hero-stats {
        gap: 24px;
      }
      .stat-number {
        font-size: 1.5rem;
      }
      .hero-image {
        min-height: 200px;
      }
      .logo-name {
        font-size: 1.2rem;
      }
      .logo-mark {
        width: 130px;
        height: 36px;
      }
      .logo-mark-uploaded {
        width: 190px;
        height: 54px;
      }
      .logo-tagline {
        font-size: 0.5rem;
        letter-spacing: 1px;
      }
      .quote-form-wrapper {
        padding: 24px 20px;
      }
      .form-row {
        grid-template-columns: 1fr;
        gap: 0;
      }
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
      }
      .service-card {
        padding: 24px 16px;
      }
      .service-card .icon-wrapper {
        width: 56px;
        height: 56px;
        font-size: 24px;
      }
      .service-card h3 {
        font-size: 1rem;
      }
      .about-text p {
        font-size: 0.98rem;
      }
    }

    @media (max-width: 480px) {
      .hero-content h1 {
        font-size: 1.8rem;
      }
      .btn-primary, .btn-outline {
        padding: 11px 10px;
        font-size: 0.82rem;
        white-space: nowrap;
      }
      .hero-buttons {
        flex-direction: row;
        gap: 8px;
      }
      .hero-buttons .btn-primary,
      .hero-buttons .btn-outline {
        flex: 1 1 0;
        text-align: center;
      }
      .hero-stats {
        gap: 14px;
      }
      .stat-number {
        font-size: 1.05rem;
      }
      .stat-label {
        font-size: 0.62rem;
      }
      .logo-name {
        font-size: 1rem;
      }
      .logo-mark {
        width: 108px;
        height: 30px;
      }
      .logo-mark-uploaded {
        width: 150px;
        height: 42px;
      }
      .logo-tagline {
        font-size: 0.45rem;
        letter-spacing: 0.5px;
        flex-wrap: wrap;
      }
      .mega-menu-grid {
        grid-template-columns: 1fr;
      }
      .mega-menu .featured {
        grid-column: span 1;
      }
      .form-group .captcha-wrapper {
        flex-direction: column;
        align-items: stretch;
      }
      .form-group .captcha-wrapper .captcha-display {
        text-align: center;
      }
      .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
      }
    }

/* ===== INNER PAGE HERO (page.php, single.php, archive.php, service template) ===== */
.page-hero {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, #0b1a33 0%, #1a3a6b 100%);
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,26,51,0.82), rgba(11,26,51,0.72));
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.page-breadcrumbs {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.page-breadcrumbs a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}
.page-breadcrumbs a:hover {
  color: #f47920;
}
.page-breadcrumbs .sep {
  color: rgba(255,255,255,0.35);
}
.page-breadcrumbs .current {
  color: #f47920;
  font-weight: 600;
}
.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.page-hero-subtitle {
  margin-top: 10px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 680px;
}

/* ===== INNER PAGE CONTENT WRAPPER ===== */
.page-content-section {
  padding: 56px 0 72px;
  background: #f8fafc;
}
.page-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}
.page-content-main {
  background: #fff;
  border: 1px solid #eef2f8;
  border-radius: 20px;
  padding: 40px;
  color: #1f2a44;
  line-height: 1.75;
}
.page-content-main h2 {
  color: #0b1a33;
  font-size: 1.5rem;
  margin: 28px 0 12px;
}
.page-content-main h2:first-child { margin-top: 0; }
.page-content-main ul {
  margin: 12px 0 12px 20px;
}
.page-content-main li {
  margin-bottom: 8px;
}
.page-sidebar {
  position: sticky;
  top: 90px;
}
.page-cta-card {
  background: linear-gradient(135deg, #0b1a33 0%, #1a3a6b 100%);
  color: #fff;
  border-radius: 20px;
  padding: 32px 26px;
  text-align: center;
}
.page-cta-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.page-cta-card p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.related-services-card {
  background: #fff;
  border: 1px solid #eef2f8;
  border-radius: 20px;
  padding: 24px;
  margin-top: 24px;
}
.related-services-card h4 {
  color: #0b1a33;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}
.related-services-card a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1f2a44;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px solid #f1f4f9;
  transition: color 0.2s;
}
.related-services-card a:last-child { border-bottom: none; }
.related-services-card a:hover { color: #f47920; }
.related-services-card a i { color: #f47920; width: 16px; }

@media (max-width: 860px) {
  .page-content-grid { grid-template-columns: 1fr; }
  .page-sidebar { position: static; }
  .page-content-main { padding: 28px 22px; }
}

/* ===== BLOG (archive/single) ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.blog-card {
  background: #fff;
  border: 1px solid #eef2f8;
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.blog-card:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  transform: translateY(-3px);
  border-color: #f47920;
}
.blog-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.blog-card-body { padding: 20px; }
.blog-card-date { font-size: 0.78rem; color: #f47920; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.blog-card h2 { font-size: 1.1rem; color: #0b1a33; margin-bottom: 8px; }
.blog-card h2 a { color: inherit; text-decoration: none; }
.blog-card h2 a:hover { color: #f47920; }
.blog-card p { color: #3f4e72; font-size: 0.92rem; line-height: 1.6; }
.pagination-row { display: flex; justify-content: space-between; margin-top: 40px; }
.pagination-row a { color: #f47920; font-weight: 600; text-decoration: none; }

.single-post-meta { font-size: 0.85rem; color: #3f4e72; margin-bottom: 24px; }
.single-post-thumb { border-radius: 16px; overflow: hidden; margin-bottom: 28px; }
.single-post-thumb img { width: 100%; height: auto; display: block; }
.single-post-nav { display: flex; justify-content: space-between; margin-top: 32px; padding-top: 24px; border-top: 1px solid #eef2f8; }
.single-post-nav a { color: #0b1a33; font-weight: 600; text-decoration: none; font-size: 0.9rem; }
.single-post-nav a:hover { color: #f47920; }
