/* ============================================
   NYAYASEVA - COMPLETE COMMON STYLESHEET
   Version: 1.0
   Last Updated: January 2025
   ============================================ */

/* --------------------------------------------
   RESET & BASE STYLES
   -------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #F8FAFE;
  color: #1A2C3E;
  line-height: 1.5;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------
   TOP STRIP
   -------------------------------------------- */
.top-strip {
  background: #0A2540;
  color: #fff;
  font-size: 12px;
  padding: 8px 0;
}

.top-strip .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-info span,
.language-selector a,
.social-icons a {
  margin-right: 16px;
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.contact-info span:hover,
.language-selector a:hover,
.social-icons a:hover {
  color: #E06E2E;
}

/* --------------------------------------------
   MAIN HEADER & NAVIGATION MENU BAR
   -------------------------------------------- */
.main-header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* Logo Section */
.logo-section {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.logo {
  flex-shrink: 0;
}

.logo h1 {
  color: #0A2540;
  font-size: 24px;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.logo p {
  font-size: 10px;
  color: #5E6F82;
  white-space: nowrap;
}

.header-banner {
  background: linear-gradient(135deg, #FFF8F2, #FFF3E8);
  padding: 6px 18px;
  border-radius: 40px;
  border: 1px solid #FFE0B5;
  flex-shrink: 0;
}

.header-banner span {
  font-size: 12px;
  color: #E06E2E;
  font-weight: 500;
}

.header-banner i {
  color: #E06E2E;
  margin-right: 6px;
}

/* Desktop Navigation Menu */
.nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: nowrap;
  flex: 1;
  justify-content: flex-end;
}

.nav > a {
  text-decoration: none;
  color: #1A2C3E;
  font-weight: 500;
  font-size: 14px;
  transition: 0.3s;
  padding: 8px 0;
  white-space: nowrap;
}

.nav > a:hover {
  color: #E06E2E;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown > a {
  text-decoration: none;
  color: #1A2C3E;
  font-weight: 500;
  font-size: 14px;
  transition: 0.3s;
  padding: 8px 0;
  display: inline-block;
  white-space: nowrap;
}

.dropdown > a:hover {
  color: #E06E2E;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 220px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border-radius: 12px;
  z-index: 1001;
  top: 35px;
  left: 0;
  padding: 10px 0;
  border: 1px solid #E8EDF2;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: #1A2C3E;
  padding: 10px 20px;
  text-decoration: none;
  display: block;
  font-size: 13px;
  transition: 0.3s;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: #FFF8F2;
  color: #E06E2E;
}

/* Assistance Button (Contact Us) */
.assistance-btn {
  background: linear-gradient(135deg, #E06E2E, #FF8C42);
  color: white !important;
  padding: 8px 20px !important;
  border-radius: 40px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: 0.3s !important;
  box-shadow: 0 2px 8px rgba(224,110,46,0.3);
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
}

.assistance-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(224,110,46,0.4);
  background: linear-gradient(135deg, #C25A1F, #E06E2E);
  color: white !important;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  background: #E06E2E;
  border: none;
  color: white;
  font-size: 22px;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: #C25A1F;
}

/* Mobile Menu Overlay & Panel */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: white;
  box-shadow: -2px 0 20px rgba(0,0,0,0.1);
  z-index: 2001;
  transition: right 0.3s ease;
  padding: 20px;
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #E8EDF2;
  margin-bottom: 20px;
}

.mobile-menu-header h3 {
  color: #0A2540;
  font-size: 20px;
}

.close-menu {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #5E6F82;
}

.mobile-menu .mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu .mobile-nav a {
  text-decoration: none;
  color: #1A2C3E;
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #F0F0F0;
}

.mobile-menu .mobile-nav a:hover {
  color: #E06E2E;
}

.mobile-dropdown {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
  border-bottom: 1px solid #F0F0F0;
  font-weight: 500;
}

.mobile-dropdown-content {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding-left: 15px;
}

.mobile-dropdown-content a {
  font-size: 14px;
  padding: 8px 0;
  border-bottom: none;
}

.mobile-dropdown-toggle.active + .mobile-dropdown-content {
  display: flex;
}

/* --------------------------------------------
   BREADCRUMB NAVIGATION
   -------------------------------------------- */
.breadcrumb {
  margin: 20px 0;
  font-size: 13px;
}

.breadcrumb a {
  color: #5E6F82;
  text-decoration: none;
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: #E06E2E;
}

.breadcrumb span {
  color: #A0B3C6;
  margin: 0 8px;
}

.breadcrumb .current {
  color: #E06E2E;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #E06E2E;
  text-decoration: none;
  margin: 20px 0;
  font-weight: 500;
}

/* --------------------------------------------
   COMMON BUTTONS
   -------------------------------------------- */
.btn-primary {
  background: #E06E2E;
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #C25A1F;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid #E06E2E;
  color: #E06E2E;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
  cursor: pointer;
}

.btn-outline:hover {
  background: rgba(224,110,46,0.1);
  transform: translateY(-2px);
}

/* --------------------------------------------
   SECTION TITLES
   -------------------------------------------- */
.section-title {
  text-align: center;
  font-size: 32px;
  color: #0A2540;
  margin-bottom: 12px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  color: #5E6F82;
  margin-bottom: 35px;
  font-size: 16px;
}

/* --------------------------------------------
   ADSENSE BANNER PLACEHOLDER
   -------------------------------------------- */
.adsense-banner {
  background: #F0F4F8;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin: 30px 0;
  border: 1px dashed #CBD5E1;
}

.adsense-placeholder {
  background: #E8EDF2;
  padding: 40px;
  border-radius: 12px;
  color: #5E6F82;
  font-size: 14px;
}

/* --------------------------------------------
   DISCLAIMER BOX
   -------------------------------------------- */
.disclaimer-box {
  background: #FFF2E6;
  padding: 20px;
  border-radius: 16px;
  margin: 30px 0;
  font-size: 13px;
  border-left: 4px solid #E06E2E;
  color: #5E6F82;
}

.top-disclaimer {
  background: #FFF8F2;
  border-left: 4px solid #E06E2E;
  padding: 15px 20px;
  border-radius: 12px;
  margin: 20px 0 30px;
  font-size: 13px;
  color: #5E6F82;
  line-height: 1.6;
}

/* --------------------------------------------
   PLATFORM FEATURES (Common Component)
   -------------------------------------------- */
.platform-features {
  background: #F8F9FC;
  border-radius: 20px;
  padding: 30px;
  margin: 40px 0;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-size: 14px;
  color: #1A237E;
}

.feature-item i {
  color: #E06E2E;
}

/* --------------------------------------------
   WHAT NEXT STEPS (Common Component)
   -------------------------------------------- */
.whatnext-section {
  background: #F8F9FC;
  border-radius: 24px;
  padding: 35px;
  margin: 40px 0;
  text-align: center;
}

.whatnext-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.whatnext-step {
  background: white;
  border-radius: 16px;
  padding: 20px 25px;
  text-align: center;
  min-width: 150px;
  border: 1px solid #E8EDF2;
}

.step-num {
  width: 35px;
  height: 35px;
  background: #E06E2E;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-weight: bold;
}

/* --------------------------------------------
   INFO BOXES & WARNING BOXES
   -------------------------------------------- */
.info-box {
  background: #E8EAF6;
  padding: 20px;
  border-radius: 16px;
  margin: 20px 0;
  border-left: 4px solid #1A237E;
}

.warning-box {
  background: #FFF8F2;
  padding: 20px;
  border-radius: 16px;
  margin: 20px 0;
  border-left: 4px solid #E06E2E;
}

/* --------------------------------------------
   DOCUMENT LINKS
   -------------------------------------------- */
.doc-link {
  display: inline-block;
  color: #E06E2E;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  margin-top: 8px;
}

.doc-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------
   FAQ ACCORDION (Common)
   -------------------------------------------- */
.faq-accordion {
  margin-top: 20px;
}

.faq-item {
  border: 1px solid #E8EDF2;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: white;
}

.faq-question {
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  color: #0A2540;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
  color: #5E6F82;
  font-size: 14px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 500px;
}

/* --------------------------------------------
   FOOTER
   -------------------------------------------- */
.footer {
  background: #0A2540;
  color: #B0C4DE;
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin: 30px 0;
}

.footer-col h4 {
  color: white;
  margin-bottom: 15px;
  font-size: 16px;
}

.footer-col a {
  display: block;
  color: #B0C4DE;
  text-decoration: none;
  font-size: 13px;
  margin: 8px 0;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #E06E2E;
}

.footer-disclaimer {
  text-align: center;
  font-size: 12px;
  padding: 15px;
  border-top: 1px solid #1A3A5C;
  margin-bottom: 20px;
}

.copyright {
  text-align: center;
  font-size: 12px;
  padding-top: 20px;
  border-top: 1px solid #1A3A5C;
}

/* --------------------------------------------
   RESPONSIVE STYLES
   -------------------------------------------- */
@media (max-width: 1200px) {
  .nav {
    gap: 12px;
  }
  .nav > a, .dropdown > a {
    font-size: 12px;
  }
  .assistance-btn {
    padding: 6px 14px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 1024px) {
  .main-header .container {
    gap: 10px;
  }
  .logo h1 {
    font-size: 20px;
  }
  .logo p {
    font-size: 9px;
  }
  .header-banner {
    display: none;
  }
  .nav {
    gap: 10px;
  }
  .section-title {
    font-size: 28px;
  }
}

@media (max-width: 900px) {
  /* Hide desktop navigation */
  .nav {
    display: none;
  }
  
  /* Show mobile menu button */
  .menu-toggle {
    display: block;
  }
  
  .logo-section {
    flex: 1;
  }
  
  .header-banner {
    display: none;
  }
  
  .section-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  .top-strip .container {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-info span {
    display: inline-block;
    margin: 5px;
  }
  
  .language-selector {
    margin: 5px 0;
  }
  
  .logo h1 {
    font-size: 18px;
  }
  
  .logo p {
    font-size: 8px;
  }
  
  .section-title {
    font-size: 22px;
  }
  
  .section-subtitle {
    font-size: 14px;
  }
  
  .whatnext-steps {
    gap: 15px;
  }
  
  .whatnext-step {
    padding: 15px 20px;
    min-width: 130px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-col a {
    text-align: center;
  }
}