/* =========================
   GLOBAL
========================= */
@font-face {
  font-family: "SubHeadings-Montserrat";
  src: url("../assets/fonts/Montserrat-Bold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Headings-CalSans";
  src:
    url("../assets/fonts/CalSans-SemiBold.otf") format("opentype"),
    url("../assets/fonts/CalSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Body-Montserrat";
  src: url("../assets/fonts/Montserrat-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}
/* global */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Headings-CalSans", sans-serif;
  font-weight: 600;
}

body {
  font-family: "Body-Montserrat", sans-serif;
}

.subheading,
.btn,
nav a {
  font-family: "SubHeadings-Montserrat", sans-serif;
  font-weight: 600;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

/* ==========================
   BRAND COLORS
========================== */
:root {
  --primary-blue: #315dfe;
  --white: #ffffff;
  --accent-yellow: #fed04f;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.center {
  text-align: center;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding-top: 100px;
}

.services-hero {
  background: url("../assets/images/typing img.jpg");
  background-repeat: no-repeat;

  background-size: 100%;
  background-position: center 5%;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)),
    radial-gradient(circle at center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  color: white;
}

.hero p {
  margin-top: 15px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
}

/* =========================
   INTRO
========================= */
.services-intro {
  padding: 140px 20px;
  background: #ffffff;
  text-align: center;
}

.services-intro h2 {
  font-family: "Headings", sans-serif;
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.services-intro .lead {
  font-family: "SubHeadings", sans-serif;
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #111;
}

.services-intro p {
  max-width: 650px;
  margin: 0 auto;
  color: #6b7280;
  line-height: 1.7;
}

/* =========================
   SERVICES GRID
========================= */
.services-list {
  padding: 120px 20px;
  background: var(--primary-blue);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* =========================
   CARD
========================= */
.service-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;

  border: 1px solid #e5e7eb;

  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* =========================
   IMAGE
========================= */
.service-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.service-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  display: block;
}

.service-card:nth-child(1) img {
  object-position: center 20%;
}

.service-card:nth-child(2) img {
  object-position: center 20%;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

/* =========================
   CONTENT
========================= */
.service-content {
  padding: 25px;
}

.service-content h3 {
  font-family: "SubHeadings", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 10px;
  text-align: center;
}

.service-content p {
  color: #6b7280;
  margin-bottom: 15px;
  line-height: 1.6;
  text-align: center;
}

/* =========================
   LIST
========================= */
.service-content ul {
  padding-left: 18px;
  margin-top: 10px;
  list-style: none;
  text-align: center;
}

.service-content li {
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #374151;
  text-align: center;
}

/* =========================
   CLARITY SECTION
========================= */
.services-clarity {
  padding: 160px 20px;
  background: #0a090c;
  color: white;
  text-align: center;
}

.services-clarity h2 {
  font-family: "Headings", sans-serif;
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.services-clarity p {
  max-width: 650px;
  margin: 0 auto 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

/* =========================
   PRICING
========================= */
.services-pricing {
  padding: 140px 20px;
  background: #ffffff;
  text-align: center;
}

.services-pricing h2 {
  font-family: "Headings", sans-serif;
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.services-pricing p {
  max-width: 600px;
  margin: 0 auto 10px;
  color: #6b7280;
  line-height: 1.6;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-intro h2 {
    font-size: 2rem;
  }

  .services-clarity h2,
  .services-pricing h2 {
    font-size: 2rem;
  }
}

/* =========================
   PRICING
========================= */
.services-pricing {
  padding: 120px 20px;
  background: #ffffff;
}

.services-pricing h2 {
  margin-bottom: 20px;
}

.services-pricing p {
  color: #6b7280;
}

/* =========================
   CTA
========================= */
.services-cta {
  padding: 140px 20px;
  text-align: center;

  background: linear-gradient(135deg, #07393c, #2c666e);
  color: white;
}

.services-cta h2 {
  font-size: 2.3rem;
  margin-bottom: 30px;
}

/* =========================
   BUTTON
========================= */
.btn {
  padding: 12px 28px;
  border-radius: 999px;
  font-family: "SubHeadings", sans-serif;
  text-decoration: none;
}

.btn.primary {
  background: white;
  color: #07393c;
  transition: 0.3s;
}

.btn.primary:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
}

/* =========================
   FOOTER
========================= */
footer {
  background: var(--primary-blue);
  color: #9ca3af;
  text-align: center;
  padding: 30px;
}

/* =========================
   NAVBAR BASE
========================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 25px 40px;

  background: transparent;
  transition: all 0.4s ease;
}

/* =========================
   SCROLLED STATE
========================= */
.navbar.scrolled {
  background: #07393c; /* 🔥 your primary blue */
  padding: 18px 40px;

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px); /* subtle premium effect */
}

/* =========================
   LOGO
========================= */
.logo {
  height: 40px;
  object-fit: contain;
}

/* =========================
   NAV LINKS
========================= */
.navbar nav {
  display: flex;
  gap: 30px;
}

.navbar nav a {
  font-family: "SubHeadings-Montserrat", sans-serif;
  font-size: 0.95rem;

  color: white;
  text-decoration: none;

  position: relative;
  transition: 0.3s ease;
}

/* hover underline effect */
.navbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;

  width: 0%;
  height: 2px;
  background: #ffd84d; /* accent */

  transition: width 0.3s ease;
}

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

/* =========================
   HAMBURGER
========================= */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 4px 0;
  transition: 0.3s;
}

/* =========================
   MOBILE MENU
========================= */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navbar nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    background: #07393c;

    flex-direction: column;
    align-items: center;
    padding: 20px 0;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;

    transition: 0.3s ease;
  }

  .navbar nav.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }

  .navbar nav a {
    padding: 10px 0;
  }
}

/* =========================
   HAMBURGER ANIMATION
========================= */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}
