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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #111;
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
  background-color: transparent;
}

.navbar.transparent {
  background: transparent;
}

.navbar.scrolled {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo {
  position: relative;
  width: 120px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  height: 90px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.4s;
  opacity: 0;
}

.logo-white {
  opacity: 1;
}

.navbar.scrolled .logo-white {
  opacity: 0;
}

.navbar.scrolled .logo-colored {
  opacity: 1;
}

/* Nav links */
nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: color 0.4s;
  font-size: 1.2rem;
}

.navbar.scrolled .nav-links a {
  color: #111;
}
/* navbar end */


/* ===========================
   CTA BUTTONS
   =========================== */
.cta-btn,
.cta-btn-light {
  position: relative;
  display: inline-block;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s;
}

.cta-btn {
  border: 2px solid #111827;
  background: transparent;
  color: #111827;
}

.cta-btn:hover {
  background: #111827;
  color: #fff;
}

.cta-btn-light {
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
}

.cta-btn-light:hover {
  background: #fff;
  color: #111827;
}

.cta-btn::after,
.cta-btn-light::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: all 0.6s;
}

.cta-btn:hover::after,
.cta-btn-light:hover::after {
  left: 125%;
}
/* cta buttons end */


/* ===========================
   HERO SECTION
   =========================== */
.hero {
  position: relative;
  height: 100vh;
  background:
    linear-gradient(rgba(30, 64, 175, 0.55), rgba(30, 64, 175, 0.55)),
    url("assets/hero-bg.jpg") no-repeat center center / cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 64, 175, 0.55);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.5rem;
  margin-top: 15px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* hero section end */


/* ===========================
   FEATURES SECTION
   =========================== */
.features {
  width: 100%;
  padding: 80px 0;
  text-align: center;
  background: #f9f9f9;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.feature-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.feature {
  flex: 1;
  background: #edf6f9;
  padding: 80px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
  font-size: 1.4rem;
}

.feature.show {
  opacity: 1;
  transform: translateY(0);
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.features .cta-btn {
  margin-top: 40px;
  display: inline-block;
  background: #1E40AF;
  border: 2px solid #1E40AF;
  color: #fff;
}

.features .cta-btn:hover {
  background: #111827;
  border-color: #111827;
}
/* features section end */


/* ===========================
   MISSION SECTION
   =========================== */
#mission {
  width: 100%;
}

.mission-light {
  background: linear-gradient(135deg, #14B8A6 0%, #ffffff 100%);
  color: #111;
}

.mission-dark {
  background: linear-gradient(135deg, #1E40AF 0%, #14B8A6 100%);
  color: #fff;
}

.mission-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 180px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mission-text {
  flex: 0 0 var(--text-width, auto);
  position: relative;
  left: var(--text-move-x, 0);
  top: var(--text-move-y, 0);
}

.mission-image {
  flex: 0 0 var(--image-width, auto);
  position: relative;
  left: var(--image-move-x, 0);
  top: var(--image-move-y, 0);
}

.mission-text h2,
.mission-text p {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.3;
}

.mission-img {
  max-width: 100%;
  height: auto;
}
/* mission section end */


/* ===========================
   BUILT FOR SECTION
   =========================== */
.built-for {
  background: #1E40AF;
  color: #fff;
  text-align: center;
  padding: 250px 20px;
}

.built-for h2 {
  font-size: 2.4rem;
  margin-bottom: 40px;
  font-weight: 800;
}

.built-for-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.built-for-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px 20px;
  border-radius: 12px;
  flex: 1;
  min-width: 250px;
  max-width: 320px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.built-for-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

.built-for-item i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #14B8A6;
}

.built-for-item h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.built-for-item p {
  font-size: 1.1rem;
  line-height: 1.6;
}
/* built for section end */


/* ===========================
   INTRO SECTION (About + Contact)
   =========================== */
.intro {
  padding: 80px 20px;
  text-align: center;
  background: #f0f6ff;
}

.intro h2 {
  font-size: 2.6rem;
  margin-bottom: 25px;
  font-weight: 800;
  color: #111827;
}

.intro p {
  font-size: 1.3rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 15px auto;
  text-align: center;
}
/* intro section end */


/* ===========================
   TEAM SECTION (About page)
   =========================== */
.team {
  margin-top: 60px;
  margin-bottom: 100px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.team-member {
  position: relative;
  margin-bottom: 80px;
  text-align: center;
}

.team-icon i {
  font-size: var(--icon-size, 5rem);
  color: #1E40AF;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)
             translateX(var(--icon-move-x, 0))
             translateY(var(--icon-move-y, 0));
}

.team-info {
  max-width: 700px;
  margin: 0 auto;
}

.team-info h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #1E40AF;
}

.team-info p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin: 0 auto;
  text-align: center;
}
/* team section end */


/* ===========================
   CONTACT FORM
   =========================== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form button {
  background: #1E40AF;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #111827;
}
/* contact form end */


/* ===========================
   CONTACT CARDS
   =========================== */
.contact-cards {
  background: #1E40AF;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.contact-cards-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-card {
  background: #fff;
  color: #111;
  padding: 40px 30px;
  border-radius: 12px;
  flex: 1;
  min-width: 260px;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

.contact-card i {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #14B8A6;
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}
/* contact cards end */


/* ===========================
   SERVICES / PRICING SECTION
   =========================== */
.pricing-section {
  background: #14B8A6;
  padding: 100px 20px;
  text-align: center;
}

.pricing-section h2 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #111;
}

.pricing-section p {
  font-size: 1.2rem;
  margin-bottom: 50px;
  color: #333;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap; /* Prevent wrapping on desktop */
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  align-items: stretch; /* Make all cards same height */
}

.card {
  background: #fff;
  border: 3px solid #1E40AF;
  border-radius: 12px;
  padding: 40px 30px;
  flex: 1; /* Equal width distribution */
  min-width: 0; /* Allow shrinking */
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.plan-icon {
  font-size: 3rem;
  color: #1E40AF;
  margin-bottom: 15px;
}

.plan-badge {
  display: inline-block;
  padding: 6px 14px;
  background: #1E40AF;
  color: #fff;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 15px 0 5px;
}

.card .price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #14B8A6;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
  font-size: 0.95rem;
  color: #444;
}

.feature-list li {
  margin-bottom: 10px;
}

.card-btn {
  display: inline-block;
  margin: 15px 0;
  padding: 10px 20px;
  background: #1E40AF;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.card-btn:hover {
  background: #111827;
}
/* services/pricing end */


/* ===========================
   FOOTER
   =========================== */
footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: #fff;
}

footer p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.social-links a i {
  color: #fff;
  font-size: 18px;
}
/* footer end */


/* ===========================
   MOBILE HAMBURGER (base)
   =========================== */
.hamburger {
  display: none;                /* hidden by default (desktop) */
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* animate to "X" when open */
.hamburger.open span:nth-child(1) { 
  transform: translateY(8.5px) rotate(45deg); 
}

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

.hamburger.open span:nth-child(3) { 
  transform: translateY(-8.5px) rotate(-45deg); 
}


/* ===========================
   CONTACT PAGE SPECIFIC STYLES
   =========================== */
.contact-form label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin: 10px 0;
}

.contact-form label input[type="checkbox"] {
  width: auto;
  margin: 0;
  padding: 0;
}

#selected-plan {
  background: #f0f8ff;
  border-color: #1E40AF;
  font-weight: 600;
}

/* ===========================
   SERVICES PAGE SPECIFIC STYLES
   =========================== */
.choose-tier {
  margin-bottom: 15px;
}

.feature-list i.fas.fa-check {
  color: #14B8A6;
  margin-right: 8px;
  font-size: 0.9rem;
}

.feature-list li {
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

/* ===========================
   ABOUT PAGE SPECIFIC STYLES
   =========================== */
.small-hero {
  height: 60vh;
  min-height: 400px;
}

.parallax {
  background-attachment: fixed;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

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

.about-cta {
  text-align: center;
  padding: 60px 20px;
  background: #f9f9f9;
}

.nav-links .active {
  color: #14B8A6 !important;
  font-weight: 700;
}

.navbar.scrolled .nav-links .active {
  color: #14B8A6 !important;
}

/* ===========================
   MOBILE STYLES
   =========================== */
@media (max-width: 900px) {
  .mission-block {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .mission-text,
  .mission-image {
    width: 100% !important;
    text-align: center !important;
    left: 0 !important;
    top: 0 !important;
  }

  .mission-text h2,
  .mission-text p {
    font-size: 1.8rem;
  }

  .mission-img {
    max-width: 85%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px; /* prevent navbar overlap */
  }

  /* NAVBAR MOBILE */
  .navbar {
    position: fixed;
    top: 0; 
    left: 0; 
    right: 0;
    z-index: 9999;
    background: #1E40AF !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
  }

  .logo {
    width: 100px;
    height: 50px;
  }
  
  .logo-img {
    height: 45px;
    opacity: 1 !important;
    position: relative;
  }
  
  .logo-white { 
    display: block !important;
    opacity: 1 !important;
  }
  
  .logo-colored { 
    display: none !important; 
  }

  /* Hide desktop CTA button */
  .navbar .cta-btn {
    display: none;
  }

  /* Show hamburger */
  .hamburger {
    display: flex;
    margin-left: auto;
  }

  /* Mobile navigation */
  nav {
    position: static;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    background: #1E40AF;
    width: 100%;
    padding: 20px 0;
    position: absolute;
    top: 100%; 
    left: 0;
    right: 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
    list-style: none;
    margin: 0;
  }
  
  .nav-links.active {
    display: flex !important;
  }
  
  .nav-links li {
    margin: 0;
    width: 100%;
  }
  
  .nav-links a {
    color: #fff !important;
    font-size: 1.1rem;
    padding: 15px 20px;
    display: block;
    width: 100%;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  /* HERO MOBILE */
  .hero {
    height: 100vh;
    background-attachment: scroll;
    padding: 0 15px;
    min-height: 600px;
  }

  .hero-content {
    padding: 20px;
    width: 100%;
    max-width: none;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.5;
  }

  /* MISSION MOBILE */
  .mission-block {
    flex-direction: column;
    text-align: center;
    padding: 50px 20px;
    gap: 30px;
  }

  .mission-text,
  .mission-image {
    width: 100% !important;
    flex: none !important;
    text-align: center !important;
    left: 0 !important;
    top: 0 !important;
    position: static !important;
  }

  .mission-text h2,
  .mission-text p {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .mission-img {
    max-width: 90%;
    margin: 20px auto;
    display: block;
  }

  /* BUILT FOR MOBILE */
  .built-for {
    padding: 80px 20px;
  }

  .built-for h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .built-for-container {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .built-for-item {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  /* FEATURES MOBILE */
  .features {
    padding: 60px 0;
  }

  .feature-container {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }

  .feature {
    padding: 40px 20px;
    font-size: 1.2rem;
  }

  .feature h3 {
    font-size: 1.5rem;
    margin: 15px 0 10px;
  }

  /* CTA BUTTONS MOBILE */
  .cta-btn,
  .cta-btn-light {
    padding: 12px 24px;
    font-size: 0.95rem;
    display: inline-block;
    text-align: center;
  }

  /* TEAM SECTION MOBILE */
  .team-icon i {
    position: static !important;
    transform: none !important;
    margin-bottom: 20px;
    font-size: 3.5rem !important;
  }

  /* CONTACT CARDS MOBILE */
  .contact-cards {
    padding: 60px 20px;
  }

  .contact-cards h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .contact-cards-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
  }

  .contact-card {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 30px 20px;
  }

  .contact-card h3 {
    font-size: 1.3rem;
  }

  .contact-card p {
    font-size: 1rem;
  }

  /* CONTACT FORM MOBILE */
  .contact-form {
    max-width: 100%;
    padding: 0 10px;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .contact-form label {
    font-size: 0.85rem;
    text-align: left;
    justify-content: flex-start;
  }

  .contact-form button {
    font-size: 1rem;
    padding: 16px;
  }

  /* PRICING GRID MOBILE */
  .pricing-section {
    padding: 60px 20px;
  }

  .pricing-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .pricing-section p {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .pricing-grid {
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
  }

  .card {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 30px 20px;
  }

  .card h3 {
    font-size: 1.5rem;
  }

  .card .price {
    font-size: 1.3rem;
  }

  .feature-list {
    font-size: 0.9rem;
  }

  .feature-list li {
    margin-bottom: 8px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }

  .mission-text h2,
  .mission-text p {
    font-size: 1.5rem;
  }

  .built-for h2 {
    font-size: 1.8rem;
  }

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

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

  .pricing-section h2 {
    font-size: 2rem;
  }
}