/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --accent-color: #3498db;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--dark-color);
}

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #c0392b;
    transform: translateY(-3px);
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Header Styles */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Logo Styling */
.logo-container {
  max-width: 200px; /* Adjust based on your logo dimensions */
  margin: 0 auto;
  padding: 10px 0;
  text-align: start;
}

.site-logo {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
  text-align: start;
}

.site-logo:hover {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-container {
    max-width: 180px;
  }
}

@media (max-width: 576px) {
  .logo-container {
    max-width: 150px;
    padding: 5px 0;
    text-align: start;
  }
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1603133872878-684f208fb84b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Services Section */
.services {
    padding: 80px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}
#about h2 {
    font-size: 2rem;
}

@media (max-width: 768px) {
    #about h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    #about {
        margin-left: 2px;
        margin-right: 2px;
        padding-left: 2px;
        padding-right: 2px;
    }
    
    #about h2 {
        font-size: 1.5rem;
    }
}

.about h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.about p {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}


/* _____________________________________________________________________________________ */
/* Contact Section */

.delivery-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
@media (max-width: 576px) {
    .delivery-container {
        max-width: 350px;
        padding: 4px;
    }
    
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2rem;
}

.delivery-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

input, textarea {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #007bff;
}
select {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: Arial, Helvetica, sans-serif;
}

select option {
    padding: 10px;
    font-family: Arial;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-btn {
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.message {
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 1.5rem;
    }
}

/* -------------------------------------------------------------------------------------------- */
/* WhatsApp Section */
.whatsapp-option {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  background: rgba(37, 211, 102, 0.1);
  border-radius: 8px;
}

.whatsapp-option p {
  margin-bottom: 15px;
  color: #555;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .whatsapp-option {
    padding: 15px;
  }
}

.submit-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #45a049;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-container {
        padding: 0 15px;
    }
    
    .delivery-form {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .contact-container {
        padding: 0 10px;
        margin-left: 2px;
        margin-right: 2px;
    }
    
    .delivery-form {
        padding: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
    }
    
    .submit-btn {
        padding: 10px 20px;
    }
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--light-color);
}

.footer-section p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-section i {
    margin-right: 10px;
    color: var(--accent-color);
}
.footer-tagline {
  font-size: 0.9rem; /* Reduced from typical 1rem */
  color: white; /* Subtle gray color */
  margin: 0 auto; /* Center horizontally */
  max-width: 600px; /* Prevent overly wide text lines */
  line-height: 1.5;
  padding: 0 20px; /* Add breathing room on mobile */
  text-align: start;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-tagline {
    font-size: 0.85rem; /* Slightly smaller on tablets */
  }
}

@media (max-width: 576px) {
  .footer-tagline {
    font-size: 0.8rem; /* Smallest on mobile */
    padding: 0 15px;
  }
}

.social-icons a {
    color: white;
    margin-right: 15px;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 1rem;
        justify-content: center;
    }

    nav ul li {
        margin: 0 1rem;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
    h2 {
        font-size: 1.8rem; /* Smaller size for mobile */
        margin-bottom: 1rem; /* Adjust spacing */
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
    }
}

.stat h3 {
    transition: color 0.3s ease;
}

.stat h3.animating {
    color: var(--secondary-color);
}


/* ____________________________________________________________ */


/* Stat symbols styling
.stat h3 .symbol {
    font-size: 0.8em;
    margin-left: 2px;
    color: var(--secondary-color);
}

Animation styling
.stat h3.animating {
    color: var(--accent-color);
    transition: color 0.3s ease;
} */


/* _____________________________________________________________________ */
/* tracking */
.tracking-widget {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin: 2rem 0;
}

#map-container {
  height: 400px;
  width: 100%;
  margin: 1rem 0;
  border-radius: 8px;
  overflow: hidden;
}

#live-map {
  width: 100%;
  height: 100%;
}

.input-group {
  display: flex;
  gap: 10px;
  margin: 1rem 0;
}

#shareable-link {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

#track-btn {
  padding: 0 20px;
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.instructions {
  font-size: 0.9rem;
  color: #666;
  margin-top: 1rem;
}
.error-message {
  color: #d32f2f;
  margin-top: 1rem;
  padding: 0.5rem;
  background: #ffebee;
  border-radius: 4px;
  display: none;
}

.footer-bottom {
    font-size: x-small;
}

/* ______________________________________________________________________________ */
/* ===== Review Section Styles ===== */
      .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        @media (max-width: 576px) {
            .container {
                max-width: 350px;
                padding: 4px;
            }
            
        }

        .review-form {
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            margin-bottom: 40px;
        }
        @media (max-width: 576px) {
            .review-form {
                max-width: 350px;
                padding: 4px;
            }
            
        }

        .review-form h2 {
            margin-bottom: 20px;
            color: #2c3e50;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 2px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
            transition: border-color 0.3s;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #3498db;
        }

        .star-rating {
            display: flex;
            gap: 5px;
            margin: 10px 0;
        }

        .star {
            font-size: 30px;
            color: #ddd;
            cursor: pointer;
            transition: color 0.2s;
        }

        .star:hover,
        .star.active {
            color: #ffd700;
        }

        .submit-btn {
            background: #e74c3c;
            color: white;
            padding: 12px 30px;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            cursor: pointer;
            transition: background 0.3s;
        }

        .submit-btn:hover {
            background: #f35b4b;
        }

        .submit-btn:disabled {
            background: #bdc3c7;
            cursor: not-allowed;
        }

        .reviews-section {
            background: white;
            overflow-y: scroll;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            height: 430px;
        }
        @media (max-width: 576px) {
            .reviews-section {
                max-width: 350px;
                padding: 4px;
                margin-bottom: 50px;
            }
            
        }

        .reviews-section h2 {
            margin-bottom: 30px;
            color: #2c3e50;
        }

        .review-item {
            border-bottom: 1px solid #eee;
            padding: 10px 0;
        }

        .review-item:last-child {
            border-bottom: none;
        }

        .review-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .reviewer-name {
            font-weight: bold;
            color: #2c3e50;
        }

        .review-date {
            color: #7f8c8d;
            font-size: 14px;
        }

        .review-stars {
            color: #ffd700;
            margin-bottom: 10px;
        }

        .review-comment {
            color: #555;
            line-height: 1.6;
        }

        .loading {
            text-align: center;
            padding: 20px;
            color: #7f8c8d;
        }

        .error {
            background: #e74c3c;
            color: white;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 20px;
        }

        .success {
            background: #27ae60;
            color: white;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 20px;
        }

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .review-form, .reviews-section {
        padding: 15px;
    }
    
    .star-rating {
        font-size: 18px;
    }
    
    .review-rating {
        font-size: 16px;
    }
    
    .review-comment {
        font-size: 14px;
    }
}