:root {
  --primary: #004a91;       
  --primary-dark: #003a73;
  --accent: #f37021;        
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --text-title: #1a202c;
  --text: #4a5568;
  --muted: #718096;
  --card: #ffffff;
  --radius: 8px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

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

.site-header {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  height: 70px;
  object-fit: contain;
  transition: transform 0.3s;
}

.logo:hover {
  transform: scale(1.05);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-title);
  font-weight: 600;
  font-size: 16px;
  position: relative;
  transition: color 0.3s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  transition: width 0.3s;
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a:hover::after {
  width: 100%;
}

.controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
#language-switcher {
  padding: 8px 10px;
  border-radius: var(--radius);
  border: 1px solid #ddd;
  font-size: 14px;
}

.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.7)),
    url('../img/hero-bg.jpg') center/cover no-repeat;
  color: white;
  padding: 100px 0;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin: 0 0 24px;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  margin: 0 auto 32px auto;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.9);
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn.outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  box-shadow: none;
}

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


.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

section {
  scroll-margin-top: 80px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  justify-items: center;
  align-items: center;
  margin-top: 40px;
}

.client-card {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: #0a0f1a;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card img {
  max-width: 160px;
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

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



.section.alt {
  background: var(--bg-alt);
}

.section h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-title);
  margin: 0 0 24px;
}

.section > .container > p {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
}

.about-grid, .equip-grid {
  display: grid;
  gap: 30px;
  margin-top: 32px;
}

.about-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.equip-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background: var(--card);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: left;
}

.card h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: var(--text-title);
  margin-bottom: 16px;
}

.card p, .card ul {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.card ul {
    list-style: none;
    padding-left: 0;
}
.card ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
}
.card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.equip-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.equip-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.equip-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.equip-card h4 {
  text-align: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-title);
}

.equip-card img,
.equip-card video {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.certs {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 48px;
}

.cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text-title);
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 1rem;
  font-weight: 600;
  width: 220px;
}

.cert:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.cert img {
  width: 80px;
  height: auto;
  object-fit: contain;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  margin-top: 48px;
  text-align: left;
}
.contact-grid p {
    margin-bottom: 16px;
    font-size: 1.1rem;
}
.contact-grid p strong {
    color: var(--text-title);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid #ccc;
  margin-bottom: 16px;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  transition: border 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 74, 145, 0.25);
  outline: none;
}

.contact-form button {
  width: 100%;
}

.site-footer {
  padding: 40px 0;
  text-align: center;
  background: var(--text-title);
  color: #ddd;
  font-size: 15px;
}

.site-footer p {
  margin: 0;
}


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

@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; } 
  .header-inner { gap: 12px; }
}

body.dark-mode {
  --bg: #0b0f19;
  --bg-alt: #111827;
  --card: #1f2937;
  --text-title: #f9fafb;
  --text: #d1d5db;
  --muted: #9ca3af;
}
body.dark-mode .cert { background: var(--card); }
body.dark-mode .site-header, body.dark-mode .mobile-nav { background: var(--card); }
body.dark-mode .contact-form input, body.dark-mode .contact-form textarea {
    background-color: #374151;
    border-color: #4b5563;
    color: var(--text);
}



.controls{display:flex;align-items:center;gap:12px}
.icon-btn{
  border:none;background:none;font-size:20px;cursor:pointer;
  color: var(--text-title);
  transition:transform .3s;
}
.icon-btn:hover{transform:scale(1.2)}

.menu-toggle{
  display:none;
  background:none;border:none;font-size:26px;cursor:pointer;
  color: var(--text-title);
}

.mobile-nav{
  position:fixed;top:0;right:-100%;
  width:70%;max-width:300px;height:100%;
  background:#fff;box-shadow:-2px 0 12px rgba(0,0,0,0.15);
  padding:60px 20px;transition:right .3s ease;
  z-index:999;
}
.mobile-nav ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:24px}
.mobile-nav a{
  text-decoration:none;font-size:20px;font-weight:600;color:#222;
  transition:color .3s;
}
.mobile-nav a:hover{color:var(--primary)}
.mobile-nav.active{right:0}
body.dark-mode .mobile-nav a { color: var(--text); }
body.dark-mode .mobile-nav a:hover { color: var(--primary); }

body.mobile-menu-open::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.07);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
}

.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background-color: #25D366;
  color: #FFF;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  transition: transform 0.3s ease;
  text-decoration: none;

  animation: pulse 2.5s infinite ease-in-out;
}

.whatsapp-button:hover {
  animation: none;
  transform: scale(1.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.whatsapp-icon {
  width: 36px;
  height: 36px;
}

.whatsapp-tooltip {
  position: absolute;
  right: 85px;
  
  background-color: #075E54;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.whatsapp-button:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .whatsapp-button {
    width: 55px;
    height: 55px;
    bottom: 15px;
    right: 15px;
    animation: none;
  }

  .whatsapp-icon {
    width: 30px;
    height: 30px;
  }
  
  .whatsapp-tooltip {
    display: none;
  }
}

.site-header {
  all: unset;
}

.site-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--card);
}

.top-bar {
  background-color: #eef2f6;
  padding: 8px 0;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid #dee2e6;
}
body.dark-mode .top-bar {
  background-color: #111827;
  border-bottom: 1px solid #374151;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-info span {
  margin-right: 20px;
}

.main-header {
  background-color: var(--card);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.btn-header {
  padding: 10px 20px;
  font-size: 15px;
  background-color: var(--accent);
}
.btn-header:hover {
  background-color: #d85d1a;
}

.controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-btn {
  background-color: #fff;
  border: 1px solid #d1d5db;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-title);
  transition: background-color 0.2s, border-color 0.2s;
}
.icon-btn:hover {
  background-color: var(--bg-alt);
  border-color: var(--primary);
}
.icon-btn svg {
  width: 20px;
  height: 20px;
}
body:not(.dark-mode) .icon-sun { display: none; }
body.dark-mode .icon-moon { display: none; }

.language-select-wrapper {
  position: relative;
}

.language-select-wrapper::after {
  content: '▼';
  font-size: 10px;
  color: var(--muted);
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  pointer-events: none;
}

#language-switcher {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  border: 1px solid #d1d5db;
  padding: 8px 32px 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s;
}
#language-switcher:hover {
  border-color: var(--primary);
}

body.dark-mode .icon-btn {
  background-color: #374151;
  border-color: #4b5563;
}
body.dark-mode #language-switcher {
  background-color: #374151;
  border-color: #4b5563;
  color: var(--text);
}


@media (max-width: 1024px) {
  .main-nav, .btn-header {
    display: none;
  }
  .menu-toggle {
    display: block !important;
  }
  .contact-info {
    display: none;
  }
  .top-bar-inner {
    justify-content: flex-end;
  }
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin-top: 48px;
}

.split-section .text-content {
  text-align: left;
}

.split-section .text-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-title);
  margin-top: 0;
  margin-bottom: 24px;
}

.split-section .text-content p {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.8;
}

.split-section .image-content img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}

.split-section.reverse {
  grid-template-columns: 1fr 1fr;
}
.split-section.reverse .image-content {
  order: 2;
}
.split-section.reverse .text-content {
  order: 1;
}

.image-gallery-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.image-gallery-3-col img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}
.image-gallery-3-col img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}


@media (max-width: 900px) {
  .split-section, .split-section.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split-section.reverse .image-content {
    order: 1;
  }
  .split-section.reverse .text-content {
    order: 2;
  }
  .split-section .text-content {
    text-align: center;
  }
  .image-gallery-3-col {
    grid-template-columns: 1fr;
  }
}

.quality-feature-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 60px;
  background-color: var(--bg-alt);
  padding: 60px;
  border-radius: 16px;
}

.quality-seal img {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  display: block;
  opacity: 0.6;
}

body.dark-mode .quality-seal img {
  opacity: 0.4;
  filter: invert(1);
}

.quality-content h2 {
  text-align: left;
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.quality-content p {
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: none;
  margin-bottom: 32px;
}

.quality-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

body.dark-mode .quality-buttons .btn.outline {
  color: #fff;
  border-color: #fff;
}

@media (max-width: 900px) {
  .quality-feature-layout {
    grid-template-columns: 1fr;
    padding: 40px 30px;
    text-align: center;
  }
  .quality-seal {
    margin-bottom: 30px;
  }
  .quality-seal img {
    max-width: 180px;
    opacity: 0.2;
  }
  .quality-content h2, .quality-content p {
    text-align: center;
  }
  .quality-buttons {
    justify-content: center;
  }
}

body.dark-mode .site-footer {
  background: var(--bg-alt);
  color: var(--muted);
}

.language-switcher {
  position: relative;
  font-weight: 600;
}
.language-switcher .lang-current {
  background-color: transparent;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
}
.language-switcher .lang-current:hover {
  border-color: var(--primary);
}
.language-switcher .lang-current img {
  width: 20px;
  height: auto;
  border-radius: 2px;
}
body.dark-mode .language-switcher .lang-current {
  border-color: #4b5563;
}
.language-switcher .lang-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  background-color: var(--card);
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: var(--shadow);
  list-style: none;
  padding: 8px;
  margin: 0;
  width: 100px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
body.dark-mode .language-switcher .lang-dropdown {
  border-color: #4b5563;
}
.language-switcher.active .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.language-switcher .lang-dropdown li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.language-switcher .lang-dropdown li:hover {
  background-color: var(--bg-alt);
}
.language-switcher .lang-dropdown li img {
  width: 20px;
}

body.dark-mode .language-switcher .lang-current,
body.dark-mode .language-switcher .lang-dropdown li {
  color: #ffffff;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 48px;
}

.sector-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.sector-card:hover {
  transform: translateY(-8px);
}

.sector-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
}

.sector-card:hover .sector-image {
  box-shadow: var(--shadow-hover);
}

.sector-image img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.sector-card h4 {
  margin-top: 24px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-title);
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-form h3 {
  font-size: 1.75rem;
  color: var(--text-title);
  margin-top: 0;
  margin-bottom: 24px;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 32px;
  height: 350px;
  box-shadow: var(--shadow);
  border: 1px solid #ddd;
}

body.dark-mode .map-container {
  border-color: #4b5563;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

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

  .contact-form h3 {
    text-align: center;
    margin-top: 40px;
  }
}

.centered-content-section {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.thankyou-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 25, 47, 0.6);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.thankyou-popup[style*="display: flex"] {
    opacity: 1;
}

.thankyou-content {
  background-color: var(--card);
  color: var(--text);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  max-width: 450px;
  width: 90%;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.thankyou-popup[style*="display: flex"] .thankyou-content {
    transform: scale(1);
}

.thankyou-content h3 {
  font-size: 1.75rem;
  color: var(--text-title);
  margin-top: 0;
  margin-bottom: 16px;
}

.thankyou-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

@media (max-width: 400px) {
  .about-grid,
  .equip-grid,
  .sectors-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
  }
  body {
    font-size: 18px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 5vw, 5.5rem);
  }

  .section h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
  }
  .image-gallery-3-col {
    grid-template-columns: repeat(3, 1fr);
  }
  .equip-grid {
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}