/* ===== VARIABLES ===== */ 
:root {
  --primary: #1E3A5F;
  --secondary: #4A9B8C;
  --accent: #2EC4B6;
  --light: #F5F7FA;
  --dark: #0F172A;
  --radius: 12px;

  --shadow-soft: 0 10px 25px rgba(0,0,0,0.05);
  --shadow-medium: 0 15px 35px rgba(0,0,0,0.08);
  --shadow-strong: 0 20px 45px rgba(0,0,0,0.12);
}

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

/* ===== BASE ===== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
  font-size: 15px;
  padding-top: 80px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 8px;
}

p {
  margin-bottom: 15px;
  color: #475569;
  font-size: 14.5px;
  max-width: 650px;
}

/* ===== LINKS ===== */
a {
  transition: 0.2s ease;
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

/* ===== LOGO ===== */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-container img {
  height: 40px;
}

.brand-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

/* ===== NAV ===== */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

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

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: var(--primary);
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ===== OVERLAY ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 900;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ===== HERO ===== */
.hero {
  padding: 60px 0 60px;
}

.hero-content {
  margin-top: -10px;
}

/* ===== SECTIONS ===== */
section {
  padding-top: 35px;
  padding-bottom: 55px;
}

/* ===== SECTION TITLE ===== */
.section-title {
  text-align: center;
  margin-bottom: 20px;
}

.section-title h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 6px;
  margin-bottom: 6px;
  margin-top: 0;
}

.section-title h2::after {
  content: "";
  width: 60%;
  height: 3px;
  background: var(--secondary);
  position: absolute;
  left: 20%;
  bottom: 0;
  border-radius: 2px;
}

/* ===== CARDS ===== */
.card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid #e2e8f0;
  transition: 0.25s ease;
}

.card:hover {
  border-color: var(--secondary);
  transform: translateY(-3px);
}

/* ===== IMAGES ===== */
img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white;
}

.btn-dark {
  background: var(--primary);
  color: white;
}

.btn-primary:hover,
.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn:active {
  transform: scale(0.97);
}

/* ===== NAV BUTTONS ===== */
.nav-buttons {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.nav-buttons .nav-btn {
  flex: 1 1 48%;
  text-align: center;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;
  min-width: 140px;
}

.nav-buttons .nav-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  box-shadow: var(--shadow-medium);
}

/* ===== CONTACT FORM PRO ===== */
.contact-box {
  max-width: 750px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  transition: 0.3s ease;
}

.contact-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.15);
}

.contact-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  padding: 15px 16px;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid #d1d9e6;
  font-size: 14px;
  background: #f9fbfd;
  transition: all 0.25s ease;
}

.contact-box input:focus,
.contact-box textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(74,155,140,0.2);
}

.contact-box textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-box .btn {
  width: 100%;
  padding: 15px;
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  box-shadow: 0 15px 35px rgba(46,196,182,0.35);
}

.contact-box .btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 45px rgba(46,196,182,0.45);
}

/* ===== FLOAT BUTTONS ===== */
.float-container {
  position: fixed;
  bottom: 20px;
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.float-dark { background: var(--primary); }
.float-primary { background: linear-gradient(135deg, var(--secondary), var(--accent)); }
.float-whatsapp { background: #25D366; }

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {

  nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    transition: 0.3s;
    overflow-y: auto;
    z-index: 950;
  }

  nav.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .btn {
    width: 100%;
  }

  .btn-group {
    flex-direction: column;
    display: flex;
    gap: 12px;
  }

  .nav-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .nav-buttons .nav-btn {
    flex: none;
    width: 100%;
  }
}

/* ===== TEXT CENTER FIX (ADDED) ===== */
body {
  text-align: center;
}

.container {
  text-align: center;
}

p {
  margin-left: auto;
  margin-right: auto;
}

nav {
  justify-content: center;
}
