/* Reset & Base Styles background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #94a3b8 100%);*/
*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

/* Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
header {
  background-color: #fff;
  padding: 15px 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.8em;
  font-weight: bold;
  color: #2c3e50;
}
.nav-menu {
  display: flex;
  gap: 20px;
}
.nav-menu a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-menu a:hover {
  color: #1e293b;
}
.cta-btn {
  background-color: #1e293b;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}
.cta-btn:hover {
  background-color: #fbcfe8;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/hero.webp') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}
.hero-content h1 {
  font-size: 2.8em;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
}
.btn-primary {
  background-color: #1e293b;
  color: #fff;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1.1em;
  transition: background-color 0.3s;
}
.btn-primary:hover {
  background-color: #218838;
}

/* About Preview */
.about-preview {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
}
.about-preview h2 {
  font-size: 2em;
  margin-bottom: 20px;
}
.about-preview p {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 1.1em;
  color: #555;
}
.learn-more {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #1e293b;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
}
.learn-more:hover {
  background-color: #fbcfe8;
}

/* Why Choose Us */
.why-choose-us {
  background-color: #f1f1f1;
  padding: 60px 20px;
}
.why-choose-us h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2em;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.benefit {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.benefit:hover {
  transform: translateY(-5px);
}
.benefit i {
  font-size: 2em;
  color: #1e293b;
  margin-bottom: 15px;
}
.benefit h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
}
.benefit p {
  font-size: 0.95em;
  color: #555;
}

/* Services Section */
.services-section {
  padding: 60px 20px;
}
.services-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2em;
}
.service-category {
  margin-bottom: 50px;
}
.service-category h3 {
  margin-bottom: 20px;
  font-size: 1.5em;
  color: #2c3e50;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.service-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: box-shadow 0.3s;
}
.service-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.service-card i {
  font-size: 2em;
  color: #1e293b;
  margin-bottom: 15px;
}
.service-card h4 {
  margin-bottom: 10px;
  font-size: 1.2em;
}
.service-card p {
  font-size: 0.95em;
  color: #555;
}

/* Testimonials */
.testimonials-section {
  background-color: #fff;
  padding: 60px 20px;
}
.testimonials-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2em;
}
.testimonials-slider {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 10px;
}
.testimonial-card {
  flex: 0 0 300px;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: box-shadow 0.3s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.testimonial-card img {
  border-radius: 50%;
  margin-bottom: 15px;
}
.testimonial-card p {
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-card h4 {
  margin-bottom: 10px;
  font-weight: bold;
}
.rating {
  color: #ffd700;
}
.rating i {
  margin: 0 2px;
}

/* FAQ Accordion */
.faq-section {
  padding: 60px 20px;
}
.faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2em;
}
.accordion {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  border-bottom: 1px solid #ddd;
}
.accordion-header {
  width: 100%;
  padding: 15px;
  background: #222;
  border: none;
  text-align: left;
  font-size: 1.1em;
  cursor: pointer;
  outline: none;
  transition: background 0.3s;
}
.accordion-header:hover {
  background-color: #f1f1f1;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #f9f9f9;
  padding: 0 15px;
}
.accordion-content p {
  padding: 15px 0;
}

/* Contact & Subscription */
.contact-section, .newsletter-section {
  background-color: #fff;
  padding: 60px 20px;
}
.contact-section h2, .newsletter-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
}
form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}
button {
  padding: 14px;
  background-color: #1e293b;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s;
}
button:hover {
  background-color: #fbcfe8;
}
.form-message {
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
  color: green;
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 40px 20px;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-info, .footer-links, .footer-social {
  flex: 1;
  min-width: 200px;
}
.footer-info h3 {
  margin-bottom: 15px;
}
.footer-info p, .footer-links a, .footer-social a {
  margin-bottom: 10px;
  color: #ccc;
  text-decoration: none;
}
.footer-links a:hover, .footer-social a:hover {
  color: #fff;
}
.footer-social a {
  font-size: 1.5em;
  margin-right: 15px;
}
.copyright {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9em;
}

/* Responsive */
@media(max-width:768px){
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-menu {
    margin-top: 10px;
    flex-direction: column;
    gap: 10px;
  }
  .footer-container {
    flex-direction: column;
  }
  .testimonials-slider {
    flex-direction: column;
  }
}
/* Modal background */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0,0,0,0.6);
}

/* Modal content box */
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease;
}

/* Close button */
.close {
    color: #333;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #f44336;
}

/* Headings and text */
.modal-content h3 {
    margin-top: 0;
    color: #222;
}

.modal-content h5 {
    margin: 15px 0 5px;
    color: #555;
}

.modal-content p {
    line-height: 1.6;
    color: #444;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}