/* 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;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

/* ---------- 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 {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.logo:focus { outline: 3px solid rgba(13,148,136,0.18); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.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;
}
.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 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: var(--radius);
  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; }

/* ------ Body element ----*/



/* ================= HERO ================= */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 20px;
  text-align: center;
  background: linear-gradient(135deg, #51d6c0, #129c85); /* smoother gradient */
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

/* Decorative circles */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.hero::before {
  top: -100px;
  left: -120px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%);
}

.hero::after {
  bottom: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.08), transparent 70%);
}

.hero .container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Heading */
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  letter-spacing: 1px;
  text-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.hero h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: #fff;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Paragraph */
.hero p {
  font-size: 1.25rem;
  color: #f1f1f1;
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.95;
}

/* Optional CTA Button inside hero */
.hero .btn {
  margin-top: 30px;
  padding: 14px 32px;
  background: #fff;
  color: #129c85;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.hero .btn:hover {
  background: #129c85;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transform: translateY(-3px);
}

/* ================= CONTACT INFO ================= */
/* ================= CONTACT INFO ================= */
.contact-info {
  padding: 100px 20px;
  background: #f9fafa;
  text-align: center;
}

.contact-info .container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #129c85;
  position: relative;
}

.contact-info h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: #129c85;
  margin: 12px auto 0;
  border-radius: 2px;
}

.contact-info .contact-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.info-card {
  background: #fff;
  border-radius: 14px;
  padding: 30px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.40);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 1);
}

.info-card .icon {
  font-size: 2rem;
  margin-bottom: 15px;
  display: inline-block;
}

.info-card h3 {
  font-size: 1.25rem;
  color: #129c85;
  margin-bottom: 10px;
}

.info-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}


/* ================= CONTACT FORM SECTION ================= */
.contact-form {
  padding: 80px 20px;
  background: #f8fafa;
}

.contact-form .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.contact-form h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #009688;
  margin-bottom: 10px;
}

.contact-form .form-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

/* ================= FORM CARD ================= */
.form-card {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  max-width: 800px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* ================= FORM GRID ================= */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

/* ================= INPUTS & TEXTAREA ================= */
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  color: #333;
  background: #fff;
  transition: all 0.3s ease;
  font-family: inherit;
  box-sizing: border-box; /* ensures padding doesn’t break layout */
}

.form-card textarea {
  resize: none;
  grid-column: 1 / -1; /* makes textarea span full width */
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: #009688;
  box-shadow: 0 0 8px rgba(0, 150, 136, 0.15);
  outline: none;
}

/* ================= BUTTON ================= */
.btn-submit {
  display: inline-block;
  width: 100%;
  padding: 14px;
  background: #009688;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: #00796b;
  box-shadow: 0 6px 18px rgba(0, 150, 136, 0.3);
  transform: translateY(-2px);
}

/* ================= SUCCESS & ERROR MESSAGE ================= */
.form-message {
  margin-top: 20px;
  font-size: 1rem;
  font-weight: 500;
  display: none;
}

.form-message.success {
  color: #2ecc71;
  display: block;
}

.form-message.error {
  color: #e74c3c;
  display: block;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .contact-form h2 {
    font-size: 2rem;
  }

  .form-card {
    padding: 25px;
  }
}


/* ========= Global Container ========= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========= APP CTA ========= */
.app-cta {
    max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  background: linear-gradient(135deg, #0072ff, #00c6ff);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 114, 255, 0.3);
  margin-bottom: 60px;
}

.app-cta p {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 25px;
}

.app-cta strong {
  color: #ffe259;
}

.store-buttons img {
  height: 60px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-buttons img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  border-radius: 12px;
}

/* ========= FAQ ========= */
.faq {
  background: #f9f9f9;
  padding: 60px 20px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.faq h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 15px;
  color: #333;
}

.faq p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #666;
  font-size: 1.1rem;
}

/* FAQ Items */
.faq-item {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  outline: none;
  padding: 18px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f1faff;
}

.faq-question span {
  font-size: 1.5rem;
  color: #0072ff;
  transition: transform 0.3s ease;
}

/* Rotate symbol when active */
.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

/* FAQ Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 20px;
  background: #fafafa;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 15px 20px;
}

.faq-answer p {
  margin: 0;
  color: #444;
  line-height: 1.6;
}

/* ---------- FOOTER ---------- */
/* Footer (teal box + bottom note) */
/* ============ BASE 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;
}

/* column alignments */
.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 */
.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 note */
.footer-bottom {
  max-width: 1200px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: #6b6b6b;
}

/* ============ RESPONSIVE STYLES ============ */

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
  .footer-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 32px 24px;
  }

  .footer-col {
    flex: 1 1 45%;
    text-align: center;
  }

  .footer-col:first-child {
    text-align: center;
  }
}

/* Mobiles (≤768px) */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 26px 20px;
    gap: 20px;
    border-radius: 0; /* full width on mobile */
  }

  .footer-col {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .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: 16px;
  }

  .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);
  }
}