/* ========================================
   GLOBAL STYLES - RenovateHub
   (Shared across all pages)
   ======================================== */

/* --- RESET & BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
  overflow-x: hidden;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- SCROLL FADE (For all pages) --- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- NAVBAR --- */
.navbar {
  background: #ffffff;
  padding: 16px 0;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 28px;
  font-weight: 800;
  color: #0f3b5e;
  letter-spacing: -0.5px;
}
.logo span {
  color: #f59e0b;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: #f59e0b;
}
.nav-cta {
  background: #0f3b5e;
  color: #fff !important;
  padding: 8px 24px;
  border-radius: 40px;
  transition: background 0.2s;
}
.nav-cta:hover {
  background: #1a4f77 !important;
  color: #fff !important;
}
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #0f3b5e;
}

/* --- INNER PAGE HERO (Smaller & cleaner) --- */
.inner-hero {
  background: linear-gradient(135deg, #0f3b5e, #1a5a7a);
  padding: 60px 0;
  border-radius: 0 0 30px 30px;
  color: white;
  margin-bottom: 48px;
  text-align: center;
}
.inner-hero h1 {
  font-size: 38px;
  font-weight: 800;
}
.inner-hero h1 i {
  color: #fbbf24;
  margin-right: 12px;
}
.inner-hero p {
  opacity: 0.9;
  font-size: 18px;
  max-width: 600px;
  margin: 8px auto 0;
}

/* --- CONTENT BOX (For Privacy, Terms, Disclaimer) --- */
.content-box {
  background: #ffffff;
  padding: 48px;
  border-radius: 30px;
  border: 1px solid #eef2f6;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  margin-bottom: 60px;
}
.content-box h2 {
  font-size: 28px;
  color: #0f3b5e;
  margin-top: 32px;
  margin-bottom: 12px;
}
.content-box h2:first-of-type {
  margin-top: 0;
}
.content-box p {
  color: #475569;
  margin-bottom: 16px;
  font-size: 16px;
}
.content-box ul,
.content-box ol {
  color: #475569;
  padding-left: 20px;
  margin-bottom: 16px;
}
.content-box a {
  color: #f59e0b;
  text-decoration: none;
  font-weight: 600;
}
.content-box a:hover {
  text-decoration: underline;
}

/* --- CONTACT PAGE SPECIFIC --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.contact-info {
  background: #ffffff;
  padding: 40px;
  border-radius: 30px;
  border: 1px solid #eef2f6;
}
.contact-info h3 {
  font-size: 24px;
  color: #0f3b5e;
  margin-bottom: 16px;
}
.contact-info .detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 16px;
}
.contact-info .detail i {
  font-size: 22px;
  color: #f59e0b;
  width: 40px;
  text-align: center;
}
.contact-info .detail strong {
  color: #0f3b5e;
}
.contact-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 30px;
  border: 1px solid #eef2f6;
}
.contact-form .form-group {
  margin-bottom: 20px;
}
.contact-form .form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
  color: #334155;
}
.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  font-size: 16px;
  transition: 0.2s;
  background: #f8fafc;
  font-family: inherit;
}
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  border-color: #f59e0b;
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}
.contact-form .btn-submit {
  background: #f59e0b;
  color: #fff;
  padding: 16px 36px;
  border: none;
  border-radius: 40px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 6px 14px rgba(245, 158, 11, 0.3);
  width: 100%;
}
.contact-form .btn-submit:hover {
  background: #d97706;
  transform: scale(1.02);
}

/* --- FAQ PAGE SPECIFIC --- */
.faq-wrapper {
  max-width: 750px;
  margin: 0 auto 60px;
}
.faq-item {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 12px;
  border: 1px solid #eef2f6;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: #d1d9e6;
}
.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 18px;
  color: #0f3b5e;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.2s;
  text-align: left;
}
.faq-question:hover {
  background: #f8fafc;
}
.faq-question i {
  transition: transform 0.3s;
  margin-left: 12px;
}
.faq-item.open .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 24px 20px;
  color: #475569;
  display: none;
  font-size: 15px;
  text-align: left;
}
.faq-item.open .faq-answer {
  display: block;
}

/* --- BUTTONS (Reusable) --- */
.btn-primary {
  display: inline-block;
  background: #f59e0b;
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}
.btn-primary:hover {
  background: #d97706;
  transform: scale(1.03);
}

/* --- FOOTER --- */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 48px 0 24px;
  border-radius: 40px 40px 0 0;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 18px;
}
.footer a {
  color: #94a3b8;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  transition: color 0.2s;
}
.footer a:hover {
  color: #f59e0b;
}
.footer .logo {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}
.footer .logo span {
  color: #f59e0b;
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
  color: #64748b;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: block;
  }
  .inner-hero h1 {
    font-size: 28px;
  }
  .content-box {
    padding: 24px;
  }
  .contact-info,
  .contact-form {
    padding: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}