/* style.css - Navbar styles (Teal theme) */
:root{
  --teal: #0d9488;     /* main teal */
  --teal-dark: #0b776e;
  --muted: #6b7280;
  --bg: #ffffff;
  --max-width: 1200px;
  --radius: 10px;
}

/* ==========================
   Global Styles
========================== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}


/* ---------- NAVBAR ---------- */
.site-header {
  width:100%;
  background: #fff;
  border-bottom: 1px solid #eef2f4;
  position: fixed;
  top:0;
  z-index:100;
}

.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding: 14px 20px;
  position:relative;
}

/* Logo (text inside logo) */
/* Logo (image) */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 40px;   /* adjust as per your logo */
  width: auto;
  display: block;
}


.logo:focus { outline: 3px solid rgba(13,148,136,0.18); }

/* Nav menu wrapper */
.nav-menu {
  display:flex;
  align-items:center;
  gap:1.25rem;
}

/* Nav links */
.nav-links {
  display:flex;
  gap: 10px;
  margin:0;
  padding:0;
  list-style:none;
  align-items:center;
}

.nav-links li a {
  display:inline-block;
  color: #0f172a;
  text-decoration:none;
  padding: 8px 10px;
  border-radius:8px;
  font-weight:500;
  position:relative;
  transition: transform .15s ease, color .18s ease;
}

/* animated underline on hover/focus */
.nav-links li a::after {
  content: "";
  position:absolute;
  left:0;
  bottom:-6px;
  height:3px;
  width:0;
  background: var(--teal);
  border-radius:2px;
  transition: width .22s ease;
}

.nav-links li a:hover,
.nav-links li a:focus {
  color: var(--teal-dark);
  transform: translateY(-2px);
}
.nav-links li a:hover::after,
.nav-links li a:focus::after {
  width: 100%;
}

/* Nav actions (buttons) */
.nav-actions {
  display:flex;
  align-items:center;
  gap:10px;
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 9px 14px;
  border-radius: 9px;
  font-weight:600;
  text-decoration:none;
  font-size:0.95rem;
  transition: transform .15s ease, box-shadow .15s ease;
}

/* Primary CTA */
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 30px rgba(13,148,136,0.12);
}
.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-3px);
  filter: brightness(.98);
}

/* Outline button */
.btn-outline {
  background: transparent;
  color: var(--teal-dark);
  border: 1px solid var(--teal);
}
.btn-outline:hover,
.btn-outline:focus {
  background: rgba(13,148,136,0.06);
  transform: translateY(-2px);
}

/* Hamburger (mobile) */
.nav-toggle {
  display:none;
}
.nav-toggle-label {
  display:none;
  width:42px;
  height:42px;
  border-radius:9px;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.nav-toggle-label .hamburger {
  display:block;
  width:20px;
  height:2px;
  background: #111827;
  position:relative;
  transition: all .18s ease;
}
.nav-toggle-label .hamburger::before,
.nav-toggle-label .hamburger::after {
  content:"";
  position:absolute;
  left:0;
  width:20px;
  height:2px;
  background: #111827;
  transition: all .18s ease;
}
.nav-toggle-label .hamburger::before { top:-6px; }
.nav-toggle-label .hamburger::after { top:6px; }

/* focus accessibility */
.nav-links li a:focus { outline: 3px solid rgba(13,148,136,0.12); border-radius:6px; }



/* Hero Section */
/* ---------- HERO SECTION (Base Style) ---------- */
/* ---------- HERO SECTION (Updated Fully Responsive) ---------- */
.hero {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

.hero-container {
  position: relative;
  width: 100%;
}

.hero-img {
  width: 100%;
  height: auto; /* Let image decide height naturally */
  object-fit: contain; /* ensures full image visible */
  display: block;
}

/* Text Overlay Box */
.hero-text {
  position: relative;
  margin-top: -60px; /* overlap effect */
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 12px;
  padding: 20px;
  width: 90%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  z-index: 2;
}

.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.5;
}

/* ---------- RESPONSIVE MEDIA QUERIES ---------- */
@media (max-width: 1024px) {
  .hero-text {
    margin-top: -40px;
    padding: 18px;
    width: 92%;
  }
  .hero-text h1 {
    font-size: 1.8rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-text {
    margin-top: -30px;
    width: 95%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.7);
  }
  .hero-text h1 {
    font-size: 1.5rem;
  }
  .hero-text p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero-img {
    object-fit:contain; /* keep full image visible on small screens */
    height: auto;
    margin-top: 8vh;
  }
  .hero-text {
    margin-top: -25px;
    padding: 14px 12px;
    width: 94%;
    border-radius: 10px;
  }
  .hero-text h1 {
    font-size: 1.2rem;
  }
  .hero-text p {
    font-size: 0.9rem;
  }
}




/* Why Customers Love Us */
.why-customers {
  background: linear-gradient(135deg, #f9fafb, #eef6f7);
  padding: 80px 20px;
  text-align: center;
}

.why-customers .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-weight: 700;
  color: #222;
}

.section-title span {
  color: #00bfa6; /* teal highlight */
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature {
  background: #fff;
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.40);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature .icon {
  font-size: 2.5rem;
  color: #00bfa6;
  margin-bottom: 15px;
}

.feature h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
}

.feature p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}


/* ====== Stats Section ====== */
.stats {
  max-width: 1200px;
  margin: 0 auto;  
  padding: 40px 20px;
  text-align: center;
  
}

.stats .container {
  max-width: 1200px;
  margin: 0 auto;
}

.stats-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  color: black;
}

.stats-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background: #00bfa6;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ====== Grid Layout ====== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* ====== Stat Card ====== */
.stat-card {
  background: linear-gradient(160deg, #00bfa6, #0b4b3d);
  border-radius: 20px;
  padding: 40px 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
  color: white;
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}

.stat-card:nth-child(1) { animation-delay: 0.2s; }
.stat-card:nth-child(2) { animation-delay: 0.4s; }
.stat-card:nth-child(3) { animation-delay: 0.6s; }
.stat-card:nth-child(4) { animation-delay: 0.8s; }

.stat-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 45px rgba(0, 191, 166, 0.6);
}

/* ====== Icon ====== */
.stat-card .icon {
  font-size: 3rem;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.stat-card:hover .icon {
  transform: scale(1.2) rotate(10deg);
}

/* ====== Numbers ====== */
.stat-card h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}

/* ====== Description ====== */
.stat-card p {
  font-size: 1.05rem;
  opacity: 0.9;
  color: #e0f7f4;
}

/* ====== Entry Animation ====== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* ==========================
   Customer Stories
========================== */
/* ====== Customer Stories Section ====== */
.stories {
  padding: 80px 20px;
  background: #f9f9f9;
  color: #222;
}

.stories .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.stories h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  color: #111;
  position: relative;
  display: inline-block;
}

.stories h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background: #009688; /* teal */
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ====== Stories Grid ====== */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px; /* proper spacing between cards */
}

/* ====== Story Card ====== */
.story {
  background: #fff;
  border-radius: 14px;
  padding: 40px 30px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
   position: relative;
  overflow: hidden;
   
}

.story::before,
.story::after {
  content: "";
  position: absolute;
  background: #009688;
  transition: all 0.4s ease;
}

/* Horizontal borders */
.story::before {
  height: 2px;
  width: 0;
  top: 0;
  left: 0;
}
.story::after {
  height: 2px;
  width: 0;
  bottom: 0;
  right: 0;
}

/* Vertical borders (extra elements via child pseudo) */
.story span::before,
.story span::after {
  content: "";
  position: absolute;
  background: #009688;
  transition: all 0.4s ease;
  width: 2px;
  height: 0;
}
.story span::before {
  top: 0;
  left: 0;
}
.story span::after {
  bottom: 0;
  right: 0;
}

/* Hover state - expand all */
.story:hover::before,
.story:hover::after {
  width: 100%;
}
.story:hover span::before,
.story:hover span::after {
  height: 100%;
}

/* Optional: add card lift */
.story:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ====== Name ====== */
.story h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 15px 0 18px;
  color: #009688;
  text-align: center;
}

/* ====== Quote ====== */
.story p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  text-align: center;
  font-style: italic;
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
  .stories {
    padding: 50px 15px;
  }
  .stories h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  .story {
    padding: 30px 20px;
  }
}


/* ====== How It Helps Section ====== */
.how-it-helps {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}

.how-it-helps h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
  color: #222;
}

.how-it-helps h2::after {
  content: "";
  display: block;
  width: 70%;
  height: 3px;
  background: #009688;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ====== Grid Layout ====== */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

/* ====== Problem & Solution Cards ====== */
.problem, 
.solution {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.40);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Hover Glow */
.problem:hover, 
.solution:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

/* Colored Borders */
.problem {
  border-top: 5px solid #e53935;  /* red for problem */
}

.solution {
  border-top: 5px solid #009688;  /* teal for solution */
}

/* Headings */
.problem h3, 
.solution h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.problem h3 {
  color: #e53935;
}

.solution h3 {
  color: #009688;
}

/* Text */
.problem p, 
.solution p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}



/* ==========================
   Referral Section
========================== */
/* ====== Referral Section ====== */
.referral {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0,150,136,0.08), rgba(0,150,136,0.18));
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

/* Decorative circles (background shapes) */
.referral::before, 
.referral::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(0,150,136,0.15);
  z-index: 0;
}
.referral::before {
  width: 200px;
  height: 200px;
  top: -60px;
  left: -60px;
}
.referral::after {
  width: 300px;
  height: 300px;
  bottom: -80px;
  right: -80px;
}

/* Heading */
.referral h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #009688;
  position: relative;
  z-index: 1;
}

/* Description */
.referral p {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #333;
  position: relative;
  z-index: 1;
}

/* Button */
.referral .btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  background: #009688;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 18px rgba(0,150,136,0.3);
}

.referral .btn:hover {
  background: #00796b;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,150,136,0.4);
}

/* ==========================
   Responsive Design
========================== */
@media (max-width: 768px) {
  .stats {
    flex-direction: column;
  }

  .stat {
    margin-bottom: 20px;
  }

  h2.section-title {
    font-size: 2rem;
  }
}

/* ====== Final CTA Section ====== */
.cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(135deg, #009688, #00695c);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.15);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Decorative glow circles */
.cta::before, .cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  z-index: 0;
}
.cta::before {
  width: 250px;
  height: 250px;
  top: -80px;
  left: -80px;
}
.cta::after {
  width: 300px;
  height: 300px;
  bottom: -100px;
  right: -100px;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta p {
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

/* Buttons */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta .btn {
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Primary CTA */
.cta .btn.primary {
  background: #fff;
  color: #009688;
}
.cta .btn.primary:hover {
  background: #f5f5f5;
  transform: translateY(-3px) scale(1.05);
}

/* Secondary CTA */
.cta .btn.secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.cta .btn.secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}


/* ---------- FOOTER ---------- */
/* Footer (teal box + bottom note) */
/* ============ BASE FOOTER STYLES ============ */
.site-footer {
  padding: 30px 16px 10px;
  font-family: 'Poppins', sans-serif;
  background: #f9f9f9;
}

/* Teal container */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #0d9488;
  color: #fff;
  border-radius: 12px;
  padding: 36px 32px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(13,148,136,0.12);
}

/* Each column */
.footer-col {
  flex: 1 1 250px;
  min-width: 220px;
}

.footer-col:first-child {
  text-align: left;
}

.footer-col:nth-child(2) {
  text-align: center;
}

.footer-col.developer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Headings */
.footer-col h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  font-weight: 700;
  color: #ffffff;
}

/* Quick links */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: color .18s ease, transform .18s ease;
}

.footer-col ul li a:hover {
  color: #fff3b0;
  transform: translateX(4px);
}

/* Contact text */
.footer-col:nth-child(2) p {
  margin: 8px 0;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
}

/* Developer section */
.developer-pic {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  margin-bottom: 12px;
}

.footer-col.developer p {
  margin: 6px 0 12px;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}

/* Social links */
.social-links {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.social-links a:first-child { background: #1877f2; }
.social-links a:last-child  { 
  background: radial-gradient(circle at 30% 30%, #fccc63 0%, #f56040 45%, #d6249f 100%);
}

.social-links a img {
  width: 18px;
  height: 18px;
  display: block;
}

.social-links a:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

/* Footer bottom */
.footer-bottom {
  max-width: 1200px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: #6b6b6b;
}

/* ============ RESPONSIVE DESIGN ============ */

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
  .footer-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 30px 24px;
  }

  .footer-col {
    flex: 1 1 45%;
    text-align: center;
  }

  .footer-col:first-child {
    text-align: center;
  }

  .footer-col:nth-child(2) {
    text-align: center;
  }

  .developer-pic {
    width: 80px;
    height: 80px;
  }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    gap: 20px;
    border-radius: 0; /* makes teal box full width on mobile */
  }

  .footer-col {
    flex: 1 1 100%;
    max-width: 100%;
    text-align: center !important;
  }

  .footer-col h3 {
    font-size: 1.05rem;
  }

  .footer-col ul li a,
  .footer-col p {
    font-size: 0.95rem;
  }

  .developer-pic {
    width: 72px;
    height: 72px;
  }

  .social-links a {
    width: 34px;
    height: 34px;
  }

  .social-links a img {
    width: 16px;
    height: 16px;
  }

  .footer-bottom {
    font-size: 0.85rem;
    margin-top: 14px;
  }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
  .footer-container {
    padding: 20px 14px;
    gap: 18px;
  }

  .footer-col h3 {
    font-size: 1rem;
  }

  .footer-col ul li a {
    font-size: 0.9rem;
  }

  .developer-pic {
    width: 65px;
    height: 65px;
  }

  .social-links a {
    width: 30px;
    height: 30px;
  }

  .social-links a img {
    width: 14px;
    height: 14px;
  }

  .footer-bottom {
    font-size: 0.8rem;
    margin-top: 10px;
  }
}



/* ---------- Mobile Navbar Responsive ---------- */

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, box-shadow 0.3s ease;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    width: 100%;
    padding: 14px 20px;
    border-radius: 0;
    color: #0f172a;
  }

  .nav-links li a:hover {
    background: rgba(13,148,136,0.05);
  }

  .nav-actions {
    width: 100%;
    padding: 14px 20px;
  }

  /* Hamburger toggle button */
  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    cursor: pointer;
  }

  .nav-toggle-label span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--teal);
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  /* Hide checkbox */
  .nav-toggle {
    display: none;
  }

  /* When checked (menu open) */
  .nav-toggle:checked ~ .nav-menu {
    max-height: 500px;
  }

  /* Animate hamburger to X */
  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}