*{
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

/* ----------------------------------------------- */

.avi{
    height: 30px;
    text-align: center;
    background-color: black;
    color: white;
    padding-top: 5px;
    word-spacing: 5px;
}

/* ----------------------------------------------- */


.actives {
  border-bottom: 2px solid #0f236c;
}

/* Header styling */
#header {
  background-color: white;
  display: grid;
  grid-template-columns: 100px 80px 10fr 3fr;
  align-items: center;
  padding: 10px 20px;
}

/* Logo styling */
.head_logo img {
  width: 80px;
  transition: transform 0.3s ease;
  border-radius: 25px;
}

.head_logo img:hover {
  transform: scale(1.1);
}

/* Navigation styling */
.head_nav ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.head_nav a {
  text-decoration: none;
  font-size: 1.1rem;
  color: black;
  padding: 5px 10px;
  border-radius: 4px;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.head_nav a:hover {
  color: #0f236c;
  border-bottom: 2px solid #f29826;
}

.head_nav a:focus {
  outline: none;
  box-shadow: 0 0 5px #1d3ea8;
}

/* Button container styling */
.head_button {
  display: flex;
  gap: 20px; /* Space between buttons */
}

/* General button styling */
.head_button button {
  background-color: white;
  color: #0f236c;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.head_button button:hover {
  background-color: #0f236c;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 0 5px #1d3ea8;
}

/* Button-specific styles for #button2 */
.head_button #button2 {
  background-color: #0f236c;
  color: #ffffff;
}

.head_button #button2:hover {
  background-color: white;
  color: #0f236c;
  transform: scale(1.05);
  box-shadow: 0 0 5px #1d3ea8;
}

/* Focus effects for buttons */
.head_button button:focus {
  outline: 2px solid #0f236c;
  box-shadow: 0 0 5px #1d3ea8;
}

.head_button #button2:focus {
  background-color: white;
  color: #0f236c;
}

.head_button #button2:focus a{
  color: #0f236c;
}

/* Link styling inside buttons */
.head_button a {
  text-decoration: none;
  color: inherit; /* Inherit button color */
  font-size: inherit; /* Match button font size */
}

/* Specific link styles */
#button1 a {
  color: #0f236c;
}

#button1:hover a {
  color: #ffffff;
}

#button2 a {
  color: #ffffff;
}

#button2:hover a {
  color: #0f236c;
}


/* ----------------------------------------------------------------------------------------------------- */

.home1 {

    height: 800px;
    background-repeat: no-repeat;
    background-image: url("Public/Images/Background_1.jpg");
    background-position: center; /* Centers the background image */
    background-size: cover; /* Ensures the image covers the entire container */
            
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
            
}


.text-container {
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    padding: 2rem;
}

.text-container h1 {
    margin: 0;
    font-weight: 800;
    font-size: 3.5rem;
    color: #f8f9fa;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.text-container h1:first-child {
    color: #f8f9fa;
}

.underline-path {
    stroke: #f8f9fa;
    stroke-dasharray: 1000;
    animation: drawLineLoop 14s linear infinite;
    filter: drop-shadow(0px 0px 3px  #f8f9fa);
}

@keyframes drawLineLoop {
    0% {
        stroke-dashoffset: 1500;
        opacity: 0;
    }
    14% {
        opacity: 1;
    }
    28% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    85% {  /* Line stays visible until 85% of the animation */
        opacity: 1;
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -1500;
        opacity: 0;
    }
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0px 0px 3px rgba(52, 152, 219, 0.3));
    }
    50% {
        filter: drop-shadow(0px 0px 8px rgba(52, 152, 219, 0.5));
    }
}

#home_para {
    color: #ffffff; /* Text color */
    font-size: 25px; /* Font size */
    font-family: 'Times New Roman', Times, serif; /* Optional: Add a font family for consistency */
    line-height: 2; /* Improve readability with line height */
    text-align: center; /* Optional: Center-align the text */
    margin: 20px 0; /* Add spacing around the paragraph */
    width: 1100px;
}

.home_but a{

    text-decoration: none;
     color: black;
     font-family: 'Times New Roman', Times, serif;


}


/* From Uiverse.io by MuhammadHasann */ 
.home_but button {
    position: relative;
    padding: 12px 35px;
    background: #fec195;
    font-size: 17px;
    font-weight: 500;
   
    border: 3px solid #fec195;
    border-radius: 8px;
    box-shadow: 0 0 0 #fec1958c;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
  }
  
  .star-1 {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 25px;
    height: auto;
    filter: drop-shadow(0 0 0 #fffdef);
    z-index: -5;
    transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);
  }
  
  .star-2 {
    position: absolute;
    top: 45%;
    left: 45%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 0 #fffdef);
    z-index: -5;
    transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
  }
  
  .star-3 {
    position: absolute;
    top: 40%;
    left: 40%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 0 #fffdef);
    z-index: -5;
    transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
  }
  
  .star-4 {
    position: absolute;
    top: 20%;
    left: 40%;
    width: 8px;
    height: auto;
    filter: drop-shadow(0 0 0 #fffdef);
    z-index: -5;
    transition: all 0.8s cubic-bezier(0, 0.4, 0, 1.01);
  }
  
  .star-5 {
    position: absolute;
    top: 25%;
    left: 45%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 0 #fffdef);
    z-index: -5;
    transition: all 0.6s cubic-bezier(0, 0.4, 0, 1.01);
  }
  
  .star-6 {
    position: absolute;
    top: 5%;
    left: 50%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 0 #fffdef);
    z-index: -5;
    transition: all 0.8s ease;
  }
  
  .home_but button:hover {
    background: transparent;
    color: #fffdef;
    box-shadow: 0 0 25px #fffdef;
  }
  .home_but button:hover a{
    color: #fffdef;
  }
  .home_but button:hover .star-1 {
    position: absolute;
    top: -80%;
    left: -30%;
    width: 25px;
    height: auto;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
  }
  
  .home_but button:hover .star-2 {
    position: absolute;
    top: -25%;
    left: 10%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
  }
  
  .home_but button:hover .star-3 {
    position: absolute;
    top: 55%;
    left: 25%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
  }
  
  .home_but button:hover .star-4 {
    position: absolute;
    top: 30%;
    left: 80%;
    width: 8px;
    height: auto;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
  }
  
  .home_but button:hover .star-5 {
    position: absolute;
    top: 25%;
    left: 115%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
  }
  
  .home_but button:hover .star-6 {
    position: absolute;
    top: 5%;
    left: 60%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
  }
  
  .fil0 {
    fill: #fffdef;
  }
  
/* ------------------------------------------------------------------------------------------------- */


/* home two */
.home2 {
    padding: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Single-column layout for better responsiveness */
    justify-content: center;
    align-items: center;
    text-align: center; /* Center-align content */
    animation: fadeIn 1.5s ease-in-out; /* Animation for entire container */
}

.home2_header h1 {
    font-size: 35px;
    color: #000000; /* Professional blue tone */
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    animation: slideIn 1.5s ease-in-out; /* Slide-in animation for header */
    align-content: center;
}

.home2_para p {
    font-size: 18px;
    color: #000000; /* Subtle dark tone for text */
    line-height: 1.8;
    margin: 0 auto; /* Center paragraph */
    max-width: 800px; /* Limit paragraph width for readability */
    animation: fadeIn 2s ease-in-out; /* Fade-in animation for paragraph */
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .home2 {
        padding: 40px;
        grid-template-columns: 1fr;
    }

    .home2_header h1 {
        font-size: 28px;
    }

    .home2_para p {
        font-size: 16px;
    }
}
/* ------------------------------------------------------------------------------------------------- */


.home3{

    display: flex;
    flex-wrap: wrap; /* Wrap cards on smaller screens */
    padding: 20px;
    gap: 50px;
    justify-content: center;
    align-items: center;
    padding-bottom: 80px;

}


.home_card{

  background-color: #fff;
  color: #333;
  width: 400px;
  max-height: 600px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  position: relative;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* overflow: hidden; */

  border-radius: 20px;
  background: #f5f5f5;
  border: 2px solid #c3c6ce;
  transition: 0.5s ease-out;
  overflow: visible;

}

.card_img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;  

}

.card_img img {
  width: 100%;
  height: 250px;
  object-fit: cover; /* Keeps the image aspect ratio */
  border-radius: 8px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  transition: transform 0.5s ease;
}

.card_img {
  transition: all 0.5s;
}

.card_img img:hover {
  transform: scale(1.10); /* Slight zoom on hover */
}


.card_button {
  transform: translate(-50%, 125%);
  width: 60%;
  border-radius: 1rem;
  border: none;
  background-color: #008bf8;
  color: #fff;
  font-size: 1rem;
  padding: .5rem 1rem;
  position: absolute;
  left: 50%;
  bottom: 0;
  opacity: 0;
  transition: 0.3s ease-out;
}

.card_button a{

  text-decoration: none;
  color: #fff;
  
 }

.home_card:hover .card_button {
  transform: translate(-50%, 50%);
  opacity: 1;
}

.home_card:hover {
  border-color: #008bf8;
  box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
 }

/* ---------------------------------------------------------------------------- */


.home4 {
  display: flex;
  padding: 20px;
  gap: 50px;
  justify-content: center;
  align-items:center;
  /* margin-top: 60px; */
  padding: 80px;
}

.about_content {
  max-width: 820px; /* Restrict the width for better readability */
}

.about_content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.about_content .abc_para {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 20px;
  width: 800px;
}

.ac .ac1, 
.ac .ac2, 
.ac .ac3, 
.ac .ac4 {
  margin-bottom: 20px;
}

.about_content h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.about_content p {
  font-size: 1rem;
  line-height: 1.5;
}

.about_image img {
  max-width: 500px; /* Ensure the image scales appropriately */
  height: auto;    /* Maintain aspect ratio */
  border-radius: 10px; /* Optional for rounded edges */
}

.ac{

  display: grid;
  grid-template-columns: 400px 400px;
  justify-content: center;
  padding: 10px;
  gap: 20px;
  margin-top: 40px;
}



.ac_button {
  padding: 1em 2em;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  letter-spacing: 5px;
  text-transform: uppercase;
  cursor: pointer;
  color: #2c9caf;
  transition: all 1000ms;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  outline: 2px solid #2c9caf;
}

.ac_button:hover {
  color: #ffffff;
  transform: scale(1.1);
  outline: 2px solid #70bdca;
  box-shadow: 4px 5px 17px -4px #268391;
}

.ac_button::before {
  content: "";
  position: absolute;
  left: -50px;
  top: 0;
  width: 0;
  height: 100%;
  background-color: #2c9caf;
  transform: skewX(45deg);
  z-index: -1;
  transition: width 1000ms;
}

.ac_button:hover::before {
  width: 250%;
}

.ac_button a{

  text-decoration: none;  
  color: #2c9caf;
}

.ac_button:hover a{
  color: #ffffff;
  transform: scale(1.1);
}

/* ---------------------------------------------------------------------------- */

.home5 {
  padding: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* Responsive grid layout */
  gap: 20px; /* Add spacing between items */
  justify-content: center; /* Center-align content */
}

.home5_one {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  justify-content: center;
  align-items: center;
  text-align: center; /* Center-align text */
  padding: 20px;
  border: 1px solid #ddd; /* Optional border for better visualization */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Light shadow for a modern look */
  transition: transform 0.3s, box-shadow 0.3s; /* Add hover effects */
}

.home5_one:hover {
  transform: translateY(-10px); /* Slight upward movement on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover */
  border: 3px solid #0f236c;
}

.home5_one i {
  font-size: 2.5rem; /* Adjust icon size */
  color: #0f236c;
  margin-bottom: 10px; /* Add spacing below the icon */
}

.home5_one h2 {
  font-size: 1.5rem;
  color: #050505;
  margin-bottom: 10px; /* Add spacing below the heading */
}

.home5_one p {
  font-size: 1rem;
  color: #2e2d2d; /* Softer text color */
  line-height: 1.5;
}

/* ---------------------------------------------------------------------------- */

.home6 {
  padding: 80px;
  text-align: center;
  background-color: #f9f9f9; /* Optional background for better contrast */
}

.home6 h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333; /* Neutral heading color */
}

.sp {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid layout */
  gap: 20px; /* Spacing between items */
  justify-content: center; /* Center grid items */
}

.sp_one {
  background-color: #fff; /* Card background */
  padding: 20px;
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(108, 7, 7, 0.1); /* Subtle shadow for elevation */
  transition: transform 0.3s, box-shadow 0.3s; /* Smooth hover effects */
  text-align: center;
}

.sp_one:hover {
  transform: translateY(-10px); /* Slight hover effect */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover */
}

.sp_one img {
  max-width: 100%; /* Ensure images fit within the card */
  height: auto; /* Maintain aspect ratio */
  border-radius: 10px; /* Rounded edges for images */
  margin-bottom: 20px; /* Space below the image */
}

.sp_one h2 {
  font-size: 1.5rem;
  color: #0f236c; /* Brand color for headings */
  margin-bottom: 10px;
}

.sp_one p {
  font-size: 1rem;
  color: #555; /* Softer color for paragraph text */
  line-height: 1.6; /* Improve readability */
}

/* ---------------------------------------- */
/* Footer Section */
#footer {
  background-color: #0e1041; /* Dark blue background */
  color: #fefefd; /* Light text color */
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
}

/* Footer Container */
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Flexible grid layout */
  gap: 20px;
  max-width: 1200px;
  /* margin: 0 20px; */
  align-items: start;
  justify-items: center; /* Center align items in their grid cells */
  justify-content: center;
  padding: 0 20px;
  margin-left: 100px;
}

/* Footer Logo Section */
.footer_log {
  grid-column: span 1; /* Keeps the logo as a single grid item */
  text-align: center; /* Center-aligns the logo */
}

.footer_log img {
  max-width: 200px; /* Ensures the logo is clearly visible */
  height: auto;
  margin-bottom: 20px;
}

/* About Section */
.footer-section.about h3 {
  color: #ec7a14; /* Highlight color for header */
  font-size: 22px;
  margin-bottom: 15px;
}

.footer-section.about p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  text-align: justify;
}

/* Quick Links Section */
.footer-section_links h3 {
  color: #ec7a14;
  font-size: 22px;
  margin-bottom: 15px;
}

.footer-section_links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section_links ul li {
  margin-bottom: 10px;
}

.footer-section_links ul li a {
  color: #fefefd;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease-in-out;
}

.footer-section_links ul li a:hover {
  color: #ec7a14; /* Highlight link color */
}

/* Contact Section */
.footer-section.contact h3 {
  color: #ec7a14;
  font-size: 22px;
  margin-bottom: 15px;
}

.footer-section.contact p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-section.contact i {
  margin-right: 10px;
  color: #ec7a14;
}

/* Social Media Links */
.footer-section.social h3 {
  color: #ec7a14;
  font-size: 22px;
  margin-bottom: 15px;
}

.footer-section.social ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section.social ul li {
  margin-bottom: 10px;
}

.footer-section.social ul li a {
  color: #fefefd;
  text-decoration: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  transition: color 0.3s ease-in-out;
}

.footer-section.social ul li a i {
  margin-right: 10px;
}

.footer-section.social ul li a:hover {
  color: #ec7a14;
}

/* Footer Bottom Section */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(236, 122, 20, 0.3); /* Subtle border */
  font-size: 14px;
  margin-top: 30px;
  color: #fefefd;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr; /* Single column layout on smaller screens */
    text-align: center;
  }

  .footer_log img {
    max-width: 150px; /* Smaller logo for smaller screens */
  }

  .footer-section.social ul {
    display: flex;
    justify-content: center;
    gap: 15px;
  }
}

/* ------------------------------------------------------- */


.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay.active {
  display: flex;
  opacity: 1;
}

/* Popup Content */
.popup-content {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: translateY(-30px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.popup-overlay.active .popup-content {
  transform: translateY(0);
  opacity: 1;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #888;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #ff4444;
}

/* Popup Heading */
.popup-content h2 {
  margin-bottom: 20px;
  font-size: 24px;
  text-align: center;
  color: #333;
  font-weight: bold;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #555;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus {
  border-color: #2196F3;
  box-shadow: 0 0 8px rgba(33, 150, 243, 0.2);
  outline: none;
}

/* Services Grid and Checkbox Styles */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 20px;
}

.service-option {
  display: flex;
  align-items: center;
  position: relative;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-option:hover {
  background: #e9e9e9;
}

.service-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: relative;
  display: inline-block;
  height: 22px;
  width: 22px;
  margin-right: 10px;
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.service-option:hover input ~ .checkmark {
  border-color: #4CAF50;
}

.service-option input:checked ~ .checkmark {
  background-color: #4CAF50;
  border-color: #4CAF50;
}

.checkmark:after {
  content: '';
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.service-option input:checked ~ .checkmark:after {
  display: block;
}

.service-option span {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 14px;
  background: #2196F3;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  text-transform: uppercase;
  font-weight: bold;
}

.submit-btn:hover {
  background: #1E88E5;
  transform: translateY(-3px);
}

/* Thank You Popup Styles */
.thank-you-icon {
  text-align: center;
  font-size: 50px;
  color: #4CAF50;
  margin-bottom: 20px;
}

.thank-you-title {
  font-size: 28px;
  color: #4CAF50;
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
}

.thank-you-message {
  font-size: 16px;
  color: #555;
  text-align: center;
  margin-bottom: 20px;
}

.close-thank-you {
  display: block;
  width: 100%;
  padding: 12px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  font-weight: bold;
}

.close-thank-you:hover {
  background: #45a049;
  transform: translateY(-3px);
}

/* Responsive Design
@media (max-width: 768px) {
  .services-grid {
      grid-template-columns: 1fr;
  }
} */

/* ******************************************************** */


/* Large Screens (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  .home1, .home2, .home3, .home5, .home6 {
    padding: 80px 0;
  }
}

/* Desktop and Small Laptops */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  #header {
    padding: 10px 5%;
  }
  
  .home_para {
    width: 90%;
    margin: 0 auto;
  }
  
  .ac {
    grid-template-columns: repeat(2, 350px);
  }
  
  .footer-container {
    margin-left: 5%;
  }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  #header {
    grid-template-columns: 1fr 2fr 1fr;
    padding: 10px 3%;
  }
  
  .home1 {
    min-height: 600px;
  }
  
  #home_para {
    width: 95%;
    font-size: 20px;
  }
  
  .home2, .home3, .home5, .home6 {
    padding: 60px 20px;
  }
  
  .home_card {
    width: 340px;
  }
  
  .about_content .abc_para {
    width: 100%;
  }
  
  .ac {
    grid-template-columns: repeat(2, 300px);
  }
}

/* Large Mobile */
@media (min-width: 576px) and (max-width: 767px) {
  .container {
    max-width: 540px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  #header {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 10px;
  }
  
  .head_nav ul {
    flex-direction: column;
  }
  
  .home1 {
    min-height: 500px;
  }
  
  #home_para {
    width: 100%;
    font-size: 18px;
    padding: 0 15px;
  }
  
  .text-container h1 {
    font-size: 2rem;
  }
  
  .home2, .home3,  .home5, .home6 {
    padding: 40px 15px;
  }
  
  .home_card {
    width: 100%;
    max-width: 320px;
  }
  
  .ac {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-container {
    margin-left: 0;
    padding: 0 15px;
  }
}

/* Small Mobile */
@media (max-width: 575px) {
  .container {
    width: 100%;
    padding: 0 10px;
  }
  
  #header {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 5px;
  }
  
  .head_nav ul {
    flex-direction: column;
  }
  
  .head_button {
    flex-direction: column;
    gap: 10px;
  }
  
  .home1 {
    min-height: 400px;
  }
  
  .text-container {
    padding: 1rem;
  }
  
  #home_para {
    width: 100%;
    font-size: 16px;
    padding: 0 10px;
  }
  
  .text-container h1 {
    font-size: 1.8rem;
  }
  
  .home2, .home3, .home5, .home6 {
    padding: 30px 10px;
  }
  
  .home_card {
    width: 100%;
    max-width: 290px;
  }
  
  .about_content .abc_para {
    width: 100%;
  }
  
  .ac {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    margin: 0;
    padding: 0 10px;
  }
}

/* Fix for specific components */
.home_card .card_img img {
  width: 100%;
  object-fit: cover;
}

.popup-content {
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
  .home1 {
    min-height: 100vh;
  }
  
  .popup-overlay {
    align-items: flex-start;
  }
  
  .popup-content {
    margin: 20px auto;
  }
}
/* -------------------- */


/* Laptop (1024px to 1366px) */
@media screen and (min-width: 1024px) and (max-width: 1366px) {
  .home4 {
    padding: 60px;
    gap: 30px;
  }

  .about_content {
    max-width: 600px;
  }

  .about_content .abc_para {
    width: 100%;
  }

  .about_image img {
    max-width: 400px;
  }

  .ac {
    grid-template-columns: repeat(2, 350px);
    gap: 15px;
  }
}

/* Tablet (768px to 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .home4 {
    flex-direction: column;
    padding: 40px;
    gap: 30px;
  }

  .about_content {
    max-width: 100%;
  }

  .about_content h1 {
    font-size: 2rem;
    text-align: center;
  }

  .about_content .abc_para {
    width: 100%;
    font-size: 1.1rem;
    text-align: center;
  }

  .about_image img {
    max-width: 100%;
    height: auto;
  }

  .ac {
    grid-template-columns: repeat(2, 300px);
    gap: 15px;
  }

  .about_content h2 {
    font-size: 1.3rem;
    text-align: center;
  }
}

/* Mobile (up to 767px) */
@media screen and (max-width: 767px) {
  .home4 {
    flex-direction: column;
    padding: 30px 15px;
    gap: 20px;
  }

  .about_content {
    max-width: 100%;
  }

  .about_content h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .about_content .abc_para {
    width: 100%;
    font-size: 1rem;
    text-align: center;
  }

  .about_image {
    width: 100%;
  }

  .about_image img {
    max-width: 100%;
    height: auto;
  }

  .ac {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 20px;
  }

  .about_content h2 {
    font-size: 1.2rem;
    text-align: center;
  }

  .ac_button {
    width: 100%;
    padding: 0.8em 1.5em;
    font-size: 14px;
    letter-spacing: 3px;
  }
}