/**
 * Mobile and Tablet Responsive Styles
 * 
 * IMPORTANT: This file ONLY contains mobile/tablet overrides.
 * Desktop styles (992px+) remain untouched in other CSS files.
 * 
 * Breakpoints:
 * - Small Mobile: 0-480px (phones in portrait)
 * - Mobile: 0-767px (all mobile devices, excludes tablets)
 * - Tablet: 768px-991px (tablets only, excludes mobile and desktop)
 * - Desktop: 992px+ (not modified here)
 * 
 * Mobile Queries:
 * - For mobile ONLY (excludes tablets): @media (max-width: 767px)
 * - For small phones specifically: @media (max-width: 480px)
 * - For larger phones (481px-767px): @media (min-width: 481px) and (max-width: 767px)
 */

/* ============================================
   MOBILE STYLES (0-767px)
   ============================================ */

@media (max-width: 767px) {

  /* Global Mobile Fixes */
  body {
    overflow-x: hidden;
  }

  * {
    box-sizing: border-box;
  }

  /* Fix Bootstrap container overflow */
  .container,
  .container-fluid,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
    overflow-x: hidden;
    width: 100% !important;
  }


  /* Fix row overflow - but respect existing gaps */
  .row:not([class*="g-"]) {
    margin-left: -10px;
    margin-right: -10px;
  }

  .row:not([class*="g-"])>* {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Adjust Bootstrap gap utilities for mobile */
  .g-3 {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
  }

  .g-4 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }

  .g-md-3,
  .g-md-4 {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
  }

  /* Prevent text overflow */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  div {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Hero Section - Mobile */
  .hero-section {
    min-height: auto;
    padding: 80px 0 60px;
    background-size: cover;
    background-position: center;
    padding-top: 0;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 20px;
    text-align: center;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    word-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
  }

  .hero-cta-button {
    width: 100%;
    max-width: 280px;
    font-size: 0.95rem;
    padding: 14px 28px;
    min-height: 50px;
    white-space: nowrap;
  }

  /* Services Banners - Mobile */
  .services-banners-section {
    height: 80px;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .services-ticker-wrapper {
    height: 40px;
  }

  .services-ticker-track {
    gap: 15px;
  }

  .services-ticker-track span {
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .service-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 5px;
    margin-top: 0;
  }

  /* Expertise Section - Mobile */
  .expertise-section {
    padding: 2rem 0;
  }

  .expertise-title {
    line-height: 1.3;
    padding: 8px 15px;
  }

  .expertise-description {
    font-size: 0.875rem;
    line-height: 1.6;
    padding: 0 15px;
    margin-bottom: 1.5rem;
  }

  /* Fix grid spacing and card sizing */
  .expertise-section .row {
    margin-left: -8px;
    margin-right: -8px;
  }

  .expertise-section .row>* {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 16px;
  }

  .expertise-card {
    padding: 1.25rem 0.75rem;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .expertise-card .card-title {
    font-size: 0.8rem;
    line-height: 1.25;
    margin-top: 0.5rem;
    word-break: break-word;
    hyphens: auto;
  }

  .expertise-card img,
  .expertise-card svg {
    width: 32px;
    height: 32px;
    max-width: 32px;
    max-height: 32px;
    margin-bottom: 0.5rem;
  }

  .expertise-card .mb-3 {
    margin-bottom: 0.5rem !important;
  }

  /* How We Work Section - Mobile */
  .how-we-work-section {
    padding: 2.5rem 0;
  }

  .how-we-work-title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    padding: 0 15px;
  }

  .how-we-work-description {
    font-size: 0.875rem;
    line-height: 1.6;
    padding: 0 15px;
    margin-bottom: 1.5rem;
  }

  .how-we-work-section .row {
    margin-left: -10px;
    margin-right: -10px;
  }

  .how-we-work-section .row>* {
    padding-left: 10px;
    padding-right: 10px;
  }

  .process-step {
    background: #1f1f1f;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
  }

  .process-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #30A3FF;
    min-width: 30px;
  }

  .process-icon-wrapper {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .process-icon {
    max-width: 24px;
    max-height: 24px;
  }

  .process-step-title {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
  }

  .process-step-description {
    font-size: 0.8rem;
    line-height: 1.5;
    width: 100%;
    color: #9CA3AF;
  }

  .workflow-image-wrapper {
    display: none !important;
  }

  /* Case Studies Section - Mobile */
  .case-studies-stats-section {
    padding: 2rem 0;
  }

  .case-study-carousel-container {
    height: auto;
    /* min-height: 250px; */
  }

  .partners-container.container-md {
    width: 100%;
    max-width: 100%;
  }

  .cta-heading {
    font-size: large;
  }

  .cta-container {
    gap: 0;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.875rem;
  }

  /* Campaigns Section - Mobile */
  .campaigns-section {
    padding: 2.5rem 0;
  }

  .campaigns-title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    padding: 0 15px;
  }

  .campaigns-section .row {
    margin-left: -10px;
    margin-right: -10px;
  }

  .campaigns-section .row>* {
    padding-left: 10px;
    padding-right: 10px;
  }

  .campaign-card {
    margin-bottom: 0rem;
    border-radius: 12px;
    overflow: hidden;
  }

  .campaign-image {
    height: 220px;
    width: 100%;
    object-fit: cover;
  }

  .campaign-title {
    font-size: 0.95rem;
    padding: 0.75rem;
  }

  /* Creative Showcase - Mobile */
  .creative-showcase-section {
    padding: 1rem;
  }

  .showcase-title {
    font-size: 2rem;
    top: 5%;
  }

  .corner-top-left,
  .corner-top-right,
  .corner-bottom-left,
  .corner-bottom-right {
    width: 80px;
    height: 80px;
  }

  /* Designs Slider - Mobile */
  .designs-slider-section {
    padding: 2rem 0;
  }

  .designs-slider-title {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  /* CTA Section - Mobile */
  .cta-section {
    padding: 1.5rem 1rem;
    text-align: center;
    height: auto !important;
    min-height: 249px;
  }

  .cta-container {
    gap: 1rem !important;
  }

  .cta-heading {
    font-size: 2.5rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.5rem !important;
    text-align: center !important;
  }

  .cta-description {
    font-size: 1rem !important;
    margin: 1rem 0 !important;
    text-align: center !important;
    line-height: 1.5 !important;
  }

  .cta-button-wrapper {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .cta-button {
    width: 100% !important;
    max-width: 257px !important;
    font-size: 0.875rem !important;
    padding: 7px 20px !important;
    white-space: normal !important;
    height: auto !important;
    min-height: 50px !important;
  }

  .cta-icon {
    width: 32px !important;
    height: 32px !important;
  }

  /* Testimonials Section - Mobile */
  .testimonials-section {
    padding: 1rem 0px;
  }

  .testimonial-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .testimonial-text {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .testimonial-author {
    font-size: 0.875rem;
  }

  /* Partners Section - Mobile */
  .partners-section {
    padding: 2rem 0;
  }

  .partner-logo {
    max-width: 80px;
    height: auto;
  }

  /* Contact Section - Mobile */
  .contact-section {
    padding: 2rem 1rem;
  }

  .contact-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.9rem;
    padding: 10px 15px;
  }

  /* Footer - Mobile */
  .site-footer {
    padding: 2rem 1rem;
    text-align: center;
  }

  .footer-column {
    margin-bottom: 2rem;
  }

  .footer-title {
    margin-bottom: 0;
    font-size: 1.4rem;
    font-weight: 700;
  }

  .footer-link {
    font-size: 0.875rem;
    padding: 0.5rem 0;
  }

  .region-footer #block-footer-contact-info {
    max-width: calc(50% - -110px);
    text-align: left;
  }

  .region-footer #block-footer-cta {
    max-width: calc(100% - 24px);
    text-align: left;
  }


  /* Additional Container Fixes */
  section {
    overflow-x: hidden;
  }

  /* Hide desktop-only elements */
  .d-none-mobile {
    display: none !important;
  }

  /* Typography Mobile */
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  h4 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.875rem;
  }

  .hero-cta-btn {
    padding: 12px 15px;
  }

  .campaigns-indicators {
    margin-top: 0 !important;
  }

  .contact-section .row {
    max-width: 100%;
  }

  /* SEO Banner - Mobile Only (max-width: 767px) */
  /* Page-specific banner heights based on content */

  /* SEO Page - More content (with bullet points) */
  body.page-node-2 .paragraph--cubix_banner .banner-background-seo {
    height: auto !important;
    min-height: 655px !important;
  }

  /* Digital Marketing Page - Less content */
  body.page-node-3 .paragraph--cubix_banner .banner-background-seo {
    height: auto !important;
    min-height: 475px !important;
  }

  /* PPC Services Page - More content (with bullet points) */
  body.page-node-5 .paragraph--cubix_banner .banner-background-seo {
    height: auto !important;
    min-height: 520px !important;
    /* Reduced from 670px - was too tall */
  }

  /* Default for other pages using this banner */
  .paragraph--cubix_banner .banner-background-seo {
    height: auto !important;
    min-height: 650px !important;
  }

  .paragraph--cubix_banner .banner-content {
    width: 95% !important;
    top: 1% !important;
    transform: none !important;
    padding-bottom: 3rem !important;
  }

  .paragraph--cubix_banner .field--name-field-title {
    font-size: 1.5rem !important;
    line-height: 1.8rem !important;
    margin-bottom: 1rem !important;
  }

  .paragraph--cubix_banner .field--name-field-description {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.2rem !important;
  }

  .paragraph--cubix_banner .field--name-field-title-key-values {
    font-size: 1.1rem !important;
    margin-bottom: 0.8rem !important;
  }

  .paragraph--cubix_banner .field--name-field-item .field__item {
    font-size: 0.9rem !important;
    padding-left: 1.5rem !important;
    margin-bottom: 0.6rem !important;
  }

  .paragraph--cubix_banner .field--name-field-cta-general {
    font-size: 0.95rem !important;
    padding: 0.7rem 1.5rem !important;
    display: block !important;
    text-align: center !important;
    max-width: 280px !important;
  }

  /* SEO Page - Grid Layout Section Headings - Mobile */
  .paragraph--grid_layout_card .field--name-field-heading {
    font-size: 1.75rem !important;
    width: 95% !important;
    line-height: 2rem !important;
  }

  .paragraph--grid_layout_card .field--name-field-summery {
    font-size: 0.95rem !important;
    line-height: 1.4rem !important;
    width: 90% !important;
    margin-bottom: 3rem !important;
  }

  .paragraph--grid_layout_card .field--name-field-title-grid {
    font-size: 1.2rem !important;
    line-height: 1.6rem !important;
  }

  .paragraph--grid_layout_card .field--name-field-description-grid p {
    font-size: 0.9rem !important;
    line-height: 1.4rem !important;
  }

  /* SEO Page - Process Highlights Section - Mobile */
  .paragraph--process_highlights_section {
    padding: 2.5rem 1rem !important;
  }

  .paragraph--process_highlights_section .field--name-field-bullet-heading {
    font-size: 1.3rem !important;
    line-height: 1.6rem !important;
    margin-bottom: 1.5rem !important;
  }

  /* Make labels and descriptions stack vertically on mobile for better alignment */
  .paragraph--process_highlights_section .field--name-field-label {
    display: block !important;
    font-size: 1rem !important;
    line-height: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.25rem !important;
  }

  .paragraph--process_highlights_section .field--name-field-short-description {
    display: block !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-left: 0 !important;
    margin-top: 0.25rem !important;
  }

  .paragraph--process_highlights_section .field--name-field-item-lb-ds .field__items>.field__item+.field__item {
    margin-top: 1.2rem !important;
  }

  .paragraph--process_highlights_section .paragraph--label_description::before {
    margin-right: 15px !important;
    margin-top: 0.35rem !important;
  }

  .paragraph--process_highlights_section .paragraph--label_description {
    align-items: flex-start !important;
    flex-wrap: wrap;
  }

  /* PPC Services Banner with Webform - Mobile Fix */
  .paragraph--cubix_banner_webform {
    position: relative !important;
    display: block !important;
    overflow: visible !important;
  }

  .paragraph--cubix_banner_webform .field--name-field-webform {
    position: relative !important;
    top: unset !important;
    right: unset !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 1rem !important;
    /* Reduced from 2rem */
    margin-bottom: 0 !important;
    z-index: 1 !important;
  }

  .paragraph--cubix_banner_webform .banner-content {
    position: relative !important;
    z-index: 2 !important;
    left: unset !important;
    width: 85% !important;
    /* Reduced from 90% for better spacing */
    max-width: 90% !important;
    margin: 0 auto !important;
    padding: 1.5rem 1rem 1rem !important;
    /* Reduced padding */
    top: 0 !important;
  }

  /* Adjust heading size for PPC banner */
  .paragraph--cubix_banner_webform .banner-content .field--name-field-title {
    font-size: 1.75rem !important;
    /* Reduced for mobile */
    line-height: 2rem !important;
    margin-bottom: 1rem !important;
  }

  /* Adjust description text */
  .paragraph--cubix_banner_webform .banner-content .field--name-field-description {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }

  .paragraph--cubix_banner_webform .field--name-field-webform #block-webform {
    margin: 0 auto 1rem !important;
    /* Added bottom margin */
    max-width: 90% !important;
  }

  .paragraph--cubix_banner_webform .field--name-field-webform .webform-submission-form {
    height: auto !important;
    max-height: none !important;
    padding: 1.5rem 1rem !important;
    /* Tighter padding */
  }

  /* PPC Webform Banner - Full Background Coverage */
  .paragraph--cubix_banner_webform .banner-background-seo {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    z-index: 0 !important;
  }

  .paragraph--cubix_banner_webform .banner-background-seo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    filter: brightness(0.5) !important;
  }

  /* Lighten the overlay to show background image */
  .paragraph--cubix_banner_webform .banner-background-seo::after {
    background: rgba(0, 0, 0, 0.3) !important;
  }

  /* Reduce spacing in content elements */
  .paragraph--cubix_banner_webform .banner-content .field--name-field-description {
    margin-bottom: 1rem !important;
  }

  .paragraph--cubix_banner_webform .banner-content .field--name-field-title-key-values {
    margin-bottom: 0.8rem !important;
  }

  .paragraph--cubix_banner_webform .banner-content .field--name-field-item {
    margin-bottom: 1rem !important;
  }

  .footer-cta-heading {
    font-size: 16px;
  }

  .service-card-collapsible .services-button-nu {
    padding-right: 2rem;
  }

  /* Responsive reCAPTCHA Fix for small screens */
  @media (max-width: 400px) {

    .captcha,
    .g-recaptcha,
    .form-item-captcha-response,
    .rc-anchor-normal {
      transform: scale(0.85);
      -webkit-transform: scale(0.85);
      transform-origin: 0 0;
      -webkit-transform-origin: 0 0;
      max-width: 100%;
    }
  }
}

/* ============================================
   TABLET STYLES (768px-991px)
   ============================================ */
@media (max-width: 1024px) {
  .nav-link {
    font-size: 14px;
    gap: 0;
  }

  .navbar-menu {
    gap: 12px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {

  /* Hero Section - Tablet */
  .hero-section {
    /* min-height: 70vh; */
    padding: 80px 0;
    padding-top: 10px;
    padding-bottom: 0;
  }

  .hero-content {
    max-width: 80%;
    margin: 0 auto;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-cta-wrapper {
    justify-content: center;
    gap: 1.5rem;
  }

  /* SEO Banner - Tablet (768px-991px) */
  /* Page-specific banner heights based on content */

  /* SEO Page - More content (with bullet points) */
  body.page-node-2 .paragraph--cubix_banner .banner-background-seo {
    height: auto !important;
    min-height: 420px !important;
    /* Reduced from 620px */
  }

  /* Digital Marketing Page - Less content */
  body.page-node-3 .paragraph--cubix_banner .banner-background-seo {
    height: auto !important;
    min-height: 350px !important;
    /* Reduced from 500px */
  }

  /* PPC Services Page - More content (with bullet points) */
  body.page-node-5 .paragraph--cubix_banner .banner-background-seo {
    height: auto !important;
    min-height: 440px !important;
  }

  /* Default for other pages using this banner */
  .paragraph--cubix_banner .banner-background-seo {
    height: auto !important;
    min-height: 400px !important;
    /* Reduced from 570px */
  }

  .paragraph--cubix_banner .banner-content {
    width: 85% !important;
    top: 1% !important;
    padding-bottom: 2.5rem !important;
  }

  .paragraph--cubix_banner .field--name-field-title {
    font-size: 2rem !important;
    line-height: 2.3rem !important;
    margin-bottom: 1.2rem !important;
  }

  .paragraph--cubix_banner .field--name-field-description {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
  }

  .paragraph--cubix_banner .field--name-field-title-key-values {
    font-size: 1.3rem !important;
    margin-bottom: 1rem !important;
  }

  .paragraph--cubix_banner .field--name-field-item .field__item {
    font-size: 1rem !important;
    padding-left: 1.7rem !important;
    margin-bottom: 0.7rem !important;
  }

  .paragraph--cubix_banner .field--name-field-cta-general {
    font-size: 1.05rem !important;
    padding: 0.75rem 1.8rem !important;
  }

  /* SEO Page - Process Highlights Section - Tablet */
  .paragraph--process_highlights_section {
    padding: 3.5rem 1.5rem !important;
  }

  .paragraph--process_highlights_section .field--name-field-bullet-heading {
    font-size: 1.8rem !important;
    line-height: 2.2rem !important;
  }

  .paragraph--process_highlights_section .field--name-field-label {
    font-size: 1.05rem !important;
    line-height: 1.65rem !important;
  }

  .paragraph--process_highlights_section .field--name-field-short-description {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }

  .paragraph--process_highlights_section .field--name-field-item-lb-ds .field__items>.field__item+.field__item {
    margin-top: 1.2rem !important;
  }

  /* SEO Page - Grid Layout Section Headings - Tablet */
  .paragraph--grid_layout_card .field--name-field-heading {
    font-size: 2.5rem !important;
  }

  .paragraph--grid_layout_card .field--name-field-summery {
    font-size: 1.1rem !important;
    line-height: 1.6rem !important;
  }

  .paragraph--cubix_banner_webform {
    display: block;
    position: relative;
    text-align: center;
    padding: 3rem 0;
    height: auto;
    text-align: left;
  }

  .paragraph--cubix_banner_webform .field--name-field-webform {
    position: relative;
    top: auto;
    right: auto;
    width: 80%;
    margin: 2rem auto 0;
    z-index: 2;
    max-width: 600px;
  }

  .paragraph--cubix_banner_webform .banner-content {
    position: relative;
    left: auto;
    width: 90%;
    margin: 0 auto;
    max-width: 720px;
    padding: 0;
  }

  .paragraph--cubix_banner_webform .banner-background-seo {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .webform-submission-form label {
    padding-left: 10px;
  }

  .paragraph--get_in_touch {
    margin: 0 auto;
  }

  .paragraph--grid_layout_card {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .paragraph--why_7_kings_banner {
    padding: 38px 0vw;
  }

  .paragraph--grid_layout_card .field--name-field-title-grid {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .paragraph--grid_layout_card .field--name-field-description-grid p {
    font-size: 0.95rem;
  }

  /* Expertise Section - Tablet */
  .expertise-section {
    padding: 3rem 0;
  }

  .expertise-title {
    font-size: 2.5rem;
  }

  .expertise-card {
    padding: 2rem 1.5rem;
    min-height: 180px;
  }

  .expertise-card .card-title {
    font-size: 1rem;
  }

  .expertise-card img,
  .expertise-card svg {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
  }

  /* How We Work - Tablet */
  .how-we-work-section {
    padding: 3rem 0;
  }

  .how-we-work-title {
    font-size: 2.5rem;
  }

  .process-step {
    padding: 1.5rem;
  }

  .process-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }

  .process-icon {
    max-width: 24px;
    max-height: 24px;
  }

  .process-step-title {
    font-size: 1.125rem;
  }

  .process-step-description {
    font-size: 0.875rem;
    width: 95%;
  }

  /* Campaigns - Tablet */
  .campaigns-section {
    padding: 3rem 0;
  }

  .campaigns-title {
    font-size: 2.75rem;
  }

  .campaign-image {
    height: 250px;
  }

  /* Case Studies - Tablet */
  .case-studies-stats-section {
    padding: 3rem 0;
  }

  .case-study-carousel-container {
    /* height: 280px; */
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 1.125rem;
  }

  /* Creative Showcase - Tablet */
  .creative-showcase-section {
    padding: 2rem;
  }

  .showcase-title {
    font-size: 3.5rem;
  }

  .corner-top-left,
  .corner-top-right,
  .corner-bottom-left,
  .corner-bottom-right {
    width: 120px;
    height: 120px;
  }

  /* Designs Slider - Tablet */
  .designs-slider-title {
    font-size: 2.5rem;
  }

  .cta-section {
    padding: 3rem 2rem;
    height: 280px;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .testimonials-section {
    padding: 3rem 0;
    margin-bottom: 0;
  }

  .cta-section-wrapper .testimonial-card {
    padding: 2rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .cta-section-wrapper {
    margin-bottom: 0;
  }

  .paragraph--static_banner_dark_bule {
    padding: 0 0 2rem 0rem;
  }

  .paragraph--get_in_touch_v2 .field--name-field-top-image .field__item img {
    max-width: 80px;
  }

  .region-footer #block-footer-copyright {
    margin-top: 0;
  }

  .footer-copyright {
    margin: 0;
  }

  .paragraph--faq_s {
    padding-bottom: 3rem;
  }

  .navbar-logo-img {
    height: 48px;
    max-width: 180px;
  }

  .site-navbar {
    padding: 1rem 2rem;
    padding-right: 0;
  }

  /* Container - Tablet */
  .container-xxl,
  .container-xl,
  .container-lg {
    max-width: 750px;
  }

  /* Typography - Tablet */
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.25rem;
  }

  p {
    font-size: 1rem;
  }

  .paragraph--grid_layout_card .field--name-field-phone-number a {
    padding-left: 2rem;
  }

  .cta-heading {
    font-size: 3rem;
  }

  .cta-section-wrapper .cta-content-wrapper p {
    font-size: 1rem;
  }

  .cta-button {
    font-size: x-small;
  }

  .hide-tablet {
    display: none !important;
  }

  .show-tablet {
    display: block !important;
  }

  .contact-section .row {
    width: 100%;
  }

  .expert-bottom-sec {
    margin-top: 1rem !important;
  }

  .expert-section-ini {
    margin: auto !important;
  }

  .designs-slider-section {
    margin-top: 0rem;
  }

  .captcha,
  .g-recaptcha,
  .form-item-captcha-response,
  .rc-anchor-normal {
    transform: scale(0.85);
    -webkit-transform: scale(0.85);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .hide-desktop {
    display: none !important;
  }

  .show-mobile,
  .show-tablet {
    display: none !important;
  }
}

/* Touch-friendly sizing for mobile */
@media (max-width: 767px) {

  button,
  .btn,
  a.button,
  input[type="submit"] {
    min-height: 10px;
    min-width: 10px;
  }

  /* Increase tap targets */
  .nav-link,
  .dropdown-item {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hide-mobile {
    display: none !important;
  }

  .show-mobile {
    display: block !important;
  }

  .paragraph--grid_layout_card .field--name-field-grid .field__item {
    flex-basis: 75%;
  }

  .footer-copyright {
    margin-top: 0;
  }

  .region-footer #block-footer-copyright {
    margin-top: 0;
  }

  .paragraph--grid_layout_card {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .paragraph--static_banner_dark_bule .field--name-field-title-bl-bk {
    font-size: larger;
  }

  .paragraph--static_banner_dark_bule .field--name-field-description-bl-bk p {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .paragraph--get_in_touch {
    margin: 0px auto;
  }

  .paragraph--why_7_kings_banner .field--name-field-description-7kc p {
    width: 90%;
  }

  .paragraph--why_7_kings_banner {
    padding-bottom: 20px;
    padding-top: 34px;
  }

  .paragraph--grid_layout_card .paragraph--grid_boxes_layout {
    min-height: 31rem;
  }

  .paragraph--grid_layout_card .field--name-field-description-grid p {
    min-height: 7rem;
  }

  .paragraph--faq_s {
    padding-top: 0;
  }

  .captcha-type-challenge--recaptcha .captcha__element {
    overflow: hidden;
    display: block;
  }

  .contact-form-cu {
    padding: 0 !important;
  }

  .rc-anchor-normal .rc-anchor-content {
    width: 70px !important;
  }

  .expert-bottom-sec {
    margin-top: 1rem !important;
  }

  .expert-section-ini {
    margin: auto !important;
  }

  .captcha,
  .g-recaptcha,
  .form-item-captcha-response,
  .rc-anchor-normal {
    transform: scale(0.85);
    -webkit-transform: scale(0.85);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    max-width: 100%;
  }

  .paragraph--grid_layout_card .field--name-field-phone-number a {
    padding-left: 2rem;
  }

  .paragraph--cubix_banner .field--name-field-title {
    padding-top: 30px;
  }
}

/* Custom breakpoints for Campaigns Carousel */
/* Show 2 items per row between 500px and 767px */
@media (min-width: 500px) and (max-width: 768px) {
  .campaigns-section .campaign-item-col {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }


}

@media (min-width: 548px) and (max-width: 766px) {
  .paragraph--grid_layout_card .field--name-field-grid .field--name-field-upload-image-icon {
    width: 26%;
  }

}