* { margin:0; padding:0; box-sizing:border-box; font-family:'Montserrat',sans-serif;}
body { background:#fff; color:#111; scroll-behavior:smooth;}
a { text-decoration:none; color:inherit; }

html{
    scroll-behavior: smooth;
}

/* NAVBAR */
nav { display:flex; justify-content:space-between; align-items:center; padding:20px 10%; background: rgba(255,255,255,0.95); position:sticky; top:0; z-index:100; box-shadow:0 2px 10px rgba(0,0,0,0.05);}
nav .logo { font-weight:700; font-size:1.8rem; color:#2563eb;}
nav ul { display:flex; gap:30px; font-family:'Montserrat',sans-serif;}
nav ul li { list-style:none; font-weight:600; position:relative; cursor:pointer; font-family:'Montserrat',sans-serif;}
nav ul li.nav-btn::after{
  display: none;
}
/* ACTIVE LINK */
nav ul li a.active{
  color:#111;
}

/* underline stays visible */
nav ul li a.active::after{
  width: 100%;
}

/* FIX: apply underline to link instead of li */
nav ul li a{
  position: relative;
}

nav ul li a::after{
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: #2563eb;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

nav ul li a:hover::after{
  width: 100%;
}

nav ul li a.active::after{
  width: 100%;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 200;
}

/* LINES */
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #111;
  border-radius: 3px;
  transition: all 0.35s ease;
}

/* HOVER EFFECT (desktop only) */
.hamburger:hover span:nth-child(2) {
  width: 70%;
}

/* ACTIVE (X ANIMATION) */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
}

/* LOGO STYLING */
.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.2rem;
  color: #111;
}

.logo img{
  height: 60px;
  width: auto;
  object-fit: cover;
  transition: 0.3s;
}

/* slightly smaller on mobile */
@media (max-width: 768px){
  .logo img{
    height: 50px;
  }
}


.logo img{
  transition: 0.3s;
}

.logo:hover img{
  transform: rotate(-5deg) scale(1.05);
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

/* MENU */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  border-radius: 12px;
  padding: 8px 0;

  display: flex;
  flex-direction: column;

  box-shadow: 0 15px 40px rgba(0,0,0,0.1);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transition: all 0.25s ease;
   z-index: 999;
}

/* ITEMS */
.dropdown-menu li {
  list-style: none;
  transition: all 0.25s ease, visibility 0.25s;
}

/* LINKS */
.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  font-size: 0.95rem;
  color: #333;
  text-decoration: none;
  transition: 0.25s;
}

/* HOVER EFFECT */
.dropdown-menu li a:hover {
  background: #f3f4f6;
  color: #1f8bb4;
  padding-left: 25px; /* subtle slide effect */
}

/* SHOW DROPDOWN */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown:hover > a::after {
  width: 0;
}

/* MOBILE NAV */
@media (max-width: 900px){

  nav{
    padding: 15px 6%;
  }

  .dropdown-menu {
  position: static;
  box-shadow: none;
  opacity: 1;
  pointer-events: all;
  transform: none;
  display: none;
  width: 100%;
}

.dropdown.active .dropdown-menu {
  display: block;
}

  /* SHOW HAMBURGER */
  .hamburger{
    display: flex;
  }

  /* HIDE DESKTOP MENU */
  nav ul{
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    
    background: white;
    flex-direction: column;
    align-items: flex-start;

    padding: 25px 30px;
    gap: 20px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);

    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
  }

  /* WHEN OPEN */
  nav ul.show{
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  /* NAV ITEMS */
  nav ul li{
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
  }

  nav ul li:last-child{
    border-bottom: none;
  }

  /* LINKS */
  nav ul li a{
    display: block;
    width: 100%;
    font-size: 1rem;
  }

}




.layout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 60px 8%;
}

/* CARD BASE */
.layout-card {
  display: block;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

/* IMAGE */
.layout-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
  
}

/* TITLE */
.layout-card h3 {
  padding: 20px;
  font-size: 1.2rem;
  font-family:'Montserrat',sans-serif;
}

/* TEXT BLOCK */
.layout-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  margin: 20px 0 25px;
  max-width: 500px;
  font-family: "Inter", sans-serif;
}

/* LIST RESET (remove bullets) */
.layout-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

/* LIST ITEMS */
.layout-text ul li {
  font-size: 1rem;
  color: #333;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", sans-serif;
}

/* CHECKMARK STYLE */
.layout-text ul li::before {
  content: "✔";
  color: #2bb673; /* your green */
  font-weight: bold;
  font-size: 1rem;
}

/*  HOVER EFFECT */
.layout-card:hover {
  transform: translateY(-10px);
  box-shadow:0 15px 25px rgba(49, 203, 255, 0.5);
}

/* IMAGE ZOOM ON HOVER */
.layout-card:hover img {
  transform: scale(1.08);
}

.layout-container {
  display: flex;
  gap: 60px;
  padding: 80px 8%;
  align-items: center;
  
}

/* reverse every second section */
.layout-container.reverse {
  flex-direction: row-reverse;
}

.layout-image img {
  width: 100%;
  border-radius: 12px;
}

.layout-text {
  flex: 1;
}

.layout-image {
  flex: 1;
}

/* Buttons */
.buttons a {
  display: inline-block;
  margin-right: 15px;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-outline {
  border: 2px solid #2563eb;
  color: #2563eb;
}

.btn-outline:hover {
  background-color:#2563eb;
  color: white;
}



/* Tablet */
@media (max-width: 900px){
  .buttons{
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap; /* 🔥 keep horizontal */
  }

  .buttons a{
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

/* Mobile */
@media (max-width: 600px){
  .buttons{
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap; /* 🔥 force side-by-side */
  }

  .buttons a{
    padding: 10px 12px;
    font-size: 0.85rem;
    flex: 1;              /* 🔥 makes them equal width */
    text-align: center;
  }
}


/* ================= TABLET ================= */
@media (max-width: 900px) {

  .layout-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 40px 6%;
  }

  .layout-card img {
    height: 210px;
     width: 100%;
    object-fit: contain;
  }

    .layout-image img {
    max-width: 320px;
  }

  .layout-container,
  .layout-container.reverse {
    flex-direction: column;
    text-align: left;
    gap: 28px;
    padding: 60px 6%;
  }

  .layout-container.reverse .layout-image {
    order: -1;
  }
}


/* ================= MOBILE ================= */
@media (max-width: 600px) {

  /* GRID */
  .layout-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 30px 5%;
  }

  /* CARDS */
  .layout-card img {
    height: 180px;
    width: 100%;
    object-fit: contain;
  }

    .layout-image img {
    max-width: 280px;
  }

  .layout-card h3 {
    font-size: 1rem;
    padding: 12px;
  }

  /* LAYOUT SECTIONS */
  .layout-container,
  .layout-container.reverse {
    flex-direction: column;
    text-align: left;
    gap: 20px;
    padding: 45px 5%;
  }

  .layout-container.reverse .layout-image {
    order: -1;
  }

  /* TEXT */
  .layout-text p {
    max-width: 100%;
    margin: 12px 0;
  }

  .layout-text ul {
    text-align: left;
    display: block;
  }

  /* BUTTONS */
  .buttons {
    justify-content: flex-start; /* aligns with text */
    flex-wrap: wrap;
  }

  .buttons a {
    width: 100%;
    max-width: 260px;
  }
}


/* ================= SMALL MOBILE ================= */
@media (max-width: 400px) {

  .layout-card img {
    height: 160px;
  }

    .layout-image img {
    max-width: 240px;
  }

  .layout-card h3 {
    font-size: 0.95rem;
  }

  .layout-container,
  .layout-container.reverse {
    padding: 35px 5%;
  }
}


/* 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;
  }
}
/* --------------------
   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;
  font-family: "Inter", sans-serif;
}

.footer-column a:hover {
  color: #2563eb;
  transform: translateX(4px);
}

.footer-column p {
  margin-bottom: 8px;
  font-size: 14px;
  color: #fff;
  font-family: "Inter", sans-serif;
}

.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;
  font-family: "Inter", sans-serif;
}

.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;
  }
}


/* ================================
   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;
  }
}
