/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  /* background-color: white; */
  background: linear-gradient(145deg, #e5e5e5, rgb(225 218 220 / 83%));
  /*  */


}

/* Navbar container */
.navbar {
  /* background-color: rgb(154 8 61 / 83%); */
  background: linear-gradient(340deg, #040203, rgba(208, 45, 129, 0.83));
  padding: 10rem;
  padding-bottom: 30px;
  color: white;
  position: relative;
}

/* Logo */
.logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 4rem;
  text-align: left;
}

/* Hamburger Button */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Navigation */
.nav-area {
  display: flex;
  justify-content: flex-end;
  margin-top: 5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #ffcccb;
}

/* ✅ Mobile Responsive */


@media (max-width: 768px) {
  .navbar {
    padding: 5rem 2rem 30px 2rem;
    text-align: center;
  }

  .logo h1 {
    text-align: left;
    font-size: 3rem;
  }

  .hamburger {
    display: block;
  }

  .nav-area {
    width: 100%;
    margin-top: 2rem;
    justify-content: center;
    display: none; 
    flex-direction: column;
  }

  .nav-area.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 1.2rem;
  }

  .nav-links li a {
    font-size: 1.2rem;
  } 
 }

 /* Mobile Responsive Styles (768px and below) */
/* @media (max-width: 768px) {
 
  .navbar {
    padding: 1rem 1.5rem;
  }
  .logo h1 {
    font-size: 2rem;
  }
  .hamburger {
    display: block;
  }
  .nav-area {
    width: 100%;
    position: absolute;
    top: 65px;
    left: 0;
    flex-direction: column;
    background-color: #004d99;
    padding: 1rem 0;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  .nav-area.active {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  .nav-links li a {
    font-size: 1rem;
    display: block;
  }
} */


/* States Section */
.states-section {
  padding: 3rem 2rem;
  text-align: center;
  /*  */
   /* height: 100vh; Har section full screen height lega */
  scroll-snap-align: start; /* Scroll hone ke baad rukega section ke start pe */
}

.states-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: rgb(154 8 61 / 83%);
}

.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.state-card {
  background-color: #f8f8f8;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.state-card:hover {
  transform: translateY(-5px);
}

.state-card img {
  width: 80px;
  height: auto;
  margin-bottom: 0.5rem;
}

.state-card p {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
}







footer{
    text-align: center;
    padding: 1.5rem 0;
    /* background-color: rgb(154 8 61 / 83%); */
    background: linear-gradient(348deg, #c32e80, rgba(76, 0, 28, 0.83));
    color: white;
    font-size: 0.9rem;
}


/*
  Existing CSS (from your initial prompt)
  ... (your existing styles for navbar, body, etc.)
*/

/* States Section */
.states-section {
  padding: 3rem 2rem;
  text-align: center;
}

.states-section h2 {
font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
  display: inline-block;
  cursor: pointer;

  /* Load animation */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1s ease-out forwards;
}

/* Page load animation keyframes */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* underline effect */
h2::after {
 
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: rgba(204, 11, 198, 0.9); 
  transition: width 0.4s ease;
}

/* Hover animation */
h2:hover {
  color: rgba(204, 11, 198, 0.9);          /* color change */
  letter-spacing: 2px;     /* text expands */
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

h2:hover::after {
  width: 100%;  /* underline expand */
}


.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.state-card {
  background-color: #f8f8f8;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.state-card:hover {
  transform: translateY(-5px);
}

.state-card img {
  width: 80px;
  height: auto;
  margin-bottom: 0.5rem;
}

.state-card p {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
}

/* State Page Specific Styles (for andhra-pradesh.html and other state pages) */

.state-header {
  background-color: #f0f0f0; /* Light grey background for the header */
  padding: 40px 20px;
  text-align: center;
  border-bottom: 2px solid rgba(159, 8, 8, 0.834);
}

.state-header h1 {
  font-size: 3.5rem;
  color: rgba(159, 8, 8, 0.9);
  margin-bottom: 10px;
}

.state-header p {
  font-size: 1.2rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

.content-sections {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.content-sections h2 {
  font-size: 2.2rem;
  color: rgba(159, 8, 8, 0.9);
  margin-bottom: 2rem;
  text-align: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.category-card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.category-card h3 {
  font-size: 1.6rem;
  color: #333;
  margin-bottom: 1rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
}

.category-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.category-card ul li {
  margin-bottom: 0.7rem;
  font-size: 1rem;
}

.category-card ul li a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.category-card ul li a:hover {
  color: rgba(159, 8, 8, 0.834);
  text-decoration: underline;
}

/* Media Queries for responsiveness of state page */
@media (max-width: 768px) {
  .state-header h1 {
    font-size: 2.5rem;
  }
  .state-header p {
    font-size: 1rem;
  }
  .content-sections {
    padding: 2rem 1rem;
  }
  .content-sections h2 {
    font-size: 1.8rem;
  }
  .category-grid {
    grid-template-columns: 1fr; /* Single column on small screens */
  }
  .category-card h3 {
    font-size: 1.4rem;
  }
  .category-card ul li {
    font-size: 0.9rem;
  }
}

/* Add this to your existing style.css file */

/* About eSarkari Section */
.about-esarkari-section {
  padding: 4rem 2rem;
  /* background-color: #f9f9f9; Light background to differentiate */
  text-align: center;
  border-top: 1px solid #eee;
  /*  */
  background: linear-gradient(145deg, #d77fb0, rgba(183, 132, 184, 0.83));
}

.about-esarkari-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.about-esarkari-section h2 {
  font-size: 2.5rem;
  color: rgba(0, 0, 0, 0.9);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.about-esarkari-section h3 {
  font-size: 1.8rem;
  color: #333;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.about-esarkari-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #3e3b3b;
  margin-bottom: 1.5rem;
}

/* Social Media Section */
.social-media {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1.5px dashed #000000;
  scroll-snap-align: start;
}

.social-media h3 {
  font-size: 1.6rem;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 1rem;
}

.social-media p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px; /* Space between icons */
}

.social-icons a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-5px);
}

.social-icons img {
  width: 40px; /* Adjust size as needed */
  height: 40px;
  border-radius: 50%; /* Makes icons round if they are square images */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Responsive adjustments for this new section */
@media (max-width: 768px) {
  .about-esarkari-section {
    padding: 3rem 1rem;
  }
  .about-esarkari-section h2 {
    font-size: 2rem;
  }
  .about-esarkari-section h3 {
    font-size: 1.5rem;
  }
  .about-esarkari-section p {
    font-size: 1rem;
  }
  .social-icons {
    gap: 15px;
  }
  .social-icons img {
    width: 35px;
    height: 35px;
  }
}
.info-section {
    background-color: #ffffff; /* White background for info boxes */
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* More subtle shadow for info */
    margin-bottom: 2rem;
    border: 1px solid #eee; /* Light border */
}

.info-section h3 {
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 0.5rem;
}

.info-section ul,
.info-section ol {
    margin-left: 25px; /* Indent lists */
    margin-bottom: 1rem;
    color: #444;
}

.info-section ol {
    list-style-type: decimal;
}

.info-section ul li,
.info-section ol li {
    margin-bottom: 0.8rem; /* More space between list items */
    line-height: 1.6;
}

/* Button to official portal (at the beginning of the "How to Use" section) */
.external-link-button {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 20px;
    background-color: #007bff; /* Blue color */
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.external-link-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Central, Large, Highlighted Button */
.direct-portal-button {
    display: inline-block; /* Allows padding and alignment */
    padding: 20px 40px; /* Much larger padding */
    margin-top: 30px; /* More space from the text above */
    background-color: #ff03ce; /* A vibrant orange for high visibility */
    color: white;
    text-decoration: none;
    border-radius: 10px; /* Slightly more rounded corners */
    font-size: 1.8rem; /* Significantly larger font size */
    font-weight: bold;
    text-transform: uppercase; /* All caps for emphasis */
    letter-spacing: 1.5px; /* Add some spacing between letters */
    box-shadow: 0 8px 15px rgba(237, 20, 216, 0.4); /* Stronger, colored shadow */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none; /* Ensure no default button border */
    cursor: pointer; /* Indicate it's clickable */
}

.direct-portal-button:hover {
    background-color: #ff03ce; /* Slightly darker orange on hover */
    transform: translateY(-5px); /* Lift up more on hover */
    box-shadow: 0 12px 20px rgba(237, 20, 216, 0.4); /* Even stronger shadow on hover */
}

/* Container for the central button */
.call-to-action-mid-section {
    text-align: center; /* Centers the inline-block button */
    margin: 3rem 0; /* Add top and bottom margin */
    padding: 1.5rem 0;
    border-top: 1px dashed #ccc;
    border-bottom: 1px dashed #ccc;
    background-color: #fffaf0; /* Light background to make it stand out */
    border-radius: 10px;
}

.call-to-action-mid-section p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.call-to-action-mid-section .small-text {
    font-size: 0.9rem;
    color: #888;
    margin-top: 10px;
}

/* AdSense Container Styling */
.adsense-container {
    margin: 2rem auto; /* Center the ad unit and give it vertical space */
    text-align: center; /* Ensure the ad unit itself is centered if it's smaller */
    max-width: 728px; /* Typical large ad unit width, adjust as needed */
    background-color: #f0f0f0; /* Light background for ads */
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #ddd;
}


/* Responsive adjustments for specific elements */
@media (max-width: 768px) {
    /* State header adjustments */
    .state-header h1 {
        font-size: 2.5rem;
    }
    .state-header p {
        font-size: 1rem;
    }
    .content-sections {
        padding: 2rem 1rem;
    }
    .content-sections h2 {
        font-size: 1.8rem;
    }
    .category-grid {
        grid-template-columns: 1fr; /* Single column on small screens */
    }
    .category-card h3 {
        font-size: 1.4rem;
    }
    .category-card ul li {
        font-size: 0.9rem;
    }

    /* Parivahan Guide Page Specific Responsive */
    .info-section {
        padding: 1.5rem;
    }
    .info-section h3 {
        font-size: 1.6rem;
    }
    .info-section ul li,
    .info-section ol li {
        font-size: 0.95rem;
    }

    .external-link-button {
        width: 100%; /* Full width on smaller screens */
        padding: 10px 20px;
        font-size: 1rem;
    }

    .direct-portal-button {
        width: 90%; /* Make it almost full width on small screens */
        padding: 15px 25px;
        font-size: 1.4rem; /* Adjust font size for smaller screens */
    }
    .call-to-action-mid-section {
        margin: 2rem 0;
        padding: 1rem;
    }
    .call-to-action-mid-section p {
        font-size: 1rem;
    }
    .adsense-container {
        margin: 1rem auto;
        padding: 0.5rem;
    }
}
 .state-header { /* Reusing existing class for consistency */
            background-color: #e6f7ff; /* Lighter blue background */
            padding: 60px 20px;
            text-align: center;
            margin-top: 20px;
        }

        .state-header h1 {
            font-size: 3em;
            color: #2c3e50; /* Darker text for contrast */
            margin-bottom: 15px;
        }

        .state-header p {
            font-size: 1.2em;
            color: #555;
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .content-sections {
            padding: 50px 20px;
            max-width: 1000px;
            margin: 0 auto;
        }

        .content-sections h2 {
            font-size: 2.5em;
            color: #007bff;
            text-align: center;
            margin-bottom: 40px;
            position: relative;
        }

        .content-sections h2::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background-color: #007bff;
            margin: 15px auto 0;
            border-radius: 2px;
        }

        .info-section {
            background-color: #fff;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            margin-bottom: 30px;
        }

        .info-section h3 {
            font-size: 2em;
            color: #34495e;
            margin-bottom: 20px;
            border-bottom: 2px solid #eee;
            padding-bottom: 10px;
        }

        .info-section p {
            font-size: 1.1em;
            color: #555;
            line-height: 1.7;
            margin-bottom: 15px;
        }

        .info-section ul, .info-section ol {
            list-style-type: disc;
            margin-left: 25px;
            margin-bottom: 20px;
            color: #555;
        }

        .info-section ol {
            list-style-type: decimal;
        }

        .info-section li {
            font-size: 1.05em;
            margin-bottom: 10px;
            line-height: 1.6;
        }

        .info-section strong {
            color: #333;
        }

        .call-to-action-mid-section {
            text-align: center;
            padding: 40px 20px;
            background-color: #f0f8ff; /* Lightest blue */
            border-radius: 8px;
            margin: 40px auto;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .call-to-action-mid-section p {
            font-size: 1.3em;
            color: #333;
            margin-bottom: 20px;
        }

        .direct-portal-button {
            display: inline-block;
            background-color: #ff03ce; /* Green button */
            color: white;
            padding: 15px 30px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: bold;
            font-size: 1.2em;
            transition: background-color 0.3s ease, transform 0.2s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .direct-portal-button:hover {
            background-color: #ff03ce;
            transform: translateY(-2px);
        }

        .small-text {
            font-size: 0.9em;
            color: #777;
            margin-top: 15px;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .state-header h1 {
                font-size: 2.5em;
            }
            .state-header p {
                font-size: 1em;
            }
            .content-sections h2 {
                font-size: 2em;
            }
            .info-section h3 {
                font-size: 1.6em;
            }
            .info-section ul, .info-section ol {
                margin-left: 20px;
            }
            .direct-portal-button {
                padding: 12px 25px;
                font-size: 1em;
            }
        }
        /* style.css */

/* style.css */

.small-text {
    font-size: 0.9em; /* Adjust size as desired */
    color: #555;     /* Optional: a softer color */
    text-align: center; /* This is the key property to center the text */
    margin-left: auto;   /* These two lines help center the block itself if it */
    margin-right: auto;  /* has a defined width less than its parent. */
    display: block;      /* Ensures it behaves like a block element, taking full width by default */
}
 /* main {
    padding-top: 7rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .state-header h1 {
    font-size: 2rem;
  }
  .state-header p {
    font-size: 1rem;
  }
  .info-section {
    padding: 1.5rem;
  }
  .info-section h2, .info-section h3 {
    font-size: 1.5rem;
  }
  .info-section p, .info-section ul {
    font-size: 0.95rem;
  }
  .direct-portal-button {
    width: 100%;
  } */

/* new work */
   .how-it-works {
      padding: 100px 20px;
      background: linear-gradient(145deg, rgba(154, 8, 61, 0.05), rgba(255, 3, 206, 0.05));
    }

    .steps-container {
      display: flex;
      justify-content: space-between;
      max-width: 1200px;
      margin: 70px auto 0;
      gap: 40px;
      flex-wrap: wrap;
    }

    .step {
      flex: 1;
      min-width: 250px;
      text-align: center;
      position: relative;
    }

    .step-number {
      width: 80px;
      height: 80px;
      background: linear-gradient(135deg, #ff03ce, #9a083d);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.5rem;
      font-weight: 700;
      margin: 0 auto 30px;
      box-shadow: 0 10px 20px rgba(154, 8, 61, 0.3);
    }

    .step h3 {
      font-size: 1.8rem;
      color: #333;
      margin-bottom: 20px;
      font-weight: 700;
    }

    .step p {
      color: #666;
      line-height: 1.6;
      font-size: 1.1rem;
    }

    /* new  */
    .latest-news-section {
      padding: 100px 20px;
      background: linear-gradient(145deg, #f9f9f9, #ffffff);
    }

    .news-container {
      max-width: 1400px;
      margin: 0 auto;
    }

    .news-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
      gap: 35px;
      margin-top: 50px;
    }

    .news-card {
      background: white;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
    }

    .news-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(154, 8, 61, 0.15);
    }

    .news-date {
      background: linear-gradient(90deg, #ff03ce, #9a083d);
      color: white;
      padding: 12px 25px;
      font-weight: 600;
      font-size: 0.9rem;
      text-align: center;
    }

    .news-content {
      padding: 35px 30px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }

    .news-card h3 {
      font-size: 1.6rem;
      color: #333;
      margin-bottom: 20px;
      line-height: 1.4;
      font-weight: 700;
    }

    .news-card p {
      color: #666;
      line-height: 1.6;
      margin-bottom: 25px;
      flex-grow: 1;
    }

    .news-category {
      display: inline-block;
      background: rgba(154, 8, 61, 0.1);
      color: rgb(154 8 61 / 83%);
      padding: 6px 15px;
      border-radius: 20px;
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 15px;
    }

    .view-all-news {
      text-align: center;
      margin-top: 60px;
    }

    .view-all-btn {
      display: inline-block;
      background: linear-gradient(90deg, #ff03ce, #9a083d);
      color: white;
      padding: 18px 45px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: 700;
      font-size: 1.2rem;
      transition: all 0.3s ease;
      box-shadow: 0 10px 20px rgba(154, 8, 61, 0.3);
    }

    .view-all-btn:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(154, 8, 61, 0.4);
    }.latest-news-section {
      padding: 100px 20px;
      background: linear-gradient(145deg, #f9f9f9, #ffffff);
    }

    .news-container {
      max-width: 1400px;
      margin: 0 auto;
    }

    .news-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
      gap: 35px;
      margin-top: 50px;
    }

    .news-card {
      background: white;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
    }

    .news-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(154, 8, 61, 0.15);
    }

    .news-date {
      background: linear-gradient(90deg, #ff03ce, #9a083d);
      color: white;
      padding: 12px 25px;
      font-weight: 600;
      font-size: 0.9rem;
      text-align: center;
    }

    .news-content {
      padding: 35px 30px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }

    .news-card h3 {
      font-size: 1.6rem;
      color: #333;
      margin-bottom: 20px;
      line-height: 1.4;
      font-weight: 700;
    }

    .news-card p {
      color: #666;
      line-height: 1.6;
      margin-bottom: 25px;
      flex-grow: 1;
    }

    .news-category {
      display: inline-block;
      background: rgba(154, 8, 61, 0.1);
      color: rgb(154 8 61 / 83%);
      padding: 6px 15px;
      border-radius: 20px;
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 15px;
    }

    .view-all-news {
      text-align: center;
      margin-top: 60px;
    }

    .view-all-btn {
      display: inline-block;
      background: linear-gradient(90deg, #ff03ce, #9a083d);
      color: white;
      padding: 18px 45px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: 700;
      font-size: 1.2rem;
      transition: all 0.3s ease;
      box-shadow: 0 10px 20px rgba(154, 8, 61, 0.3);
    }

    .view-all-btn:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(154, 8, 61, 0.4);
    }


    /* Simple News Section for Homepage */
    .home-latest-news {
      padding: 3rem 2rem;
      background-color: #f9f9f9;
      text-align: center;
    }

    .home-latest-news h2 {
      font-size: 2rem;
      margin-bottom: 2rem;
      font-weight: 700;
      color: #222;
      position: relative;
      display: inline-block;
    }

    .home-latest-news h2::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -6px;
      width: 100%;
      height: 3px;
      background: rgba(14, 168, 234, 0.9);
    }

    .home-news-wrapper {
      max-width: 1200px;
      margin: 0 auto;
    }

    .home-news-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2rem;
      margin-bottom: 2rem;
    }

    .home-news-item {
      background-color: #fff;
      padding: 1.5rem;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
      text-align: left;
    }

    .home-news-item:hover {
      transform: translateY(-5px);
    }

    .home-news-date {
      font-size: 0.85rem;
      color: #888;
      margin-bottom: 0.5rem;
    }

    .home-news-item h3 {
      font-size: 1.2rem;
      color: #333;
      margin-bottom: 0.5rem;
    }

    .home-news-item p {
      font-size: 0.95rem;
      color: #555;
      line-height: 1.5;
    }

    .home-view-all-link {
      display: inline-block;
      margin-top: 1rem;
      padding: 0.8rem 2rem;
      background-color: rgba(204, 11, 198, 0.9);
      color: white;
      text-decoration: none;
      border-radius: 5px;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }

    .home-view-all-link:hover {
      background-color: rgba(159, 8, 8, 0.9);
    }

    .featured-services {
      padding: 100px 20px;
      background: linear-gradient(145deg, #ffffff, #f9f9f9);
    }

    .section-header {
      text-align: center;
      margin-bottom: 70px;
    }

    .section-header h2 {
      font-size: 3.5rem;
      color: rgba(0, 0, 0, 0.83);
      margin-bottom: 20px;
      position: relative;
      display: inline-block;
    }

    .section-header h2::after {
      content: '';
      position: absolute;
      bottom: -15px;
      left: 50%;
      transform: translateX(-50%);
      width: 120px;
      height: 4px;
      background: linear-gradient(90deg, #000000, #9a083d);
      border-radius: 2px;
    }

    .section-header p {
      font-size: 1.4rem;
      color: #666;
      max-width: 700px;
      margin: 30px auto 0;
      line-height: 1.6;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 40px;
      max-width: 1400px;
      margin: 0 auto;
    }

    .service-card {
      background: #adc0cb;
      border-radius: 20px;
      padding: 40px 30px;
      box-shadow: 0 15px 35px rgba(0,0,0,0.1);
      transition: all 0.3s ease;
      text-align: center;
      border: 1px solid #f0f0f0;
    }

    .service-card:hover {
      transform: translateY(-15px);
      box-shadow: 0 25px 50px rgba(154, 8, 61, 0.15);
      border-color: rgba(154, 8, 61, 0.2);
    }

    .service-icon {
      font-size: 4rem;
      margin-bottom: 25px;
      color: rgb(154 8 61 / 83%);
    }

    .service-card h3 {
      font-size: 1.8rem;
      color: #333;
      margin-bottom: 20px;
      font-weight: 700;
    }

    .service-card p {
      color: #666;
      line-height: 1.6;
      font-size: 1.1rem;
      margin-bottom: 25px;
    }

    .service-link {
      display: inline-block;
      color: rgba(164, 54, 94, 0.83);
      text-decoration: none;
      font-weight: 600;
      font-size: 1.1rem;
      transition: all 0.3s ease;
    }

    .service-link:hover {
      color: #ff03ce;
      transform: translateX(10px);
    }



    @media (max-width: 768px) {
      .home-latest-news {
        padding: 2rem 1rem;
      }

      .home-latest-news h2 {
        font-size: 1.8rem;
      }

      .home-news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }
    }


     /* New Classes and IDs to avoid changing your existing CSS */
    
  #smart-footer-section {
  background-color: #000000;
  color: #ffffff;
  padding: 50px 20px 20px 20px;
  font-family: Arial, sans-serif;
  margin-top: 40px;
}

.footer-flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.footer-column-box {
  flex: 1;
  min-width: 250px;
}

.footer-column-box h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 20px;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list li a {
  color: #d1d1d1;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links-list li a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.social-media-tray {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-tray-icon {
  background: #333;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.small-text {
  font-size: 12px;
  color: #777;
  text-align: center;
  margin-top: 30px;
  width: 100%;
}

.copyright-final-bar {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  color: #a6a4a4;
  font-size: 0.9rem;

}

/* --- MOBILE RESPONSIVE MEDIA QUERIES --- */

@media screen and (max-width: 768px) {
  #smart-footer-section {
    padding: 30px 15px 20px 15px;
  }

  .footer-flex-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .footer-column-box {
    min-width: 100%;
  }

  .social-media-tray {
    justify-content: center;
  }

  .footer-links-list li a:hover {
    padding-left: 0; /* Prevents layout shifting on tap */
    color: #0088ff; 
  }
}

@media screen and (max-width: 480px) {
  .footer-column-box h4 {
    font-size: 1.1rem;
  }
  
  .copyright-final-bar {
    font-size: 0.8rem;
  }
}










/* ====== HERO SECTION WITH SLIDES ====== */
.hero-section {
  position: relative;
  height: 500px;
  overflow: hidden;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-slides {
  display: flex;
  height: 100%;
  position: relative;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4rem;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.hero-slide.active {
  opacity: 1;
  position: relative;
}

.hero-slide-1 {
  background: linear-gradient(135deg, rgba(130, 130, 130, 0.9), rgba(42, 42, 42, 0.8));
}

.hero-slide-2 {
  background: linear-gradient(135deg, rgba(130, 130, 130, 0.9), rgba(42, 42, 42, 0.8));
}

.hero-slide-3 {
 background: linear-gradient(135deg, rgba(130, 130, 130, 0.9), rgba(42, 42, 42, 0.8));
}

.hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease;
}

.hero-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: white;
  color: rgb(154 8 61 / 83%);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  animation: fadeInUp 1.2s ease;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: white;
  transform: scale(1.3);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== TRENDING NEWS SECTION ====== */
.trending-section {
  padding: 4rem 2rem;
  background: linear-gradient(145deg, #f8f9fa, #ffffff);
}

.trending-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.trending-header h2 {
  font-size: 2.5rem;
  color: #333;
  position: relative;
}

.trending-header h2::after {
  content: '🔥';
  position: absolute;
  right: -40px;
  top: 0;
  font-size: 2rem;
}

.trending-badge {
  background: linear-gradient(90deg, #ff03ce, #9a083d);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: bold;
  font-size: 0.9rem;
}

.trending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.trending-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
}

.trending-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(154, 8, 61, 0.15);
}

.trending-badge-hot {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff4757;
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 2;
}

.trending-content {
  padding: 1.5rem;
}

.trending-content h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.trending-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.trending-date {
  font-size: 0.85rem;
  color: #666;
}

.trending-read-time {
  font-size: 0.85rem;
  color: rgb(154 8 61 / 83%);
  font-weight: bold;
}

/* ====== MOST SEARCHED LINKS ====== */
.popular-links-section {
  padding: 4rem 2rem;
  background: white;
}

.popular-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.popular-link-card {
  background: linear-gradient(145deg, #f8f9fa, #ffffff);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid rgb(154 8 61 / 83%);
  transition: all 0.3s ease;
  cursor: pointer;
}

.popular-link-card:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 20px rgba(154, 8, 61, 0.1);
}

.popular-link-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.popular-link-icon {
  font-size: 1.5rem;
  color: rgb(154 8 61 / 83%);
}

.popular-link-card h3 {
  font-size: 1.2rem;
  color: #333;
  margin: 0;
}

.popular-link-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.searches-count {
  background: rgba(154, 8, 61, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  color: rgb(154 8 61 / 83%);
  font-weight: bold;
}

/* ====== ANIMATION CLASSES ====== */
.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
  animation: slideInRight 0.8s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ====== STATS COUNTER ====== */
.stats-section {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(154, 8, 61, 0.05), rgba(255, 3, 206, 0.05));
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item {
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: rgb(154 8 61 / 83%);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #666;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 768px) {
  .hero-section {
    height: 400px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .trending-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .trending-header h2 {
    font-size: 2rem;
  }
  
  .hero-slide {
    padding: 0 2rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 350px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .trending-grid,
  .popular-links-grid {
    grid-template-columns: 1fr;
  }
}






/* State Selector Dropdown Styles */
.state-selector-wrapper {
  max-width: 500px;
  margin: 0 auto 40px;
  position: relative;
  text-align: center;
}

.state-selector-label {
  display: block;
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.state-dropdown {
  width: 100%;
  padding: 15px 45px 15px 20px;
  font-size: 1.1rem;
  border: 2px solid rgba(154, 8, 61, 0.3);
  border-radius: 10px;
  background: white;
  color: #333;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.state-dropdown:hover {
  border-color: rgba(154, 8, 61, 0.6);
  box-shadow: 0 6px 20px rgba(154, 8, 61, 0.2);
}

.state-dropdown:focus {
  outline: none;
  border-color: rgb(154 8 61 / 83%);
  box-shadow: 0 0 0 3px rgba(154, 8, 61, 0.1);
}

.dropdown-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: rgb(154 8 61 / 83%);
  font-size: 1.2rem;
  pointer-events: none;
  margin-top: 18px;
}

.state-dropdown option {
  padding: 10px;
  font-size: 1rem;
}

.state-dropdown option:hover {
  background: rgba(154, 8, 61, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .state-selector-wrapper {
    max-width: 90%;
    margin-bottom: 30px;
  }

  .state-selector-label {
    font-size: 1rem;
  }

  .state-dropdown {
    padding: 12px 40px 12px 15px;
    font-size: 1rem;
  }
}