/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.4;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Header Styles */
.header {
    background-color: #0747a6;
    color: white;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    text-align: left;
}

.logo-link {
    text-decoration: none;    /* Link underline */
    color: inherit;           /* Text color h1*/
}

.logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 14px;
}

/* Navigation Menu */
.nav-menu ul {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 5px;
    transition: all 0.3s ease;
    display: block;
}

.nav-menu a:hover {
    text-decoration: none;
    opacity: 0.8; /* Fade effect on hover */
    background-color: rgba(196, 18, 18, 0.1); /* Subtle background on hover */
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Main Content Styles */
.main-content {
    padding: 15px 0
}

.main-heading {
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Information Section */
.info-section {
    margin-bottom: 30px;
    font-size: 20px;

}

.info-section p {
    margin-bottom: 15px;
    
}

.link {
    color: #0066cc;
}

.link:hover {
    text-decoration: underline;
}

.highlight {
    color: #0066cc;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 15px;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.btn-red {
    background-color: #f87171;
}

.btn-red:hover {
    background-color: #ef4444;
}

.btn-blue {
    background-color: #1e40af;
}

.btn-blue:hover {
    background-color: #1e3a8a;
}

/* Job Card Section */
.job-card-section {
    margin-bottom: 30px;
    font-size: 18px;
}

.section-heading {
    font-size: 22px;
    margin-bottom: 15px;
}

.steps-list {
    padding-left: 20px;
    list-style-type: disc;
}

.steps-list li {
    margin-bottom: 10px;
}

.logo-ministry {
    text-align: center;
}

.logo-ministry img {
    margin-bottom: 5px;
}

.logo-ministry p {
    font-size: 12px;
}

.logo-scheme {
    text-align: center;
}

.logo-scheme h4 {
    font-size: 14px;
    line-height: 1.4;
}

/* 🟢 Simple Table */
.info-table {
    width: 100%;
    max-width: 100%;
    margin: 10px 0px;
    border-collapse: collapse;
    background-color: #fff;
    border: 1px solid #ddd;
    font-size: 16px;
}

/* Table cells */
.info-table th,
.info-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ddd;
}

/* Container for the table */
.link-table-container {
  background: #fdf7e2;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: left;
}

/* Header styling */
.link-table-container h2 {
  background: #f3c267;
  padding: 10px;
  color: #000;
  border-radius: 5px;
  margin-bottom: 15px;
  text-align: center;
  font-size: 20px;
}

/* Table styles */
.link-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: center;
}

.link-table td {
  background: #fff;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* Table hover effect */
.link-table td:hover {
  transform: translateY(-5px); /* Moves the cell up slightly */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Adds a deeper shadow */
}

/* Link styles inside the table */
.link-table td a {
  text-decoration: none;
  color: #0044cc;
  font-weight: bold;
  display: block;
}

.link-table td a:hover {
  text-decoration: underline;
}

/* ✅ Mobile Responsive for Simple Table */
@media (max-width: 768px) {
    .info-table {
        display: block;
        overflow-x: auto; /* स्क्रॉलिंग जोड़ें */
    }
    .info-table th, 
    .info-table td {
        white-space: nowrap; /* टेक्स्ट ब्रेक नहीं होगा */
    }
}

/* 🔵 Table for State-Wise List */
.table-container {
    width: 100%;
    overflow-x: auto; 
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Table cells */
.table-container th, .table-container td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
    white-space: nowrap; /* टेक्स्ट ब्रेक नहीं होगा */
}

/* Header styling */
.table-container th {
    background: #0056b3;
    color: white;
}

/* Links styling */
.table-container a {
    text-decoration: none;
    color: #007BFF;
}

.table-container a:hover {
    text-decoration: underline;
}

/* ✅ Mobile View for State List */
@media (max-width: 768px) {
    .table-container th, .table-container td {
        text-align: center;
    }
}

img {
  display: block;  /* Makes the image behave like a block element */
  margin: 0 auto;  /* Centers the image horizontally */
  height: auto;
  width: 100%;
  max-width: 680px;  /* Makes the image responsive */
  
}

/*faq*/

.faq {
    max-width: 1200px;
    margin: 0px auto;
    padding: 0px;
}

.faq h2 {
    text-align: center;
    color: #000;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
}

.faq-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 5px;
}

.faq-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    padding: 15px;
}

.faq-question {
    color: #1e90ff; /* Blue color for questions */
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.faq-answer {
    color: #333;
    font-size: 16px;
    margin: 0;
}

.step { background-color: #f9f9f9; padding: 15px; margin-bottom: 15px; border-left: 4px solid #2980b9; }
        .highlight { color: #e74c3c; font-weight: bold; }

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

footer .footer-content ul {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

footer .footer-content ul li {
    display: inline;
    margin: 0 10px;
}

footer .footer-content ul li a {
    color: #fff;
    text-decoration: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .header-content {
        position: relative;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed; /* Changed from absolute to fixed */
        top: 85px; /* Adjust based on your header height */
        left: 0; /* Start from left edge */
        right: 0; /* Extend to right edge */
        background-color: #0747a6;
        width: 100%; /* Full width */
        padding: 0; /* Remove padding */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 100;
        display: none;
        transition: all 0.3s ease; /* Smooth transition */
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 0; /* Remove gap */
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        padding: 15px 20px; /* Larger touch target */
        font-size: 16px; /* Larger font */
        transition: all 0.3s ease; /* Smooth transition for hover */
    }
    
    .nav-menu a:hover {
        background-color: rgba(255, 255, 255, 0.2); /* More visible hover effect */
        padding-left: 25px; /* Slight indent on hover */
    }
    
    .main-heading {
        font-size: 18px;
    }
    
    .official-logo {
        flex-direction: column;
    }
    
    /* Add overlay when menu is active */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 90;
        display: none;
    }
    
    .menu-overlay.active {
        display: block;
    }
}