/* --- Importing Fonts --- */
/* @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playwrite+AU+SA:wght@100..400&display=swap'); */


/* --- General Reset and Base Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* margin:0 auto; */
}

:root {
  /* Define primary colors */
  --primary-pink: #d43c5c;
  --accent-pink: #e91e63;
  --light-pink: #e27090;
  --dark-grey: #333;
  --light-grey: #f1f1f1;
  --white: #fff;
  --black: #000;
  --dark-blue: #000033;
  --footer-bg: #1a1a1a;
  --footer-text: #d1d5db;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
  color: var(--dark-grey);
  padding-top: 70px;
  font-size: small;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
.log_name{
    display: flex;
    gap: 5px;
    align-items: center;
}
.log_name h1{
    font-size: 1rem;
    font-weight: 800;
    
}

.container {
  width: 100%;
  padding: 0 1rem;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  border-radius: 10px;
}

.section-heading {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  /* font-weight: 700; */
  color: var(--dark-blue);
  margin-bottom: 2.5rem;
  position: relative;
}

.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-pink);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.top-bar {
  background-color: var(--primary-pink);
  color: var(--white);
  height: 2.2rem;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1001;
}

.topbar-tele {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* --- Login Dropdown in Top Bar --- */
.login-container {
  position: relative;
  display: inline-block;
}

.login-btn {
  background: none;
  border: none;
  color: var(--white);
  font-weight: normal;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  padding: 0.5rem 0.8rem;
  transition: background-color 0.3s ease;
  border-radius: 4px;
}

.login-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.login-dropdown {
  display: none;
  position: absolute;
  background-color: var(--white);
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 100;
  right: 0;
  border-radius: 5px;
  overflow: hidden;
}

.login-dropdown a {
  color: var(--black);
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.login-dropdown a:hover {
  background-color: var(--light-grey);
}

.login-container:hover .login-dropdown {
  display: block;
}

/* --- Header Styles (Main Navigation) --- */
header {
  position: fixed;
  top: 1.8rem;
  left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white);
  padding: 10px 1.5rem;
  color: var(--black);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo img {
  height: 60px;
  width: auto;
}

/* Navbar Styles */
nav ul {
  list-style: none;
  display: flex;
  gap: 0.1em;
  align-items: center;
}

nav ul li {
  position: relative;
}

nav a {
  color: var(--dark-grey);
  text-decoration: none;
  font-weight:500;
  font-family: 'Inter', sans-serif;
  /* display: block; */
  transition: background-color 0.3s ease, color 0.3s ease, border-radius 0.3s ease;
  border-radius: 5px;
}

nav a:hover {
  background-color: var(--primary-pink);
  color: var(--white);
}

/* Dropdown Styles */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 220px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  border-radius: 5px;
  overflow: hidden;
  padding: 0.5rem 0;
}

.dropdown-menu a {
  color: var(--dark-grey);
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 0;
}

.dropdown-menu a:hover {
  background-color: var(--light-pink);
  color: var(--white);
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Hamburger Menu Icon (for mobile) */
.hamburger-menu {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--dark-grey);
  padding: 0.5rem;
}

/* --- Hero Slider --- */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 500px;
}

.slider img {
  width: 100%;
  height: 100%;
  /* Take full height of parent */
  object-fit: cover;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.8rem 1.2rem;
  border-radius: 50%;
  z-index: 1;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.slide-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.05);
}

.slide-btn:first-of-type {
  left: 1rem;
}

.slide-btn:last-of-type {
  right: 1rem;
}

/* --- Scroll Behavior Section --- */
.scroll_behaviour {
  background-color: var(--primary-pink);
  color: var(--white);
  padding: 0.8rem 1rem;
  font-size: 1rem;
  text-align: center;
  font-weight:400;
  font-family: 'Inter', sans-serif;
}

/* --- Card Services Section --- */
.card_services {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  gap: 1.5rem;
  padding: 0 1rem;
}

.card_services1 {
  width: 100%;
  max-width: 300px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Roboto Mono', monospace;
  font-size: 1.1rem;
  font-weight: bold;
  border: 1px solid var(--light-grey);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card_services1:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.bar {
  width: 25%;
  height: 4px;
  background-color: #ceecee;
  margin-top: 0.5rem;
  border-radius: 2px;
}

/* --- Society Section --- */
.society {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  text-align: center;
}

.society_text {
  flex: 1 1 400px;
  max-width: 500px;
  color: var(--dark-grey);
  text-align: center;
  margin: 0 auto;
}

.society_text h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark-blue);
  margin-bottom: 0.6rem;
}

.society_text h6 {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 1rem;
  font-style: italic;
  font-weight: 300;
}

.society_text p {
  font-size: 0.9rem;
  font-family: 'Verdana', Geneva, Tahoma, sans-serif;
  color: #444;
  line-height: 1.6;
  font-weight: 700;
}

.society_image {
  flex: 1 1 400px;
  max-width: 570px;
  margin: 0 auto;
}

.society_image img {
  width: 100%;
  height: auto;
  max-height: 570px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* --- Campaign Section (Common Card Styles) --- */
.compaign-heading {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 2.2rem;
  font-weight: bold;
  margin-top: 3rem;
  margin-bottom: 2.5rem;
  color: var(--dark-blue);
  position: relative;
}

.compaign-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-pink);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1rem;
}

.card {
  background: var(--white);
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  width: 100%;
  max-width: 400px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 8px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  background: var(--light-pink);
  color: var(--white);
}

.card:hover h3,
.card:hover a {
  color: var(--white);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card h3 {
  font-size: medium;
  font-weight: bold;
  padding: 1rem 1rem 0;
  margin: 0;
  color: var(--dark-blue);
  font-family: 'Inter';
}

.card p {
  font-size: 0.9rem;
  padding: 0 1rem;
  margin-top: 0.5rem;
  color: #666;
}

.card:hover p {
  color: var(--white);
}

/* .card-footer {
  padding: 1rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
} */

.card a {
  display: inline-block;
  padding: 0.6rem 1rem;
  color: var(--primary-pink);
  font-weight: normal;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 0.85rem;
  margin-top: 0.3rem;
  margin-left: 0.4rem;
  margin-bottom: 0.5rem;
}

.card:hover .card a {
  color: var(--white);
  border-color: var(--white);
}

/* .card-footer a:hover {
  background-color: var(--primary-pink);
  color: var(--white);
} */

/* --- Quote Slider --- */
.quote-slider {
  height: 500px;
  background: linear-gradient(to right, #c0392b, #d32f5e);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.5rem;
  position: relative;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
}

.quote-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

#quote-text {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 1rem;
  font-style: italic;
}

#quote-author {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.dot {
  height: 10px;
  width: 10px;
  background-color: var(--white);
  border-radius: 50%;
  opacity: 0.5;
  cursor: pointer;
  transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.2s ease;
}

.dot.active {
  background-color: orange;
  opacity: 1;
  transform: scale(1.2);
}

/* --- Partners Section --- */
.partners-section {
  background-image: url('../assets/partner-bg.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 4rem 1.5rem;
  text-align: center;
  color: var(--white);
  position: relative;
  margin-top: 3rem;
  overflow: hidden;
}

.partners-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.partners-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: var(--white);
  z-index: 1;
  position: relative;
}

.partners-section .underline {
  width: 100px;
  height: 4px; 
  background-color: var(--accent-pink);
  margin: 0 auto 2rem;
  border-radius: 2px;
  z-index: 1;
  position: relative;
}

.scroll-wrapper {
  overflow: hidden;
  position: relative;
  width: 1260px;
  margin: 0 auto;
  z-index: 1;
}

.partners-container {
  display: flex;
  gap: 3rem;
  animation: scroll-left 40s linear infinite;
  width: 1260px;
  z-index: 1;
  padding: 1rem 0;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner {
  width: 200px;
  height: 180px;
  text-align: center;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.partner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 3px solid var(--white);
  border-radius: 12px;
  background-color: var(--white);
  padding: 0.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.partner img:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.partner p {
  margin-top: 0.8rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--white);
  font-family: 'Inter';
}


/* View All Button in Glimps Section */
.view-all-btn {
  display: block;
  margin: 2.5rem auto 0;
  padding: 0.8rem 1.5rem;
  background-color: var(--accent-pink);
  color: var(--white);
  font-weight: normal;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  border: none;
  border-radius: 25px;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.8rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  width: fit-content;
}

.view-all-btn span {
  /* To ensure text inside button gets correct color */
  color: var(--white);
}

.view-all-btn:hover {
  background-color: #d81b60;
  transform: translateY(-2px);
}


/* --- Success Stories Section --- */
.container.success-stories-section {
  padding: 3rem 0;
  margin-top: 3rem;
  text-align: center;
}

.success-stories-section .section-title {
  color: var(--dark-blue);
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
}

.success-stories-section .section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: 8px auto 0;
  background-color: #d81b60;
  border-radius: 2px;
}

.cards-container {
  display: flex;
  width: 1200px;
  margin:0 auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 16px;
  padding: 1rem;
  direction: rtl; /* Scroll starts from right */
  scrollbar-width: none;
}

.cards-container::-webkit-scrollbar {
  display: none;
}

.cards-container.dragging {
  cursor: grabbing;
}

.card {
  flex: 0 0 auto;
  width: 450px;
  scroll-snap-align: start;
  direction: rtl; /* Ensure card content reads normally */
}

.card:hover {
  transform: translateY(-6px);
}

.card-image-wrapper {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background-color: #f1f5f9;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a202c;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0.5rem;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-title p {
  font-size: 0.9rem;
  color: #718096;
  margin-top: 0.2rem;
  font-weight: 500;
  font-family: 'Inter';
}

.card-description {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: left;
  flex-grow: 1;
  display: -webkit-box;
  /* -webkit-line-clamp: 4; */   
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #d81b60;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  font-size: 0.9rem;
  align-self: flex-start;
}

.read-more-button:hover,
.read-more-button:focus,
.read-more-button:active,
.read-more-button:visited {
  color: #fff !important;
  background-color: #c2185b;
  transform: translateY(-2px);
}

/* Responsive Fixes */
@media (min-width: 768px) {
  .cards-container {
    justify-content: center;
  }

  .card:first-child {
    margin-left: 15px;
  }

  .card:last-child {
    margin-right: 15px;
  }
}

@media (max-width: 767px) {
  .cards-container {
    justify-content: flex-start;
  }

  .card:first-child {
    margin-left: 1rem;
  }

  .card:last-child {
    margin-right: 1rem;
  }
}

.pagination-dots {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #cbd5e0;
  border-radius: 50%;
  margin: 0 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.dot.active {
  background-color: #f97316;
  transform: scale(1.2);
}

/* --- Contact Us Section --- */

.contact-us {
  padding: 3.5rem 1rem;
  background: var(--white);
  font-family: 'Inter', sans-serif;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.contact-us h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--dark-blue);
  position: relative;
  margin-bottom: 2.5rem;
}

.contact-us h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-pink);
  margin: 1rem auto 0;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
}

.contact-info,
.contact-form {
  flex: 1 1 350px;
  /* Allows flexible sizing, minimum 350px width */
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.contact-info ul li {
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: #222;
  display: flex;
  align-items: center;
}

.contact-info ul li i {
  margin-right: 0.8rem;
  color: var(--primary-pink);
  font-size: 0.8rem;
}

.map-embed iframe {
  border-radius: 8px;
  width: 80%;
  height: 240px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form .row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-form .row input {
  flex: 1 1 calc(50% - 0.5rem);
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-pink);
  box-shadow: 0 0 0 2px rgba(212, 60, 92, 0.2);
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.captcha-row input {
  flex: 1;
}

.captcha {
  font-size: 1rem;
  font-weight: bold;
  background-color: #f5f5f5;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  color: #555;
  user-select: none;
}

.submit-btn {
  padding: 0.8rem 1.8rem;
  background: var(--accent-pink);
  color: var(--white);
  border: none;
  border-radius: 30px;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  width: fit-content;
  align-self: flex-start;
  font-size: 1rem;
}

.submit-btn:hover {
  background: #d81b60;
  transform: translateY(-2px);
}

/* --- Footer --- */
.footer-bg {
  background-color: var(--footer-bg);
  padding: 3rem 0 1rem;
  color: var(--footer-text);
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-section p {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link,
.copyright-link {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 0.1rem 0.2rem;
  font-size: 0.9rem;
}

.footer-link:hover,
.copyright-link:hover {
  color: var(--accent-pink);
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-icon {
  color: var(--footer-text);
  font-size: 1.3rem;
  transition: color 0.2s ease, background-color 0.2s ease;
  border-radius: 50%;
  padding: 0.6rem;
  background-color: rgba(55, 65, 81, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-icon:hover {
  color: var(--accent-pink);
  background-color: rgba(75, 85, 99, 0.7);
}

.copyright-section {
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  text-align: center;
  color: var(--footer-text);
  font-size: 0.8rem;
  margin-top: 2rem;
}

.text-primary-pink {
  color: var(--accent-pink);
}

/* --- Responsive Media Queries --- */
/*  Small devices (max-width: 600px)  */
@media (max-width: 600px) {
  body {
    padding-top: 100px;
    overflow-x: hidden;
    width: 100%;
  }

  .top-bar {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }

  header {
    top: 52px;
    width: 100%;
    height: 60px;
    padding: 0 1rem;
  }

  .logo img {
    height: 45px;
  }

  nav ul {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--dark-blue);
    display: none;
    padding-bottom: 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  nav a {
    color: var(--white);
    padding: 0.8rem 1rem;
  }

  nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 0;
    padding: 0;
  }

  .dropdown-menu a {
    padding-left: 2.5rem;
    color: var(--white);
  }

  .dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
  }

  .hamburger-menu {
    display: block;
  }

  .slider {
    height: 280px;
    width: 100%;
  }

  .slide-btn {
    font-size: 1.1rem;
    padding: 0.6rem 1rem;
  }

  .card_services {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .card_services1 {
    width: 90%;
    height: auto;
    min-height: 150px;
  }

  .card_services1 p{
    font-size: 1rem;
    font-weight: 700;
    margin: 4px;
  }

  .society {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .society_text {
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .society_text h2 {
    font-size: 1.6rem;
  }

  .society_text h6 {
    font-size: 1rem;
  }

  .society_text p {
    font-size: 0.9rem;
  }

  .society_image img {
    width: 95%;
  }

  .card-container,
  .card-container1 {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .card,
  .card1 {
    width: 90%;
    height: auto;
  }

  .quote-slider {
    padding: 2rem 1rem;
    height: 500px;
    text-align: center;
  }
}

/*  Medium devices (601px–992px)  */
@media (min-width: 601px) and (max-width: 992px) {
  header {
    padding: 10px 1.5rem;
  }

  nav ul {
    gap: 1rem;
  }

  nav a {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }

  .slider {
    height: 400px;
  }

  .card_services {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .card_services1 {
    max-width: 280px;
    width: 100%;
    min-height: 200px;
  }

  .society {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .society_text {
    width: 90%;
    text-align: center;
  }

  .society_text h2 {
    font-size: 2rem;
  }

  .society_image img {
    max-width: 100%;
    height: auto;
  }

  .card-container,
  .card-container1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
  }

  .card,
  .card1 {
    width: calc(50% - 1rem);
    height: auto;
  }
}

/* ====================== Large devices (993px and above) ====================== */
@media (min-width: 993px) {
  .top-bar {
    height: 1.8rem;
    flex-direction: row;
    padding: 0 2rem;
  }

  header {
    padding: 10px 2rem;
  }

  nav ul {
    gap: 0.8rem;
  }

  nav a {
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  .society {
    flex-direction: row;
    text-align: left;
    gap: 1rem;
  }

  .society_text {
    width: 40%;
    text-align: left;
    margin-bottom: 0;
  }

  .society_image {
    width: 60%;
    display: flex;
    justify-content: flex-start;
  }

  .society_image img {
    max-width: 570px;
    height: 570px;
    object-fit: cover;
  }

  .card-container,
  .card-container1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1260px;
    margin: 0 auto;
  }

  .card,
  .card1 {
    max-width: 400px;
    flex: 1 1 380px;
  }

  .contact-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .footer-section {
    align-items: flex-start;
    text-align: left;
  }
}
