/* =====================
   RESET & GLOBAL
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9fafb;
  color: #0f172a;
  line-height: 1.7;
  padding-top: 130px; /* header height same */

}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

section {
  position: relative;
}

section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 80%;
  height: 1px;
  background: linear-gradient(to right, transparent, #e2e8f0, transparent);
  transform: translateX(-50%);
}

/* =====================
   HEADER
===================== */
.header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  z-index: 1000;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2563eb;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  color: #334155;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}

.header-contact span,
.header-contact a {
  color: #334155;
  text-decoration: none;
}

.cta-btn {
  padding: 10px 18px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* =====================
   HERO SECTION
===================== */
.hero {
  padding: 90px 0;
  background: linear-gradient(120deg, #f9fafb, #eef2ff);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 44px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 16px;
  color: #475569;
  margin-bottom: 30px;
}

.primary-btn {
  padding: 14px 28px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

.hero-box {
  width: 100%;
  height: 300px;
  background: #e0e7ff;
  border-radius: 12px;
}
/* =====================
   PAGE HERO FIX
===================== */
.page-hero {
  background: linear-gradient(120deg, #f8fafc, #eef2ff);
  padding: 80px 0;          /* default */
  text-align: center;
}

.page-hero h1 {
  font-size: 38px;
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  color: #475569;
}

/* =====================
   INTRO SECTION
===================== */
.intro {
  padding: 70px 0;
}

.intro p {
  max-width: 900px;
  margin: auto;
  font-size: 15px;
  color: #475569;
  text-align: center;
}

/* =====================
   SERVICES
===================== */
.services-preview {
  padding: 90px 0;
  background: #ffffff;
}

.services-preview h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 60px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  padding: 32px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  transition: all 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

/* =====================
   WHY CHOOSE US
===================== */
.why-us {
  padding: 90px 0;
  background: #f9fafb;
}

.why-us h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 60px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.why-box h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #2563eb;
}

.why-box p {
  font-size: 14px;
  color: #475569;
}
.why-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 34px 28px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease;
}

.why-box:hover {
  transform: translateY(-6px);
}

.why-box h3 {
  color: #2563eb;
  margin-bottom: 10px;
}

/* =====================
   FOOTER
===================== */
.footer {
  background: #0f172a;
  color: #cbd5f5;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer h3,
.footer h4 {
  color: #ffffff;
  margin-bottom: 16px;
}

.footer p {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  border-top: 1px solid #1e293b;
  padding-top: 20px;
}

/* =====================
   SCROLL ANIMATION
===================== */
.hero-content,
.service-card,
.why-box,
.intro p {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* about */

/* =====================
   INNER PAGE COMMON STYLES
===================== */
.page-hero {
  padding: 90px 0;
  background: linear-gradient(120deg, #f9fafb, #eef2ff);
  text-align: center;
}

.page-hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 15px;
  color: #475569;
}

.page-content {
  padding: 90px 0;
}

.content-block {
  margin-bottom: 60px;
}

/* Disable body scroll when mobile menu is open */
body.no-scroll {
  overflow: hidden;
}

/* =====================
   CONTACT FORM
===================== */
.contact-form {
  max-width: 600px;
  margin: auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #334155;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
}

.quick-contact {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* =====================
   PREMIUM HERO
===================== */
.premium-hero {
  background: linear-gradient(120deg, #eef2ff, #f8fafc);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  background: #e0e7ff;
  color: #2563eb;
  border-radius: 20px;
  margin-bottom: 16px;
}

.premium-hero h1 {
  font-size: 46px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.premium-hero p {
  max-width: 520px;
  font-size: 16px;
  color: #475569;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}
/* Remove underline from hero action buttons */
.hero-actions a {
  text-decoration: none;
}
.primary-btn,
.secondary-btn {
  text-decoration: none;
}


.secondary-btn {
  padding: 14px 26px;
  border: 1px solid #2563eb;
  color: #2563eb;
  border-radius: 6px;
  font-weight: 500;
}

.secondary-btn:hover {
  background: #eef2ff;
}

.hero-visual {
  position: relative;
}

.hero-shape {
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  border-radius: 50%;
  opacity: 0.15;
  margin-left: auto;
}
/* =====================
   PREMIUM CARDS
===================== */
.premium-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 36px 30px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
  border-top: 4px solid #2563eb;
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1);
}

/* =====================
   FADE UP ANIMATION
===================== */
.fade-up {
  animation: fadeUp 0.8s ease forwards;
}

.fade-up.delay {
  animation-delay: 0.2s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =====================
   SOFTWARE WE USE
===================== */
.software-section {
  padding: 90px 0;
  background: linear-gradient(120deg, #f8fafc, #eef2ff);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.section-header p {
  font-size: 15px;
  color: #475569;
}

/* 4 items in one row */
.software-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: center;
}

.software-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease;
}

.software-card:hover {
  transform: translateY(-8px);
}

.software-card img {
  max-width: 140px;
  height: auto;
  margin-bottom: 14px;
}

.software-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

/* =====================
   SOFTWARE CARD HOVER GLOW
===================== */
.software-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;

  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.software-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 30px 60px rgba(37, 99, 235, 0.18),
    0 0 0 1px rgba(37, 99, 235, 0.08);
}

/* =====================
   FOOTER – PROFESSIONAL ALIGNMENT
===================== */
.footer {
  background: linear-gradient(135deg, #0f172a, #020617);
  color: #cbd5f5;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr; /* left content bigger */
  gap: 60px;
  align-items: flex-start;
}

.footer h3 {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer h4 {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer p {
  font-size: 14px;
  line-height: 1.7;
  color: #cbd5f5;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(203, 213, 245, 0.15);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #94a3b8;
}

/* Improve desktop nav alignment */
/* .nav {
  display: flex;
  align-items: center;
  gap: 36px;
} */

/* Space between Mail and Call – SAFE FIX */
.mobile-contact a {
  margin-right: 18px;
}

.mobile-contact .cta-btn {
  margin-right: 0;   /* last item clean */
}

/* =====================
   WHATSAPP FLOAT BUTTON
===================== */
/* .whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
} */

/* .whatsapp-float img {
  width: 28px;
  height: 28px;
} */

/* .whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(37, 211, 102, 0.45);
} */

/* Mobile spacing */
/* @media (max-width: 768px) {
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }
} */


/* =====================
   FLOATING CONTACT STACK (UNIVERSAL FIX)
===================== */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

/* Common button */
.float-btn {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;   /* ❗ gap 대신 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* remove last margin */
.float-btn:last-child {
  margin-bottom: 0;
}

.float-btn:hover {
  transform: translateY(-3px);
}

/* WhatsApp */
.whatsapp-btn {
  background: #25D366;
}

.whatsapp-btn img {
  width: 28px;
  height: 28px;
  display: block;
}

/* Call */
.call-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.call-btn svg {
  width: 22px;
  height: 22px;
  display: block;        /* 🔑 Vivo fix */
}

/* Mail */
.mail-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.mail-btn img {
  width: 26px;
  height: 26px;
  display: block;        /* 🔑 Vivo fix */
}

/* Mobile safe size */
@media (max-width: 768px) {
  .float-btn {
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
  }
}

/* =====================
   LOGO IMAGE FIX (ALL BROWSERS)
===================== */
.logo img {
  height: 150px;        /* desktop size */
  width: auto;
  display: block;      /* 🔑 Vivo browser fix */
}

/* Mobile logo size */
@media (max-width: 768px) {
  .logo img {
    height: 150px;
  }
}

/* =====================
   LOGO ALIGNMENT FIX (ALL BROWSERS)
===================== */

/* Header flex safety */
.header-flex {
  align-items: center;      /* force center */
}

/* Logo wrapper fix */
.logo {
  display: flex;
  align-items: center;
  line-height: 0;           /* 🔑 Vivo fix */
}

/* Logo link fix */
.logo a {
  display: flex;
  align-items: center;
}

/* Logo image fix */
.logo img {
  height: 100px;
  width: auto;
  display: block;           /* 🔑 prevents baseline issues */
  vertical-align: middle;  /* 🔑 fallback */
}

/* Mobile size */
@media (max-width: 768px) {
  .logo img {
    height: 80px;
  }
}

/* =====================
   SERVICE CARD ALIGNMENT FIX
===================== */

/* Grid fix */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: stretch;   /* 🔑 equal height */
}

/* Card fix */
.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Content spacing */
.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  margin-bottom: 12px;
  line-height: 1.7;
}

/* List inside card */
.service-card ul {
  margin: 10px 0 0 18px;
  padding: 0;
}

.service-card ul li {
  margin-bottom: 6px;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================
   ABOUT OUR TEAM
===================== */
.team-section {
  margin-top: 80px;
}

.team-section h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 50px;
  color: #0f172a;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

/* Team Card */
.team-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* Image */
.team-card img {
  width: 120px;
  height: 145px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
}

/* Name */
.team-card h4 {
  font-size: 18px;
  margin-bottom: 4px;
  color: #0f172a;
}

/* Role */
.team-card span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #2563eb;
  margin-bottom: 12px;
}

/* Description */
.team-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
}

/* Tablet */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    padding: 24px 20px;
  }
}

/* ==========================
   HEADER DEFAULT (BEFORE SCROLL)
========================== */
/* .header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  transition: all 0.3s ease;
} */
.header {
  position: fixed;   /* 🔥 sticky ❌ */
  top: 0;
  left: 0;
  width: 100%;
  height: 130px;

  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  z-index: 1000;
}


.header-flex {
  min-height: 96px;              /* 🔑 BIG height */
  transition: min-height 0.3s ease;
}

/* Logo size - default */
.logo img {
  max-height: 150px;              /* 🔑 BIG logo */
  transition: max-height 0.3s ease;
}

/* ==========================
   HEADER AFTER SCROLL
========================== */
.header.scrolled .header-flex {
  min-height: 70px;              /* 🔽 height reduce */
}

.header.scrolled .logo img {
  max-height: 80px;              /* 🔽 logo shrink */
}

.hero-slider {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

.slides {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slides.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.35)
  );
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 48px;
  margin-bottom: 12px;
  color: #fbbf24; /* yellow accent */
}

.hero-text p {
  font-size: 18px;
}

.slides {
  transform: scale(1);
  animation: slowZoom 12s linear infinite;
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}
.hero-slider::after {
  /* content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 200, 80, 0.25),
    transparent
  );
  animation: lightSweep 6s infinite; */
  display: none;
}

@keyframes lightSweep {
  0% { left: -60%; }
  100% { left: 120%; }
}
.hero-text h1,
.hero-text p {
  opacity: 0;
  transform: translateY(30px);
  animation: textReveal 1.2s ease forwards;
}

.hero-text p {
  animation-delay: 0.3s;
}

@keyframes textReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.slides.active {
  animation: slowZoom 12s linear infinite,
             microShake 8s ease-in-out infinite;
}

@keyframes microShake {
  0% { transform: scale(1.04) translate(0,0); }
  50% { transform: scale(1.04) translate(2px,1px); }
  100% { transform: scale(1.04) translate(0,0); }
}
/* SCROLL REVEAL BASE */
[data-scroll] {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}

/* WHEN ACTIVE */
[data-scroll].active {
  opacity: 1;
  transform: translateY(0);
}
.parallax {
  background-attachment: fixed;
  background-position: center;
}
.hero-text {
  position: relative;
  z-index: 2;
}
/* =========================
   PAGE HERO BACKGROUND SLIDER
========================= */

.hero-bg-slider {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.5s ease;
  animation: slowZoom 12s linear infinite;
}

.hero-bg.active {
  opacity: 1;
}

/* reuse cinematic zoom (already used in home) */
@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

/* dark overlay – same professional look */
.hero-bg-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.65)
  );
  z-index: 1;
}

/* text stays above */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 110px;
  color: #fff;
}

/* text reveal – already style match */
.hero-content h1,
.hero-content p {
  animation: textReveal 1.2s ease forwards;
}

@keyframes textReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-bg {
  filter: blur(3px);
  transform: scale(1.12);
}
.hero-bg-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.75)
  );
  z-index: 1;
}
.page-hero h1 {
  color: #fbbf24; /* professional gold */
  font-weight: 700;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}
.hero-content {
  text-shadow: 0 8px 30px rgba(0,0,0,0.6);
}
@media (max-width: 768px) {
  .hero-bg {
    filter: blur(2px);
  }

  .page-hero h1 {
    font-size: 28px;
  }
}
/* =========================================
   SERVICES PAGE – FORCE IMAGE DARKEN FIX
   (OVERRIDES ALL PREVIOUS HERO RULES)
========================================= */

/* Dark overlay ONLY for services hero */
body.services-page .page-hero.hero-bg-slider::after {
  background: rgba(0, 0, 0, 0.65) !important;
}

/* Reduce image brightness ONLY for services */
body.services-page .page-hero .hero-bg {
  opacity: 0.7 !important;          /* 🔥 MAIN FIX */
  filter: none !important;          /* remove blur conflict */
  transform: none !important;
}
@media (max-width: 768px) {
  body.services-page .page-hero.hero-bg-slider::after {
    background: rgba(0, 0, 0, 0.7) !important;
  }

  body.services-page .page-hero .hero-bg {
    opacity: 0.65 !important;
  }
}
/* =========================================
   SERVICES HERO – IMAGE STACK FIX (FINAL)
========================================= */

/* Hide ALL images by default */
body.services-page .page-hero .hero-bg {
  display: none !important;
  opacity: 0.4 !important;
  filter: blur(2px);
  transform: scale(1.05);
}

/* Show ONLY active image */
body.services-page .page-hero .hero-bg.active {
  display: block !important;
}

/* Soft black shade (same as home feel) */
body.services-page .page-hero.hero-bg-slider::after {
  background: rgba(0, 0, 0, 0.6) !important;
}
@media (max-width: 768px) {
  body.services-page .page-hero .hero-bg {
    filter: blur(1.5px);
  }
}

.floating-contact {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Popup */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup.hidden {
  display: none;
}

.popup-box {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  max-width: 300px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.popup-box button {
  margin-top: 15px;
  padding: 8px 20px;
  border: none;
  background: #2563eb;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}
/* =========================
   PAGE LOAD ANIMATION
========================= */

/* Initial hidden state */
.page-animate {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  animation: pageEnter 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Animation keyframes */
@keyframes pageEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#splash {
  position: fixed;
  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;          /* 🔥 FULL SCREEN */

  background: linear-gradient(
    135deg,
    #f8fafc,
    #e0e7ff
  );

  z-index: 999999;

  display: flex;
  justify-content: center;
  align-items: center;
}

#splash img {
  width: 220px;
}

/* =====================
   SPLASH OVERRIDE FIX
===================== */

body.splash-active {
  overflow: hidden;
}
/* =========================
   SERVICES PREVIEW – PREMIUM DESIGN
========================= */
.services-preview {
  padding: 80px 0;
  background: linear-gradient(
    180deg,
    #f8fafc 0%,
    #ffffff 100%
  );
}

.services-preview h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  margin-top: -120px;
}

.services-preview h4 {
  font-size: 18px;
  font-weight: 500;
  color: #2563eb;
  letter-spacing: 0.3px;
}

.service-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

/* SERVICE CARD */
.service-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;

  font-size: 17px;
  font-weight: 600;
  color: #0f172a;

  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);

  cursor: default;
  position: relative;
  overflow: hidden;

  transition: all 0.35s ease;
}

/* subtle top accent line */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(
    90deg,
    #2563eb,
    #38bdf8
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* HOVER EFFECT */
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-color: #c7d2fe;
}

.service-card:hover::before {
  opacity: 1;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
  .services-preview {
    padding: 60px 0;
  }

  .services-preview h2 {
    
    font-size: 28px;
  }

  .service-card {
    font-size: 16px;
    padding: 24px 18px;
  }
}

.sample-img{
    width:100%;
    margin-top:12px;
    border-radius:10px;
    object-fit:cover;
}
/* Sample page – one image per row */
.service-grid{
    grid-template-columns: 1fr !important;
}

/* image style */
.sample-img{
    width:100%;
    margin-top:12px;
    border-radius:12px;
    object-fit:cover;
}
.image-frame{
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
    border: 2px solid #ccc;
    padding: 10px;
    overflow: hidden;
    background: #fff;
}

.controls{
    text-align: right;
    margin-bottom: 10px;
}

.controls button{
    padding: 6px 12px;
    margin-left: 5px;
    cursor: pointer;
}

.image-container{
    width: 100%;
    overflow: hidden;
}

.zoom-image{
    width: 100%;
    transition: transform 0.3s;
}
/* Full width frame */
.sample-wrapper{
    width:100%;
    overflow:auto;        /* 🔥 scroll enable */
}

/* image default */
.sample-img{
    width:100%;
    border-radius:12px;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

/* ===== Loading Overlay ===== */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-overlay.hidden {
  display: none;
}

.loader-box {
  background: #ffffff;
  padding: 30px 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.spinner {
  width: 45px;
  height: 45px;
  border: 5px solid #e5e7eb;
  border-top: 5px solid #0b3d91;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}