

    /* ---------------- ROOT COLORS ---------------- */
    :root {
      --teal-primary: #008080;
      --teal-dark: #004d4d;
      --teal-light: #00cccc;
      --orange-primary: #ff7f50;
      --orange-dark: #e65c35;
      --orange-light: #ff9a75;
      --white: #ffffff;
      --gray-light: #f5f7fa;
      --gray-medium: #e2e8f0;
      --gray-dark: #2c3e50;
      --cream-bg: #fff8dc;
      --shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
      --transition: all 0.4s ease;
    }

    /* ---------------- GLOBAL ---------------- */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background: var(--cream-bg);
      color: var(--gray-dark);
      line-height: 1.7;
      overflow-x: hidden;
      scroll-behavior: smooth;
    }

    h1, h2, h3, h4 {
      font-weight: 700;
      line-height: 1.3;
    }

    p {
      margin-bottom: 1rem;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* Smooth scroll bar */
    ::-webkit-scrollbar {
      width: 10px;
    }

    ::-webkit-scrollbar-thumb {
      background: linear-gradient(to bottom, var(--teal-primary), var(--orange-primary));
      border-radius: 6px;
    }

    ::-webkit-scrollbar-track {
      background: #ddd;
    }

   
    /* ---------------- HEADER ---------------- */
    .page-header {
      position: relative;
      min-height: 75vh;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--white);
      text-align: center;
      overflow: hidden;
      margin-top: 0;
    }

    .header-bg-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -1;
    }

    .header-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
      z-index: 0;
    }

    .header-content {
      max-width: 800px;
      z-index: 2;
      padding: 20px;
    }

    .page-header h1 {
      font-size: 3.5rem;
      margin-bottom: 20px;
      animation: fadeInDown 1.2s ease;
      text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    }

    .page-header p {
      font-size: 1.4rem;
      margin-bottom: 40px;
      animation: fadeInUp 1.2s ease;
      text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    }

    .scroll-indicator {
      animation: bounce 2s infinite;
      color: var(--white);
      margin-top: 40px;
    }

    /* ---------------- SECTION BASE ---------------- */
    .section {
      padding: 60px 0;
      position: relative;
      background: var(--cream-bg);
      scroll-margin-top: 80px;
    }

    .section.alt {
      background: var(--cream-bg);
    }

    .section.cream {
      background: var(--cream-bg);
    }

    .section-header {
      text-align: center;
      margin-bottom: 40px;
    }

    .section-icon {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      color: var(--white);
      background: linear-gradient(135deg, var(--teal-primary), var(--orange-primary));
      margin-bottom: 20px;
      box-shadow: var(--shadow);
      animation: bounce 2s infinite;
    }

    .section h2 {
      font-size: 2.8rem;
      margin-bottom: 15px;
      color: var(--teal-dark);
      position: relative;
      display: inline-block;
    }

    .section h2::after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: -12px;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      border-radius: 2px;
      background: linear-gradient(to right, var(--teal-primary), var(--orange-primary));
    }

    .section-header p {
      font-size: 1.2rem;
      color: var(--gray-dark);
      max-width: 600px;
      margin: 0 auto;
    }

    .section-content {
      display: flex;
      align-items: center;
      gap: 40px;
      flex-wrap: wrap;
    }

    .section-content.reverse {
      flex-direction: row-reverse;
    }

    .section-content .content {
      flex: 1;
      min-width: 300px;
    }

    .section-content .image-container {
      flex: 1;
      min-width: 300px;
    }

    .section-img {
      width: 100%;
      border-radius: 20px;
      box-shadow: var(--shadow);
      transition: transform 0.6s ease;
    }

    .section-img:hover {
      transform: scale(1.03);
    }

    /* Features in Overview */
    .features {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      margin-top: 25px;
    }

    .feature {
      display: flex;
      align-items: center;
      gap: 10px;
      background: rgba(255, 255, 255, 0.7);
      padding: 10px 15px;
      border-radius: 50px;
      font-weight: 500;
      font-size: 0.9rem;
    }

    .feature i {
      color: var(--teal-primary);
      font-size: 1.1rem;
    }

    /* ---------------- STATS GRID ---------------- */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 25px;
      margin: 40px 0;
    }

    .stat {
      background: var(--white);
      border-radius: 18px;
      padding: 25px 15px;
      text-align: center;
      box-shadow: var(--shadow);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .stat:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

    .stat-icon {
      font-size: 38px;
      margin-bottom: 15px;
      color: var(--teal-primary);
      transition: var(--transition);
    }

    .stat:hover .stat-icon {
      color: var(--orange-primary);
      transform: scale(1.2);
    }

    .stat h3 {
      font-size: 2.2rem;
      margin-bottom: 10px;
      color: var(--teal-dark);
    }

    .stat p {
      color: var(--gray-dark);
      font-weight: 500;
      font-size: 0.9rem;
    }

    /* ---------------- CARDS GRID ---------------- */
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 25px;
      margin-top: 40px;
    }

    .card {
      background: var(--white);
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      position: relative;
    }

    .card:hover {
      transform: translateY(-12px) scale(1.02);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    }

    .card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      transition: transform 0.6s ease;
    }

    .card:hover img {
      transform: scale(1.1);
    }

    .card-content {
      padding: 20px;
    }

    .card-content h3 {
      font-size: 1.4rem;
      margin-bottom: 10px;
      color: var(--teal-dark);
    }

    .card-content p {
      color: var(--gray-dark);
      font-size: 0.9rem;
    }

    /* ---------------- TABLE ---------------- */
    .table-container {
      overflow-x: auto;
      margin-top: 40px;
      border-radius: 12px;
      box-shadow: var(--shadow);
      background: var(--white);
    }

    table {
      width: 100%;
      border-collapse: collapse;
      border-radius: 12px;
      overflow: hidden;
    }

    thead {
      background: linear-gradient(to right, var(--teal-primary), var(--orange-primary));
      color: var(--white);
    }

    th, td {
      padding: 15px 20px;
      text-align: left;
    }

    th {
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      font-size: 0.9rem;
    }

    tbody tr {
      border-bottom: 1px solid var(--gray-medium);
      transition: var(--transition);
      background: var(--white);
    }

    tbody tr:last-child {
      border-bottom: none;
    }

    tbody tr:hover {
      background: rgba(0, 128, 128, 0.08);
    }

    /* ---------------- ANIMATIONS ---------------- */
    @keyframes fadeInDown {
      from {
        opacity: 0;
        transform: translateY(-40px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes bounce {
      0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
      }
      40% {
        transform: translateY(-20px);
      }
      60% {
        transform: translateY(-10px);
      }
    }

    /* ---------------- RESPONSIVE ---------------- */
    @media (max-width: 992px) {
      .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        z-index: 999;
      }
      
      .nav-links.active {
        right: 0;
      }
      
      .menu-btn {
        display: block;
      }
      
      .page-header h1 {
        font-size: 2.8rem;
      }
      
      .page-header p {
        font-size: 1.2rem;
      }
      
      .section h2 {
        font-size: 2.2rem;
      }
      
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .section-content {
        flex-direction: column;
      }
      
      .section-content.reverse {
        flex-direction: column;
      }
      
      .stats-grid {
        grid-template-columns: 1fr;
      }
      
      .language-toggle {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
      }
      
      .lang-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
      }
    }

    @media (max-width: 576px) {
      .page-header h1 {
        font-size: 2.2rem;
      }
      
      .page-header p {
        font-size: 1rem;
      }
      
      .section h2 {
        font-size: 1.8rem;
      }
      
      .stat h3 {
        font-size: 1.8rem;
      }
    }

    /* Government specific styles */
    .contact-info {
      margin-top: 30px;
    }

    .contact-item {
      display: flex;
      align-items: flex-start;
      gap: 20px;
      margin-bottom: 25px;
      background: var(--white);
      padding: 20px;
      border-radius: 15px;
      box-shadow: var(--shadow);
    }

    .contact-item i {
      font-size: 24px;
      color: var(--teal-primary);
      margin-top: 5px;
    }

    .contact-item h4 {
      margin-bottom: 5px;
      color: var(--teal-dark);
    }

    .contact-item p {
      margin-bottom: 5px;
    }

    .card-badge {
      position: absolute;
      top: 15px;
      right: 15px;
      background: var(--orange-primary);
      color: white;
      padding: 5px 10px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
    }

    .small-btn {
      display: inline-block;
      background: linear-gradient(to right, var(--teal-primary), var(--orange-primary));
      color: white;
      padding: 10px 20px;
      border-radius: 30px;
      font-weight: 600;
      margin-top: 15px;
      transition: var(--transition);
    }

    .small-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .explore-btn-wrapper {
      text-align: center;
      margin-top: 40px;
    }

    .explore-btn {
      display: inline-block;
      background: linear-gradient(to right, var(--teal-primary), var(--orange-primary));
      color: white;
      padding: 15px 30px;
      border-radius: 30px;
      font-weight: 600;
      transition: var(--transition);
    }

    .explore-btn:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    /* ===== ADDITIONAL CSS FOR POLICE ADMINISTRATION PAGE ===== */

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--teal-primary), var(--orange-primary));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-light), var(--teal-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--teal-dark);
}

.service-card p {
    color: var(--gray-dark);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-btn {
    display: inline-block;
    background: linear-gradient(to right, var(--teal-primary), var(--orange-primary));
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.service-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Updates Container */
.updates-container {
    display: grid;
    gap: 25px;
    margin-top: 40px;
}

.update-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    transition: var(--transition);
    border-left: 4px solid var(--teal-primary);
}

.update-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.update-date {
    background: linear-gradient(135deg, var(--teal-primary), var(--orange-primary));
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.date-day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 5px 0;
}

.date-year {
    font-size: 0.8rem;
    opacity: 0.9;
}

.update-content {
    flex: 1;
}

.update-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--teal-dark);
}

.update-content p {
    color: var(--gray-dark);
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: var(--teal-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--orange-primary);
    gap: 8px;
}

.read-more::after {
    content: '→';
    transition: var(--transition);
}

.read-more:hover::after {
    transform: translateX(3px);
}

.view-all-updates {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    display: inline-block;
    background: transparent;
    color: var(--teal-primary);
    padding: 12px 30px;
    border: 2px solid var(--teal-primary);
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.view-all-btn:hover {
    background: var(--teal-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Container */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--teal-dark);
    text-align: left;
}

.contact-detail {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-detail i {
    font-size: 24px;
    color: var(--teal-primary);
    margin-top: 5px;
    min-width: 24px;
}

.contact-detail h4 {
    margin-bottom: 8px;
    color: var(--teal-dark);
    font-size: 1.1rem;
}

.contact-detail p {
    margin-bottom: 5px;
    color: var(--gray-dark);
}

.contact-form-container {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form-container h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--teal-dark);
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--teal-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-medium);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(to right, var(--teal-primary), var(--orange-primary));
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Back to Top Button */



/* Card Lists */
.card-content ul {
    list-style: none;
    margin: 15px 0;
    padding: 0;
}

.card-content li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.card-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal-primary);
    font-weight: bold;
}

/* Responsive Design for Police Page */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .update-card {
        flex-direction: column;
        text-align: center;
    }
    
    .update-date {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        min-width: auto;
        padding: 10px 15px;
    }
    
    .date-day {
        font-size: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
  
}

@media (max-width: 576px) {
    .contact-form-container {
        padding: 20px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .update-card {
        padding: 20px;
    }
}
.education-nav {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--orange-dark) 100%);
  padding: 1rem 0;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.education-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.education-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.8rem;
  max-width: 1200px;
}

.education-nav li { margin: 0; }

.education-nav a {
  color: white;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
  display: block;
  border: 2px solid transparent;
}

.education-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.education-nav a.active {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}
.govtsub-head{
    text-align: center;
    padding: 20px;
    font-size: 1.4rem; /* About 32px - clean and professional */
    font-weight: 600;
    color: white;
    margin: 0;
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--orange-dark) 100%);
}
/* ==================== */
/* RESPONSIVE NAVIGATION */
/* ==================== */

/* Mobile Menu Toggle Button */
.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--teal-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Menu Styles */
@media (max-width: 992px) {
    .menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        padding: 15px 20px;
        border-radius: 8px;
        margin: 5px 0;
        font-size: 1.1rem;
    }
    
    .nav-link::after {
        display: none;
    }
    
    /* Menu button animation when active */
    .menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Adjust language toggle for mobile */
    .language-toggle {
        top: 15px;
        right: 60px;
        padding: 6px 12px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .nav-links {
        width: 100%;
    }
    
    .nav-container {
        padding: 12px 15px;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .language-toggle {
        top: 12px;
        right: 50px;
        padding: 5px 10px;
    }
}

/* Overlay for mobile menu background */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}