/* ================= ROOT VARIABLES ================= */
:root {
  --primary-blue: #2563eb;
  --primary-dark: #1e40af;

  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --bg-footer: #020617;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;

  --accent-green: #22c55e;
  --white: #ffffff;
}

/* ================= RESET & BASE ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ================= HEADER ================= */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: var(--primary-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}


.alerts-marquee {
    overflow: hidden;
    white-space: nowrap;
    background-color: white;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
    font-family: Arial, sans-serif;
    font-size: 16px;
    position: sticky;
    top: 64px;
    z-index: 999;
    width: 100%;
}

.alerts-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    min-width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.alerts-track span {
    display: inline-block;
    margin-right: 50px;
    font-weight: bold;
    transition: color 0.3s;
}

.alerts-track a {
    text-decoration: none;
    color: var(--primary-dark);
}

.alerts-track a:hover {
    text-decoration: underline;
}

/* Optional: pause on hover */
.alerts-marquee:hover .alerts-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}



.mobile-only-nav-link {
  display: none !important;
}


/* ================= LOGO ================= */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-left: 10px;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

/* ================= NAVIGATION ================= */
.nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav li {
  display: inline-block;
}

.nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* ================= REGISTER BUTTON ================= */
.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background-color: #ffffff !important;
  color: #1e40af !important;
  text-decoration: none;
  line-height: 1;
  transition: all 0.3s ease;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  border: none;
  flex-shrink: 0;
}

.profile-link i {
  font-size: 24px;
  color: #1e40af;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-btn:hover {
  background-color: #f8fafc !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  color: #1d4ed8 !important;
}

.nav-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ================= HERO SECTION ================= */
.hero {
  text-align: center;
  padding: 2rem 0rem 1rem;
  background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)),
                url('./img/hero.jpeg') center/cover no-repeat;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
}

.hero .highlight {
  display: block;
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-main);
  max-width: 750px;
  margin: 0 auto 2.5rem;
}


/* ================= BUTTONS ================= */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.btn {
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  border: 2px solid var(--text-muted);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: var(--bg-card);
}

.btn-success {
  background-color: var(--accent-green);
  color: var(--white);
}

/* ================= SERVICES / CARDS ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0 5% 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  max-width: 260px;
  margin: 0 auto;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-blue);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  color: var(--text-main);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
}

.card a:hover {
  color: white;
}

/* ================= SECTIONS ================= */
section {
  padding: 0rem 2rem;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  margin-top: 0;
  text-align: center;
  color: var(--primary-blue);
}

/* ================= FEATURES ================= */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  color: var(--text-main);
  padding: 1rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 400px;
}

.checkmark {
  font-size: 2rem;
  color: #22c55e;
}
/* ================= TESTIMONIAL SLIDER ================= */

.testimonial-section {
  width: 100%;
  text-align: center;
  margin: 0;
}

.testimonial-heading {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.testimonial-slider-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid #334155;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* SLIDER TRACK */
.testimonial-slider {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  will-change: transform;
  transition: transform 0.5s ease-in-out;
}

/* INDIVIDUAL CARD */
.testimonial-card {
  min-width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 30px 25px;
  text-align: center;
  color: var(--text-main);
  overflow-wrap: break-word;
  word-break: break-word;
}

/* IMAGE */
.testimonial-card img {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid var(--primary-blue);
}

/* NAME */
.testimonial-card h3 {
  margin: 10px 0;
  color: var(--primary-blue);
  font-size: 1.3rem;
}

/* MESSAGE */
.testimonial-card p {
  font-style: italic;
  color: var(--text-main);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* OPTIONAL COMPANY */
.testimonial-card .company {
  font-weight: bold;
  margin-top: 8px;
  color: var(--accent-green);
}

/* STARS */
.testimonial-card .stars {
  color: #f4c150;
  margin-top: 15px;
  font-size: 20px;
}

/* NAVIGATION BUTTONS */
#prev-slide,
#next-slide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: rgba(37, 99, 235, 0.15);
  color: var(--primary-blue);
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

/* HOVER EFFECT */
#prev-slide:hover,
#next-slide:hover {
  background: var(--primary-blue);
  color: white;
}

/* POSITION */
#prev-slide {
  left: 15px;
}

#next-slide {
  right: 15px;
}

/* ================= NEWSLETTER FORM ================= */
#newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 90%;
  max-width: 500px;
  margin: 40px auto;
  padding: 25px;
  border-radius: 10px;
  background-color: var(--bg-card);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#newsletter-form input[type="text"],
#newsletter-form input[type="email"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--text-muted);
  border-radius: 8px;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

#newsletter-form input::placeholder {
  color: var(--text-muted);
}

#newsletter-form button {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  background-color: var(--primary-blue);
  color: var(--white);
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#newsletter-form button:hover {
  background-color: var(--primary-dark);
}

#newsletter-message {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}



.profile-link:hover i {
  transform: scale(1.1);
  color: #2563eb;
}


.partners-section {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.partners-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.partner-card {
  width: 140px;
  text-align: center;
}

.partner-card img {
  width: 100px;
  height: auto;
  object-fit: contain;

  animation: rotateBackForth 3s infinite ease-in-out alternate;
  transform-style: preserve-3d;
}

@keyframes rotateBackForth {
  0% {
    transform: rotateY(0deg);
  }

  100% {
    transform: rotateY(180deg);
  }
}

.partner-card {
  perspective: 1000px;
}

/* ================= SOCIAL MEDIA SECTION ================= */

.social-section {
  padding: 60px 5%;
  background-color: var(--bg-dark);
  text-align: center;
}

.social-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary-blue);
}

.social-subtitle {
  max-width: 750px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.social-card {
  background-color: var(--bg-card);
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 30px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.social-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-blue);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.25);
}

.social-card i {
  font-size: 3rem;
  margin-bottom: 18px;
}

.social-card h3 {
  color: var(--text-main);
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.social-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.social-card a {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-card a:hover {
  transform: scale(1.05);
}

/* ================= PLATFORM COLORS ================= */

.facebook i {
  color: #1877f2;
}

.facebook a {
  background-color: #1877f2;
}

.tiktok i {
  color: #ffffff;
}

.tiktok a {
  background-color: #000000;
}

.linkedin i {
  color: #0a66c2;
}

.linkedin a {
  background-color: #0a66c2;
}

.instagram i {
  color: #e1306c;
}

.instagram a {
  background: linear-gradient(45deg,
      #f09433,
      #e6683c,
      #dc2743,
      #cc2366,
      #bc1888);
}

.whatsapp i,
.whatsapp-channel i {
  color: #25d366;
}

.whatsapp a,
.whatsapp-channel a {
  background-color: #25d366;
  color: #0f172a;
}

.youtube i {
  color: #ff0000;
}

.youtube a {
  background-color: #ff0000;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .social-section {
    padding: 40px 1rem;
  }

  .social-section h2 {
    font-size: 1.9rem;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .social-card {
    padding: 25px 18px;
  }
}

/* ================= FOOTER ================= */
.footer {
  background-color: var(--bg-footer);
  color: white;
  padding: 80px 5% 40px;
  border-top: 1px solid #1e293b;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column h3,
.footer-column h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
  color: var(--white);
}

.footer-column a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.footer-column a:hover {
  color: var(--primary-blue);
  padding-left: 5px;
}

/* ================= SOCIAL ICONS ================= */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.social-icons img:hover {
  opacity: 1;
}

/* ================= FOOTER BOTTOM ================= */
.footer-bottom {
  border-top: 1px solid #1e293b;
  margin-top: 30px;
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-policy {
  display: flex;
  gap: 20px;
}

.footer-policy a {
  color: white;
  text-decoration: none;
}

.footer-policy a:hover {
  text-decoration: underline;
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 1002;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ================= HAMBURGER ANIMATION ================= */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {
  /* ===== HEADER ===== */
  .header {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    margin-right: auto;
    font-size: 1.1rem;
    margin-left: 10px;
  }

  .header-actions {
    order: 2;
  }

  .desktop-only {
    display: block !important;
  }


  /* ===== HAMBURGER ===== */
  .hamburger {
    display: flex;
    order: -1;
    margin-right: 15px;
  }

  /* ===== MOBILE NAV DRAWER ===== */
  .nav ul {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 280px;
    background-color: var(--bg-dark);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 2rem;
    gap: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
  }

  .nav ul.active {
    left: 0;
  }

  .nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    list-style: none;
  }

  .nav a {
    display: block;
    width: 100%;
    padding: 1.2rem 0;
    font-size: 1.1rem;
    text-align: left;
    color: var(--white);
    text-decoration: none;
  }

  .nav-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  /* ===== HERO ===== */
  .hero {
    padding: 2rem 1rem 2rem;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  /* ===== SECTIONS ===== */
  section {
    padding: 0rem 1rem;
  }

  section h2 {
    font-size: 1.8rem;
  }

  /* ===== SERVICES GRID ===== */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    padding-bottom: 1rem;
  }

  .card {
    max-width: 100%;
    width: 100%;
    padding: 1rem;
    margin-top: 0px;
  }

  .card img {
    height: 160px;
  }

  .card h3 {
    font-size: 1.3rem;
  }

  /* ===== FEATURES ===== */
  .features-grid {
    flex-direction: column;
    align-items: center;
    padding: 5px 1rem 30px;
  }

  .feature {
    width: 100%;
    max-width: 350px;
  }
  
   .partners-section {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .partners-container {
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
  }

  .partner-card {
    width: 45%;
  }

  .partner-card img {
    width: 80px;
    max-width: 100%;
  }

  /* ===== NEWSLETTER ===== */
  #newsletter-form {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    padding: 15px !important;
  }

  /* ===== FOOTER ===== */
  .footer {
    padding: 20px 1rem 20px !important;
    text-align: center;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px !important;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 20px;
  }

  .footer-column h3,
  .footer-column h4 {
    margin-bottom: 10px !important;
    color: white;
  }

  .footer-column ul li {
    margin-bottom: 10px;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-top: 10px !important;
    margin-top: 15px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    color: #d1d5db;
  }

  .footer-policy {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
  }

  .footer-policy a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
  }

  .footer-policy a:hover {
    color: #2563eb;
    text-decoration: underline;
  }

  .social-icons {
    justify-content: center;
  }
  .mobile-only-nav-link {
  display: block !important;
}

  .footer-bottom .social-icons {
    margin-top: 8px;
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 768px) {

  .testimonial-slider-container {
    width: 94%;
    margin: 20px auto;
    border-radius: 12px;

    /* IMPORTANT */
    height: auto;
    min-height: 260px;
    overflow: hidden;
  }

  .testimonial-slider {
    display: flex;
    align-items: stretch;
  }

 .testimonial-card {
  min-width: 100%;
  width: 100%;
  flex: 0 0 100%;

  box-sizing: border-box;

  padding: 30px 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  overflow: hidden;
}
  .testimonial-card img {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
  }

  .testimonial-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .testimonial-card p {
    width: 100%;
    max-width: 100%;

    font-size: 0.92rem;
    line-height: 1.7;

    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;

    padding: 0 10px;
  }

  .testimonial-card .stars {
    margin-top: 15px;
    font-size: 18px;
  }

  #prev-slide,
  #next-slide {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  #prev-slide {
    left: 5px;
  }

  #next-slide {
    right: 5px;
  }
}

@media (max-width: 768px) {

  .testimonial-slider-container {
    width: 94%;
    margin: 20px auto;
    border-radius: 12px;

    height: auto;
    min-height: 320px;

    overflow: hidden; /* KEEP THIS ALWAYS */
    box-sizing: border-box;
  }

  .testimonial-slider {
    align-items: stretch;
  }

  .testimonial-card {
    min-width: 100%;
    flex-shrink: 0;

    padding: 25px 18px 40px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    height: auto;
  }

  .testimonial-card p {
    font-size: 0.9rem;
    line-height: 1.8;

    width: 100%;
    max-width: 100%;

    text-align: center;

    white-space: normal;

    overflow: visible;

    display: block;
  }

  /* MOVE BUTTONS LOWER */

  #prev-slide,
  #next-slide {
    top: 42%;
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
}