*{
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

/* ----------------------------------------------- */

.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;
}

/* ---------------------------- */


.cs1{

    display: grid;
    grid-template-columns: 500px 800px;
    align-content: center;
    justify-content: center;
    align-items: center;

}

.cso_img img{
    width: 500px;
    height: auto;
    padding-right: 20px;
    align-content: center;
}

.cso_cont{
    text-align: center;
}

.cso_cont h1{
    font-size: 50px;    
    color: #0f236c;
}

.csopa{
    text-align: start;
    font-size: 20px;
}

.cso_para{
    font-size: 25px;
}

.csopa i{
    color: #ec7a14;
}

span{

    color: #ec7a14;

}


/* ------------------------------------------ */

.cs2 {
    width: 100%;
    background-color: #f7f7f7;
    padding: 40px;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

.cs2 h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #0f236c;
    margin-bottom: 10px;
    text-transform: uppercase;
    animation: fadeIn 1s ease-in-out;
}

.cs2 h3 {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    animation: fadeIn 1.2s ease-in-out;
}

/* Animation for Fade-In */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.sp1, .sp2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 40px;
    gap: 10px;
    padding: 20px;
}

.sp1_cont, .sp2_cont {
    width: 48%;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.sp1_cont:hover, .sp2_cont:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(15, 35, 108, 0.3);
}

.sp1_cont h1, .sp2_cont h1 {
    font-size: 1.8rem;
    color: #0f236c;
    margin-bottom: 15px;
}

.csopa {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.csopa i {
    color: #ec7a14;
    margin-right: 10px;
}

.sp1_vid, .sp2_vid {
    width: 50%;
    text-align: center;
}

.sp1_vid video, .sp2_vid video {

    width: 75%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.sp1_vid video:hover, .sp2_vid video:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Posts Section */
.sp3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.sp3 .post {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sp3 .post:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(15, 35, 108, 0.3);
}

.sp3 .post img {
    width: 100%;
    height: 500px;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.sp3 .post:hover img {
    transform: scale(1.1);
}

/* Adding Animation to Headings and Text */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.sp1_cont, .sp2_cont {
    animation: slideIn 0.8s ease-in-out;
}

.sp1_vid, .sp2_vid {
    animation: slideIn 0.8s ease-in-out;
    animation-delay: 0.3s;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .sp1_cont, .sp2_cont, .sp1_vid, .sp2_vid {
        width: 100%;
    }

    .sp1, .sp2 {
        flex-direction: column;
    }
}



  
/* ---------------------------------------- */
/* 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;
    }
  }
  
  
/* ------------------------------------------------- */



button:hover {
  background-color: #f29826;
  transform: scale(1.05);
}

#popupForm {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s ease;
}

.popup-content {
  background-color: #fff;
  padding: 20px;
  width: 400px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transform: scale(0.8);
  animation: scaleUp 0.3s ease forwards;
}

#closePopup {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: #0f236c;
}

#closePopup:hover {
  color: #f29826;
}

input[type="text"], input[type="email"] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0;
}

.checkbox-group label {
  font-size: 14px;
  cursor: pointer;
}

button[type="submit"] {
  width: 100%;
  background-color: #0f236c;
  padding: 12px;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #f29826;
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes scaleUp {
  from {
      transform: scale(0.8);
  }
  to {
      transform: scale(1);
  }
}

/* -------------------------------------------------- */


.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;
  }
}