html {
    scroll-behavior: smooth;
  }
body {
    margin: 0;
    font-family: Arial, sans-serif;
    padding-top: 170px;
}
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); 
}

.top-bar {
    background: #2e1503;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
}

.top-bar .contact-info {
    display: flex;
    align-items: center;
}

.top-bar .contact-info span {
    margin-left: 10px;
}

.social-ic {
    display: flex;
    align-items: center;
}

.social-ic a {
    text-decoration: none;
    color: white;
    margin-left: 10px;
    font-size: 18px;
    display: flex; 
    align-items: center;
}

.social-ico a img {
    width: auto;
    height: auto;
    max-height: 30px;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 15px 20px;
    position: relative;
}

.logo img {
    height: 100px;
    margin-left: 20px;
    margin-top: -10px;
}
.nav-links {
    display: flex;
    gap: 20px;
    margin-left: 450px; /* Yeh automatically right align karega */
    /* margin-right: auto; Yeh automatically center align karega */
}
.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.quote-button {
    background: #2e1503;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}
.menu-icon {
    display: none; /* Hide menu icon by default */
}
/* ======= Mobile Styles ======= */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
        font-size: 30px;
        cursor: pointer;
        padding: 10px;
        margin-right: 15px;
        z-index: 1100;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        background: white;
        text-align: center;
        padding: 15px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        margin-left: 0 !important; 
    }

    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        display: block;
        width: 100%;
        padding: 15px;
        border-bottom: 1px solid #ddd;
        font-size: 18px;
        font-weight: bold;
    }

    .quote-button {
        text-align: center;
        display: block;
        margin-top: 10px;
        font-size: 16px;
        padding: 12px;
    }
    .top-bar{
        font-size: 10px;
    }
    .social-ic{
        height:0px;
        width: 150px;
    }
}


/* review.............. */
.testimonial-section {
    text-align: center;
    padding: 40px;
    font-family: Arial, sans-serif;
}

.testimonial-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.testimonial-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 800px;
    margin: auto;
}

.testimonial {
    display: none;
    text-align: center;
    padding: 20px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    background: white;
}

.testimonial.active {
    display: block;
}

.testimonial-text {
    font-size: 18px;
    color: #444;
    margin-bottom: 15px;
}

.testimonial-author {
    font-size: 20px;
    font-weight: bold;
    color: #222;
}

.testimonial-profession {
    font-style: italic;
    color: gray;
}

/* Arrow Buttons */
.testimonial-slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}

#prevBtn {
    left: -40px;
}

#nextBtn {
    right: -40px;
}

button:hover {
    background-color: #007bff;
}

/* 🔹 Media Query for Smaller Screens (Tablets & Mobiles) */
@media (max-width: 768px) {
    .testimonial-title {
        font-size: 26px;
    }

    .testimonial-slider {
        flex-direction: column;
        max-width: 90%;
    }
    .testimonial {
        font-size: 14px;
        padding: 15px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .testimonial-author {
        font-size: 18px;
    }

    /* Reduce Button Size */
    button {
        font-size: 18px;
        padding: 8px 12px;
    }

    #prevBtn {
        left: 5px;
    }

    #nextBtn {
        right: 5px;
    }
}

/* 🔹 Media Query for Extra Small Screens (Phones under 480px) */
@media (max-width: 480px) {
    .testimonial-title {
        font-size: 22px;
        margin-top: 20px; /* Reduce margin to prevent overlap */
        text-align: center;
    }

    .testimonial-slider {
        max-width: 95%;
        margin: auto;
    }

    .testimonial {
        padding: 15px;
        font-size: 14px;
        text-align: center;
    }

    .testimonial-text {
        font-size: 14px;
        line-height: 1.5;
    }

    .testimonial-author {
        font-size: 16px;
        font-weight: bold;
    }

    .testimonial-profession {
        font-style: italic;
        color: gray;
    }

    /* Fix for Arrow Buttons */
    button {
        font-size: 16px;
        padding: 5px 10px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    #prevBtn {
        left: 5px;
    }

    #nextBtn {
        right: 5px;
    }
}

footer {
    background: #222; 
    color: white;
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif; 
    min-height: 250px; 
    clear: both; 
}
.footer-section a {
    text-decoration: none; /* Removes underline */
    color: inherit; /* Inherits the text color (white in this case) */
}
.footer-section a:hover {
    color: #A06A3F; /* Change color on hover */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    width: 23%;
}

.footer-section h3 {
    color: #A06A3F;
    font-size: 18px;
}

.footer-section p, .footer-section ul {
    font-size: 14px;
    line-height: 1.6;
    color: white;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section .social-icons a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    margin-right: 10px;
}

/* Newsletter section */
.newsletter input {
    padding: 10px;
    width: 70%;
    border: none;
    margin-top: 10px;
}

.newsletter button {
    background: #A06A3F;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
}
main{
    background-color: #fffaf1;
}

/* Footer Bottom Section */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    
    padding-top: 20px;
    border-top: 1px solid #444;
    padding-bottom: 20px; 
}

/* Mobile View */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-section {
        width: 100%;
        margin-bottom: 20px;
    }
}
.img1 {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  
  .img1 img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
  }
  
  .img1 .text {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay behind text */
    border-radius: 10px;
  }
  
  .img1 .text h1 {
    font-size: 48px;
    margin: 0;
  }
  
  .img1 .text p {
    font-size: 18px;
    margin-top: 10px;
  }
  
  @media (max-width: 768px) {
    .img1 img {
      height: 250px;
    }
  
    .img1 .text h1 {
      font-size: 28px;
    }
  
    .img1 .text p {
      font-size: 14px;
    }
  }
  

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -100px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
/* 
.img1 .text h1 {
    font-size: 30px;
    margin: 0;
}

.img1 .text p {
    font-size: 16px;
    margin: 5px 0 0;
}

p{
    color: #000;
}
.dev{
    color: white;
    margin-left: 30px;
}
.ho{
    color: white;
} */




:root {
    --primary: #6c63ff;
    --card-bg: #ffffff;
    --background: #f0f2f5;
    --success: #d4edda;
    --error: #f8d7da;
  }

  body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: var(--background);
  }

  .tr {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .container {
    width: 100%;
    max-width: 800px;
  }

  .review-card {
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 2rem;
    animation: slideIn 0.5s ease-out;
  }

  @keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
  }

  input, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
  }

  input:focus, textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 8px rgba(108,99,255,0.2);
  }

  .rating-stars {
    display: flex;
    gap: 10px;
    margin: 1rem 0;
  }

  .star {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
  }

  .star.active, .star:hover {
    color: #ffd700;
  }

  .submit-btn {
    background: var(--primary);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
  }

  .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108,99,255,0.3);
  }

  .alert {
    padding: 15px;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
  }

  .success {
    background: var(--success);
    color: #155724;
  }

  .error {
    background: var(--error);
    color: #721c24;
  }

  .reviews-container {
    margin-top: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  .review-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #f8f9ff;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
  }

  .review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
  }

  .review-author {
    font-weight: 600;
    color: #333;
  }

  .review-email {
    color: #666;
    font-size: 0.9rem;
  }

  .review-message {
    color: #444;
    line-height: 1.6;
  }

  @media (max-width: 768px) {
    .star {
      font-size: 1.8rem;
    }
  }

  @media (max-width: 768px) {
    .submit-btn {
      position: relative;
      z-index: 1;
      margin-top: 1rem; /* Adjust if needed */
    }
  
    .review-card {
      position: relative;
      z-index: 0;
    }
  }
  