/* General Styles */

:root {
  --light-purple: #f6f4ff;
  --purple: #391e6c;
  --bg-purple: #391e6c;
  --dark-purple: #32236f;
  --body-text-purple: #3e3f66;
  --text-white: #ffffff;
  --bg-white: #ffffff;
  --bg-gray: #faf8ff;
  --slider-dots-color: #d4d2dd;
  --light-bg: #dfdaf3;
  --bg-orange-gradiunt: linear-gradient(135deg, #ff7133, #ff8c5a);
  --bg-hover-gradiunt: linear-gradient(135deg, #ff8c5a, #ff7133);
  --orange: #ff923d;
  --main_purple: #6a49f2;
  --bg-purple-gradiunt: linear-gradient(313deg, #7f23e9 0%, #3f169a 100%);
  --dark-blue: #060a3d;

  --pcolor: #000066;
  --scolor: #f5f6fa;
  --tcolor: #9ca5ac;
  --fcolor: #333944;
}

html {
  scroll-behavior: smooth;
  /* overflow-x: hidden; */
}

/* * {
  outline: 1px solid red;
} */

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /* background-color: #2c67e5; */
  color: white;
  transition: background-color 0.3s ease;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover
{
  text-decoration: none;
}

.section {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
}

.container {
  width: 90%;
  /* background-color: #00ff8c; */
  /* overflow: hidden; */
}

.container-cont{
  width:100px;
}




/* ---------------------------------------------------navbar --------------------------------- */


/* ------------------------------------------------  contact hero ---------------------------------------------- */

.contact-hero.cont{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  height: 200px;
  z-index: -1;
  /* background-color: aquamarine; */
  margin-top: 30px;
  margin-bottom: 30px;
}

.contact-hero-heading.cont {
  /* background-color: #043fb7; */
  font-size: 4rem; /* Default font size */
  font-weight: 600;
  color: #052b78;
  text-align: center;
  
}

.contact-hero-heading.cont p {
  font-size: 18px;
  color: #9a9090;
  font-weight: 500;
  line-height: 1.2;
}

/* Styles for images */
.contact-hero-img1,
.contact-hero-img2 {
  display: flex;
  justify-content: center; /* Center images horizontally */
}

.contact-hero-img1 {
  margin-right: 150px;
}

.contact-hero-img2 {
  margin-left: 150px; /* Adjust spacing to the left */
}

/* Optional: Image styling */
.contact-hero img {
  max-width: 100%; /* Ensure images fit within their container */
  height: auto; /* Maintain aspect ratio */
  animation: slide 5s ease-in-out infinite;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-10px);
  }
  100% {
    transform: translateX(0);
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .contact-hero.cont {
    padding: 20px;
    height: 150px;
   
  }

  .container.cont{
    width:100%;
  }

  .contact-hero-heading.cont {
    font-size: 2.5rem; /* Adjust font size for smaller screens */
  }

  .contact-hero-heading.cont {
   margin-top: 60px;
    
  }

 

  .contact-hero-heading.cont p {
    font-size: 16px;
  }

  .contact-hero-img1,
  .contact-hero-img2 {
    margin-right: 50px;
    margin-left: 50px;
  }

  .contact-hero-img1 {
    margin-right: 80px; /* Adjust spacing for images */
  }

  .contact-hero-img2 {
    margin-left: 80px; /* Adjust spacing for images */
  }
}

/* Mobile (portrait) */
@media (max-width: 768px) {
  .contact-hero.cont {
    padding: 15px;
    height: 120px;
    flex-direction: column; /* Stack images and text vertically */
  }

  .contact-hero-heading.cont {
    font-size: 2.5rem; /* Adjust font size for mobile */
    margin-bottom: 10px;
  }

  .contact-hero-heading.cont p {
    font-size: 14px;
  }

  .contact-hero-img1,
  .contact-hero-img2 {
    margin: 0;
    margin-bottom: 10px; /* Add space between images */
  }

  .contact-hero-img1,
  .contact-hero-img2 {
    margin-left: 0;
    margin-right: 0;
  }

  .contact-hero img {
    max-width: 90%; /* Adjust image size for smaller screens */
  }
}



/* Small mobile devices */
@media (max-width: 480px) {
  .contact-hero-heading.cont {
    font-size: 2rem; /* Further reduce font size for small screens */
  }

  .contact-hero-heading.cont p {
    font-size: 12px;
  }

  .contact-hero-img1,
  .contact-hero-img2 {
    margin: 0;
    margin-bottom: 15px;
  }

  .contact-hero img {
    max-width: 80%; /* Further reduce image size */
  }

  .container.cont{
    margin-top: -20px;
  }
}
/* For tablets and smaller screens (max-width: 991px) */


/* ------------------------------------------------  cards -------------------------------------- */

.contact_list_section .contact_list_inner {
  display: grid;
  grid-template-columns: repeat(3,1fr);
}

.c_list_card {
  /* width: 400px; */ /* Commented out to allow flexibility */
  background-color: white;
  border-radius: 12px;
  padding: 40px;
  color: black;
  text-align: center;
  margin: 0 30px;
  transition: 0.4s all;
  box-shadow: 0px 0px 8px 2px rgba(176, 171, 193, 0.4);
  max-width: 300px;
}

.c_list_card:hover {
  box-shadow: 0px 5px 30px 0px rgba(176, 171, 193, 0.4);
}

.inner_text {
  padding-top: 30px;
}

.inner_text h3 {
  margin-bottom: 20px;
  font-size: 20px;
}

.inner_text p {
  font-size: 16px;
  line-height: 1.5;
}

.inner_text .text_btn {
  font-size: 16px;
  line-height: 1;
  color: #052b78;
  text-decoration: none;
}

.inner_text .text_btn:hover {
  text-decoration: none;
  color: #043fb7;
}

.icons {
  position: relative;
  width: 133px;
  margin: 0 auto;
}

.icons img {
  position: relative;
  z-index: 2;
  margin: auto;
  height: 70px;
  width: auto;
}

.dot_block {
  position: absolute;
  left: 5px;
  top: -10px;
  width: 133px;
  height: 133px;
  transition: 0.5s all;
  transform: rotate(-30deg);
}

.dot_anim {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: #6a49f2;
  border-radius: 10px;
  transition: 0.5s all;
}

.c_list_card:nth-child(1) .dot_anim,
.c_list_card:nth-child(3) .dot_anim {
  background-color: #6a49f2;
}

.dot_anim:nth-child(1) {
  top: 30px;
  left: 40px;
}

.c_list_card:hover .dot_anim:nth-child(1) {
  top: 20px;
  left: 20px;
}

.dot_anim:nth-child(2) {
  right: 35px;
  top: 40px;
}

.c_list_card:hover .dot_anim:nth-child(2) {
  right: 15px;
  top: 30px;
}

.dot_anim:nth-child(3) {
  left: 50px;
  bottom: 70px;
}

.c_list_card:hover .dot_anim:nth-child(3) {
  left: 30px;
  bottom: 40px;
}

.c_list_card:hover .dot_block {
  transform: rotate(0deg);
}

/* Responsive Styles */

/* For tablets and smaller screens (max-width: 991px) */
@media (max-width: 1024px) {
  .contact_list_section .contact_list_inner {
 /* Two cards per row */
    gap: 20px;
  }

  .c_list_card {
    padding: 30px;
    max-width: 260px;
    margin: 0 20px;
  }

  .inner_text h3 {
    font-size: 18px;
  }

  .inner_text p {
    font-size: 14px;
  }

  .icons img {
    height: 60px;
  }
}

/* Mobile (portrait) view (max-width 768px) */
@media (max-width: 768px) {
  .contact_list_section .contact_list_inner {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

  .c_list_card {
    padding: 20px;
   width: 400px;  /* Ensure cards don't get too wide */
    margin: 0 auto; /* Center the cards */
  }

  .inner_text h3 {
    font-size: 20px;
  }

  .inner_text p {
    font-size: 18px;
  }

  .icons img {
    height: 50px; /* Smaller icon size */
  }

  .dot_block {
    width: 120px;
    height: 120px;
  }

  .dot_anim {
    width: 5px;
    height: 5px;
  }

  .contact-hero-heading{
    font-size: 55px;
  }

  .container{
    margin: 25px;
  }
}

/* Small mobile devices (max-width 480px) */
@media (max-width: 480px) {
  .contact_list_section .contact_list_inner {
    grid-template-columns: 1fr; /* One card per row */
    gap: 15px;
  }

  .c_list_card {
    padding: 15px;
    width: 260px; /* Ensure cards are not too wide */
    margin: 0 auto; /* Center the cards */
  }

  .inner_text h3 {
    font-size: 16px;
  }

  .inner_text p {
    font-size: 14px;
  }

  .icons img {
    height: 45px; /* Smaller icon size for small screens */
    margin-top: 20px;
  }

  .dot_block {
    margin-top: 20px;
    margin-left: 13px;
    width: 100px;
    height: 100px;
  }

  .dot_anim {
    width: 4px;
    height: 4px;
  }

  .contact-hero-heading{
    font-size: 30px;
  }

  .container{
    margin-top: 2px;
  }
}
/* ----------------------------------------------------- form ----------------------------------------- */

/* Contact Form Styling */

.contact-form {
  background-color: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0px 0px 8px 2px rgba(176, 171, 193, 0.4);
  position: relative;
  overflow: hidden;
}

.contact-form h2 {
  text-align: center;
  color: #052B78;
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.contact-form p {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.form-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two equal columns */
  gap: 20px; /* Add gap between columns and rows */
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin: 0px 40px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  color: #333;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #052B78;
  outline: none;
}

.text-area {
  grid-column: 1 / -1; /* Span full width */
}

.text-area textarea {
  height: 120px;
  resize: none;
}

.form-footer {
  grid-column: 1 / -1;
  font-size: 16px;
  color: #666;
  display: flex;
  margin-left: 50px;
  align-items: center;
}

.form-footer input {
  margin-right: 10px;
}

.form-btn {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  font-family: roboto;
}



.submit-btn {
  background-color: #052b78;
  color: white;
  padding: 15px 30px;
  border: none;
  border-color: none;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 250;
  margin-top: 30px;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #07baf3;
}

.notification1 {
  display: none; /* Hidden by default */
  margin-top: 10px; /* Space between the button and the notification */
  
  max-width: 500px;
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;
  text-align: center;
}

.notification1.success {
  display: block; /* Show on success */
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  
}

.notification1.error {
  display: block; /* Show on error */
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}


@media (max-width: 768px) {
  .form-groups {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contact-form {
    padding: 10px;
  }

  .form-groups {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 0px 20px 20px 0px;
  }

  .contact-form h2 {
    font-size: 2rem;
  }

  .section{
    margin-top: 20px;
  }

  .contact-form p {
    font-size: 14px;
  }

  .form-groups {
    gap: 10px;
    margin: 0;
    padding: 0;
  }

  input::placeholder {
    font-size: 14px;
  }

  textarea::placeholder {
    font-size: 14px;
  }

 

  .form-group input,
  .form-group textarea {
    font-size: 12px;
    padding: 10x;
  }
  .form-footer {
    font-size: 13px;
    margin-bottom: -30px;
    text-align: start;
  }
  .submit-btn {
    background-color: #052b78;
    color: white;
    padding: 11px 20px;
    border: none;
    border-color: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 250;
    margin-top: 30px;
    cursor: pointer;
    margin-left: 30px;
  }

  .submit-btn:hover {
    background-color: #07baf3;
  }

  .notification1 {
    max-width: 90%; /* Use 90% of the screen width */
    padding: 8px; /* Reduce padding for smaller screens */
    font-size: 12px; /* Smaller font size for mobile */
    margin-left: auto;
    margin-right: auto;
  }
}

/* <!-- -------------------------------------- benefits promo ---------------------------------------- --> */

.benefits-promo {
  position: relative; /* Ensure ::before overlay aligns correctly */
  display: grid;
  grid-template-columns: 60% 40%;
  background-color: #052b78;
  height: 400px;
  padding: 20px 80px;
  border-radius: 12px;
  overflow: hidden; /* Prevents overlay from going outside the container */
}

.benefits-promo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    transparent 0%,
    transparent 70%,
    rgba(0, 0, 0, 0.5) 100%
  );
  border-radius: inherit; /* Matches the border radius of .benefits-promo */
  pointer-events: none; /* Allows interaction with elements underneath */
}

.benefits-promo-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.benefits-promo h2 {
  font-size: 3rem;
  margin: 0;
  font-weight: bold;
}

.benefits-promo-span {
  color: #07baf3;
}

.benefits-btn {
  background-color: white;
  color: #052b78;
  padding: 15px 30px;
  width: max-content;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
}

.benefits-btn i {
  margin-left: 12px;
  font-size: 25px;
}

.benefits-btn:hover {
  color: white;
  border: 2px solid white;
  background-color: #052b78;
}

.benefits-promo-image {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.benefits-promo-image img {
  height: 400px;
  width: auto;
  animation: rotateToAndFro 10s ease-in-out infinite; /* Smooth back-and-forth motion */
}

@keyframes rotateToAndFro {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(15deg); /* Rotate to 15 degrees */
  }
  100% {
    transform: rotate(0deg); /* Return to the starting point */
  }
}

/* Responsive Design */

/* Medium Screens (Tablets) */
@media (max-width: 1024px) {
  .benefits-promo {
    grid-template-columns: 1fr; /* Stacks content and image */
    height: auto; /* Allow height to adjust */
    padding: 20px 40px; /* Less padding */
  }

  .benefits-promo-content {
    align-items: center;
    text-align: center;
  }

  .benefits-promo h2 {
    font-size: 2.5rem;
  }

  .benefits-btn {
    font-size: 18px;
  }

  .benefits-promo-image {
    justify-content: center;
  }

  .benefits-promo-image img {
    height: 300px;
  }
}

/* Small Screens (Mobile) */
@media (max-width: 768px) {
  .benefits-promo {
    padding: 20px;
  }

  .benefits-promo h2 {
    font-size: 2rem;
  }

  .benefits-btn {
    font-size: 16px;
    padding: 12px 20px;
  }

  .benefits-promo-image img {
    height: 250px;
  }
}

/* Extra Small Screens (Mobile Portrait) */
@media (max-width: 480px) {
  .benefits-promo {
    padding: 15px;
  }

  .benefits-promo h2 {
    font-size: 1.8rem;
  }

  .benefits-btn {
    font-size: 14px;
    padding: 10px 15px;
  }

  .benefits-btn i {
    font-size: 14px;
  }

  .benefits-promo-image img {
    height: 200px;
  }
}

/* ----------------------------------------------------------- footer ------------------------------------------- */

.footer-section {
  color: #fff;
  padding: 40px 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 40px;
}

.footer-background {
  background-color: #052b78;
  position: relative;
}

.footer-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    transparent 0%,
    transparent 70%,
    rgba(0, 0, 0, 0.5) 100%
  );
  border-radius: inherit; /* Matches the border radius of .footer-background */
  pointer-events: none; /* Allows interaction with elements underneath */
}

.footer-left {
  text-align: start;
}

.footer-left img {
  width: auto;
  height: 35px;
}

.footer-left p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.footer-right {
  display: flex;
  justify-content: space-evenly;
  margin-top: 0;
}

.footer-right h4 {
  font-size: 25px;
  margin-bottom: 10px;
  color: #07baf3;
}

.footer-right ul {
  padding: 0;
  margin: 0;
}

.footer-right li {
  list-style: none;
  font-size: 14px;
  line-height: 2;
}

.footer-right a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #07baf3;
}

.links {
  margin-top: 20px;
}

.links a {
  color: white;
  font-size: 20px;
  margin-right: 15px;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.links a:hover {
  text-shadow: 0 0 8px #07baf3, 0 0 12px #07baf3, 0 0 16px #07baf3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-container {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 40px;
  }

  .footer-left,
  .footer-right {
    margin: 0 auto;
  }

  .footer-right {
    flex-direction:row;
    margin-right: 40px;
    gap: 40px;
  }

  .footer-right h4 {
    font-size: 22px;
  }

  .footer-left p {
    font-size: 13px;
  }

  .footer-right li {
    font-size: 13px;
  }
}

/* Mobile-specific adjustments */
@media (max-width: 480px) {

  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  .section {
    padding: 20px 0;
  }

  .footer-right {
    flex-direction:column;
    margin-right: 40px;
    gap: 10px;
  }

  .footer-container {
    gap: 15px;
  }

  .footer-left {
    text-align: left;
  }

  .footer-left img {
    height: 40px;
  }

  .footer-left p {
    font-size: 12px;
    margin: 5px 0;
  }

  .footer-right {
    align-items: self-start;
    text-align: left;
    margin: 0;
  }

  .footer-right h4 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .footer-right li {
    font-size: 12px;
    line-height: 1.6;
  }

  .links {
    display: flex;
    justify-content: flex-start;
    margin-top: 15px;
  }

  .links a {
    font-size: 16px;
    margin-right: 8px;
  }
}