/* =======================
   GLOBAL STYLES
======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #fff;
  color: #1f2937;
  overflow-x: hidden;
 padding-top: 120px;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =======================
   NAVBAR
======================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  padding: 25px 8%; /* taller navbar */
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo img {
  height: 90px;
  width: auto;
  transform: scale(3.0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(3.1);
}

/* ================= NAV ================= */
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link,
.dropdown-toggle {
  background: none;
  border: none;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #1f2937;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  transition: 0.3s ease;
}

/* Underline animation */
.nav-link::after,
.dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #2563eb;
  transition: 0.3s ease;
}

.nav-link:hover::after,
.dropdown-toggle:hover::after {
  width: 100%;
}
/* Keep underline for active page link */
.nav-link.active::after,
.dropdown-toggle.active::after {
  width: 100%;
}


/* ================= DROPDOWN ================= */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 50px;
  left: 0;
  min-width: 260px;
  background: white;
  border-radius: 16px;
  padding: 15px 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: 0.3s ease;
}

.dropdown-menu a {
  display: block;
  padding: 12px 25px;
  color: #1f2937;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s ease;
}

.dropdown-menu a:hover {
  background: #f1f5f9;
  color: #2563eb;
  padding-left: 30px;
}

/* Desktop hover */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ================= LOGIN ================= */
.login-btn {
  padding: 10px 22px;
  border-radius: 25px;
  background: #2563eb;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;

  /* 🔥 pulse animation */
  animation: pulseGlow 2.0s infinite;
}

/* hover overrides animation slightly */
.login-btn:hover {
  background: #1e4fd8;
  transform: translateY(-2px);
  animation: none;
}

/* ================= PULSE ANIMATION ================= */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 99, 235, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #1f2937;
  border-radius: 3px;
  transition: 0.3s ease;
}

/* Animate hamburger into X */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ================= MOBILE ================= */
@media (max-width: 900px) {

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: white;
    flex-direction: column;
    padding: 120px 30px;
    gap: 25px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: 0.4s ease;
  }

  .nav.active {
    right: 0;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 15px;
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .hamburger {
    display: flex;
  }
}

/* =======================
   SAOA SECTION (IMPROVED)
======================= */

.saoa-section {
  padding: 80px 5%;
  background-color: #f8fafc;
}

.saoa-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* HEADER LAYOUT (NEW) */
.saoa-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.saoa-container h2 {
  font-size: 36px;
  color: #001f3f;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  margin: 0;
}

/* BUTTON */
.btn-hero2 {
  border: 1px solid #0077ff;
  color: #0077ff;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
  display: inline-block;
}

.btn-hero2:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35);
}

/* IMAGES */
.saoa-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
}

.saoa-images img {
  width: 100%;
  max-width: 950px;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
}

.saoa-images img:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 80px rgba(0,0,0,0.16);
}






/* =======================
   TABLET
======================= */
@media (max-width: 900px) {

  .saoa-section {
    padding: 70px 6%;
  }

  .saoa-header {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
  }

  .saoa-container h2 {
    font-size: 30px;
    text-align: center;
  }

  .saoa-images {
    gap: 25px;
  }
}

/* =======================
   MOBILE
======================= */
@media (max-width: 600px) {

  .saoa-section {
    padding: 60px 5%;
  }

  .saoa-container h2 {
    font-size: 24px;
  }

  .btn-hero2 {
    width: 100%;
    text-align: center;
    padding: 14px 18px;
  }

  .saoa-images img {
    border-radius: 14px;
  }
}


/*footer*/

.footer {
  background: #0f172a;
  color: #fff;
  padding: 80px 8% 30px 8%;
  font-family: "Inter", sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
}

.footer-branding img {
  width: 250px;
  margin-bottom: 20px;
}

.footer-tagline {
  max-width: 300px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #fff;
}

.footer-column h3 {
  margin-bottom: 18px;
  color: white;
  font-size: 16px;
}

.footer-column a {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-column a:hover {
  color: #2563eb;
  transform: translateX(4px);
}

.footer-column p {
  margin-bottom: 8px;
  font-size: 14px;
  color: #fff;
}

.footer-small {
  margin-top: 12px;
  font-size: 13px;
  color: #fff;
}

/* Social Links */
.footer-socials a {
  margin-right: 15px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer-socials a:hover {
  color: #2563eb;
}

/* Divider */
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 50px 0 25px 0;
}

/* Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #fff;
}

.footer-legal a {
  margin-left: 20px;
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

.footer-legal a:hover {
  color: #2563eb;
}

/* =============================
   FOOTER RESPONSIVE
============================= */

/* Tablets (≤ 1024px) */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer {
    padding: 70px 6% 30px 6%;
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
  }

  .footer-branding img {
    margin: 0 auto 20px auto;
  }

  .footer-tagline {
    margin: 0 auto 20px auto;
  }

  .footer-column a {
    transform: none;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-socials a {
    margin: 0 10px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-legal a {
    margin: 0 10px;
  }
}

/* Small Mobile (≤ 480px) */
@media (max-width: 480px) {
  .footer {
    padding: 60px 5% 25px 5%;
  }

  .footer-column h3 {
    font-size: 15px;
  }

  .footer-column p,
  .footer-column a {
    font-size: 13px;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-container { flex-direction: column; text-align: center; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  .highlights-container, .comparison-grid { flex-direction: column; }
}

/* ================================
   SCROLL REVEAL BASE (Apple Style)
================================ */

/* Hidden state */
.reveal{
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

/* When visible */
.reveal.active{
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* ================================
   DIRECTION VARIATIONS
================================ */

/* From left */
.reveal-left{
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s ease;
}

.reveal-left.active{
  opacity: 1;
  transform: translateX(0);
}

/* From right */
.reveal-right{
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s ease;
}

.reveal-right.active{
  opacity: 1;
  transform: translateX(0);
}

/* Zoom in */
.reveal-zoom{
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.7s ease;
}

.reveal-zoom.active{
  opacity: 1;
  transform: scale(1);
}


/* ================================
   STAGGER EFFECT (Apple feel)
================================ */

.reveal:nth-child(1){ transition-delay: 0.1s; }
.reveal:nth-child(2){ transition-delay: 0.2s; }
.reveal:nth-child(3){ transition-delay: 0.3s; }
.reveal:nth-child(4){ transition-delay: 0.4s; }
.reveal:nth-child(5){ transition-delay: 0.5s; }





/* ================================
   PERFORMANCE OPTIMIZATION
================================ */

.reveal,
.reveal-left,
.reveal-right,
.reveal-zoom{
  will-change: transform, opacity;
}


/* ================================
   OPTIONAL: DISABLE ON SMALL DEVICES
================================ */

@media (max-width: 600px){
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-zoom{
    transform: none;
    opacity: 1;
    transition: none;
  }
}
/* WHATSAPP FLOAT BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;

  background: linear-gradient(135deg, #39FF14, #00FF85);
  color: white;

  font-size: 26px;
  width: 90px;
  height: 90px;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 999;

  transition: all 0.3s ease;

  /* 🔥 Glow effect */
  animation: pulse 2s infinite;
}

/* HOVER */
.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

/* 🔥 PULSE ANIMATION */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* TABLET */
@media (max-width: 900px) {
  .whatsapp-float {
    width: 65px;
    height: 65px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .whatsapp-float {
    width: 58px;
    height: 58px;
    font-size: 22px;
    bottom: 18px;
    right: 18px;
  }
}

/* SMALL MOBILE */
@media (max-width: 400px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 20px;
    bottom: 15px;
    right: 15px;
  }
}
