/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #fff;
}

/* HERO SECTION */
.hero-clean {
  padding: 80px 20px;
  background: #fff;
}

/* CONTAINER */
.hero-container {
  max-width: 1100px;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;
}

/* LEFT IMAGE */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.final-frame {
  width: 340px; /* 🔥 mas malaki */
  max-width: 100%;
  display: block;
width: 380px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.18));
}
/* RIGHT CONTENT */
.hero-content {
  flex: 1;
}
.hero-btn {
  display: inline-block;
  margin-top: 20px;

  background: #9acd32;
  color: #000;

  padding: 12px 26px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;

  border-radius: 6px;

  transition: all 0.3s ease;

  box-shadow: 0 8px 20px rgba(154,205,50,0.3);
}

/* 🔥 HOVER */
.hero-btn:hover {
  background: #7ed957;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(154,205,50,0.4);
}
.hero-logo {
  width: 240px;
  margin-bottom: 20px;

  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.1));
}
.hero-content h1 {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #111;
}

.hero-text {
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.hero-icons {
  font-size: 20px;
  opacity: 0.7;
}
.hero-divider {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.hero-divider span {
  width: 80%;
  height: 3px;

  background: linear-gradient(
    90deg,
    transparent,
    #9acd32,
    #7ed957,
    #9acd32,
    transparent
  );

  border-radius: 50px;

  /* 🔥 smooth curve illusion */
  transform: scaleY(1.3);

  box-shadow: 0 4px 15px rgba(154,205,50,0.3);
}
/* =========================
   📱 TABLET
========================= */
@media (max-width: 1024px) {

  .hero-clean {
    padding: 70px 30px;
  }

  .hero-container {
    gap: 25px;
  }

  .final-frame {
    width: 230px;
  }

  .hero-content h1 {
    font-size: 28px;
  }
}

/* =========================
   📱 MOBILE
========================= */
@media (max-width: 768px) {

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-clean {
    padding: 60px 20px;
  }

  .final-frame {
    width: 240px;
  }

  .hero-logo {
    margin: 0 auto 10px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-text {
    font-size: 14px;
  }
.hero-divider span {
    width: 90%;
  }
     .hero-image {
    order: 2; /* 🔥 hindi na last */
    margin: 20px 0;
  }

   .hero-content {
    order: 1;
  }

}
/* INFO BAR */
.info-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: #fff;
  padding: 70px 100px 30px;
}

/* LEFT SIDE */
.info-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* ICON */
.icon-box {
  width: 70px;
  height: 70px;
  border: 2px solid #9acd32;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(154, 205, 50, 0.05);
  backdrop-filter: blur(6px);

  transition: all 0.35s ease;
  cursor: pointer;
}

.icon-box svg {
  width: 30px;
  height: 30px;
  stroke: #9acd32;
  stroke-width: 1.5;
  transition: all 0.35s ease;
}

/* 🔥 HOVER EFFECT (premium feel) */
.icon-box:hover {
  background: #9acd32;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 30px rgba(154, 205, 50, 0.35);
}

.icon-box:hover svg {
  stroke: #fff;
}

/* TEXT */
.info-left strong {
  font-size: 16px;
}

/* DIVIDER */
.divider {
  width: 1px;
  height: 50px;
  background: #ddd;
}

/* DETAILS */
.info-details {
  display: flex;
  gap: 60px;
}

.info-details small {
  font-size: 12px;
  color: #888;
}

.info-details p {
  font-size: 14px;
  color: #000;
}

/* ABOUT SECTION */
.about-section {
  text-align: center;
  padding: 80px 20px 0;
  margin-bottom: 0;
  position: relative;
  margin-top: 80px;
  z-index: 2;
}

.section-tag {
  color: #9acd32;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.about-section h2 {
  font-size: 28px;
  margin-bottom: 40px;
}

/* VIDEO */
.video-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.video-box {
  width: 700px;
  height: 380px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: black;
}

.video-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 70px;
  height: 70px;
  background: #9acd32;
  color: white;
  font-size: 26px;

  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.video-box:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 10px 30px rgba(154,205,50,0.4);
}
.video-box iframe {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* SERVICES SECTION (GREEN BG) */
.services-section {
  background: #e9f2d8;
  padding: 140px 100px 60px; /* 🔥 top mataas kasi naka overlap */
  margin-top: -120px; /* 🔥 DITO MAGIC */
  position: relative;
  z-index: 1;
  text-align: center;
}
/* GRID */
.services-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* CARD */
.service-card {
  width: 180px;
  height: 160px;
  background: #f3f3f3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;

  transition: 0.3s ease;
  cursor: pointer;
}

/* ICON */
.service-icon {
  font-size: 28px;
  color: #9acd32;
}

/* TITLE */
.service-card h3 {
  font-size: 14px;
  font-weight: 600;
}

/* HOVER (SUBTLE LANG) */
.service-card:hover {
  transform: translateY(-4px);
  background: #ffffff;
}

/* FOOTER TEXT */
.services-footer {
  margin-top: 25px;
  font-size: 13px;
  color: #333;
}

.services-footer a {
  color: #6a5cff;
  text-decoration: none;
}
/* why section*/
.why-section {
  background: #f5f5f5;
  padding: 120px 140px;
}

/* FORCE FLEX */
.why-container {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 120px;
}

/* IMAGE BIGGER */
.why-image {
  width: 55%;
}

.why-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

/* TEXT RIGHT */
.why-content {
  width: 45%;
  padding-left: 40px;
}

/* TITLE */
.why-content h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

/* DESC */
.why-desc {
  font-size: 15px;
  color: #666;
  margin-bottom: 30px;
}

/* LIST */
.why-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ITEM */
.why-item {
  background: #e0e0e0;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 15px;

  border-left: 4px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* ICON */
.check-icon {
  background: #9acd32;
  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: bold;
  transition: all 0.3s ease;
}

/* 🔥 HOVER EFFECT */
.why-item:hover {
  background: #ffffff;
  transform: translateX(6px);
  border-left: 4px solid #9acd32;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* ICON ANIMATION */
.why-item:hover .check-icon {
  background: #000;
  color: #fff;
  transform: scale(1.1);
}
/* TRUST SECTION */
.credibility-section {
  background: #000;
  padding: 60px 0;
}

/* LOGOS WRAPPER */
.credibility-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
}

/* LOGOS */
.credibility-logos img {
  max-height: none; 
  opacity: 0.7;
  filter: grayscale(100%);
  transition: 0.3s ease;
}
/* SPECIFIC SIZES */
.logo-small {
  height: 200px; 
}

.logo-medium {
  height: 100px;
}

.logo-large {
  height: 100px;
}

/* HOVER */
.credibility-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}
/* SECTION */
.testimonial-section {
  background: #f5f5f5;
  padding: 120px 120px;
  text-align: center;
}

/* TITLE */
.testimonial-section h2 {
  font-size: 28px;
  margin-bottom: 60px;
}

/* CONTAINER */
.testimonial-container {
  display: flex;
  align-items: center;
  justify-content: center; /* 🔥 CENTER NA */
  max-width: 1100px; /* 🔥 limit width */
  margin: 0 auto; /* 🔥 center container */
  position: relative;
}
/* IMAGE */
.testimonial-image {
  position: relative;
}

.testimonial-image img {
  width: 320px;
  height: 400px;
  object-fit: cover;
}

/* QUOTE BADGE */
.quote-badge {
  position: absolute;
  top: 10px;
  left: -15px;
  background: #9acd32;
  color: white;
  font-size: 26px;
  padding: 10px 14px;
}

/* CARD */
.testimonial-card {
  background: white;
  padding: 40px;
  width: 650px;
  margin-left: -80px;
  text-align: left;

  margin-left: -20px; /* 🔥 overlap */
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* NAME */
.testimonial-card h3 {
  color: #9acd32;
  margin-bottom: 5px;
}

/* LOCATION */
.location {
  font-size: 13px;
  color: #777;
  display: block;
  margin-bottom: 20px;
}

/* TEXT */
.testimonial-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}
/* CTA SECTION */
.cta-section {
  position: relative;
  padding: 90px 20px 90px;
  background: url('https://png.pngtree.com/thumb_back/fh260/background/20230715/pngtree-3d-rendered-concept-illustration-of-legal-justice-and-rules-image_3882668.jpg') center/cover no-repeat;
  overflow: hidden;
}

/* 🔥 PREMIUM BLUR OVERLAY */
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(123, 176, 58, 0.6); /* green tint */
  backdrop-filter: blur(8px);          /* 🔥 blur effect */
  -webkit-backdrop-filter: blur(8px);

  z-index: 1;
}

/* KEEP CONTENT ABOVE */
.cta-container {
  position: relative;
  z-index: 2;
}

/* TOP TEXT */
.cta-text {
  text-align: center;
  margin-bottom: 60px;
}

.cta-text h2 {
  font-size: 36px;
  color: #ffffff;
  text-shadow: #000;
}

/* FLEX LAYOUT */
/* FIX FLEX ALIGNMENT */
.cta-content {
  display: flex;
  align-items: center;     /* 🔥 vertical center */
  justify-content: center;
  gap: 100px;              /* mas premium spacing */
  min-height: 320px;       /* 🔥 prevents sagging */
}

/* LEFT SIDE FIX */
.cta-left {
  max-width: 420px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* 🔥 instead of center */

  margin-top: -180px;           /* 🔥 angat */
}

/* DESCRIPTION FIX */
.cta-desc {
  font-size: 20px;
  color: #ece6e6;
  line-height: 1.7;
  margin-bottom: 18px;
  align-self: center;
  text-align: center;
}
.cta-text h2 {
  font-size: 38px;
  letter-spacing: -0.5px;
}
.cta-left .call-btn {
  padding: 8px 18px !important;
  height: auto !important;
}
.call-btn {
  display: inline-block;

  padding: 8px 18px;      /* 🔥 mas maliit */
  font-size: 13px;

  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 600;

  align-self: center; /* keep short width */
}
.call-btn:hover {
  background: #222;
  transform: translateY(-2px);
}

/* FORM CARD */
.form-card {
  width: 400px;
  background: #fff;
  padding: 35px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.25);
  transform: translateY(-40px); /* less aggressive */
}

/* INPUTS CLEAN */
.form-card input,
.form-card textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid #ddd;
  margin-bottom: 12px;
  font-size: 14px;
}

/* BUTTON */
.form-card button {
  width: 100%;
  padding: 14px;
  background: #9acd32;
  border: none;
  font-weight: bold;
}

/* MOBILE FIX */
@media (max-width: 768px) {

  /* SECTION SPACING */
  .cta-section {
    padding: 80px 15px;
    text-align: center;
  }

  /* HEADLINE FIX */
  .cta-text h2 {
    font-size: 35px;       /* 🔥 smaller */
    line-height: 1.3;
  }

  .cta-desc {
    font-size: 20px;
  }

  /* STACK LAYOUT */
  .cta-content {
    flex-direction: column;
    gap: 25px;
  }

  /* LEFT SIDE CENTER */
  .cta-left {
    align-items: center;
    text-align: center;
    margin-top: 0;
  }

  /* BUTTON CENTER */
  .call-btn {
    align-self: center;
  }

  /* FORM FIX */
  .form-card {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    transform: none; /* 🔥 remove overlap sa mobile */
  }

  /* INPUTS */
  .form-card input,
  .form-card textarea {
    font-size: 14px;
  }

  /* BUTTON */
  .form-card button {
    font-size: 14px;
  }
}
/* FOOTER */
.footer {
  background: #000;
  padding: 60px 120px;
}

/* CONTAINER */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* LEFT TEXT */
.footer-left {
  max-width: 500px;
}

.footer-title {
  font-size: 12px;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.footer-left p {
  font-size: 11px;
  color: #aaa;
  line-height: 1.6;
}

/* RIGHT ICON */
.footer-right a {
  display: inline-block;
  opacity: 0.7;
  transition: 0.3s;
}

.footer-right a:hover {
  opacity: 1;
  transform: scale(1.1);
}
/* =========================
   GLOBAL BASE
========================= */
html, body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  width: 100%;
}

/* FIX FLEX SHRINK BUG */
.hero-left,
.hero-form {
  min-width: 0;
}

/* =========================
   DESKTOP (DEFAULT)
========================= */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 80px;
  gap: 50px;
}

.hero-left {
  max-width: 550px;
}

.hero-left h1 {
  font-size: 42px;
  line-height: 1.2;
}

.hero-form {
  width: 380px;
  flex-shrink: 0;
}

/* =========================
   TABLET (≤1024px)
========================= */
@media (max-width: 1024px) {

  section {
    padding: 80px 40px;
  }

  /* HERO */
  .hero {
    padding: 80px 40px;
    gap: 30px;
  }

  .hero-left h1 {
    font-size: 34px;
  }

  .hero-form {
    width: 320px;
  }

  .logo img {
    height: 100px;
  }

  /* INFO BAR */
  .info-bar {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  /* SERVICES */
  .services-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .service-card {
    width: 45%;
  }

  /* WHY */
  .why-container {
    flex-direction: column;
    gap: 40px;
  }

  .why-content {
    padding-left: 0;
    text-align: center;
  }

  /* TESTIMONIAL */
  .testimonial-container {
    flex-direction: column;
    gap: 20px;
  }

  .testimonial-card {
    width: 100%;
    margin: 0;
  }

  /* LOGOS */
  .credibility-logos {
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

/* =====================================
   🔥 FINAL FIX: MOBILE + TABLET CLEANUP
===================================== */

/* ---------- TABLET FIX (≤1024px) ---------- */
@media (max-width: 1024px) {

  /* HERO FIX */
  .hero {
    flex-direction: column;
    height: auto;
    text-align: center;
  }

  .hero-form {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;

    margin-top: 30px;
    width: 100%;
    max-width: 400px;
  }

  /* REMOVE OVERLAPS */
  .services-section {
    margin-top: 0 !important;
    padding-top: 80px;
  }

  .testimonial-card {
    margin-left: 0 !important;
  }

  /* WHY SECTION FIX */
  .why-container {
    flex-direction: column;
    text-align: center;
  }

  .why-image,
  .why-content {
    width: 100%;
  }

  /* VIDEO */
  .video-box {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }
}


/* ---------- MOBILE FIX (≤768px) ---------- */
@media (max-width: 768px) {

  /* GLOBAL SAFE FIX */
  body {
    overflow-x: hidden;
  }

  /* HERO */
  .hero {
    padding: 80px 20px 40px;
  }

  .hero-left h1 {
    font-size: 24px;
  }

  /* LOGO */
  .logo img {
    height: 80px;
  }

  /* FORM CENTER FIX */
  .hero-form {
    width: 100%;
    max-width: 100%;
    margin: 20px auto 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }

  /* INFO BAR */
  .info-details {
    flex-direction: column;
    gap: 10px;
  }

  .divider {
    display: none;
  }

  /* SERVICES */
  .services-section {
    margin-top: 0 !important;
    padding: 60px 20px;
  }

  .service-card {
    width: 100%;
  }

  /* WHY */
  .why-section {
    padding: 60px 20px;
  }

  .why-item {
    justify-content: flex-start;
  }

  /* TESTIMONIAL */
  .testimonial-section {
    padding: 60px 20px;
  }

  .testimonial-image img {
    height: auto;
  }

  /* CTA */
  .cta-section {
    height: auto;
    padding: 60px 20px;
  }

  /* FOOTER */
  .footer {
    padding: 40px 20px;
  }
}