/* HEADER / NAV */
header {
  width: 100%;
  background-color: #ffffff;
  position: relative;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
header .logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #2c79c0;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #333333;
  font-weight: 500;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2.2px;
  bottom: -4px; /* spacing below text */
  left: 0;
  background-color: #000000;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%; /* animate underline from left to right */
}

.nav-links .cta-btn {
  margin: 0;
}

/* Mobile burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  width: 28px;
  height: 22px;
  justify-content: center;
}

.burger span {
  height: 3px;
  width: 100%;
  background-color: #333333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile overlay menu */
.mobile-menu {
  position: fixed;
  top: 10vh;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 32px;
  padding-top: 40%; 
  transition: right 0.3s ease;
  z-index: 999;
}

.mobile-menu a {
  font-size: 1.5rem;
  color: #333333;
  text-decoration: none;
}

/* Burger open state */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6.4px, 6.4px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu.open {
  right: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .burger {
    display: flex;
  }
}


/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; /* Smooth scroll for anchor links */
}

body {
  font-family: 'Inter', 'Helvetica', 'Arial', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333333; /* dark grey */
  background-color: #ffffff; /* white background */
}

/* Container for all sections */
.container {
  width: 1200px;       /* fixed width */
  max-width: 100%;     /* ensures it shrinks on smaller screens */
  margin: 0 auto;      /* center horizontally */
  padding-left: 20px;  /* responsive padding */
  padding-right: 20px;
}


/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #333333;
  margin-bottom: 16px;
}

h1 { font-size: 3rem; line-height: 1.2; }   /* bigger, stronger presence */
h2 { font-size: 2.25rem; line-height: 1.3; }
h3 { font-size: 1.5rem; line-height: 1.4; }

/* Body text */
body {
  font-size: 18px;         /* slightly larger for readability */
  line-height: 1.75;       /* more breathing space */
  color: #333333;
}

/* Text Center Utility */
.text-center {
  text-align: center;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
}

/* Buttons */
.primary-cta-btn {
  display: inline-block;
  background-color: #2c79c0; 
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 24px;    /* space above button */
  margin-bottom: 16px; /* space below button */
}

.primary-cta-btn:hover{
  background-color: #0380f5;
  transform: translateY(-2px);
}

.secondary-cta-btn {
  display: inline-block;
  background-color: #ffffff; 
  color: #2c79c0;
  border: 2px solid #2c79c0; /* FIXED */
  border-radius: 50px;
  padding: 12px 28px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 24px;    /* space above button */
  margin-bottom: 16px; /* space below button */
}

.secondary-cta-btn:hover {
  border-color: #0380f5;
  transform: translateY(-2px);
}

/* Flex utilities */
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Responsive typography */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  section {
    padding: 60px 16px; /* adjust for mobile */
  }
}

footer {
  font-size: 0.8rem;
  padding: 12rem 1rem 1rem 1rem;
}