:root {
  /* Colors */
  --primary-blue:#dd073c;
  --navy-blue: hsl(214, 57%, 51%);
  --gray: hsl(225, 8%, 42%);
  --dark-gray: hsl(206, 34%, 20%);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);
  --jet: hsl(0, 0%, 20%);

  /* Typography */
  --ff-poppins: "Poppins", sans-serif;
  --ff-montserrat: "Montserrat", sans-serif;

  /* Font sizes */
  --fs-large: calc(20px + 3.5vw);
  --fs-medium: calc(18px + 1.6vw);
  --fs-small: 15px;

  /* Transitions */
  --transition: 0.3s ease-in-out;
}

/* RESET */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: var(--ff-poppins);
  background: var(--white);
  scroll-behavior: smooth;
  min-height: 100vh;
}

/* Reusable Styles */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0;
  text-align: center;
}

a {
  text-decoration: none;
  color: inherit;
}

li {
  list-style: none;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.header-top {
  background: var(--primary-blue);
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.helpline-box {
  display: flex;
  align-items: center;
}

.helpline-title {
  font-size: var(--fs-small);
  color: var(--white);
}

.helpline-number {
  font-size: var(--fs-small);
  color: var(--white);
  margin-left: 10px;
}

.logo {
  font-size: 2rem;
  color: var(--white);
  font-weight: bold;
}

.header-bottom {
  background: var(--dark-gray);
  padding: 15px 0;
}

.navbar {
  display: flex;
  justify-content: center;
}

.navbar-list {
  display: flex;
  gap: 20px;
}

.navbar-link {
  color: var(--white);
  font-size: var(--fs-small);
  padding: 8px 15px;
  transition: var(--transition);
}

.navbar-link:hover {
  color: var(--navy-blue);
}

.overlay {
  display: none;
}

/* Ensure body content is visible */
body {
  padding-top: 120px;
}



.hero {
  background-image: url("bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: hsla(0, 0%, 0%, 0.7);
  background-blend-mode: overlay;
  place-items: center;
  min-height: 600px;
  text-align: center;
  display: grid;
  padding-top: 100px;
}

.hero-title {
  font-size: 50px; /* Assuming --fs-2 is for large titles */
  color: var(--white);
  margin-bottom: 20px;
}

.hero-text {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 40px;
  line-height: 1.6; /* Better readability */
  max-width: 800px; /* Ensures the text doesn't stretch too wide */
  margin-inline: auto; /* Centers the text on large screens */
}



.aboutus {
  background-color: var(--white); 
  padding: 60px 0;
  display: grid;
}

/* Section title styling */
.Aboutsection-title {
  color: var(--yale-blue); /* Dark blue for better readability */
  font-size: 30px; /* Adjust font size */
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  position: relative;
}

/* Underline for section title */
.Aboutsection-title::after {
  content: '';
  width: 50px;
  height: 3px;
  background-color: var(--bright-navy-blue);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* Flexbox layout for company-history and mission-vision */
.company-history .content-wrapper,
.mission-vision .content-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.company-history {
  flex-direction: row-reverse; /* Image on the right */
}

.mission-vision {
  flex-direction: row; /* Image on the left */
}

/* Image styling */
.about-img {
  flex: 1;
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: var(--radius-15);
}

/* Image hover effect */
.about-img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Text styling */
.about-text {
  flex: 2;
  color: var(--black-coral);
  font-size: var(--fs-5);
  line-height: 1.7;
  position: relative;
  z-index: 1;
  background: var(--white); /* Ensure text background is white to contrast with the image */
  padding: 20px;
}

/* Text section title styling */
.section-title {
  display: block;
  color: var(--yale-blue);
  font-size: 24px;
  margin-bottom: 10px;
}

/* Ensure image positioning does not overlap text */
.company-history .about-img,
.mission-vision .about-img {
  z-index: 0;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    position: static;
  }
  .about-text {
    position: static;
    background: none;
    padding: 20px;
  }
}







.choose {
  background-color: #f9f9f9; /* Light gray background */
  padding: 60px 20px; /* Adjusted padding */
  display: grid;
  grid-template-columns: 1fr; /* Single column layout */
  gap: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
}

.choose-title {
  color: #d20a3d; /* Title color */
  font-size: 30px; 
  text-align: center;
  margin-bottom: 20px; /* Increased spacing below title */
  text-transform: uppercase;
  position: relative;
}

.about-text {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
  color: #333; /* Darker text color for readability */
}

.choose-features {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 2; /* Two columns */
  column-gap: 20px; /* Gap between columns */
}

.choose-features li {
  font-size: 18px;
  color: #555; /* Slightly lighter color for feature items */
  padding: 10px 0; /* Vertical padding for spacing */
  border-bottom: 1px solid #ddd; /* Subtle border for separation */
  transition: color 0.3s ease, background-color 0.3s ease; /* Smooth transition effect */
}

.choose-features li:last-child {
  column-span: all; /* Make the last item span both columns */
  text-align: center; /* Center text */
  font-weight: bold; /* Make it stand out */
  background-color: #f0f0f0; /* Optional: Add background for emphasis */
}

.choose-features li:hover {
  color: #d20a3d; /* Change color on hover */
  background-color: #f0f0f0; /* Light background on hover */
}


.services {
  background-color: #333333; /* Dark Gray Background */
  padding: 60px 20px;
  display: grid;
  gap: 20px;
}

.services-title {
  color: #d20a3d; /* Keep the title color */
  font-size: 36px;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: bold;
}

.services-subtitle {
  color: #f0f0f0; /* Light color for subtitle on dark background */
  font-size: 28px;
  text-align: center;
  margin-bottom: 15px;
}

.services-text {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
  color: #f0f0f0; /* Lighter text color for better contrast */
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-list li {
  font-size: 18px;
  color: #f0f0f0; /* Light color for text on dark background */
  padding: 10px 0;
  border-bottom: 1px solid #555; /* Darker border for better contrast */
  text-align: left;
}

.services-list li:last-child {
  border-bottom: none; /* Removes bottom border from the last item */
}

.services-list strong {
  color: #d20a3d; /* Keep highlight color */
}



.footer {
  background-color: #d20a3d; /* Red background similar to the image */
  padding: 40px;
  color: #fff;
  text-align: center;
}

.contact-title {
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: bold;
}

.address {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact-details {
  font-size: 18px;
}

.contact-details p {
  margin: 5px 0;
}

.contact-details strong {
  display: inline-block;
  width: 100px;
  text-align: left;
}
