/* ---------------------------- */
/* RESET & BASE                 */
/* ---------------------------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

:root {
  --primary: #2563eb;
  --primary-soft: #e0ebff;
  --accent: #f97316;
  --accent-soft: #ffedd5;
  --text-main: #111827;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f3f4ff;
  --card-bg: #ffffff;
  --border-soft: #e5e7eb;
  --shadow-soft: 0 12px 35px rgba(15, 23, 42, 0.08);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
}

/* Base image styling */
img {
  max-width: 100%;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

/* Layout container */
.container {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
}

/* Global section spacing */
.section {
  padding: 80px 0;
}

.section-light {
  background: radial-gradient(circle at top left, #eff6ff 0, transparent 55%),
              #f9fafb;
}

/* Section headings */
.section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: 28px;
  font-weight: 650;
  margin-bottom: 6px;
}

.section-heading p {
  font-size: 15px;
  color: var(--text-muted);
}

/* Decorative accent under headings */
.section-heading h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* ---------------------------- */
/* ANIMATIONS & EFFECTS         */
/* ---------------------------- */

/* Fade-up animation */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slight stagger support (optional with nth-child) */
.fade-up:nth-of-type(2) {
  transition-delay: 0.06s;
}
.fade-up:nth-of-type(3) {
  transition-delay: 0.12s;
}

/* ---------------------------- */
/* HEADER / NAVBAR              */
/* ---------------------------- */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 10px rgba(15, 23, 42, 0.04);
}

/* slight gradient strip on top for modern feel */
header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  pointer-events: none;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  position: relative;
  z-index: 1;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* main nav */
nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  position: relative;
}

nav a {
  text-decoration: none;
  font-size: 14px;
  color: var(--text-main);
  transition: color 0.2s ease;
  position: relative;
}

/* underline hover for new-age feel */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.2s ease;
}

nav a:hover {
  color: var(--primary);
}

nav a:hover::after {
  width: 100%;
}

/* button */
.btn {
  padding: 9px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(37, 99, 235, 0.45);
  background: green;
  color: white;
}

.btn:hover img{
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(37, 99, 235, 0.45);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid #d1d5db;
  box-shadow: none;
}

.btn-outline:hover {
  background: #f9fafb;
  color: var(--primary);
}

/* mobile menu icon */
.menu-btn {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* ---------------------------- */
/* NAV DROPDOWN (UNIFORMS)      */
/* ---------------------------- */

.dropdown {
  position: relative;
}

.dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* arrow hint could be added via HTML; styling works regardless */
.dropdown-menu {
  position: absolute;
  top: 32px;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border-radius: 14px;
  padding: 10px 0;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.16);
  display: none;
  flex-direction: column;
  transform-origin: top;
  animation: dropdownFade 0.18s ease-out forwards;
}

.dropdown-menu a {
  padding: 8px 16px;
  font-size: 14px;
  color: #4b5563;
}

.dropdown-menu a:hover {
  background: #f3f4f6;
  color: var(--primary);
}

/* show on hover (desktop) */
.dropdown:hover .dropdown-menu {
  display: flex;
}

/* allow JS toggle (mobile) */
.dropdown.open .dropdown-menu {
  display: flex;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(6px) scaleY(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

/* ---------------------------- */
/* HERO                         */
/* ---------------------------- */

.hero {
  padding: 90px 0 70px;
  background: radial-gradient(circle at top left, #dbeafe 0, transparent 58%),
              radial-gradient(circle at top right, #fef3c7 0, transparent 52%),
              #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 40px;
  font-weight: 650;
  margin-bottom: 10px;
}

.hero p {
  font-size: 16px;
  color: #4b5563;
  max-width: 520px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-meta span {
  display: inline-block;
  margin-right: 18px;
}

/* Hero image styling */
.hero img {
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.25);
  border-radius: 24px;
  transform-origin: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 36px 100px rgba(15, 23, 42, 0.28);
}

/* ---------------------------- */
/* GRID CARDS                   */
/* ---------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* subtle gradient overlay */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(37,99,235,0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.card h3 {
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 6px;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------------------------- */
/* TWO-COLUMN LAYOUT            */
/* ---------------------------- */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.two-col p {
  font-size: 15px;
  color: #4b5563;
}

/* ---------------------------- */
/* SIMPLE LISTS                 */
/* ---------------------------- */

.bullet-list {
  list-style: none;
  margin-top: 14px;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 14px;
  color: #4b5563;
}

.bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  margin-top: 6px;
}

/* ---------------------------- */
/* STATS ROW                    */
/* ---------------------------- */

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.stat {
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff, #eff6ff);
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.stat strong {
  display: block;
  font-size: 20px;
  margin-bottom: 4px;
}

.stat span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------------------------- */
/* FORMS                        */
/* ---------------------------- */

form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

form label {
  font-size: 13px;
  color: #4b5563;
}

input,
select,
textarea {
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  background-color: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3);
  background-color: #f9fafb;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

/* ---------------------------- */
/* FOOTER                       */
/* ---------------------------- */

footer {
  margin-top: 60px;
  padding: 40px 0 30px;
  background: #0f172a;
  font-size: 13px;
  color: #9ca3af;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 24px;
}

.footer-top h4 {
  font-size: 14px;
  margin-bottom: 10px;
  color: #e5e7eb;
}

.footer-links {
  display: grid;
  gap: 4px;
}

.footer-links a {
  text-decoration: none;
  color: #9ca3af;
  font-size: 13px;
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: #e5e7eb;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: #6b7280;
  border-top: 1px solid #1f2933;
  padding-top: 14px;
}

/* ---------------------------- */
/* RESPONSIVE                   */
/* ---------------------------- */

@media (max-width: 960px) {
  .hero-grid,
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 80px;
  }

  .hero-grid > div:last-child {
    order: -1;
  }

  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  nav ul {
    display: none;
    position: absolute;
    right: 16px;
    top: 62px;
    width: 240px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
    border-radius: 16px;
    padding: 16px;
    flex-direction: column;
    gap: 14px;
  }

  nav ul.open {
    display: flex;
  }

  .dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    box-shadow: none;
    border-radius: 10px;
    padding: 6px 0 0;
  }

  .menu-btn {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 30px;
  }

  .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
  }
}


/* ---------------------------- */
/* VIDEO HERO UPGRADE           */
/* ---------------------------- */

.hero-video {
  position: relative;
  height: 65vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* Video behaves like a full background */
.hero-video .bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%) contrast(105%);
  transform: scale(1.05);
}

/* Soft gradient overlay for text clarity */
.hero-video .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.4)
  );
}

/* Text inside hero */
.hero-video .hero-content {
  position: relative;
  max-width: 680px;
  text-align: center;
  color: #fff;
  z-index: 3;
  padding: 0 16px;
}

.hero-video h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-video p {
  font-size: 18px;
  color: #f1f5f9;
  margin-bottom: 24px;
  text-shadow: 0 3px 18px rgba(0,0,0,0.4);
}

/* CTA Button adjustment on video */
.hero-video .btn {
  box-shadow: 0 12px 30px rgba(255,255,255,0.15);
}

/* RESPONSIVE VIDEO HERO */
@media (max-width: 900px) {
  .hero-video h1 { font-size: 34px; }
  .hero-video p { font-size: 15px; }
}

@media (max-width: 550px) {
  .hero-video {
    height: 50vh;
  }
}
/* ---------------------------- */
/* HERO SLIDER                  */
/* ---------------------------- */

.hero-slider {
  position: relative;
  height: 60vh;
  min-height: 350px;
  overflow: hidden;
  margin-bottom: 70px;
}

.slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 1.5s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
}

/* Slide Text */
.slide-content {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  max-width: 700px;
  padding: 0 16px;
}

.slide-content h1 {
  font-size: 50px;
  font-weight: 700;
  text-shadow: 0 6px 25px rgba(0,0,0,0.5);
  margin-bottom: 12px;
  animation: fadeInUp 1s forwards;
}

.slide-content p {
  font-size: 18px;
  margin-bottom: 22px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
  animation: fadeInUp 1.4s forwards;
}

/* Navigation Arrows */
.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
}

.slider-controls div {
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 22px;
  color: white;
  display: flex;
  align-items:center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}

.slider-controls div:hover {
  background: rgba(255,255,255,0.6);
  color: black;
  transform: scale(1.1);
}

/* Dots Pagination */

.dots {
  position: absolute;
  bottom: 28px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dots div {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: 0.25s;
}

.dots div.active {
  background: var(--accent);
  transform: scale(1.4);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 700px) {
  .slide-content h1 { font-size: 30px; }
  .slide-content p { font-size: 15px; }
}


/* -------------------------------------------- */
/* THREE INLINE TAILOR SERVICE CARDS */
/* -------------------------------------------- */

.three-services {
  padding: 90px 0;
  background: linear-gradient(130deg, rgba(37,99,235,0.05), rgba(249,115,22,0.05));
}

.service-inline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 45px;
}

.service-tile {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  border: 1px dashed rgba(37,99,235,0.25);
  padding: 32px 26px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: 0.4s ease;
  box-shadow: 0 14px 35px rgba(0,0,0,0.04);
}

/* Hover Motion */
.service-tile:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
}

/* Icon Circle */
.icon-wrap {
  width: 70px;
  height: 70px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items:center;
  justify-content:center;
  font-size: 30px;
  margin: 0 auto 16px;
  box-shadow: 0 10px 25px rgba(37,99,235,0.15);
  transition: transform 0.4s ease;
}

/* Hover icon bounce */
.service-tile:hover .icon-wrap {
  transform: scale(1.15) rotate(-6deg);
}

.service-tile h3 {
  font-size: 20px;
  font-weight: 650;
  margin-bottom: 8px;
}

.service-tile p {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 14px;
}

/* Tagline (stitched underline effect) */
.tag-line {
  display: inline-block;
  font-size: 13px;
  color: var(--primary);
  border-bottom: 2px dashed rgba(37,99,235,0.5);
  padding-bottom: 4px;
  margin-bottom: 16px;
}

/* Button inside tile */
.tile-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  transition: 0.3s ease;
  box-shadow: 0 10px 30px rgba(37,99,235,0.25);
}

.tile-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 900px) {
  .service-inline {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------- */
/* CHALLENGE SECTION */
/* -------------------------------------------- */

.challenge-section {
  padding: 110px 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(249,115,22,0.05));
  text-align: center;
}

.challenge-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.challenge-sub {
  font-size: 16px;
  color: #4b5563;
  max-width: 560px;
  margin: 0 auto 50px;
}

.challenge-box {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  border: 1px solid rgba(37,99,235,0.25);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 26px;
  align-items: center;
  box-shadow: 0 20px 55px rgba(0,0,0,0.08);
  transition: 0.35s ease;
}

.challenge-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(0,0,0,0.14);
}

/* Left Content */
.challenge-left h3 {
  font-size: 22px;
  font-weight: 650;
  margin-bottom: 10px;
}

.challenge-left p {
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 18px;
}

.challenge-left .highlight {
  color: var(--primary);
  font-weight: 600;
}

/* Bullet list */
.challenge-list {
  list-style: none;
  margin: 18px 0 25px;
  padding: 0;
}

.challenge-list li {
  font-size: 14px;
  margin-bottom: 8px;
  color: #4b5563;
}

/* CTA button */
.challenge-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: 0.3s;
}

.challenge-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: translateY(-3px);
}

/* Right side badge */
.challenge-right {
  text-align: center;
}

.slot-badge {
  background: #111;
  color: #fff;
  padding: 28px 22px;
  border-radius: 18px;
  display: inline-block;
  margin-bottom: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

.slot-badge .number {
  font-size: 46px;
  font-weight: 800;
  display: block;
  letter-spacing: 1px;
}

.slot-badge .label {
  font-size: 12px;
  opacity: 0.75;
}

.slot-note {
  font-size: 12px;
  color: #6b7280;
}

/* Responsive */
@media(max-width: 880px) {
  .challenge-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
}


.about-hero {
  background: radial-gradient(circle at 20% 20%, rgba(37,99,235,0.08), transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(249,115,22,0.08), transparent 60%);
}
