:root {
  --primary-color: #EF0000;
  --orange: #ED6C31;
  --Green: #65BC7A;
  --black: #484848;
  --bg1: #F5F7F9;
  --bg2: #F5F5F5;
  --bg3: #EFEFEF;
  --bg4: #FDFDFD;
  --bg5: #F7F7F7;
  --bg6: #F3F3F3;
  --title: #333333;
  --blue: #F5FCFF;
  --Light_green: #E6F4F4;
}

p{
  font-size: 18px;
  text-align:justify;
}

/* Fixing the submenu at the top */
.submenu {
    background-color: none;  /* Blue background */
    padding: 10px;
    width: 100%;
    top: 20;
    left: 0;
    z-index: 1000;             
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); 
}

/* Style the navigation links */
.submenu .nav-link {
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    transition: background-color 0.3s ease-in-out;
}

.submenu .nav-link:active {
    background-color: #0056b3;  /* Darker blue on hover */
    border-radius: 5px;
}
/* Style for the active tab */
.submenu .nav-link.active-tab {
    background-color: green !important; /* Green background */
    color: white !important; /* White text */
    border-radius: 5px;
    height: 50px;
}

/* For the hero image */

.background-image {
    position: relative;
    background: url('./images/contact_us/hero1.png') no-repeat center center;
    background-size: contain;
    height: 50vh;
    color: white;
    width:98.7vw;
    margin-left: -15px;
}

.background-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.4); */
    z-index: 1;
}

.text-overlay {
    position: relative;
    z-index: 2;
    text-align: top;
    transform: translateY(-50%);
}

.text-overlay h3 {
    opacity: 0;
    transform: translateX(-100%); /* Slide in from the left */
    transition: opacity 1s ease, transform 2s ease;
    margin-left: 50px;
    margin-top: -150px;
}

.text-overlay p {
    opacity: 0;
    transform: translateY(50px); /* Slide in from the bottom */
    transition: opacity 1s ease, transform 1s ease;
    margin-left: 100px;
    margin-top: 30px;
}

/* Trigger transition on page load */
.background-image:hover .text-overlay h3 {
    opacity: 1;
    transform: translateX(0); /* Reset to normal position */
}

.background-image:hover .text-overlay p {
    opacity: 1;
    transform: translateY(0); /* Reset to normal position */
}

/* End of the hero image */


/* Content section styling */
.content-section {
    padding: 20px 20px; /* Space so content isn't hidden behind submenu */
    /* border-bottom: 1px solid #ddd; */
}

.heading:hover{
    color:var(--orange) !important;
  }
  .heading{
    color: green !important;
  }

  .content-section img{
    height: 250px;
    width: 300px;
    margin: 40px 0 0 0;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
  }

     /* Mobile view responsive starts */


     
     /* Mobile view responsive end */
     
     /* Tablet view responsive starts */
   
   @media (min-width:500px) and (max-width:1000px){
       
   }
     
     /* Tablet view responsive end */
     
     /* Laptop view responsive start */
   
   @media (min-width:1000px){
    .social p{
        margin-top: 20px !important;
    }
   }
     
     /* Laptop view responsive end */