/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
.header {
  background: #1e3a8a;
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo a:hover {
  color: #60a5fa;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-list a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: #60a5fa;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: float 3s ease-in-out infinite;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #fbbf24;
  color: #1e3a8a;
}

.btn-primary:hover {
  background: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-small {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

/* Section Styles */
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #1e3a8a;
}

.section-subtitle {
  text-align: center;
  color: #6b7280;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* About Section */
.about {
  padding: 5rem 0;
  background: white;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Why Choose Us */
.why-choose {
  padding: 5rem 0;
  background: #f1f5f9;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  flex: 1 1 300px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature i {
  font-size: 2.5rem;
  color: #1e3a8a;
  margin-bottom: 1rem;
}

.feature h3 {
  margin-bottom: 0.5rem;
  color: #1e3a8a;
}

/* Services */
.services {
  padding: 5rem 0;
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-category {
  background: #f1f5f9;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.service-category h3 {
  color: #1e3a8a;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-category ul {
  list-style: none;
}

.service-category li {
  padding: 0.3rem 0;
  position: relative;
  padding-left: 1.2rem;
}

.service-category li::before {
  content: "•";
  color: #1e3a8a;
  position: absolute;
  left: 0;
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background: #f1f5f9;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 1rem 0;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
  color: #4b5563;
}

.client-info {
  text-align: right;
  font-weight: 600;
  color: #1e3a8a;
}

/* FAQ */
.faq {
  padding: 5rem 0;
  background: white;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1rem;
  background: #f1f5f9;
  border: none;
  text-align: left;
  font-weight: 600;
  color: #1e3a8a;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #e0e7ff;
}

.faq-answer {
  padding: 1rem;
  background: white;
  display: none;
  border-top: 1px solid #e5e7eb;
}

/* Contact */
.contact {
  padding: 5rem 0;
  background: #f1f5f9;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info {
  flex: 1 1 300px;
}

.contact-info h3 {
  color: #1e3a8a;
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.8rem;
  color: #4b5563;
}

.contact-info i {
  color: #1e3a8a;
  margin-right: 0.5rem;
}

.contact-form {
  flex: 1 1 400px;
}

.contact-form h3 {
  margin-bottom: 1.5rem;
  color: #1e3a8a;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
}

.form-group textarea {
  resize: vertical;
}

/* Success Message */
.success-message {
  margin-top: 2rem;
  padding: 1rem;
  background: #d1fae5;
  color: #065f46;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  border: 1px solid #a7f3d0;
}

/* Footer */
.footer {
  background: #1e3a8a;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #60a5fa;
}

.footer-contact p,
.footer-newsletter p {
  margin-bottom: 0.8rem;
  color: #d1d5db;
}

.footer-contact i,
.footer-newsletter i {
  margin-right: 0.5rem;
}

.footer-newsletter form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Footer (continued) */
.footer-newsletter input {
  padding: 0.8rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
}

.footer-newsletter input:focus {
  outline: none;
  border-color: #3b82f6;
}

.footer-newsletter label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #d1d5db;
}

.footer-newsletter label input {
  margin-top: 0.2rem;
}

.footer-newsletter .btn {
  width: fit-content;
  margin-top: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #d1d5db;
}

.footer-legal {
  margin-top: 1rem;
}

.footer-legal a {
  color: #60a5fa;
  text-decoration: none;
  margin: 0 0.8rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #93c5fd;
}

/* Modal (Privacy & Terms) */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
}

.modal-content h2 {
  color: #1e3a8a;
  margin-bottom: 1rem;
}

.modal-content p,
.modal-content ul {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.modal-content ul {
  padding-left: 1.5rem;
}

.modal-content a {
  color: #3b82f6;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    display: none;
    width: 100%;
  }

  .nav.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-container {
    text-align: center;
  }

  .features,
  .services-grid,
  .contact-content {
    flex-direction: column;
  }

  .feature,
  .service-category {
    flex: none;
  }

  .testimonial-slider {
    padding: 0 1rem;
  }

  .modal-content {
    margin: 10% auto;
    width: 95%;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-newsletter form {
    gap: 0.5rem;
  }

  .footer-newsletter .btn {
    width: 100%;
  }
}
