:root {
  --gs-blue: #0b2144;
  --gs-light-blue: #163a6b;
  --gs-gray-light: #f8f9fa;
  --gs-dark: #000000;
  --gs-white: #ffffff;
  --whatsapp-green: #25d366;
}

/* ===========================
   BASE
=========================== */
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color: var(--gs-gray-light);
  color: #222;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.section-title {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gs-blue);
}

.text-gs {
  color: var(--gs-blue);
}

/* ===========================
   NAVBAR
=========================== */
.bg-gs {
  background-color: var(--gs-white);
}

.navbar-light .navbar-nav .nav-link {
  color: var(--gs-dark) !important;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--gs-blue) !important;
}

/* LOGO */
.logo-img {
  height: 65px; /* más grande */
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.07);
}

@media (max-width: 576px) {
  .logo-img {
    height: 50px;
  }
}

/* BOTÓN DE IDIOMA */
#langToggle {
  border-radius: 8px;
  font-weight: 500;
  padding: 6px 14px;
  transition: 0.3s;
}

#langToggle:hover {
  background-color: var(--gs-dark);
  color: var(--gs-white);
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 80vh;
  overflow: hidden;
  background: var(--gs-blue);
  color: var(--gs-white);
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.55;
  filter: brightness(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 33, 68, 0.7), rgba(11, 33, 68, 0.95));
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* BOTONES */
.btn-gs-primary {
  background-color: var(--gs-blue);
  color: var(--gs-white);
  border: none;
  transition: background-color 0.3s, transform 0.2s ease;
}

.btn-gs-primary:hover {
  background-color: var(--gs-light-blue);
  transform: translateY(-2px);
}

/* ===========================
   ABOUT / SERVICES
=========================== */
#services img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, filter 0.4s ease;
  max-width: 90%;
}

#services img:hover {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* ===========================
   CERTIFICATIONS
=========================== */
.cert-section {
  position: relative;
  overflow: hidden;
  min-height: 65vh;
  color: var(--gs-white);
}

.cert-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.cert-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11, 33, 68, 0.8), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.cert-section .container {
  position: relative;
  z-index: 2;
}

.cert-section ul {
  list-style: none;
  padding-left: 0;
}

.cert-section ul li::before {
  content: "✔️ ";
  margin-right: 6px;
}

/* ===========================
   CONTACT / GET IN TOUCH
=========================== */
#contact {
  background-color: var(--gs-gray-light);
}

#contact ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

#contact ul li {
  margin-bottom: 0.5rem;
}

#contact a {
  text-decoration: none;
}

.btn-whatsapp {
  display: inline-block;
  background-color: var(--whatsapp-green);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 20px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
  color: #fff;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background-color: var(--gs-dark) !important;
  color: var(--gs-white) !important;
  text-align: center;
}

footer a {
  color: var(--gs-white);
  opacity: 0.8;
}

footer a:hover {
  opacity: 1;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .cert-section {
    text-align: center;
  }

  .cert-section .container {
    text-align: center;
  }

  .cert-section ul {
    display: inline-block;
    text-align: left;
  }

  #services img {
    max-width: 100%;
  }

  .section-title {
    font-size: 1.6rem;
  }
}