:root {
  --primary: #1a365d;
  --primary-dark: #132548;
  --secondary: #d86430;
  --light: #f8fafc;
  --gray: #94a3b8;
  --dark: #132044;
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--dark);
  background-color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  background-color: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2);
}

.btn-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.text-center {
  text-align: center;
}

header {
  background-color: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
}

@media (min-width: 768px) {
  .logo img {
    height: 90px;
  }
}

.logo span {
  color: var(--secondary);
}

.years-counter {
  color: var(--secondary);
  font-weight: 600;
  margin-left: 10px;
  margin-top: auto;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  padding: 5px 0;
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover {
  color: var(--secondary);
}
.nav-links a:hover::after {
  content: "";
  width: 100%;
  height: 3px;
  background-color: var(--secondary);
  position: absolute;
  bottom: 0;
  left: 0;
}

#svg-download {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  vertical-align: middle;
  color: var(--primary-dark);
}

.webmail-link {
  color: #fff;
  background-color: var(--secondary);
  border: 2px solid var(--secondary);
  padding: 8px 15px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
}

.webmail-link:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2);
}

.mobile-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary);
  background: none;
  border: none;
  width: 30px;
  height: 30px;
}

.mobile-toggle svg {
  width: 100%;
  height: 100%;
}

.hero {
  background: linear-gradient(
      rgba(26, 54, 93, 0.92),
      rgba(26, 54, 93, 0.92)
    ),
    url("../images/bg-hero.jpg") no-repeat center/cover;
  height: 100vh;
  min-height: 800px;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
  padding-top: 60px;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.85);
}
.hero-highlight {
  color: var(--secondary);
}
.hero-btns {
  display: flex;
  gap: 15px;
}

.section {
  padding: 100px 0;
}
.section-title {
  position: relative;
  margin-bottom: 70px;
  text-align: center;
}

.section-title h2 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-title p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--gray);
  font-size: 1.1rem;
}
.section-title::after {
  content: "";
  width: 80px;
  height: 5px;
  background-color: var(--secondary);
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}
.about-text h3 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: var(--primary);
}
.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.services-section {
  background-color: #f7f9fc;
}
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: auto;
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 5px;
  background-color: var(--secondary);
  z-index: -1;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.service-card:hover::before {
  width: 100%;
}

.service-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 50%;
  color: var(--secondary);
  font-size: 28px;
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}
.service-card p {
  color: #556b95;
}

.clients-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease;
  width: 400%; /* 4 slides */
}

.carousel-slide {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 25%; /* 100% / 4 slides */
  flex-shrink: 0;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  filter: grayscale(100%);
  transition: var(--transition);
  height: 80px;
}

.client-logo:hover {
  filter: grayscale(0);
  transform: translateY(-5px);
}
.client-logo img {
  max-width: 100%;
  max-height: 80px;
}

@media (max-width: 768px) {
  .carousel-slide {
    grid-template-columns: repeat(3, 1fr);
  }
  .carousel-container {
    width: 400%; /* 4 slides for mobile */
  }
  .carousel-slide {
    width: 25%; /* 100% / 4 */
  }
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: var(--secondary);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
  color: var(--primary-dark)
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

@media (max-width: 768px) {
  .carousel-container {
    height: 160px;
  }
}

.contact-section {
  background: linear-gradient(
    to right,
    var(--primary),
    var(--primary-dark)
  );
  color: #fff;
}
.contact-container {
  position: relative;
  z-index: 1;
}

.section-title-white h2 {
  color: #fff;
}
.section-title-white p {
  color: rgba(255, 255, 255, 0.7);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
}
.contact-icon {
  margin-right: 20px;
  background: rgba(255, 255, 255, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--secondary);
  font-size: 1.5rem;
  flex-shrink: 0;
}
.contact-icon svg {
  width: 40px;
  height: 40px;
}

.contact-details h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}
.contact-details p {
  margin: 5px 0;
  color: rgba(255, 255, 255, 0.8);
}

.map-embed {
  margin-top: 40px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  height: 300px;
  background-color: #eee;
}

footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}
.footer-logo img {
  height: 50px;
}
.footer-logo span {
  color: var(--secondary);
}

@media (min-width: 768px) {
  .footer-logo img {
    height: 90px;
  }
}

.footer-about p {
  margin-bottom: 20px;
  line-height: 1.8;
}
.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: var(--transition);
  font-size: 18px;
}
.footer-socials a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}
.footer-socials a svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.footer-links h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}
.footer-links h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 3px;
}

.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  transition: var(--transition);
  display: block;
  padding: 8px 0;
}
.footer-links a:hover {
  color: #fff;
  padding-left: 8px;
}

.copyright {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}
.copyright a {
  color: var(--secondary);
  transition: var(--transition);
}
.copyright a:hover {
  color: var(--secondary);
}

@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
}
@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    background: #fff;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: all 0.4s ease;
  }
  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  .nav-links li {
    margin: 15px 0;
  }
  .webmail-link {
    display: block;
    margin-left: 20px;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }
  .hero {
    min-height: 700px;
  }
  .section {
    padding: 80px 0;
  }
  .about-content {
    grid-template-columns: 1fr;
  }
  .hero-btns {
    flex-direction: column;
  }
  .btn {
    text-align: center;
  }
}
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .section-title h2 {
    font-size: 2.2rem;
  }
  .hero {
    height: auto;
    min-height: 0;
    padding: 150px 0 80px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animation {
  animation: fadeIn 0.8s ease forwards;
}
.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}

#btn_whats_fixed {
  position: fixed;
  right: 50px;
  bottom: 60px;
  z-index: 999;
  padding: 15px;
  border-radius: 50%;
  background: #00e676;
  cursor: pointer;
  animation: pulse 2s infinite;
}

#btn_whats_fixed::before,
#btn_whats_fixed::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 1px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  /* border: 3px solid #0ba360; */
  animation: pulse2 2s infinite;
  opacity: 0;
}

#btn_whats_fixed::after {
  animation-delay: 0.4s;
}

#btn_whats_fixed svg {
  width: 30px;
  aspect-ratio: 1;
  color: #fff;
  float: left;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 5px 0 rgba(0, 230, 118, 0.5);
  }
  70% {
    box-shadow: 0 0 5px 10px rgba(0, 230, 118, 0.5);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0);
  }
}

@keyframes pulse2 {
  0% {
    height: 1px;
    width: 1px;
    left: 50%;
    top: 50%;
    opacity: 0;
  }
  50% {
    height: 70px;
    width: 70px;
    left: -5px;
    top: -5px;
    opacity: 1;
  }
  100% {
    height: 70px;
    width: 70px;
    left: -5px;
    top: -5px;
    opacity: 0;
  }
}
