@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --primary-color: #0d2856;
  /* Trust Blue */
  --secondary-color: #10b981;
  /* Eco Green */
  --accent-color: #f59e0b;
  /* Alert Orange */
  --text-dark: #1f2937;
  --text-light: #4b5563;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;

  /* Layout */
  --max-width: 1200px;
  --transition: all 0.3s ease;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-light);
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 50px auto;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: #d97706;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-secondary:hover {
  background-color: #1e3a8a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Navbar */
.navbar {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--secondary-color);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary-color);
}

.contact-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary-color);
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 600;
}

.contact-badge i {
  color: var(--accent-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--primary-color);
  color: #fff;
  padding: 120px 0;
  overflow: hidden;
}

.carousel-hero {
  position: relative;
  background-color: var(--primary-color);
  color: #fff;
  padding: 60px 0;
  overflow: hidden;
}

.carousel-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
  pointer-events: none;
}

.carousel-bg.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

/* Carousel Controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.carousel-btn:hover {
  background: var(--secondary-color);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: var(--secondary-color);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #e5e7eb;
}

.hero-badges {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 500;
}

.badge i {
  color: var(--secondary-color);
}

.hero-actions {
  display: flex;
  gap: 20px;
}

/* Services Overview */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 30px;
  margin-top: 40px;
}

.single-row-flex {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
}

.single-row-flex::-webkit-scrollbar {
  height: 8px;
}

.single-row-flex::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.single-row-flex::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.single-row-flex::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

.service-card {
  background-color: var(--bg-white);
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom: 4px solid var(--secondary-color);
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: #ecfdf5;
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px auto;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--secondary-color);
  color: #fff;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Why Choose Us Section */
.about-preview {
  background-color: var(--bg-white);
}

.about-flex {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about-flex.reverse {
  flex-direction: row-reverse;
}

.about-text {
  flex: 1;
}

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

.about-text p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.feature-item i {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

/* Process Section */
.process-section {
  background-color: var(--primary-color);
  color: white;
}

.process-section .section-title {
  color: white;
}

.process-section .section-subtitle {
  color: #e5e7eb;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  text-align: center;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.process-step {
  position: relative;
}

.process-step-num {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

.process-step h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.process-step p {
  color: #e5e7eb;
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials-section {
  background-color: var(--bg-light);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* FAQ */
.faq-section {
  background-color: var(--bg-white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.faq-answer {
  display: none;
  padding-top: 15px;
  color: var(--text-light);
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.footer {
  background-color: #05162e;
  color: #d1d5db;
  padding: 80px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.footer-about span {
  color: var(--secondary-color);
}

.footer-about p {
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-links a svg,
.social-links a i {
  width: 20px;
  height: 20px;
  color: white !important;
  stroke: white !important;
  fill: none;
}

.social-links a:hover {
  color: white;
  transform: translateY(-3px);
}

.social-links a.facebook:hover {
  background-color: #1877F2;
}

.social-links a.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-links a.youtube:hover {
  background-color: #FF0000;
}

.footer-links h4,
.footer-contact h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-contact ul li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-contact ul li i,
.footer-contact ul li svg {
  color: var(--secondary-color);
  margin-top: 5px;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.footer-bottom p {
  opacity: 0.8;
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.floating-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.floating-btn.whatsapp {
  background-color: #25D366;
}

.floating-btn.call {
  background-color: var(--primary-color);
}

@media (max-width: 768px) {
  .floating-actions {
    bottom: 20px;
    right: 20px;
  }
  .floating-btn {
    width: 50px;
    height: 50px;
  }
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .about-flex,
  .about-flex.reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {

  .section-title,
  .about-text h2 {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .section {
    padding: 50px 0;
  }

  .hero {
    padding: 80px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-sm);
  }

  .nav-links.active {
    display: flex;
  }

  .contact-badge {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
  }
}