/*
Theme Name: E Challan Parivahan Sewas
Description: A custom WordPress theme for E Challan Parivahan Sewas website with modern design and responsive layout.
Version: 1.0
Author: E Challan Parivahan Sewas
*/

/* CSS Variables */
:root {
  --background: #ffffff;
  --foreground: #171717;
  --primary: #124dac;
  --primary-rgb: 18, 77, 172;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --blue-200: #bfdbfe;
  --blue-900: #1e3a8a;
  --yellow-200: #fef3c7;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

/* Header Styles */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.site-logo {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
}

.site-logo:hover {
  color: var(--yellow-200);
}

/* Navigation */
.main-navigation {
  display: none;
}

@media (min-width: 768px) {
  .main-navigation {
    display: flex;
    gap: 2rem;
  }
}

.main-navigation a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-navigation a:hover {
  color: var(--yellow-200);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 1rem;
  color: var(--blue-900);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-200);
  font-weight: 500;
}

.mobile-menu a:hover {
  color: var(--yellow-200);
  background: var(--gray-50);
}

/* Main Content */
.site-main {
  flex: 1;
  min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero-section {
  background: var(--blue-200);
  color: var(--blue-900);
  padding: 4rem 0;
  text-align: center;
}

.hero-content {
  max-width: 48rem;
  margin: 0 auto;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

/* Content Sections */
.content-section {
  padding: 3rem 0;
}

.content-section:nth-child(even) {
  background: var(--gray-50);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-content {
  max-width: 48rem;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--gray-700);
}

/* Steps */
.steps-container {
  max-width: 64rem;
  margin: 0 auto;
}

.step-item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .step-item {
    flex-direction: row;
    align-items: flex-start;
  }
}

.step-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .step-content h3 {
    font-size: 1.5rem;
  }
}

.step-content p {
  color: var(--gray-700);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  padding: 1.5rem;
  border: 2px solid var(--blue-900);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.card-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 2rem;
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.card p {
  color: var(--gray-700);
  margin-bottom: 0.25rem;
}

.card a {
  color: #2563eb;
  text-decoration: underline;
}

/* Lists */
.content-list {
  list-style: disc;
  list-style-position: inside;
  max-width: 48rem;
  margin: 0 auto;
}

.content-list li {
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.numbered-list {
  list-style: decimal;
  list-style-position: inside;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: var(--gray-50);
  padding: 1rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: var(--gray-100);
}

.faq-answer {
  padding: 1rem;
  color: var(--gray-700);
  display: none;
}

.faq-answer.active {
  display: block;
}

/* CTA Section */
.cta-section {
  background: var(--primary);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-content {
  max-width: 48rem;
  margin: 0 auto;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--primary);
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.cta-button:hover {
  background: var(--gray-100);
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-section p {
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gray-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 767px) {
  .hero-section {
    padding: 2rem 0;
  }
  
  .content-section {
    padding: 2rem 0;
  }
  
  .cta-section {
    padding: 2rem 0;
  }
}

/* WordPress Specific */
.wp-block-image {
  margin: 1.5rem 0;
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.aligncenter {
  text-align: center;
}

.alignleft {
  float: left;
  margin-right: 1rem;
}

.alignright {
  float: right;
  margin-left: 1rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.bg-white {
  background-color: white;
}

.bg-gray-50 {
  background-color: var(--gray-50);
}

.text-primary {
  color: var(--primary);
}

.text-gray-700 {
  color: var(--gray-700);
}

.font-bold {
  font-weight: 700;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.shadow {
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.p-4 {
  padding: 1rem;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.gap-3 {
  gap: 0.75rem;
}