/*
 Theme Name: Complaint Portal India Child
 Theme URI: https://example.com/complaint-portal-india-child
 Description: Child theme for Complaint Portal India using GeneratePress parent theme
 Author: Your Name
 Author URI: https://example.com
 Template: generatepress
 Version: 1.0.0
 Text Domain: complaint-portal-india-child
*/

/* Import parent theme styles */
@import url("../generatepress/style.css");

/* Custom styles for Child Theme */

body {
  font-family: 'Noto Sans', sans-serif;
  background-color: #f9fafb;
}

/* Hero section styles */
.hero-section {
  background: url('/wp-content/themes/complaint-portal-india-child/assets/images/hero-bg.jpg') no-repeat center center;
  background-size: cover;
  padding: 80px 20px;
  color: #fff;
  text-align: center;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.hero-cta a {
  background: #0073aa;
  color: #fff;
  padding: 1rem 2rem;
  margin: 0 0.5rem;
  border-radius: 5px;
  text-decoration: none;
}

.hero-cta a:hover {
  background: #005077;
}

/* Accordion styles for state departments */
.accordion {
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto;
}

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-header {
  background-color: #e2e8f0;
  cursor: pointer;
  padding: 1rem;
  font-weight: 600;
  font-size: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-content {
  display: none;
  padding: 1rem;
  background-color: #f0f4f8;
}

.accordion-content.active {
  display: block;
}

/* Department cards */
.department-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

.department-card {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.department-card img {
  max-height: 80px;
  margin-bottom: 1rem;
}

.department-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.department-card a {
  color: #0073aa;
  text-decoration: none;
}

.department-card a:hover {
  text-decoration: underline;
}

/* Footer styles */
.site-footer {
  background-color: #222;
  color: #ccc;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.2rem;
  }
  .hero-section p {
    font-size: 1.1rem;
  }
}
/* How to File Complaint Section Styles */

.cpi-how-to-file-complaint {
    max-width: 900px;
    margin: 3rem auto;
    padding: 1rem 1.5rem;
    font-family: 'Noto Sans', sans-serif;
    color: #222;
}

.cpi-htfc-title {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
    text-align: center;
}

.cpi-htfc-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #555;
}

.cpi-htfc-intro {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: justify;
}

.cpi-htfc-accordion {
    border-top: 1px solid #ccc;
}

.cpi-htfc-card {
    border-bottom: 1px solid #ccc;
}

.cpi-htfc-toggle {
    background: #0073aa;
    color: white;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cpi-htfc-toggle:focus {
    outline: 3px solid #005077;
    outline-offset: 2px;
}

.cpi-htfc-icon {
    font-weight: 700;
    font-size: 1.5rem;
}

.cpi-htfc-panel {
    padding: 1rem 1.25rem;
    background: #f1f5f9;
    font-size: 1rem;
    line-height: 1.5;
}

.cpi-htfc-panel p {
    margin: 0.5rem 0;
}

.cpi-htfc-cta {
    display: inline-block;
    margin-top: 1rem;
    background-color: #005077;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
}

.cpi-htfc-cta:hover,
.cpi-htfc-cta:focus {
    background-color: #003f5c;
    outline: none;
}

.cpi-htfc-footer {
    background-color: #e0e7ff;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    margin-top: 2rem;
}

.cpi-htfc-footer h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.cpi-htfc-footer ul {
    list-style: disc inside;
    color: #333;
    font-size: 1rem;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .cpi-htfc-title {
        font-size: 1.8rem;
    }
    .cpi-htfc-subtitle {
        font-size: 1rem;
    }
    .cpi-htfc-toggle {
        font-size: 1rem;
    }
}
