
/* ========================================
   Food Delivery App Development Services
======================================== */

.food-services-section {
    position: relative;
    padding: 50px 0 ; 
    color: #17213b;
    font-family: lato, sans-serif;
}
 
/* Section introduction */

.food-services-intro {
    max-width: 940px;
    margin: 0 auto 48px;
}

.food-services-accent {
    display: block;
    width: 58px;
    height: 5px;
    margin: 0 auto 22px;
    border-radius: 10px;
    background: #f23436;
}

.food-services-intro h2 {
    margin: 0 0 24px;
    color: #101a35;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    letter-spacing: -0.7px;
}

.food-services-intro p {
    margin: 0 0 14px;
    color: #536985;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}

.food-services-intro p:last-child {
    margin-bottom: 0;
}

.food-services-intro strong {
    color: #3c4c65;
    font-weight: 600;
}

/* Services grid */

.food-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    padding-top: 30px;
}

/* Individual service card */

.food-service-card {
    min-width: 0;
    padding: 28px;
    border: 1px solid #ffd9dc;
    border-radius: 12px;
    background: #ffffff;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.food-service-card:hover {
    border-color: #f7a6ac;
    box-shadow: 0 10px 30px rgba(242, 52, 54, 0.07);
    transform: translateY(-3px);
}



.food-service-card-header{ 
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

/* Icon */

.food-service-icon {
    display: flex;
    flex: 0 0 60px;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff0f1;
    color: #f23436;
}

.food-service-icon svg {
    display: block;
    width: 40px;
    height: 40px;
}

/* Card content */

.food-service-content {
    flex: 1;
    min-width: 0;
}

.food-service-card-header h3 {
    margin: 2px 0;
    color: #101a35;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4; 
    flex:1
}

.food-service-content p {
    margin: 0 0 10px;
    color: #333;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0.1px;
}

.food-service-content p:last-child {
    margin-bottom: 0;
}

.food-service-content strong {
    color: #3c4c65;
    font-weight: 600;
}

/* Feature list */

.food-service-content ul {
    margin: 10px 0 14px;
    padding: 0;
    list-style: none;
}

.food-service-content li {
    position: relative;
    margin-bottom: 7px;
    padding-left: 22px;
    color: #333;
    font-size: 15.5px;
    line-height: 1.55;
}

.food-service-content li:last-child {
    margin-bottom: 0;
}

.food-service-content li::before {
    position: absolute;
    top: 9px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f23436;
    content: "";
}

/* ========================================
   Tablet
======================================== */

@media (max-width: 991px) {
    .food-services-section {
        padding: 50px 0;
    }

    .food-services-container {
        padding: 0 20px;
    }

    .food-services-intro {
        margin-bottom: 36px;
    }

    .food-services-grid {
        gap: 18px;
    }

    .food-service-card {
        gap: 18px;
        padding: 22px;
    }

    .food-service-icon {
        flex-basis: 60px;
        width: 60px;
        height: 60px;
    }

    .food-service-icon svg {
        width: 34px;
        height: 34px;
    }

    .food-service-content h3 {
        margin-top: 3px;
        font-size: 18px;
    }

    .food-service-content p,
    .food-service-content li {
        font-size: 14px;
    }
}

/* ========================================
   Mobile
======================================== */

@media (max-width: 767px) {
    .food-services-section {
        padding: 45px 0 50px; 
    }

    .food-services-container {
        padding: 0 16px;
    }

    .food-services-intro {
        margin-bottom: 28px;
    }

    .food-services-accent {
        width: 48px;
        height: 4px;
        margin-bottom: 16px;
    }

    .food-services-intro h2 {
        margin-bottom: 18px;
        font-size: 27px;
        line-height: 1.35;
        letter-spacing: -0.4px;
    }

    .food-services-intro p {
        margin-bottom: 12px;
        font-size: 15px;
        line-height: 1.7;
    }

    .food-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .food-service-card {
        gap: 16px;
        padding: 20px 18px;
        border-radius: 10px;
    }

    .food-service-icon {
        flex-basis: 52px;
        width: 50px;
        height: 50px;
    }

    .food-service-icon svg {
        width: 29px;
        height: 29px;
    }

    .food-service-content h3 {
        margin: 2px 0 10px;
        font-size: 18px;
        line-height: 1.45;
    }

    .food-service-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .food-service-content li {
        padding-left: 18px;
        font-size: 15px;
    }
}

/* Small mobile screens */

@media (max-width: 420px) {
    .food-service-card {
        flex-direction: column;
        gap: 14px;
        padding: 20px;
    }

    .food-service-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }

    .food-service-content h3 {
        margin-top: 0;
    }

    .food-services-intro h2 {
        font-size: 25px;
    }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
    .food-service-card {
        transition: none;
    }

    .food-service-card:hover {
        transform: none;
    }
}







/* Main Section */
#food-delivery-development-process {
  position: relative;
  padding: 50px 0;
  background: #fff;
  overflow: hidden;
} 

/* Three Column Grid */
.food-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* Individual Cards */
.food-process-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 25px;
  background: linear-gradient(145deg, #fffafa 0%, #fff4f6 100%);
  border: 1px solid #f8dce2;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  isolation: isolate;
}

.food-process-card:hover {
  transform: translateY(-5px);
  border-color: #f1a8b5;
  box-shadow: 0 12px 30px rgba(220, 30, 55, 0.08);
}

/* Card Header */
.food-process-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.process-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ed1c32;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 5px 12px rgba(237, 28, 50, 0.15);
}

.food-process-card-header h3 {
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  color: #171717;
  margin: 0;
}

/* Card Content */
.food-process-content {
  position: relative;
  z-index: 2;
}

.food-process-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #353535;
  margin: 0 0 10px;
}

.food-process-content p:last-child {
  margin-bottom: 0;
}

.food-process-content ul {
  padding-left: 20px;
  margin: 8px 0 15px;
}

.food-process-content ul li {
  font-size: 15px;
  line-height: 1.65;
  color: #353535;
  padding-left: 3px;
  margin-bottom: 3px;
}

.food-process-content ul li::marker {
  color: #ed1c32;
}

.food-process-content strong {
  color: #222;
  font-weight: 700;
}

/* Subtle Decorative Background */
.process-card-decoration {
  position: absolute;
  right: -35px;
  bottom: -55px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(237, 28, 50, 0.045);
  z-index: 0;
  pointer-events: none;
}

.process-card-decoration .decoration-circle {
  position: absolute;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(237, 28, 50, 0.10);
  border-radius: 50%;
  top: 25px;
  left: 20px;
}

.process-card-decoration .decoration-line {
  position: absolute;
  width: 65px;
  height: 65px;
  border: 1px solid rgba(237, 28, 50, 0.08);
  border-radius: 50%;
  top: 40px;
  left: 35px;
}

/* Tablet */
@media (max-width: 991px) {
  #food-delivery-development-process {
    padding: 65px 0;
  }

  .food-process-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
  }
 
  .food-process-card {
    padding: 24px 20px;
  }

  .food-process-card-header h3 {
    font-size: 19px;
  }
}

/* Mobile */
@media (max-width: 575px) {
  #food-delivery-development-process {
    padding: 45px 0;
  }
  
  .food-process-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .food-process-card {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .food-process-card-header {
    gap: 12px;
    margin-bottom: 17px;
  }

  .process-number {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .food-process-card-header h3 {
    font-size: 18px;
  }

  .food-process-content p,
  .food-process-content ul li {
    font-size: 14px;
    line-height: 1.65;
  }
}



/* =========================================
   ADVANCED FOOD DELIVERY FEATURES
========================================= */

.advanced-food-features {
    padding: 50px 0;
    background: #fff;
    font-family: inherit;
}
 

/* Feature Grid */

.advanced-food-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* Feature Card */

.advanced-food-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 17px;
    box-shadow: 0 8px 35px rgba(16, 24, 40, 0.055);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advanced-food-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(16, 24, 40, 0.10);
}

/* Feature Icons */

.advanced-food-features .feature-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 15px;
    color: #F23436;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.advanced-food-features .feature-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
}

/* Card Heading */

.advanced-food-card h3 {
    color: #101828;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 10px;
}

/* Card Description */

.advanced-food-card p {
    color: #475467;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

/* International Support List */

.advanced-food-card .international-intro {
    margin-top: 14px;
    margin-bottom: 10px;
    font-weight: 600;
    text-align: left;
    width: 100%;
}

.international-list {
    width: 100%;
    padding-left: 20px;
    margin: 0 0 14px;
    text-align: left;
    color: #475467;
}

.international-list li {
    font-size: 15px;
    line-height: 1.5;
    padding-left: 3px;
    margin-bottom: 9px;
}

.international-list li::marker {
    color: #F23436;
}

.international-list strong {
    color: #344054;
    font-weight: 600;
}

.advanced-food-card .international-list + p {
    text-align: left;
}


/* =========================================
   RESPONSIVE DESIGN
========================================= */

/* Large Tablets and Small Laptops */

@media (max-width: 1199px) {
    .advanced-food-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .advanced-food-header h2 {
        font-size: 29px;
    }
}

/* Tablets */

@media (max-width: 991px) {
    .advanced-food-features {
        padding: 50px 0;
    }

    .advanced-food-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .advanced-food-header h2 {
        font-size: 27px;
    }

    .advanced-food-header p {
        font-size: 16px;
    }
}

/* Mobile */

@media (max-width: 575px) {
    .advanced-food-features {
        padding: 40px 0;
    }

    .advanced-food-features .container {
        padding: 0 16px;
    }

    .advanced-food-header {
        margin-bottom: 28px;
    }

    .advanced-food-header h2 {
        font-size: 24px;
        line-height: 1.35;
    }

    .advanced-food-header p {
        font-size: 15px;
        line-height: 1.6;
    }

    .section-top-line {
        width: 65px;
        margin-bottom: 15px;
    }

    .advanced-food-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .advanced-food-card {
        padding: 25px 20px;
        border-radius: 14px;
    }

    .feature-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 14px;
    }

    .advanced-food-card h3 {
        font-size: 19px;
    }

    .advanced-food-card p {
        font-size: 15px;
    }

    .international-list li {
        font-size: 14px;
    }
}






/* ==========================================
   FUTURE FOOD DELIVERY TRENDS SECTION
========================================== */

.food-trends-section {
    padding: 50px 0;
    background: #fff;
}

.food-trends-section .container {
    max-width: 1320px;
}

/* Section Header */

.food-trends-header {
    max-width: 1000px;
    margin: 0 auto 45px;
    text-align: center;
}

.food-trends-header h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
    margin-bottom: 15px;
}

.food-trends-separator {
    display: block;
    margin: 0 auto 18px;
    max-width: 200px;
}

.food-trends-sub-header {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 12px;
}

/* Trends Container */

.food-trends-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Individual Trend Row */

.food-trend-row {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
    padding: 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.045);
    align-items: start;
}

/* Left Content */

.food-trend-content {
    position: relative;
    padding: 5px 25px 5px 0;
    border-right: 1px solid #eee;
}

.food-trend-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(242, 52, 54, 0.09);
    color: #F23436;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
}

.food-trend-content h3 {
    color: #333;
    font-size: 23px;
    font-weight: 650;
    line-height: 1.4;
    margin: 0 0 15px;
}

.food-trend-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 14px;
}

/* Right Details */

.food-trend-details {
    padding: 5px 0;
}

.food-trend-details h4 {
    color: #333;
    font-size: 18px;
    font-weight: 650;
    line-height: 1.4;
    margin: 0 0 15px;
    padding-left: 13px;
    border-left: 3px solid #F23436;
}

.food-trend-details h4:not(:first-child) {
    margin-top: 25px;
}

.food-trend-details p {
    color: #555;
    font-size: 15.3px;
    line-height: 1.6;
    margin: 0 0 10px;
}

.food-trend-details ul {
    padding-left: 20px;
    margin: 0 0 15px;
}

.food-trend-details li {
    color: #555;
    font-size: 15.5px;
    line-height: 1.65;
    padding-left: 4px;
    margin-bottom: 3px;
}

.food-trend-details li::marker {
    color: #F23436;
}

.food-trend-details strong {
    color: #333;
    font-weight: 600;
}

/* ==========================================
   RESPONSIVE
========================================== */

/* Tablets */

@media (max-width: 991px) {

    .food-trends-section {
        padding: 50px 0;
    }

    .food-trends-header h2 {
        font-size: 28px;
    }

    .food-trend-row {
        grid-template-columns: 1fr 1.2fr;
        gap: 25px;
        padding: 25px;
    }

    .food-trend-content h3 {
        font-size: 21px;
    }
}

/* Mobile */

@media (max-width: 767px) {

    .food-trends-section {
        padding: 40px 0;
    }
 
    .food-trend-row {
        grid-template-columns: 1fr;
        gap: 15x;
        padding: 22px 18px;
    }

    .food-trend-content {
        padding: 0 0 10px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .food-trend-content h3 {
        font-size: 19px;
    }

    .food-trend-content p,
    .food-trend-details p {
        font-size: 15.5px;
    }

    .food-trend-details h4 {
        font-size: 17px;
    }

    .food-trend-details li {
        font-size: 15.5px;
    }
}










/* ==================================
   FOOD DELIVERY SUCCESS STORIES
================================== */

.food-success {
  --primary: #ED1C32;
  --secondary: #FEF8F9;
  --dark: #11133b;
  --muted: #555a79; 

  padding: 50px 0;
  background:
    radial-gradient(circle at 5% 5%, #f4f5f9 0, transparent 25%),
    radial-gradient(circle at 95% 30%, #f4f5f9 0, transparent 25%),
    #fafaff;
  font-family: inherit;
  color: var(--dark);
  overflow: hidden;
}

.food-success * {
  box-sizing: border-box;
}
 

.zapp-case {
  --primary: #F8A823;
  --secondary: #fcf5ea;
} 

/* CASE STUDY */

.case-study {
  background: #fff;
  border: 1px solid #e9e5ff;
  border-radius: 26px;
  padding: 35px;
  margin-bottom: 35px;
  box-shadow: 0 12px 45px rgba(44, 34, 112, 0.055);
  overflow: hidden;
}

.case-top {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 35px;
  align-items: center;
  min-height: 360px;
}

.project-info {
  padding-right: 15px;
}

.project-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 30px;
  font-weight: 800;
  color: #101010;
  margin-bottom: 38px;
  letter-spacing: -1px;
}


  .project-logo img{
    border-radius: 20px;
    width: 80px;
  }

.zapp-symbol {
  color: var(--primary);
  font-size: 78px;
  font-weight: 900;
  line-height: 1;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px 15px;
}

.project-meta > div {
  position: relative;
  padding-left: 27px;
  min-height: 62px;
  border-right: 1px solid #e8e7f1;
  padding-right: 10px;
}

.project-meta > div:nth-child(3n) {
  border-right: none;
}

.meta-icon {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 19px;
  color: var(--primary);
}

.project-meta small {
  display: block;
  font-size: 12px;
  color: #555572;
  margin-bottom: 6px;
}

.project-meta strong {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--dark);
}

/* PROJECT VISUALS */

.project-visual {
  position: relative;
  height: 370px;
  display: flex;
  /* align-items: center; */
  justify-content: center;
  isolation: isolate;
  background: radial-gradient(circle, #f0ebff 0%, #fff 72%);
  border-radius: 22px;
  overflow: hidden;
}

.visual-circle {
  position: absolute;
  width: 330px;
  max-width: 100%;
  height: 330px;
  border-radius: 50%;
  background: var(--secondary);
  z-index: -1;
}

.project-visual img{
    height: auto;
}

.phone {
  position: absolute;
  width: 185px;
  height: 350px;
  background: #101010;
  border: 5px solid #171717;
  border-radius: 32px;
  padding: 5px;
  box-shadow: 0 20px 35px rgba(0,0,0,.19);
  overflow: hidden;
}

.phone-main {
  z-index: 2;
  left: 19%;
  top: 20px;
  transform: rotate(-5deg);
}

.phone-back {
  z-index: 1;
  right: 5%;
  top: 53px;
  transform: rotate(9deg);
}

.phone-screen {
  height: 100%;
  background: #fff;
  border-radius: 23px;
  padding: 17px 10px;
  overflow: hidden;
}

.app-brand {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #111;
}

.app-brand:first-letter {
  color: var(--primary);
}

.app-location {
  background: #f2f1f8;
  border-radius: 10px;
  padding: 8px;
  font-size: 10px;
  margin-bottom: 10px;
}

.app-search {
  background: #f1f1f5;
  padding: 10px;
  border-radius: 10px;
  font-size: 10px;
  color: #777;
}

.app-services {
  display: flex;
  gap: 5px;
  margin-top: 15px;
}

.app-services span {
  flex: 1;
  padding: 13px 2px;
  border-radius: 9px;
  text-align: center;
  background: #fff0e6;
  font-size: 21px;
}

.app-services span:nth-child(2) {
  background: #e5f7e9;
}

.app-services span:nth-child(3) {
  background: #e6eeff;
}

.app-services small {
  display: block;
  font-size: 9px;
  font-weight: 700;
}

.app-promo {
  background: #ffca76;
  padding: 13px;
  margin-top: 15px;
  border-radius: 10px;
  font-size: 12px;
}

.app-promo small {
  display: block;
  font-size: 9px;
}

.app-promo div {
  font-size: 33px;
  text-align: right;
}

.app-bottom {
  margin-top: 30px;
  color: var(--primary);
  text-align: center;
  font-size: 20px;
}

.map-screen {
  height: 100%;
  background:
    repeating-linear-gradient(45deg, #edf3e9 0 15px, #f7f9f4 15px 30px);
  padding: 25px 12px;
  position: relative;
}

.map-screen > span {
  display: block;
  color: var(--primary);
  font-size: 26px;
}

.map-route {
  position: absolute;
  width: 80px;
  height: 120px;
  left: 45px;
  top: 70px;
  border-left: 3px dashed var(--primary);
  border-bottom: 3px dashed var(--primary);
  border-radius: 0 0 0 40px;
}

.map-pin {
  position: absolute;
  top: 155px;
  left: 80px;
  color:var(--primary);
}

.map-screen small {
  position: absolute;
  bottom: 30px;
  left: 10px;
  background: white;
  border-radius: 10px;
  padding: 12px 6px;
  font-size: 10px;
}

.visual-note {
  position: absolute;
  top: 15px;
  right: 8px;
  max-width: 140px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  transform: rotate(-5deg);
}

/* PROJECT OVERVIEW */

.project-overview {
  margin-top: 30px;
  padding: 25px;
  background: #fffcf7;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.content-label {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.project-overview h3,
.solution-title h3 {
  font-size: 26px;
  line-height: 1.3;
  margin: 0 0 14px;
  font-weight: 800;
  color: var(--dark);
}

.project-overview p {
font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0 0 5px;
}

.project-overview p:last-child {
  margin-bottom: 0;
}

/* CHALLENGE SOLUTION FEATURES */

.case-details-grid { 
  margin-top: 20px;
}

.detail-card {
  border-radius: 17px;
  padding: 23px;
  background: #f6f4ff;
}

.challenge-card {
  background: var(--secondary);
}
 
.features-card {
  background: #f4f2ff;
}

.detail-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
}

.detail-heading > span {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

.detail-heading h3 {
  font-size: 18px;
  margin: 0;
  font-weight: 800;
}

.detail-card p {
  color: var(--muted);
 font-size: 15px;
    line-height: 1.6;
    margin: 0 0 5px;
}
.detail-card ul {
    margin: 10px 0;
}
.detail-card ul li {
  color: var(--muted);
 font-size: 15px;
    line-height: 1.6;
    margin: 0 0 5px;
}

.feature-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.feature-icons > div {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.feature-icons span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 53px;
  height: 48px;
  background: #fff;
  border-radius: 13px;
  margin: 0 auto 8px;
  font-size: 23px;
}

.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
}

.check-list li {
  position: relative;
  padding-left: 25px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  line-height: 15px;
}

/* DETAILED SOLUTIONS */

.solution-details {
  padding: 45px 10px 15px;
}

.solution-title {
  margin-bottom: 25px;
}

.solution-title p,.solution-details p {
  color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 5px;
}

.solution-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.solution-item {
  display: flex;
  gap: 17px;
  padding: 20px;
  border: 1px solid #eeebfa;
  border-radius: 14px;
  background: #fff;
  transition: .3s ease;
}

.solution-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(67, 37, 219, .07);
}

.solution-number {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.solution-item h4 {
  font-size: 16px;
  margin: 0 0 8px;
  font-weight: 800;
}

.solution-item p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
}

.solution-item  .solution-item-list-title{
    font-weight: 500;
    margin-top: 10px;
}

.solution-item ul{
    margin: 10px 0;
    padding: 0 0 0 20px;
}

.solution-item ul li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
    margin: 0 0 2px;
}

.solution-item small {
  display: block;
  color: var(--primary);
  font-size: 11px;
  line-height: 1.7;
  margin-top: 9px;
}

/* OUTCOME */

.outcome-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(100deg, var(--secondary), var(--secondary));
  border: 1px solid var(--primary);
  padding: 23px;
  border-radius: 16px;
  margin-top: 20px;
}

.outcome-icon {
  font-size: 34px;
}
.outcome-content{
    flex:1
}
.outcome-list{
    flex:1
}
.outcome-strip h3 {
  font-size: 17px;
  margin: 0 0 12px;
  font-weight: 600;
}

.outcome-strip p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.outcome-strip ul {
    padding: 0 0 0 20px;
    margin: 8px 0;
}
.outcome-strip ul li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* CASE FOOTER */

.case-footer {
  margin-top: 18px;
  padding: 20px 5px 0; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.case-footer h3 {
     font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px;
}

.case-footer p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 5px;
}

.case-btn,
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 23px;
  border-radius: 30px;
  background: linear-gradient(100deg, #7354f5, #3214c9);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: .3s;
}

.case-btn:hover,
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(67, 37, 219, .2);
}

/* ==================================
   ALSABBAHI THEME
================================== */

.alsabbahi-case {
  --primary: #98080C;
  --secondary: #aa6d6f;
}

.alsabbahi-logo {
  display: flex;
  /* flex-direction: column;
  align-items: flex-start; */
  margin-bottom: 32px;
  color: var(--primary);
}

.alsabbahi-logo span {
  font-size: 30px;
  margin-bottom: 2px;
}

.alsabbahi-logo strong {
  font-size: 48px;
  line-height: 1.2;
}

.alsabbahi-logo small {
  font-size: 17px;
  font-weight: 700;
  margin-top: 5px;
}

.alsabbahi-visual {
  background: radial-gradient(circle, #ffe9e9 0%, #fff 75%);
}

.alsabbahi-visual .visual-circle {
  background: #ffe0e1;
}

.restaurant-screen {
  padding-top: 15px;
}

.restaurant-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--primary);
  color: white;
  margin: -17px -10px 10px;
  padding: 20px 5px;
  border-radius: 20px 20px 8px 8px;
}

.restaurant-brand span {
  font-size: 24px;
}

.restaurant-brand strong {
  font-size: 22px;
}

.restaurant-brand small {
  font-size: 8px;
}

.food-image {
  background: #f5d5bd;
  border-radius: 12px;
  margin-top: 13px;
  height: 95px;
  display: grid;
  place-items: center;
  font-size: 57px;
}

.restaurant-screen h5 {
  font-size: 12px;
  margin: 15px 0 8px;
}

.restaurant-products {
  display: flex;
  justify-content: space-between;
}

.restaurant-products span {
  background: #f9eeee;
  border-radius: 10px;
  padding: 12px;
  font-size: 20px;
}

.food-detail-screen {
  background: white;
  height: 100%;
  padding: 18px 10px;
  border-radius: 20px;
}

.food-detail-screen h5 {
  font-size: 14px;
}

.food-detail-screen div {
  background: #fff1e9;
  height: 130px;
  display: grid;
  place-items: center;
  font-size: 65px;
  border-radius: 12px;
  margin-top: 20px;
}

.food-detail-screen strong,
.food-detail-screen small {
  display: block;
  margin-top: 14px;
  font-size: 12px;
}

.food-detail-screen button {
  width: 100%;
  background: #d71920;
  color: white;
  border: 0;
  border-radius: 20px;
  padding: 10px;
  margin-top: 20px;
  font-size: 11px;
}

.alsabbahi-case .project-overview {
  background: #fff8f8;
  border-color: var(--primary);
}

.alsabbahi-case .detail-card,
.alsabbahi-case .challenge-card,
.alsabbahi-case .solution-card,
.alsabbahi-case .features-card {
  background: #fff2f2;
}

.alsabbahi-case .solution-number {
  background: #ffe5e5;
}

.alsabbahi-case .outcome-strip {
  background: linear-gradient(100deg, #ffeaea, #fff5f5);
}

.alsabbahi-case .case-btn {
  background: linear-gradient(100deg, #f0444c, #c9161d);
}

/* ==================================
   FINAL CTA
================================== */

.success-cta {
  display: grid;
  grid-template-columns: 75px 1fr 280px;
  gap: 25px;
  align-items: center;
  padding: 38px;
  border-radius: 25px;
  color: #fff;
  background: linear-gradient(115deg, #7354e9, #3820ae);
  margin-top: 55px;
  box-shadow: 0 15px 35px rgba(67, 37, 219, .17);
}

.cta-icon {
  font-size: 48px;
}

.cta-content > span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  opacity: .8;
}

.cta-content h2 {
  font-size: 23px;
  line-height: 1.35;
  margin: 9px 0;
  color: #fff;
}

.cta-content p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  opacity: .9;
}

.cta-action {
  padding-left: 25px;
  border-left: 1px solid rgba(255,255,255,.3);
}

.cta-action strong {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 17px;
}

.cta-btn {
  background: #fff;
  color: #3720b3 !important;
}

/* ==================================
   RESPONSIVE DESIGN
================================== */

@media (max-width: 991px) {

  .case-top {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .project-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-meta > div:nth-child(3n) {
    border-right: 1px solid #e8e7f1;
  }

  .project-meta > div:nth-child(2n) {
    border-right: none;
  }

  .case-details-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-card {
    grid-column: span 2;
  }

  .success-cta {
    grid-template-columns: 60px 1fr;
  }

  .cta-action {
    grid-column: 2;
    border-left: none;
    padding-left: 0;
  }

}

@media (max-width: 767px) {

  .food-success {
    padding: 55px 14px;
  }

  .success-heading {
    margin-bottom: 30px;
  }

  .success-heading h2 {
    font-size: 29px;
  }

  .success-heading p {
    font-size: 14px;
  }

  .case-study {
    padding: 20px 15px;
    border-radius: 19px;
    margin-bottom: 25px;
  }

  .case-top {
    grid-template-columns: 1fr;
  }

  .project-info {
    padding-right: 0;
  }

  .project-logo {
    font-size: 45px;
    margin-bottom: 25px;
  }

  .zapp-symbol {
    font-size: 60px;
  }

  .alsabbahi-logo strong {
    font-size: 40px;
  }

  .project-meta {
    gap: 18px 8px;
  }

  .project-meta > div {
    padding-left: 24px;
    min-height: 72px;
  }

  .project-meta small {
    font-size: 12px;
  }

  .project-meta strong {
    font-size: 12px;
  }

  .project-visual {
    height: 340px;
  }

  .phone {
    width: 155px;
    height: 305px;
  }

  .phone-main {
    left: 14%;
  }

  .phone-back {
    right: 4%;
    top: 55px;
  }

  .visual-note {
    font-size: 10px;
    max-width: 105px;
  }

  .project-overview {
    padding: 20px;
    margin-top: 20px;
  }

  .project-overview h3,
  .solution-title h3 {
    font-size: 22px;
  }

  .case-details-grid {
    grid-template-columns: 1fr;
  }

  .features-card {
    grid-column: auto;
  }

  .feature-icons {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .check-list {
    grid-template-columns: 1fr 1fr;
  }

  .solution-details {
    padding: 35px 0 10px;
  }

  .solution-list {
    grid-template-columns: 1fr;
  }

  .solution-item {
    padding: 16px;
  }

  .outcome-strip {
    align-items: flex-start;
    padding: 18px;
  }

  .case-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .case-btn {
    width: 100%;
  }

  .success-cta {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    gap: 12px;
    margin-top: 35px;
  }

  .cta-icon {
    font-size: 38px;
  }

  .cta-content h2 {
    font-size: 22px;
  }

  .cta-action {
    grid-column: auto;
    margin-top: 12px;
  }

  .cta-btn {
    width: 100%;
  }

}

@media (max-width: 380px) {

  .project-meta {
    grid-template-columns: 1fr 1fr;
  }

  .phone {
    width: 135px;
    height: 280px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

}
