.restaurant-hero {
    background-image: url("images/c34da73dcdb926cdbc847f14e64486e1d0891c1d.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0; /* adjust height */
    color: white; /* optional: makes text readable */
    position: relative;
    min-height: 50vh;
}

/* ==================== OFFERS SECTION ==================== */

.offers-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.offers-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #053717;
}

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

.offer-card {
    background-color: #f8fdf5;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(5, 55, 23, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e0f2e9;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(5, 55, 23, 0.825);
    background-color: #ffffff;
}

.offer-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(5, 55, 23, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.offer-icon i {
    font-size: 2.5rem;
    color: #053717;
}

.offer-card h4 {
    color: #053717;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.offer-card p {
    color: #666;
    line-height: 1.6;
}

/* ==================== TIMELINE SECTION ==================== */

.timeline-section {
    padding: 80px 0;
    background-color: white;
}

.timeline-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #053717;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #053717;
    transform: translateX(-50%);
}

.timeline-item {
    opacity: 0;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    transform: translateY(40px);
    transition: 
        opacity 0.8s ease,
        transform 0.8s ease;
}


.timeline-item:nth-child(odd) {
    flex-direction: row;
    transform: translateX(-40px);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    transform: translateX(40px);
}

.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

.timeline-number {
    width: 60px;
    height: 60px;
    background-color: #053717;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-content {
    flex: 1;
    padding: 30px;
    background-color: #f8fdf5;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(5, 55, 23, 0.08);
    margin: 0 30px;
    border: 1px solid #e0f2e9;
}

.timeline-content h4 {
    color: #053717;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

.timeline-content:hover {
    box-shadow: 0 15px 30px rgba(5, 55, 23, 0.76);
    background-color: #ffffff;
    color: rgb(0, 0, 0) ;
}

.timeline-item:hover .timeline-number {
    transform: scale(1.3);
}

/* ==================== SIGNUP FORM SECTION ==================== */

.signup-section {
    padding: 80px 0;
    background-color: white;
}

.signup-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #053717;
}


.signup-section p {
    text-align: center;
    color: #666;
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.restaurant-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f8fdf5;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(5, 55, 23, 0.08);
    border: 1px solid #e0f2e9;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #053717;
    box-shadow: 0 0 0 2px rgba(5, 55, 23, 0.264);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #053717;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #333;
}

.checkbox-item input {
    width: 16px;
    height: 16px;
    accent-color: #34a749;
    cursor: pointer;
}   


/* ==================== FORM IMAGE ==================== */

/* Container for the form section */
.signup-section {
    position: relative; /* Added for positioning the image */
    overflow: visible; /* Ensure overlapping image is visible */
}

/* Form container */
.restaurant-form {
    position: relative;
    z-index: 1; /* Ensure form stays above the image background */
}

/* Form image styling */
.form-image {
    position: absolute;
    top: 18px; /* Adjust to position vertically */
    left: 0px; /* Adjust to position horizontally */
    width: 1113px; /* Adjust size as needed */
    rotate: 10deg;
    height: auto;
    z-index: 2; /* Place behind the form */
    opacity: 1;
    pointer-events: none; /* Prevent interfering with form interaction */
    transform: rotate(-10deg); /* Optional: Add slight rotation for visual interest */
}

/* For smaller screens, adjust the image position */
@media (max-width: 992px) {
    .form-image {
        width: 200px;
        left: -60px;
        top: -30px;
    }
}

@media (max-width: 768px) {
    .form-image {
        width: 150px;
        left: -40px;
        top: -20px;
        opacity: 0.7;
    }
}

@media (max-width: 576px) {
    .form-image {
        display: none; /* Hide on very small screens if it takes too much space */
    }
}


/* ==================== FORM IMAGE right==================== */


/* Form image styling */
.form-image-right {
    position: absolute;
    bottom: 30px; /* Adjust to position vertically */
    right: 0px; /* Adjust to position horizontally */
    width: 400px; /* Adjust size as needed */
    rotate: 10deg;
    height: auto;   
    z-index: 2; /* Place behind the form */
    opacity: 1;
    pointer-events: none; /* Prevent interfering with form interaction */
    transform: rotate(-10deg); /* Optional: Add slight rotation for visual interest */
}

/* For smaller screens, adjust the image position */
@media (max-width: 992px) {
    .form-image-right {
        width: 200px;
        left: -60px;
        bottom: -30px;
    }
}

@media (max-width: 768px) {
    .form-image-right {
        width: 150px;
        right: -40px;
        bottom: -20px;
        opacity: 0.7;
    }
}

@media (max-width: 576px) {
    .form-image-right {
        display: none; /* Hide on very small screens if it takes too much space */
    }
}

/* ==================== LOGO CAROUSEL SECTION ==================== */
.c-logo-carousel {
  overflow: hidden;
  width: 100%;
}

.u-ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 17s linear infinite;
  animation-direction:alternate-reverse;
}

.ticker-content {
  display: inline-flex;
  align-items: center;
  gap: 35px; /* equal spacing */
}

.u-ticker-track img {
  width: 220px;
  height: auto;
  transition: 0.3s;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% { 
    transform: translateX(-100%);
  }
}

@media (max-width: 768px) {
  .u-ticker-track img {
    width: 160px;
  }
}
@media (max-width: 480px) {
  .u-ticker-track img {
    width: 120px;
  }
}

.form-success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 55, 23, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.form-success-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.form-success-box {
    background: #fff;
    padding: 40px 35px;
    border-radius: 22px;
    text-align: center;
    max-width: 520px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.4s ease;
}

.form-success-box h3 {
    color: #053717;
    font-size: 1.9rem;
    margin-bottom: 15px;
}

.form-success-box p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 25px;
}

.form-success-box button {
    background: #053717;
    color: #FFD700;
    border: none;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-success-box button:hover {
    background: #0a2e1a;
    transform: translateY(-2px);
}

.form-loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 55, 23, 0.55);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.form-loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.form-loading-box {
    background: #fff;
    padding: 35px 40px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-loading-box p {
    margin-top: 15px;
    font-weight: 500;
    color: #053717;
}

/* Spinner */
.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #053717;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto; 
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes scaleIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


.location-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 16px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
    white-space: nowrap; 
}

.location-btn:hover {
    background: #000000;
    color: #4CAF50;
}

.location-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

#location-status {
    display: block;
    margin-top: 5px;
    font-size: 12px;
}

#location-status.success {
    color: #4CAF50;
}

#location-status.error {
    color: #f44336;
}

#location-status.loading {
    color: #ff9800;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
}

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

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

.form-row {
    display: flex;
    gap: 15px;
    align-items: center;
}

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

