/* ============== RESET & BASE ============== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0e1a;
  color: #e8eaf0;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Animated gradient background */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, #0a0e1a 0%, #1a1f3a 100%);
  z-index: -2;
  animation: bgShift 20s ease infinite;
}
@keyframes bgShift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(2deg); }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============== GLASSMORPHISM ============== */
.glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* ============== NAVBAR ============== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: transparent;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(10, 14, 26, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}
.logo svg { color: #818cf8; }
.nav-menu {
  display: flex;
  gap: 8px;
}
.nav-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(232, 234, 240, 0.85);
  border-radius: 10px;
  transition: all 0.3s ease;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.55);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1920') center/cover no-repeat;
  z-index: -1;
  animation: kenBurns 25s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  0% { transform: scale(1) translateX(0); }
  100% { transform: scale(1.15) translateX(-2%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 14, 26, 0.6) 0%, rgba(99, 102, 241, 0.4) 100%);
  z-index: -1;
}
.hero-content {
  max-width: 800px;
  padding: 60px 50px;
  text-align: center;
  animation: heroFadeIn 1.2s ease-out;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: #c7d2fe;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.1rem;
  color: rgba(232, 234, 240, 0.85);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ============== PAGE HEADER ============== */
.page-header {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
  animation: kenBurns 25s ease-in-out infinite alternate;
}
.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 14, 26, 0.7) 0%, rgba(99, 102, 241, 0.45) 100%);
  z-index: -1;
}
.page-header-content {
  max-width: 720px;
  padding: 48px 40px;
  text-align: center;
}
.page-header-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-header-content p {
  color: rgba(232, 234, 240, 0.85);
  font-size: 1.05rem;
}

/* ============== SECTIONS ============== */
.section { padding: 100px 0; position: relative; }
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 14px;
}
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}
.section-head p {
  color: rgba(232, 234, 240, 0.7);
  font-size: 1rem;
}

/* ============== SERVICES GRID ============== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  overflow: hidden;
  transition: all 0.5s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(165, 180, 252, 0.3);
}
.service-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.service-card:hover .service-img { transform: scale(1.08); }
.service-body { padding: 28px 26px; }
.service-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}
.service-body p {
  color: rgba(232, 234, 240, 0.75);
  font-size: 0.95rem;
}

/* ============== SERVICES DETAIL ============== */
.services-detail { display: flex; flex-direction: column; gap: 30px; }
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 320px;
}
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-img {
  background-size: cover;
  background-position: center;
  min-height: 280px;
}
.service-detail-body { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.service-detail-body h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 8px 0 14px;
  color: #fff;
}
.service-detail-body p {
  color: rgba(232, 234, 240, 0.8);
  margin-bottom: 20px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: rgba(232, 234, 240, 0.85);
  font-size: 0.95rem;
}
.check-list svg { color: #a5b4fc; flex-shrink: 0; }

/* ============== ABOUT ============== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-img {
  height: 480px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
.about-text { padding: 44px 38px; }
.about-text h2 { margin-bottom: 18px; }
.about-text p {
  color: rgba(232, 234, 240, 0.8);
  margin-bottom: 18px;
}
.about-list { margin: 20px 0 30px; }
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: rgba(232, 234, 240, 0.85);
}
.about-list svg { color: #a5b4fc; flex-shrink: 0; }

/* ============== STATS ============== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  padding: 32px 20px;
  text-align: center;
  transition: all 0.4s ease;
}
.stat:hover { transform: translateY(-5px); border-color: rgba(165, 180, 252, 0.3); }
.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(232, 234, 240, 0.7);
  letter-spacing: 0.5px;
}

/* ============== METHOD / VALUES / LOCATIONS ============== */
.method-grid, .values-grid, .locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.method-card, .value-card, .location-card {
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s ease;
}
.method-card:hover, .value-card:hover, .location-card:hover {
  transform: translateY(-6px);
  border-color: rgba(165, 180, 252, 0.3);
}
.method-num {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.value-icon, .location-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  margin-bottom: 18px;
}
.method-card h3, .value-card h3, .location-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}
.method-card p, .value-card p, .location-card p {
  color: rgba(232, 234, 240, 0.75);
  font-size: 0.93rem;
}

/* ============== CTA BOX ============== */
.cta-box {
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.12) 100%);
}
.cta-box h2 { margin-bottom: 14px; }
.cta-box p {
  color: rgba(232, 234, 240, 0.8);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* ============== CONTACT ============== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}
.contact-info { padding: 44px 38px; }
.contact-info h2 { margin-bottom: 30px; }
.contact-item {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
}
.contact-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
}
.contact-item h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 4px;
}
.contact-item p {
  color: rgba(232, 234, 240, 0.75);
  font-size: 0.92rem;
}
.contact-map {
  min-height: 480px;
  overflow: hidden;
  padding: 8px;
}
.contact-map iframe { border-radius: 14px; height: 100% !important; min-height: 460px; }

/* ============== FOOTER ============== */
.footer {
  background: rgba(10, 14, 26, 0.6);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 0;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.logo-footer { margin-bottom: 14px; color: #fff; }
.footer-tag {
  color: rgba(232, 234, 240, 0.65);
  font-size: 0.92rem;
}
.footer h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #c7d2fe;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer ul li {
  padding: 6px 0;
  color: rgba(232, 234, 240, 0.7);
  font-size: 0.92rem;
}
.footer ul li a:hover { color: #c7d2fe; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p {
  color: rgba(232, 234, 240, 0.5);
  font-size: 0.85rem;
}

/* ============== REVEAL ANIMATIONS ============== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes revealFallback {
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: revealFallback 0.9s ease 0.4s forwards; }

/* ============== RESPONSIVE ============== */
@media (max-width: 968px) {
  .about-grid, .contact-grid, .service-detail {
    grid-template-columns: 1fr;
  }
  .service-detail.reverse { direction: ltr; }
  .about-img { height: 340px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 20px;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { padding: 14px 20px; }
  .hamburger { display: flex; }
  .section { padding: 70px 0; }
  .hero-content { padding: 40px 28px; }
  .hero-cta .btn { width: 100%; }
  .hero-cta { flex-direction: column; }
  .page-header-content { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-text, .contact-info { padding: 32px 26px; }
  .cta-box { padding: 44px 26px; }
  .service-detail-body { padding: 32px 26px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}
