:root {
  --brand: #0b6efd;
  --dark: #0f1723;
  --muted: #6b7280;
  --card: #ffffff;
}

/* General Reset */
* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial;
}

/* Soft gradient background */
body {
  color: var(--dark);
  background: linear-gradient(180deg, #f0f4ff, #e7e3ff, #f7ecff);
  line-height: 1.6;
  background-attachment: fixed;
  background-size: cover;
}
/* CONTAINER (Fix for Left & Right Padding and Centered Layout) */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px; /* adds clean space on both sides */
  box-sizing: border-box;
}

/* For tablets and smaller screens */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* HEADER */
.site-header {
  background: linear-gradient(90deg, #f8f9ff, #f2e9ff);
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.06);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(120%) blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 60px; /* slightly more padding for balanced look */
  max-width: 1280px;  /* aligns better on wide screens */
  margin: 0 auto;
  box-sizing: border-box;
}



.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo {
  height: 70px;
  width: 70px;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  padding: 6px;
  border: 2px solid rgba(11, 110, 253, 0.2);
  object-fit: contain;
}

.brand-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(90deg, #0b6efd, #7f00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.brand-sub {
  font-size: 15px;
  font-weight: 500;
  color: #2d3748;
  letter-spacing: 0.5px;
}

/* NAVIGATION */
.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  position: relative;
  transition: opacity 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--brand);
  transition: width 0.25s ease;
}
.nav a:hover::after {
  width: 100%;
}

/* ✅ Gradient Buttons (General CTA Buttons) */
.cta {
  background: linear-gradient(90deg, #0b6efd, #7f00ff);
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(11, 110, 253, 0.25);
  border: none;
}

.cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(90deg, #7f00ff, #0b6efd);
  box-shadow: 0 6px 18px rgba(127, 0, 255, 0.35);
}

/* HERO SECTION */
.hero {
  position: relative;
  padding: 56px 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 28px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.hero-grid aside .card + .card {
  margin-top: 20px; /* adds space between stacked cards on the right */
}

.eyebrow {
  color: var(--brand);
  font-weight: 700;
}
.hero h2 {
  font-size: 34px;
  margin: 12px 0;
  color: #0b0b0b;
}
.hero p {
  color: #2e2e2e;
  font-weight: 500;
}
.actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

/* CARDS */
.card {
  background: rgba(255, 255, 255, 0.95);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(2, 6, 23, 0.06);
}

/* STATISTICS */
.stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.big {
  font-size: 22px;
  margin-top: 6px;
}

/* SERVICES */
.services-section {
  padding: 40px 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 36, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.08);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 110, 253, 0.15), rgba(127, 0, 255, 0.15));
  opacity: 0;
  transition: opacity 0.5s ease;
}
.service-card:hover::before {
  opacity: 1;
}
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  margin-top: 10px;
  transition: transform 0.3s ease;
  background: none;
}
.service-card:hover img {
  transform: scale(1.05);
}

/* WHY SECTION */
.why {
  padding: 40px 0;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* FOOTER */
.footer {
  padding: 28px 0;
  background: #0b1220;
  color: #fff;
  margin-top: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.footer-right p {
  margin: 6px 0;
}
.copy {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-size: 13px;
}

/* LOGO SCROLLER */
.resources-logos {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  padding: 40px 0;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logos-slide {
  display: flex;
  align-items: center;
  animation: scroll 50s linear infinite;
}
.logos-slide img {
  height: 80px;
  width: auto;
  margin: 0 60px;
  object-fit: contain;
  filter: brightness(1) contrast(1.2);
  background: none;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logos-slide img:hover {
  transform: scale(1.1);
  filter: brightness(1.3) contrast(1.3);
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.resources-logos:hover .logos-slide {
  animation-play-state: paused;
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --- ENQUIRY FORM FIX --- */
.contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.contact-form input,
.contact-form textarea {
  flex: 1 1 45%;
  min-width: 220px;
  border: 1px solid rgba(15, 23, 36, 0.1);
  border-radius: 8px;
  padding: 10px;
  font-family: Inter, sans-serif;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-form textarea {
  flex: 1 1 100%;
  height: 80px;
  resize: vertical;
}

.contact-form button,
.contact-form input[type="submit"] {
  background: linear-gradient(90deg, #0b6efd, #7f00ff);
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(11, 110, 253, 0.25);
  margin-top: 10px;
  display: inline-block;
}

.contact-form button:hover,
.contact-form input[type="submit"]:hover {
  transform: translateY(-2px);
  background: linear-gradient(90deg, #7f00ff, #0b6efd);
  box-shadow: 0 6px 15px rgba(127, 0, 255, 0.35);
}

/* Optional card effect for enquiry section */
.enquiry-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  padding: 20px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .header-inner {
    padding: 12px 20px;
  }
}
