/* Custom CSS for Eatnoww Food Delivery Website */

/* Global Styles */
:root {
    --primary-color: #3bae48;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    font-family: "Outfit", sans-serif;
  }


/* Text Colors */
.text-green {
    color: var(--primary-color) !important;
}
.header {
    position: relative;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
}
.faq-main{
    z-index: 1;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #343a40; /* Same as bg-dark */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}
.navbar-nav .nav-item .nav-link {
    position: relative;
    transition: color 0.3s ease;
}
@media (max-width:776px) {
    .carousel-slide .content {
        bottom: 97px !important;
        left: 0 !important;
        width: 71% !important;
        padding: 6px;
        border-radius: 5px;
        font-weight: 500;
        background-color: #3BAE48;
        font-size: 11px !important;
}
}

.navbar-nav .nav-item .nav-link:hover {
    color: #70C179;
}

.navbar-nav .nav-item .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #70C179;
    transition: width 0.3s ease;
}

.navbar-nav .nav-item .nav-link:hover::after {
    width: 100%;
}



/* Background Colors */
.bg-green {
    background-color: var(--primary-color) !important;
}

/* Buttons */
.btn-green {
    background-color: var(--primary-color);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-green:hover {
    background-color: #339a3f;
    color: white;
}

/* Navbar */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    /* padding: 4rem 0; */
    background-color: var(--light-color);
}

/* Rating Stars */
.rating-stars {
    color: #ffc107;
}
.step-circle{
    position: relative;
    bottom: 90px;
}

/* Steps */
.step-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}

/* Feature Icons */
.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Stats */
.stat-box {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 2rem;
}

/* Restaurant Card */
.restaurant-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.restaurant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Testimonial Card */
.testimonial-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.testimonial-text {
    font-style: italic;
    color: #555;
}

/* Contact Icons */
.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(59, 174, 72, 0.1);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Footer */
.footer {
    color: white;
}

.footer a:hover {
    color: white !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        /* padding: 4rem 0; */
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

.carousel-container {
    width: 100%;
    position: relative;
}
.owl-carousel .carousel-slide {
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
}
.carousel-slide .content {
    position: absolute;
    bottom: 100px;
    left: 100px;
    color: black;
    width: 30%;
    padding: 20px;
    border-radius: 5px;
    font-weight: 500;
    background-color: #3BAE48;
}
.content h2{
    font-weight: 900;
}

.carousel-slide .content .theme-btn:hover {
    background-color: #ff5252;
}

/* Card Hover Effect */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Generic Spacing for Page Content */
.page-content {
    padding-top: 4rem;
}

/* Page Header */
/* .page-header {
    background-color: var(--light-color);
    padding: 3rem 0;
} */
.card-body .bg-danger{
    background-color:#3bae48 !important;
}
.card-body .bg-success{
    background-color:#fbc80a !important;
}
.card-body .bg-primary{
    background-color:#00008b !important;
}
.card-content{
    text-align:justify;
}
.card-content .text-danger{
    color:#3bae48 !important;
}
.card-content .text-success{
    color:#fbc80a !important;
}
.card-content .text-primary{
    color:#00008b !important;
}
.card-body .btn-outline-danger{
    border: 2px solid #3bae48 !important;
    color: #3bae48 !important;
}
.card-body .btn-outline-success{
    border: 2px solid #fbc80a !important;
    color: #fbc80a !important;
}
.card-body .btn-outline-primary{
    border: 2px solid #00008b !important;
    color: #00008b !important;
}


.page-header {
    background-color: var(--light-color);
    background-image: url('https://eatnowwwebsite.datalock.in/assets/images/allbanner.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;  
    align-items: center; 
    position: relative;
    padding: 3rem 0;
    overflow: hidden; /* Ensure the overlay covers the entire area */
    color: white;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
   
}

.page-header .content {
    position: relative;
   
}




/* FAQ Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(59, 174, 72, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(59, 174, 72, 0.25);
}

/* For blogs and articles */
.article-card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-card:hover {
    transform: translateY(-5px);
}

/* Rounded corners for images */
.rounded-4 {
    border-radius: 1rem;
}

/* ===== PRIVACY & TERMS PAGE STYLES ===== */
.privacy-content-section, 
.terms-content-section {
    /* padding: 100px 0; */
}

.privacy-card, 
.terms-card {
    padding: clamp(10px, 5vw, 40px); 
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.privacy-navigation, 
.terms-navigation {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.privacy-nav-list, 
.terms-nav-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    column-count: 2;
}

/* Mobile devices (576px - 767px) */
@media (max-width: 767px) {
    .privacy-navigation,
    .terms-navigation {
        margin-bottom: 25px;
        padding: 3px;
        border-radius: 8px;
    }
    
    .privacy-nav-list,
    .terms-nav-list {
        column-count: 2; /* Maintain 2 columns if space allows */
        column-gap: 10px;
        margin: 8px 0 0;
    }
}

/* Small mobile devices (below 576px) */
@media (max-width: 575px) {
    .privacy-navigation,
    .terms-navigation {
        margin-bottom: 20px;
        border-radius: 6px;
    }
    
    .privacy-nav-list,
    .terms-nav-list {
        column-count: 1; /* Switch to single column on very small screens */
        margin: 5px 0 0;
    }
    
    .privacy-nav-list li,
    .terms-nav-list li {
        margin-bottom: 8px; /* Add spacing between single column items */
    }
}

/* Optional: Large desktop screens (1200px and above) */
@media (min-width: 1200px) {
    .privacy-nav-list,
    .terms-nav-list {
        column-gap: 30px; /* More space between columns on large screens */
    }
}

.privacy-nav-list li, 
.terms-nav-list li {
    margin-bottom: 10px;
}

.privacy-nav-list a, 
.terms-nav-list a {
    color: #333333;
    transition: all 0.3s ease;
    text-decoration: none;
}

.privacy-nav-list a:hover, 
.terms-nav-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
    text-decoration: none;
}

.privacy-section, 
.terms-section {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.privacy-section:last-child, 
.terms-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.privacy-section h2, 
.terms-section h2 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.privacy-section h4, 
.terms-section h4 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.privacy-section ul, 
.terms-section ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.privacy-section ul li, 
.terms-section ul li {
    margin-bottom: 10px;
}

.contact-info-box {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}
.who-can-use-section {
    padding: 3rem 0;
    background-color: #f9fafb;
  }
  
  .section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
  }
  
  .section-description {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 2rem;
  }
  
  .card {
    border-radius: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .card .bg-danger, .card .bg-success, .card .bg-primary {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-bottom: 1rem;
  }
  
  .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  .list-unstyled li {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s;
  }
  
  .btn-outline-danger:hover {
    background-color: #3bae48;
    color: #ffffff !important;
  }
  
  .btn-outline-success:hover {
    background-color:#fbc80a;
    color: #ffffff !important;
  }
  
  .btn-outline-primary:hover {
    background-color:#00008b;
    color: #ffffff !important;
  }
  
  @media (max-width: 991px) {
    .who-can-use-section .col-lg-4 {
      flex: 0 0 100%;
      max-width: 100%;
    }
  }
  
  @media (max-width: 576px) {
    .who-can-use-section .card {
      margin-bottom: 1rem;
    }
  }
          .social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #fff;
            color: #3bae48;
            transition: background-color 0.3s, color 0.3s;
            font-size: 18px;
            margin-right: 10px;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
            text-decoration: none;
        }

        .social-icons a:hover {
            background-color: #3bae48;
            color: #fff;
            text-decoration: none;
        }

        .social-icons a:last-child {
            margin-right: 0;
        }
  


