﻿/* ==========================================================================
   Responsive Stylesheet for Web SEO AI Expert
   ========================================================================== */

/* Large screens (>= 1200px) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 56px; /* ~56px */
  }
}

/* Medium to Large screens (992px to 1199px) */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 48px;
  }
  .navbar-nav .nav-link {
    padding: 8px 10px !important;
    font-size: 14px;
  }
  .btn-nav-cta {
    padding: 9px 18px;
    font-size: 14px;
  }
  .hero-main-img {
    height: 380px;
  }
}

/* Tablets and below (<= 991px) */
@media (max-width: 991.98px) {
  .site-header {
    padding: 6px 0;
  }

  .brand-logo-img {
    height: 60px;
  }

  .intro-heading {
    font-size: 31px;
  }

  .insights-heading {
    font-size: 31px;
  }

  .insights-section {
    padding: 65px 0;
  }

  .agency-intro-section {
    padding: 65px 0;
  }

  .inner-page-banner-section {
    padding: 65px 0 70px;
  }

  .inner-banner-title {
    font-size: 38px;
  }

  .navbar-collapse {
    background: #ffffff;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 15px;
  }

  .navbar-nav {
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }

  .navbar-nav .nav-link {
    width: 100%;
    padding: 10px 14px !important;
  }

  .nav-item.dropdown .dropdown-menu {
    border: none;
    box-shadow: none;
    padding-left: 12px;
    margin-top: 0;
    background-color: #f8fafd;
    width: 100%;
  }

  /* Multi-level Dropdown on Mobile */
  .dropdown-submenu > .dropdown-menu {
    position: static;
    float: none;
    display: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--secondary-blue);
    background-color: #eef4fd;
    padding-left: 12px;
    margin: 6px 0 6px 10px;
    border-radius: var(--radius-sm);
  }

  .dropdown-submenu > .dropdown-toggle {
    cursor: pointer;
  }

  .submenu-chevron {
    transition: transform 0.25s ease;
  }

  .submenu-chevron.rotate-90 {
    transform: rotate(90deg);
  }

  .header-actions {
    margin-top: 15px;
    width: 100%;
  }

  .btn-nav-cta {
    width: 100%;
    justify-content: center;
  }

  .hero-banner-section {
    padding: 32px 0 50px;
  }

  .hero-title {
    font-size: 40px;
    letter-spacing: -0.5px;
  }

  .hero-desc {
    font-size: 16px;
    max-width: 100%;
  }

  .hero-media-container {
    margin-top: 36px;
  }

  .hero-main-img {
    height: 340px;
  }

  .floating-stat-card.bottom-left-float {
    left: 10px;
    top: 45%;
    bottom: auto;
  }

  .section-title {
    font-size: 34px;
  }

  .audit-box-wrap {
    padding: 24px 20px;
  }
}

/* Mobile Devices (<= 767px) */
@media (max-width: 767.98px) {
  .top-notice-bar {
    display: none; /* Hide top bar on mobile for cleaner viewport */
  }

  .brand-logo-img {
    height: 54px; /* Crisp and clear on mobile */
  }

  .intro-heading {
    font-size: 26px;
    line-height: 1.3;
  }

  .agency-intro-section {
    padding: 50px 0;
  }

  .intro-paragraph {
    font-size: 16px;
    line-height: 1.75;
  }

  .scanner-tool-section {
    padding: 50px 0;
  }

  .scanner-heading {
    font-size: 26px;
    line-height: 1.3;
  }

  .scanner-desc {
    font-size: 16px;
    line-height: 1.7;
  }

  .scanner-input-group {
    flex-direction: column;
    padding: 12px;
    border-radius: var(--radius-md);
    gap: 12px;
  }

  .scanner-input {
    text-align: center;
  }

  .btn-scanner-submit {
    width: 100%;
    justify-content: center;
  }

  .solutions-section {
    padding: 50px 0;
  }

  .solutions-heading {
    font-size: 26px;
    line-height: 1.3;
  }

  .solutions-desc {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .solution-card {
    padding: 26px 20px;
  }

  .solutions-all-btn {
    width: 100%;
    justify-content: center;
  }

  .why-choose-section {
    padding: 50px 0;
  }

  .why-heading {
    font-size: 26px;
    line-height: 1.3;
  }

  .why-desc {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .why-card-body {
    padding: 22px 18px;
  }

  .why-bottom-card {
    padding: 18px 20px;
    margin-top: 35px;
  }

  .why-bottom-text {
    font-size: 15.5px;
  }

  .regional-section {
    padding: 50px 0;
  }

  .regional-showcase-box {
    padding: 28px 18px;
  }

  .regional-heading {
    font-size: 26px;
    line-height: 1.3;
  }

  .regional-desc {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .regional-col-left {
    border-right: none !important;
    padding-right: 0 !important;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

  .regional-col-right {
    padding-left: 0 !important;
  }

  .regional-item-title {
    font-size: 18px;
  }

  .faq-section {
    padding: 50px 0;
  }

  .faq-heading {
    font-size: 26px;
    line-height: 1.3;
  }

  .accordion-button {
    font-size: 16px;
    padding: 16px 18px;
  }

  .accordion-body {
    padding: 16px 18px 20px;
    font-size: 15.5px;
  }

  .brand-title {
    font-size: 18px;
  }

  .hero-banner-section {
    padding: 24px 0 40px;
  }

  .hero-badge-pill {
    font-size: 12px;
    padding: 5px 12px;
  }

  .hero-title {
    font-size: 34px;
    line-height: 1.18;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-main-img {
    height: 280px;
  }

  .badge-verified-metrics {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
  }

  .verified-stats-row {
    width: 100%;
    justify-content: space-between;
  }

  .floating-stat-card {
    display: none; /* Hide floating cards on small screens to avoid clutter */
  }

  .section-title {
    font-size: 29px;
  }

  .insights-heading {
    font-size: 28px;
  }

  .insights-section {
    padding: 55px 0;
  }

  .audit-form .input-group {
    flex-direction: column;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 10px;
  }

  .audit-form .form-control {
    border-radius: var(--radius-pill) !important;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  }

  .btn-audit-submit {
    width: 100%;
  }

  .seo-rich-article {
    padding: 24px 18px;
  }

  .cta-banner-content h2,
  .cta-heading {
    font-size: 28px;
  }

  .cta-banner-section {
    padding: 60px 0;
  }

  .btn-cta-primary {
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }

  /* Inner Page Banner Responsive (Full Width) */
  .inner-page-banner-section {
    padding: 50px 0 55px;
  }

  .inner-banner-title {
    font-size: 30px;
    line-height: 1.28;
  }

  .inner-banner-desc {
    font-size: 16px;
    line-height: 1.6;
  }

  /* About Us 2-Column Responsive */
  .about-content-section {
    padding: 45px 0 60px;
  }

  .about-block {
    padding: 26px 20px;
    border-radius: 14px;
    margin-bottom: 22px;
  }

  .about-section-h2 {
    font-size: 24px;
    line-height: 1.32;
  }

  .about-text {
    font-size: 16px;
  }

  .about-contact-callout {
    flex-direction: column;
    align-items: stretch;
  }

  .about-contact-links {
    width: 100%;
    flex-direction: column;
  }

  .about-contact-btn {
    width: 100%;
    justify-content: center;
  }

  .service-banner-img-wrap {
    margin-top: 25px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Small mobile (<= 420px) */
@media (max-width: 420px) {
  .hero-title {
    font-size: 30px;
  }

  .inner-page-banner-section {
    padding: 42px 0 45px;
  }

  .inner-banner-title {
    font-size: 26px;
  }

  .about-section-h2 {
    font-size: 22px;
  }

  .about-block {
    padding: 22px 16px;
  }
}
