/* =================================================
   GLOBAL RESET / BASE SETTINGS
================================================= */

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;   /* prevents horizontal scroll */
  width: 100%;
}

* {
  box-sizing: border-box;
}

/* =================================================
   COLOR VARIABLES
================================================= */

:root {
  --navy: #1F3A5F;
  --forest: #2E5E4E;
  --beige: #E8E3DC;
  --dark-gray: #2C2C2C;
  --light-bg: #F8FAFC;

  /* NOTE: --accent is referenced later but not defined */
}

/* =================================================
   TYPOGRAPHY
================================================= */

body {
  font-family:'Lato','Open Sans',sans-serif;
  color:var(--dark-gray);
  background:var(--light-bg);

  /* pushes page below fixed navbar */
  padding-top: 80px;
}

h1, h2{
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  color:var(--navy);
}

h3, h4{
  font-family:'Montserrat',sans-serif;
  font-weight:600;
  color:var(--forest);
}

p{
  font-family:'Lato',sans-serif;
  color:#2C2C2C;
  line-height:1.6;
}


/* =================================================
   NAVBAR
================================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;

  background: var(--navy);
  backdrop-filter: blur(6px);

  padding: 14px 0;
  z-index: 1000;
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  height: 100%;
  margin: auto;

  display: flex;
  justify-content: flex-start;
  align-items: center;

  position: relative;
}

/* logo area */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 45px;
  width: auto;
}

.company-name {
  color: white;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.6px;
  white-space: nowrap;
}


/* centered logo */

.nav-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 2px;
}

.nav-brand a{
  text-decoration: none;
}

.nav-brand img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.9);
}

/* nav links */

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;

  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #2c7be5;
}

/* social icons */

.nav-social{
  display:flex;
  justify-content:center;
  gap:18px;

  background: var(--navy);
  padding:10px 0;
}

.nav-social a{
  color:white;
  font-size:18px;
  transition:0.25s;
}

.nav-social a:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}



/* hamburger menu (hidden on desktop) */

.menu-toggle{
  display: none;
}


/* =================================================
   HERO SECTION
================================================= */

.hero {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  filter: brightness(55%);
}

.hero-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: white;

  background:linear-gradient(
  180deg,
  rgba(31,58,95,0.75) 0%,
  rgba(31,58,95,0.55) 5%,
  rgba(31,58,95,0.35) 70%,
  rgba(31,58,95,0.15) 100%
  );
}

.hero-content {
  max-width: 650px;
  padding: 20px;
  margin: auto;
}

.hero-content h1{
  font-size:42px;
  color:white;

  text-shadow:0 4px 18px rgba(0,0,0,0.35);

  line-height:1.15;
  margin-bottom:18px;
}

.hero-content p{
  font-size:18px;
  opacity:0.9;
  color:#E8E3DC;

  margin-bottom:25px;
}

/* call to action button */

.cta-btn {
  display:inline-block;
  margin-top:20px;

  padding:14px 28px;

  background:var(--forest);
  color:white;

  border-radius:8px;
  border:2px solid transparent;

  text-decoration:none;
  font-weight:600;

  transition:0.3s ease;
}

.cta-btn:hover {
  background:#244d40;
  border:2px solid white;
}


/* =================================================
   GLOBAL SECTION STYLING
================================================= */

.hero,
.video-section,
.contact,
.about {
  text-align: center;
}

section {
  padding:70px 10%;
}

/* decorative section divider */

section:not(:last-child)::after {
  content:"";
  display:block;

  width:120px;
  height:4px;

  background:linear-gradient(90deg,#2c7be5,#1f2d3d);

  margin:50px auto 0 auto;
  border-radius:4px;
}

section h2{
  font-size:34px;
  margin-bottom:20px;
  color:#2E5E4E;
}

section h2::after{
  content:"";
  display:block;

  width:60px;
  height:3px;

  background:var(--forest);
  margin:10px auto;
}

/* disable separators in legal pages */

.legal-container section::after {
  content:none;
}


/* =================================================
   HOW IT WORKS / STEPS CARDS
================================================= */

.steps{
  background:#F5F7FA;
  text-align:center;
}

.steps-grid {
  display:flex;
  gap:30px;
  justify-content:center;
  flex-wrap:wrap;
}

.steps-subtitle{
  max-width:600px;
  margin:10px auto 40px auto;
  color:#64748b;
}

.card {
  background:white;
  padding:40px;

  border-radius:16px;
  border:1px solid #e6eaf0;

  width:280px;

  transition:0.3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent); /* NOTE: accent not defined */
  box-shadow:0 20px 40px rgba(0,0,0,0.08);
}

.step-icon{
  width:60px;
  height:60px;

  background:var(--beige);
  color:var(--navy);

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:24px;

  margin:auto;
  margin-bottom:15px;
}


/* =================================================
   VIDEO SECTION
================================================= */

.video-section {
  background:white;
}

.reel-wrapper {
  position: relative;
  max-width: 420px;
  margin: 30px auto;
}

.reel-wrapper img {
  width:100%;
  display:block;
  border-radius:12px;
}

.play-button {
  position:absolute;
  top:50%;
  left:50%;

  transform:translate(-50%, -50%);

  width:70px;
  height:70px;

  background:rgba(0,0,0,0.6);
  color:white;

  font-size:28px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:50%;
}


/* =================================================
   CONTACT FORM
================================================= */

.contact {
  background: linear-gradient(135deg, #1f2d3d, #2c3e50);
  color:white;
}

.contact h2{
  color:white;
}

form {
  background:white;
  padding:40px;

  border-radius:14px;
  max-width:500px;
  margin:auto;

  display:flex;
  flex-direction:column;
  gap:18px;

  box-shadow:0 20px 40px rgba(0,0,0,0.2);
}

input, textarea {
  padding:14px;
  border-radius:8px;

  border:1px solid #ddd;
  font-size:14px;
}

input:focus, textarea:focus {
  outline:none;
  border-color:var(--accent);
}

button {
  padding:14px;

  background-color:#2c7be5;
  color:white;

  border:none;
  border-radius:8px;

  font-weight:600;
  cursor:pointer;

  transition:0.3s ease;
}

button:hover {
  background-color:#1a5fd0;
}


/* =================================================
   FOOTER
================================================= */

footer {
  background:var(--navy);
  color:var(--beige);

  padding:40px 20px;
  text-align:center;
}

footer a {
  color:#2c7be5;
  text-decoration:none;
  margin:0 10px;
}

footer a:hover {
  text-decoration:underline;
}

footer p{
  color:white;
}

/* footer text structure */

.footer-copy{
  font-size:14px;
  margin-bottom:6px;
}

.footer-credit{
  font-size:13px;
  opacity:0.8;
  margin-bottom:12px;
}

.footer-links a{
  font-size:14px;
}


/* =================================================
   ANIMATIONS
================================================= */

.fade-in {
  animation: fadeIn 1.2s ease forwards;
}

.fade-up {
  opacity:0;
  transform:translateY(40px);
  animation:fadeUp 1s ease forwards;
}

@keyframes fadeIn {
  from {opacity:0;}
  to {opacity:1;}
}

@keyframes fadeUp {
  to {
    opacity:1;
    transform:translateY(0);
  }
}


/* =================================================
   LEGAL PAGES
================================================= */

.legal-page {
  margin-top:100px;
  padding:80px 10%;
}

.updated {
  color:#64748b;
  margin-bottom:40px;
}

.legal-container {

  max-width:800px;
  margin:40px auto 80px auto;

  padding:60px 50px;

  background:#ffffff;

  border-radius:16px;
  border:1px solid #e2e8f0;

  text-align:left;

  box-shadow:
  0 10px 25px rgba(0,0,0,0.05),
  0 25px 60px rgba(0,0,0,0.08);
}

/* legal headings */

.legal-container h1 {
  font-size:32px;
  margin-bottom:20px;
}

.legal-container h2 {
  font-size:18px;
  margin-bottom:6px;
  margin-top:18px;
  font-weight:600;
}

.legal-container h1,
.legal-container h2,
.legal-container h3{
  color:var(--navy);
}

.legal-container h2::after{
  display:none;
}

.legal-container section{
  margin-bottom:14px;
  padding:0;
}

.legal-container section::after{
  display:none;
}

/* legal text */

.legal-container p,
.legal-container li{
  line-height:1.6;
  color:#334155;
}

.legal-container p{
  margin-bottom:8px;
}

/* custom bullet list */

.legal-container ul {
  list-style:none;
  padding-left:0;

  margin-top:8px;
  margin-bottom:8px;
}

.legal-container ul li{
  position:relative;
  padding-left:18px;
  margin-bottom:6px;
}

.legal-container ul li::before{
  content:"•";
  position:absolute;
  left:0;

  color:#2c7be5;
  font-weight:bold;
}


/* =================================================
   ABOUT SECTION
================================================= */

.about {
  background:#f8fafc;
}

.about-container {
  max-width:850px;
  margin:auto;
}

.about-text p {
  margin-bottom:18px;
  line-height:1.7;
  font-size:16px;
}


/* =================================================
   TEAM PAGE
================================================= */

.team-page{
  margin:0;
  padding:30px 10% 80px 10%;
  text-align:center;
}

.team-intro{
  max-width:700px;
  margin:auto;
  margin-top:10px;
  color:#64748b;
}

.team-grid{
  display:flex;
  flex-wrap:wrap;
  gap:40px;
  justify-content:center;
  margin-top:50px;
}

.team-card{
  background:white;
  padding:25px;

  border-radius:14px;

  width:250px;

  box-shadow:0 15px 30px rgba(0,0,0,0.08);

  transition:0.3s;
}

.team-card:hover{
  transform:translateY(-6px);
}

.team-card img{
  width:100%;
  height:260px;

  object-fit:cover;
  object-position:center top;

  border-radius:12px;
}

.team-card h3{
  margin-bottom:6px;
}

.team-card p{
  color:#64748b;
  font-size:14px;
}


/* =================================================
   TESTIMONIAL PAGE
================================================= */

.testimonials-page{
  margin:0;
  padding:30px 10% 80px 10%;
  text-align:center;
}

.testimonial-grid{
  display:flex;
  gap:30px;
  justify-content:center;
  flex-wrap:wrap;

  margin-top:40px;
}

.testimonial-card{
  background:white;

  padding:30px;

  border-radius:12px;

  width:300px;

  box-shadow:0 10px 25px rgba(0,0,0,0.08);

  border:1px solid #e6eaf0;
}

.testimonial-card span{
  display:block;
  margin-top:15px;

  font-weight:600;
  color:#1f2d3d;
}

.quote{
  font-family:'Playfair Display', serif;
  font-style:italic;

  color:var(--navy);
  font-size:20px;
}


/* =================================================
   SMALL COMPONENTS
================================================= */

.instagram-icon i{
  font-size:18px;
}

.instagram-icon:hover{
  color:#E1306C;
}

.file-note{
  display:block;
  margin-top:6px;
  font-size:13px;
  color:#64748b;
}

.file-success{
  margin-top:8px;
  font-size:14px;
  font-weight:500;
  color:#16a34a;

  display:none;
}

.thank-you{
  height:100vh;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;

  text-align:center;
}


/* =================================================
   MOBILE RESPONSIVE
================================================= */

@media (max-width:768px){

  .hero{
    height:65vh;
  }

  .hero-content h1{
    font-size:32px;
    line-height:1.2;
  }

  .hero-content p{
    font-size:16px;
  }

  .steps-grid{
    flex-direction:column;
    align-items:center;
  }

  .navbar{
    padding:10px 0;
  }

  .nav-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:relative;
  }

  .nav-brand{
   position:absolute;
  left:50%;
  transform:translateX(-50%);
  }

  /* mobile dropdown menu */

  .nav-links{
    position:fixed;
    top:80px;
    left:0;

    width:100vw;

    background:var(--navy);

    display:flex;
    flex-direction:column;

    max-height:0;
    overflow:hidden;

    transition:max-height 0.25s ease;
  }

  .nav-links li{
    list-style:none;
  }

  .nav-links a{
    display:block;
    padding:0 18px;
    margin:0;

    line-height:1.2;
    font-size:14px;
  }

  .nav-links a:hover{
    background:rgba(255,255,255,0.08);
    border-left:3px solid #2c7be5;
    padding-left:13px;
  }

  .nav-links.active{
    max-height:200px;
    padding:10px 0;
  }

  /* hamburger button */

  .menu-toggle{
    display:block;

    position:absolute;
    right:20px;
    top:25px;

    font-size:20px;
    color:white;

    cursor:pointer;
    z-index:2000;
  }

  .menu-toggle i{
    transition:transform 0.3s ease;
  }

  .menu-toggle.active i{
    transform:rotate(90deg);
  }

  .nav-brand img{
    height:42px;
    width:42px;
  }

}
