/* Facefood Home 2 — extracted from Elementor HTML widgets (style tags stripped by Elementor on frontend) */

@import url("https://fonts.googleapis.com/css2?family=Kanit:wght@500;700&family=Montserrat:wght@600;700&family=Playball&display=swap");

700&family=Montserrat:wght@600;700&family=Playball&display=swap');

  /* Container: Zero Margin & Full Width */
  .simple-hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    margin: 0;
    padding: 0;
    background-color: #0b0b0b;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    box-sizing: border-box;
  }

  /* Slide Item Wrapper */
  .slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align content to LEFT */
    padding-left: 8%; /* Clean left offset */
    box-sizing: border-box;
    z-index: 1;
  }

  .slide-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
  }

  /* Overlay for readability */
  .slide-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    z-index: 1;
  }

  .slide-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
    text-align: left; /* Left align text */
  }

  /* Text Entrance Animation */
  .slide-item .slide-subtitle,
  .slide-item .slide-title,
  .slide-item .slide-price-wrapper,
  .slide-item .slide-description,
  .slide-item .btn-order {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
  }

  .slide-item.active .slide-subtitle     { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
  .slide-item.active .slide-title        { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
  .slide-item.active .slide-price-wrapper{ opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
  .slide-item.active .slide-description  { opacity: 1; transform: translateY(0); transition-delay: 0.65s; }
  .slide-item.active .btn-order        { opacity: 1; transform: translateY(0); transition-delay: 0.8s; }

  /* Typography Settings */
  .slide-subtitle {
    font-family: 'Playball', cursive;
    color: #388cb6;
    font-size: 38px;
    font-weight: 500;
    line-height: 46px;
    margin-bottom: 5px;
  }

  .slide-title {
    font-family: 'Kanit', sans-serif;
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    margin-bottom: 12px;
  }

  .slide-price-wrapper {
    font-family: 'Montserrat', sans-serif;
    color: #388cb6;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    gap: 10px;
  }

  .slide-price-tag {
    font-size: 16px;
    letter-spacing: 0px;
  }

  .slide-price-amount {
    font-size: 32px;
  }

  .slide-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: #dddddd;
    margin-bottom: 25px;
  }

  .btn-order {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background-color: #388cb6;
    color: #000000;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    font-size: 13px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
  }

  .btn-order:hover {
    background-color: #ffffff;
    color: #000000;
  }

  /* Minimal Navigation Buttons */
  .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
  }

  .nav-btn:hover {
    background: #fec600;
    border-color: #fec600;
    color: #000;
  }

  .prev-btn { left: 15px; }
  .next-btn { right: 15px; }

  /* Fully Responsive Breakpoints */
  @media (max-width: 1024px) {
    .simple-hero-slider { height: 500px; }
    .slide-subtitle { font-size: 32px; }
    .slide-title { font-size: 38px; line-height: 44px; }
    .slide-price-amount { font-size: 28px; }
  }

  @media (max-width: 768px) {
    .simple-hero-slider { height: 420px; }
    .slide-item { padding-left: 5%; padding-right: 5%; }
    .slide-title { font-size: 28px; line-height: 34px; }
    .slide-subtitle { font-size: 26px; }
    .slide-description { font-size: 12px; line-height: 18px; margin-bottom: 15px; }
    .nav-btn { width: 34px; height: 34px; font-size: 13px; }
  }

  @media (max-width: 480px) {
    .simple-hero-slider { height: 380px; }
    .slide-title { font-size: 22px; line-height: 28px; }
    .slide-price-wrapper { flex-direction: column; gap: 2px; }
    .slide-description { display: none; } /* Hide description on mobile for clean look */
  }

/* Outer Wrapper for Full Center Positioning */
  .category-grid-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    box-sizing: border-box;
  }

  /* Inner Grid Container */
  .category-grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px; /* Spacing between items */
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
  }

  /* Individual Category Card */
  .category-grid-container .category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 1 calc(25% - 25px); /* Exactly 4 items per row */
    max-width: 220px;
    text-align: center;
    transition: transform 0.3s ease;
  }

  .category-grid-container .category-item:hover {
    transform: translateY(-5px);
  }

  /* Image Container Styling */
  .category-grid-container .img-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
  }

  .category-grid-container .img-box img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* Typography */
  .category-grid-container .category-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 8px 0 0 0;
    text-align: center;
    text-transform: uppercase;
  }

  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .category-grid-container {
      gap: 15px;
    }
    .category-grid-container .category-item {
      flex: 0 1 calc(50% - 15px); /* 2 items per row on tablet/mobile */
      max-width: 180px;
    }
    .category-grid-container .category-item h3 {
      font-size: 15px;
    }
  }

  @media (max-width: 380px) {
    .category-grid-container .category-item {
      flex: 0 1 100%; /* Single column on very small screens */
      max-width: 200px;
    }
  }

/* Base Layout Styling */
  .custom-timer-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-family: 'Montserrat', sans-serif;
    padding: 20px 10px;
  }

  /* Timer Box Block */
  .custom-timer-wrapper .timer-box {
    background-color: #0d0d0d;
    border: 2px solid #388cb6;
    border-radius: 10px;
    padding: 15px 20px;
    min-width: 75px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(56, 140, 182, 0.2);
    transition: transform 0.2s ease;
  }

  .custom-timer-wrapper .timer-box:hover {
    transform: translateY(-3px);
  }

  /* Timer Digits Styling */
  .custom-timer-wrapper .timer-box span {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #388cb6;
    line-height: 1;
  }

  /* Subtitle Text */
  .custom-timer-wrapper .timer-box p {
    margin: 8px 0 0 0;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  /* Responsive Fix for Mobile */
  @media (max-width: 480px) {
    .custom-timer-wrapper {
      gap: 8px;
    }
    .custom-timer-wrapper .timer-box {
      padding: 10px 8px;
      min-width: 55px;
    }
    .custom-timer-wrapper .timer-box span {
      font-size: 24px;
    }
    .custom-timer-wrapper .timer-box p {
      font-size: 10px;
    }
  }

/* Outer Section - Pure White Background */
  .features-section-wrapper {
    width: 100%;
    background-color: #ffffff;
    padding: 50px 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
  }

  /* Container: 4 Columns Flex Layout */
  .features-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
  }

  /* Individual Column / Card */
  .features-container .feature-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 25px;
    box-sizing: border-box;
    border-right: 1px solid #eeeeee; /* Light vertical divider like image */
    transition: transform 0.3s ease;
  }

  /* Last Column Borders Remove */
  .features-container .feature-card:last-child {
    border-right: none;
  }

  /* Icon Container */
  .features-container .feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
  }

  /* Heading Typography */
  .features-container .feature-title {
    color: #111111;
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 24px;
  }

  /* Paragraph Typography */
  .features-container .feature-desc {
    color: #666666;
    font-size: 13.5px;
    line-height: 22px;
    margin: 0;
    max-width: 260px;
  }

  /* Responsive Breakpoints */
  @media (max-width: 1024px) {
    .features-container {
      flex-wrap: wrap;
    }
    .features-container .feature-card {
      flex: 0 0 50%; /* 2x2 Grid on Tablet */
      border-right: none;
      border-bottom: 1px solid #eeeeee;
      padding: 30px 20px;
    }
    .features-container .feature-card:nth-child(2) {
      border-right: none;
    }
  }

  @media (max-width: 600px) {
    .features-container .feature-card {
      flex: 0 0 100%; /* Single column on mobile */
      border-right: none;
      border-bottom: 1px solid #eeeeee;
    }
    .features-container .feature-card:last-child {
      border-bottom: none;
    }
  }

/* Outer Main Wrapper */
  .review-testimonial-slider {
    position: relative;
    width: 100%;
    background-color: #fff; /* Image exact warm white background */
    padding: 60px 20px 40px 20px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    overflow: hidden;
  }

  /* Slide Items Positioning */
  .review-testimonial-slider .review-slide {
    display: none;
    max-width: 850px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  }

  .review-testimonial-slider .review-slide.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  /* Star Ratings */
  .review-testimonial-slider .review-stars {
    color: #fec600; /* Yellow star rating color */
    font-size: 24px;
    letter-spacing: 4px;
    margin-bottom: 25px;
  }

  /* Review Quote Text */
  .review-testimonial-slider .review-text {
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 600;
    line-height: 32px;
    margin: 0 auto 30px auto;
    max-width: 800px;
  }

  /* Author & Role Typography */
  .review-testimonial-slider .review-author {
    color: #0b0b0b;
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 5px 0;
    font-family: 'Kanit', sans-serif;
    letter-spacing: 0.3px;
  }

  .review-testimonial-slider .review-role {
    color: #777777;
    font-size: 15px;
    font-weight: 500;
    display: block;
    margin-bottom: 30px;
  }

  /* Pagination Dots */
  .review-testimonial-slider .review-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
  }

  .review-testimonial-slider .dot {
    width: 8px;
    height: 8px;
    background-color: #555555;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .review-testimonial-slider .dot.active {
    background-color: #388cb6; /* Primary Accent Color */
    width: 10px;
    height: 10px;
  }

  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .review-testimonial-slider {
      padding: 40px 15px 30px 15px;
    }
    .review-testimonial-slider .review-text {
      font-size: 16px;
      line-height: 26px;
    }
    .review-testimonial-slider .review-stars {
      font-size: 20px;
      margin-bottom: 18px;
    }
    .review-testimonial-slider .review-author {
      font-size: 18px;
    }
  }

/* Main Section Container with Background Image */
  .cta-section-wrapper {
    width: 100%;
    /* Apni Background Image Ka URL Yahan Replace Karein */
    background-image: url('https://facefood.cafe/wp-content/uploads/2026/08/ff-cta.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll; /* Clean mobile behavior */
    border-top: 3px solid #388cb6;
    border-bottom: 3px solid #388cb6;
    padding: 80px 20px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
  }

  /* Dark Overlay Mask for Better Contrast */
  .cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 11, 11, 0.92) 0%, rgba(11, 11, 11, 0.75) 60%, rgba(11, 11, 11, 0.85) 100%);
    z-index: 1;
  }

  /* Content Alignment & Layout */
  .cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2; /* Sits above overlay */
  }

  /* Text Wrapper */
  .cta-content {
    max-width: 700px;
  }

  .cta-subtitle {
    color: #388cb6;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
  }

  .cta-title {
    color: #ffffff;
    font-size: 38px;
    font-weight: 800;
    line-height: 46px;
    margin: 0 0 14px 0;
    font-family: 'Kanit', sans-serif;
  }

  .cta-description {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 24px;
    margin: 0;
  }

  /* Action Buttons Group */
  .cta-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
  }

  .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
  }

  /* Primary Accent Button */
  .cta-btn-primary {
    background-color: #388cb6;
    color: #ffffff;
    border: 2px solid #388cb6;
    box-shadow: 0 4px 15px rgba(56, 140, 182, 0.4);
  }

  .cta-btn-primary:hover {
    background-color: #2c7295;
    border-color: #2c7295;
    transform: translateY(-2px);
  }

  /* Secondary Outline Button */
  .cta-btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid #ffffff;
    backdrop-filter: blur(4px);
  }

  .cta-btn-secondary:hover {
    background-color: #ffffff;
    color: #0d0d0d;
    transform: translateY(-2px);
  }

  /* Responsive Adjustments */
  @media (max-width: 991px) {
    .cta-section-wrapper {
      padding: 60px 20px;
    }
    .cta-overlay {
      background: rgba(11, 11, 11, 0.88); /* Centered dark overlay on tablets */
    }
    .cta-container {
      flex-direction: column;
      text-align: center;
    }
    .cta-title {
      font-size: 30px;
      line-height: 38px;
    }
    .cta-actions {
      justify-content: center;
      width: 100%;
    }
  }

  @media (max-width: 480px) {
    .cta-section-wrapper {
      padding: 50px 15px;
    }
    .cta-title {
      font-size: 24px;
      line-height: 32px;
    }
    .cta-actions {
      flex-direction: column;
      width: 100%;
    }
    .cta-btn {
      width: 100%;
      box-sizing: border-box;
    }
  }

