/* ========================= */
/* RESET & BASE STYLES */
/* ========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #0f172a;
  line-height: 1.6;
  font-family: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================= */
/* UTILITIES */
/* ========================= */

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.light-bg {
  background: #f8faff;
}

/* ========================= */
/* TYPOGRAPHY */
/* ========================= */

h1,
h2,
h3 {
  text-align: center;
  font-size: 30px;
}

h4 {
  text-align: center;
  font-size: 20px;
  margin-top: -75px;
}

p {
  text-align: center;
  font-size: 25px;
}

/* ========================= */
/* BUTTONS */
/* ========================= */

.btn {
  background: #ea2e2e;
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
}

.btn-outline {
  border: 2px solid #eb2525;
  color: #eb2525;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
}

/* ========================= */
/* NAVBAR */
/* ========================= */

.navbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  color: #eb2525;
  font-size: 1.4rem;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #0f172a;
}

/* ========================= */
/* DROPDOWN MENU */
/* ========================= */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: #0f172a;
  padding: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 220px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  z-index: 1000;
  margin-top: 0;
}

.dropdown-content a {
  color: #0f172a;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f5f9;
  color: #0f172a;
  text-decoration: none;
}

.dropdown-content a:visited {
  color: #0f172a;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  color: #2563eb;
}
/* ========================= */
/* HERO SECTION */
/* ========================= */

.hero {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(to right, #f54949, #eb1e1e);
  color: #000;
  text-align: center;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: large;
  font-weight: 500;
}

.hero-buttons a {
  margin-right: 15px;
}

/* ========================= */
/* SERVICES */
/* ========================= */

.services-grid {
  display: block;
  margin-top: 40px;
}

.service-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin: 15px 0;
  border: 1px solid #0f172a;
}

.service-card-img {
  float: left;
}

/* ========================= */
/* IMAGE CONTAINER */
/* ========================= */

.image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

/* ========================= */
/* MISC */
/* ========================= */

.list {
  list-style-position: inside;
  padding-left: 0;
  text-align: center;
  margin-top: 50px;
  font-size: 20px;
}

.pages-header {
  margin-bottom: 10px;
  margin-top: -10px;
}

/* ========================= */
/* CTA */
/* ========================= */

.cta {
  background: #af1e1e;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

/* ========================= */
/* FOOTER */
/* ========================= */

.footer {
  background: #e10000;
  color: #fff;
  text-align: center;
  padding: 30px 0;
}

/* ========================= */
/* LINKS */
/* ========================= */

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  color: #fff;
  text-decoration: underline;
}

a:visited {
  color: #fff;
}

/* ========================= */
/* FLOATING WHATSAPP */
/* ========================= */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  line-height: 55px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
}

.main-logo {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
}

/* ========================= */
/* MOBILE RESPONSIVENESS */
/* ========================= */

@media (max-width: 768px) {
  .nav-flex {
    flex-direction: column;
    gap: 15px;
  }

  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  nav a,
  .dropbtn {
    margin: 8px 0;
    font-size: 18px;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background: transparent;
  }

  .hero {
    padding: 60px 20px;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }

  h1,
  h2,
  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 18px;
    margin-top: 10px;
  }

  p {
    font-size: 16px;
    padding: 0 10px;
  }

  .service-card {
    padding: 20px;
  }

  .service-card img {
    width: 50px;
    margin: 0 auto 15px;
    display: block;
  }

  .cta {
    padding: 40px 15px;
  }

  .footer p {
    font-size: 14px;
  }

  .main-logo {
  width: 70%;
  max-width: 220px;
  margin: 30px auto;
}

}