/* styles.css - basic theming + hover + reveal animations */

:root {
  --accent: #0b5ea8;
  --muted: #6c757d;
  --primary-500: #1D4ED8;
  --accent-500: #14B8A6;
  --bg: #F8FAFC;
  --text-dark: #1E293B;
}

body {
  scroll-behavior: smooth;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;

}

a {
  text-decoration: none;
}


.navbar .nav-link {
  color: var(--text-dark);
  margin: 0 .4rem;
  position: relative;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
  transition: width .35s ease;
  border-radius: 2px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: var(--text-dark);

}

.navbar .nav-link:hover::after {
  width: 100%;
}

/* Hero */
.hero-section {
  position: relative;
  height: 75vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: translateZ(0);
  will-change: transform;
  transition: transform 0.2s ease-out;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.45), rgba(2, 6, 23, 0.35));
  mix-blend-mode: multiply;
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.12;
  max-width: 22ch;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: -0.02em;
  margin-bottom: .6rem;
  color: white;
  text-shadow: 0 6px 30px rgba(2, 6, 23, 0.45);
}

.hero-side {
  max-width: 480px;
  transform: translateY(0);
  transition: transform .6s ease;
}


/* Buttons gradient */
.btn-primary {
  background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
  border: none;
  color: white;
  padding: .75rem 1.25rem;
  border-radius: 10px;
  transition: transform .28s ease, box-shadow .28s ease;
  box-shadow: 0 8px 30px rgba(29, 78, 216, 0.12);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 60px rgba(20, 184, 166, 0.14);
}

.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.12);
  color: white;
  border-radius: 10px;
  padding: .6rem 1rem;
  backdrop-filter: blur(6px);
}


/* Hero image styling */
.hero-img {
  max-width: 380px;
  transform: translateY(0);
  transition: transform .6s ease;
}

.hero-img:hover {
  transform: translateY(-6px) scale(1.02);
}

/* hover zoom for cards */
.hover-zoom {
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}

.hover-zoom:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 30px rgba(11, 94, 168, .12);
}

/* Sections */
.section-title {
  display: inline-block;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  position: relative;
  padding: 6px 12px;
  background: linear-gradient(90deg, rgba(29, 78, 216, 0.08), rgba(20, 184, 166, 0.06));
  border-radius: 8px;
  margin-top: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  height: 6px;
  width: 40px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
}

/* Cards */
.service-card {
  background: white;
  border-radius: 12px;
  transition: transform .35s ease, box-shadow .35s ease;
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(16, 24, 40, 0.08);
}

.card.h-100 img {
  height: 240px;
  object-fit: cover;
}

/* Partners carousel */
.partners-carousel {
  overflow: hidden;
  padding: 8px 0;
}

.partner-item {
  flex: 0 0 auto;
  width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.04);
}

.partner-item img {
  max-width: 140px;
  max-height: 60px;
  object-fit: contain;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px) scale(.995);
  transition: all 600ms cubic-bezier(.2, .9, .2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* navbar spacing */
#mainNav .nav-link {
  margin-left: .5rem;
  margin-right: .5rem;
}

/* small responsive tweaks */
@media (max-width:767px) {
  .hero-img {
    display: none;
  }
}

/* fine print */
small {
  color: var(--muted);
}

.text-primary {
  color: #0b5ea8 !important;
}