/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: #1a5276;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #3498db;
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-header p {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: #1a5276;
  color: #fff;
}

.btn-primary:hover {
  background: #154360;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 82, 118, 0.35);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ===== HEADER ===== */
header {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a5276;
}

.logo i {
  color: #27ae60;
}

.logo span {
  font-weight: 300;
  color: #555;
}

header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

header nav ul {
  display: flex;
  gap: 25px;
}

header nav ul li a {
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #1a5276;
}

.btn-whatsapp-nav {
  background: #25d366;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.3s;
}

.btn-whatsapp-nav:hover {
  background: #1da851;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #1a5276;
  user-select: none;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 0;
  padding-top: 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,82,118,0.85) 0%, rgba(41,128,185,0.75) 50%, rgba(52,152,219,0.7) 100%);
  z-index: 1;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 30px); }
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.hero-stats div {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.85;
}

.hero-stats span {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  opacity: 1;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 25px;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border: 1px solid #eee;
  transition: all 0.4s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(26, 82, 118, 0.12);
  border-color: #3498db;
}

.card-img {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

.service-card:hover .card-img {
  transform: scale(1.08);
}

.service-card .card-icon {
  width: 70px;
  height: 70px;
  margin: -35px auto 18px;
  background: linear-gradient(135deg, #eaf2f8, #d4e6f1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #1a5276;
  transition: all 0.4s;
  position: relative;
  z-index: 2;
  border: 4px solid #fff;
}

.service-card:hover .card-icon {
  background: #1a5276;
  color: #fff;
}

.service-card h3 {
  font-size: 1.3rem;
  color: #1a5276;
  margin-bottom: 10px;
  padding: 0 20px;
}

.service-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  padding: 0 20px 30px;
}

/* ===== ABOUT ===== */
.about-section {
  background: #f0f7ff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.about-text h2 {
  font-size: 2rem;
  color: #1a5276;
  margin-bottom: 18px;
}

.about-text p {
  color: #555;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-list {
  margin-bottom: 25px;
}

.about-list li {
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid #e0eefb;
  color: #444;
}

.about-list li i {
  color: #1a5276;
  font-size: 1.1rem;
  margin-top: 3px;
}

.about-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-img-main {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(26, 82, 118, 0.15);
}

.about-img-secondary {
  width: 80%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(26, 82, 118, 0.1);
  align-self: flex-end;
}

/* ===== CONTACT ===== */
.contact-section {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-card {
  background: #f0f7ff;
  padding: 18px 20px;
  border-radius: 10px;
  border-left: 4px solid #1a5276;
  transition: transform 0.3s;
}

.info-card:hover {
  transform: translateX(5px);
}

.info-card i {
  font-size: 1.3rem;
  color: #1a5276;
  margin-bottom: 6px;
}

.info-card h4 {
  font-size: 1rem;
  color: #1a5276;
  margin-bottom: 4px;
}

.info-card p {
  color: #555;
  font-size: 0.95rem;
}

.info-card p a {
  color: #2980b9;
  font-weight: 600;
}

.info-card p a:hover {
  text-decoration: underline;
}

.btn-whatsapp-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background 0.3s;
  margin-top: 5px;
}

.btn-whatsapp-large:hover {
  background: #1da851;
}

.contact-form {
  background: #f0f7ff;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0eefb;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.3s;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #2980b9;
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ===== FOOTER ===== */
footer {
  background: #1a2a3a;
  color: #ccc;
  padding: 50px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding-bottom: 30px;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 15px;
}

.footer-col h4 i {
  color: #27ae60;
}

.footer-col p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #bbb;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #3498db;
}

.footer-col p i {
  margin-right: 8px;
  color: #3498db;
}

.footer-col p a {
  color: #bbb;
}

.footer-col p a:hover {
  color: #3498db;
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #ccc;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.social-links a:hover {
  background: #25d366;
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 18px 0;
  font-size: 0.85rem;
  color: #888;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #1a5276;
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s;
  z-index: 999;
}

.scroll-top.show {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: #154360;
  transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-img-main {
    height: 250px;
  }

  .about-img-secondary {
    height: 160px;
    width: 90%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  header nav ul {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 62px;
    left: 0;
    width: 100%;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    gap: 15px;
  }

  header nav ul.active {
    display: flex;
  }

  .btn-whatsapp-nav span {
    display: none;
  }

  .hero {
    min-height: 80vh;
    padding-top: 70px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 20px;
  }

  .section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .about-img-main {
    height: 200px;
  }

  .about-img-secondary {
    height: 130px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 260px;
  }
}
