html {
    scroll-behavior: smooth;
}


body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: contents;
    margin: auto;
    
}
a {
    text-decoration: none;
}
#header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    z-index: 997;
    width: 100%;
    background: white;
    box-shadow: 0 0rem 1rem #a0a0a0;
}
.fixed_top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
}
.head_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1192px;
    width: 100%;
    padding: 0 15px;
}
.logo {
    font-size: 26px;
    margin: 0;
    padding-right: -10%;
    /* padding: 0; */
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0px;
    text-transform: uppercase;
}
.logo img{
    width: 10%;

}
.navbar {
    padding: 0;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.navbar ul {
    margin: -25px;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
}
.navbar a {
    display: flex;
    align-items: center;
    padding: 10px 0 10px 30px;
    font-size: 15px;
    color: #0b2341;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
}
.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover>a {
    color: #29B7B1;
    transform: scale(1.1);
}
.navbar .signup {
    background: #29B7B1;
    padding: 8px 20px;
    margin-left: 30px;
    font-weight: 600;
    border-radius: 4px;
    color: #fff;
}
.navbar .signup:hover{
    color: white;
}


/* Dropdown Menu Styles */
.navbar .dropdown {
    position: relative;
}
.navbar .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    /* left: -350%; */
    background: white;
    box-shadow: 0 0rem 1rem #a0a0a0;
    border-radius: 9px;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
    z-index: 998;
    padding: 15px;
}
.navbar .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.navbar .dropdown-menu li {
    list-style: none;
    min-width: 200px;
}
.navbar .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #0b2341;
    transition: background 0.3s ease;
}
.navbar .dropdown-menu a:hover {
    background: #f0f0f0;
    border-bottom: 2px solid gray;

}
.dropdown_flex {
    display: flex;
    align-items: center;
}


/* Menu Toggle Icon */
.menu-toggle {
    display: none;

}

/* Close Button */
.close-menu {
    display: none;
}

.close-menu:hover {
    color: #29B7B1;
}


.caro_dis{
    width: 100%;
    height: 100vh;
    display: contents;
    
}

.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slides {
    display: flex;
    width: 300%;
    height: 100%;
    transition: opacity 1s ease-in-out;
}

.slide {
    width: 100%;
    height: 100%;
    flex: 1;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: 5%;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active::before {
    opacity: 1;
}
.slid_side{
    width: 100%;
    height: 200px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-top, .content-bottom {
    position: absolute;
    width: 100%;
    text-align: center;
    color: white;
    padding: 20px;
    padding-left: 40%;
    text-align: left;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

.content-top {
    top: -100px; /* Start above the view */
    transform: translateY(100px); /* Initial position for slide in effect */
    opacity: 0;
}

.content-bottom {
    bottom: -100px; /* Start below the view */
    transform: translateY(-100px); /* Initial position for slide in effect */
    opacity: 0;
}

.slide.active .content-top {
    top: 20px; /* End position */
    transform: translateY(0);
    opacity: 1;
}

.slide.active .content-bottom {
    bottom: 20px; /* End position */
    transform: translateY(0);
    opacity: 1;
}
.slide h2{
    font-size: 38px;
    margin-top: -2%;
}
.slide p{
    width: 35%;
    padding-top: 5%;
}

.slide a {
    background: #29B7B1;
    padding: 9px 0px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
    transform: translateY(50px); /* Start position for slide up effect */
    opacity: 1;
    z-index: 10; /* Ensure it's on top */
    width: 12%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active a {
    transform: translateY(0); /* End position */
    opacity: 1;
}
.slide a:nth-child(2){
border: 2px solid #fff;
background: transparent;
gap: 5%;

}
.slide_atg{
    width: 100%;
    padding: 10px;
    padding-left: 39%;
    display: flex;
    gap: 5%;

}
.nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
background:transparent;
color: #ffffff58;
border: none;
cursor: pointer;
height: 650px;
margin: 0% 0%;   
display: flex;
align-items: center;
justify-content: center;
}

.nav span{
background: rgba(0, 0, 0, 0.143);
border-radius: 50%;
font-size: 30px;
width: 54px;
height: 54px;
display: flex;
align-items: center;
justify-content: center;      
}

.prev {
left: 10px;
}

.next {
right: 10px;
}

.indicators {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
display: flex;
}

.indicator {
width: 10px;
height: 10px;
background: rgba(255, 255, 255, 0.5);
border-radius: 50%;
margin: 0 5px;
cursor: pointer;
}

.indicator.active {
background: rgba(255, 255, 255, 1);
}




  .section {
    opacity: 0;
    transform: translatey(100px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
    margin: 0px 0;
    margin-top: 50px;
    /* padding: 0px 20px; */
    text-align: center;
    height: 85vh;
  }

  .section.show {
    opacity: 1;
    transform: translatex(0);
  }
  .sectionB {
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
    margin: 0px 0;
    padding: 0px 20px;
    text-align: center;
  }

  .sectionB.show {
    opacity: 1;
    transform: scale(1.12);
  }

  .sec_title h1{
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    line-height: 1px;
    margin: 0 0 5px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaaaaa;
    font-family: "Poppins", sans-serif;
  }
  .sec_title h1::after{
    content: "";
    width: 120px;
    height: 1px;
    display: inline-block;
    background: #29B7B1;
    margin: 4px 10px;
  }
  .sec_title p{
    margin: 0;
    font-size: 2.5rem !important;
    font-weight: 300;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    color: #fff;
    padding-top: 70px;
  
  }

  .sec_cont {
    text-align: left;
    padding: 30px;
    font-size: 1.2rem;
    margin: 0 10%;
    padding-bottom: 50px;
  }
  .sec_cont p{
    display: flex;
    align-items: center;
    padding-bottom: 1%;
  }
  .sec_cont p span{
    padding-right: 10px;
    color: #29B7B1;
  }

  .sec_cont a{
    text-decoration: none;
    border: 2px solid #29B7B1;
    padding: 10px 25px;
    border-radius: 6px;
    color: #29B7B1;
  }


  .counter-container {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    gap: 3%;
}

.counter{
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.1);
    flex: 1;
    border-radius: 8px;
    padding: 5px 10px;
    transition: all 300ms ease;
}
.count{
    display: flex;
    align-items: center;
    gap: 8%;
}

.count span{
    color: #29B7B1;
    font-size: 35px;
    font-weight: 200;
}
.count p{
    color: #0b2341;
    font-size: 42px;
    line-height: 24px;
    font-weight: 700;
}

.cont_des p{
    font-size: 14px;
    font-weight: bolder;
    font-family: "Raleway", sans-serif;
}
.cont_a{
    padding-bottom: 6%;
}
.cont_a a{
    font-weight: 600;
    display: block;
    margin-top: 20px;
    color: #164682;
    font-size: 15px;
    font-family: "Poppins", sans-serif;
    transition: ease-in-out 0.3s;
    border: none;
    padding: 0;
    transition: all 300ms ease;
}
.cont_a a:hover{
margin-left: 3%;
}



.choose{
    display: grid;
    grid-template-columns: 50% 50%;
    background-color:#ddd ;
}

.secB{
    width: 100%;
}

.secB img{
    width: 70%;
    outline: 2px solid black;
}

.section.choose #section1{
    width: 100%;
    padding: 30px 0;
}

.section.choose #section1 a{
    color: #29B7B1;
}

.section.choose #section2{
    text-align: left;
    padding: 10px 25px;
}

.section.choose #section2 h1{
    color: #164682;
    margin-bottom: 0;
}
.section.choose #section2 p{
    margin-top: 1%;
}

.conta {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
}

.expand-link {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    padding: 10px;
    padding-bottom: 0px;
    background: #f0f0f0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}
.expand-link span{
    display: flex;
    align-items: center;
    height: 6vh;
    transition: all 300ms ease;
}
.conta a:hover{
    color: #29B7B1;
}   
.expand-link h4 {
    padding-right: 10px;
    color: #29B7B1;
}



.hidden-text {
    max-height: 0;
    overflow: hidden;
    padding: 0 10px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin: 0px 0;
    background: #f0f0f0;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.hidden-text.show {
    max-height: 100px; /* Adjust this value as needed */
    padding-bottom: 3%;
}


.counter.spons:hover{
    background: #29B7B1;
    color: white;
}
.count.spons {
    justify-content: center;
    text-align: center;
    margin-top: 20%;
}
.count.spons img{
   width: 50%;
   border-radius: 50%;
}
.cont_des.spons{
    text-align: center;
}
.cont_des.spons h1{
    margin: 1% 0;
    font-size: 25px;
}
.cont_a.spons{
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sec_title.ser{
    padding-bottom: 10px;
    text-align: left;
    margin: 0 10%;
  }



  .contafut {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


  .sectionC {
    width: 90%;
    height: 200px;
    margin: 20px;
    padding: 80px 0;
    background-color: #0b2341;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 1s ease-out, opacity 1s ease-out;
    text-align: center;
}

.sectionC.visible {
    transform: translateX(0);
    opacity: 1;
}

.adv{
    max-width: 1140px;
}

.advFT{
    max-width: 1140px;
}

.adv h3{
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}
.adv a{
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 35px;
    border-radius: 4px;
    transition: 0.5s;
    margin-top: 10px;
    border: 2px solid #29B7B1;
    color: #fff;
}


#footer{
    background: #071527;
    padding: 0 0 30px 0;
    color: #fff;
    font-size: 14px;
}
.footer_top{
    padding: 60px 50px 30px 50px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.376);
}
.footer_bottop{
    text-align: center;
    padding: 10px 0;
}
.adv_row{
    display: grid;
    grid-template-columns: 33% 18% 20% 50%;
}

.footer_info{
    margin-bottom: 15px;
    background: #05101e;
    border-top: 4px solid #29B7B1;
    text-align: center;
    padding: 30px 20px;
}

.footer_info h3{
    font-size: 24px;
    margin: 0 0 20px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    font-weight: 700;
}
.footer_info p{
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    font-family: "Raleway", sans-serif;
}
.use_links{
    padding: 0 40px;
    padding-right: 5px;
}

.use_links h4{
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}
.use_links ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.use_links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    transition: all 300ms ease;
}

.use_links ul li i{
    padding-right: 10px;
    color: #ef6445;
    font-size: 12px;
    line-height: 1;
}
.use_links ul a{
    color: #fff;
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
}
.use_links ul a:hover{
    color: #29B7B1;
    margin-left: 5%;
}



.social-media-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-media-icons a.icon {
    font-size: 24px;
    color: #fff;
    transition: color 0.3s;
    text-decoration: none;
    padding: 11px;
    border-radius: 20%;
    background: #0a1e38;
    transition: all 300ms ease;
}

.social-media-icons a.icon:hover {
    color: #29B7B1; /* Change color on hover */
    margin-top: -5%;
}


.news{
    padding: 0 10px;
}
.news h4{
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}

.news form{
    display: flex;
    justify-content: left;
    margin: 0;
}

.news form input{
   padding: 5px 15px;
   color: black;
   font-weight: 500;
   width: 58%;
   border-top-left-radius: 7px;
   border-bottom-left-radius: 7px;
   border: none;
}
.news form button{
    padding: 8px;
    text-align: center;
    background: #29B7B1;
    color: #05101e;
    font-size: 20px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    border: none;
}


.footer_bottop strong{
    font-weight: 400;
}
.footer_bottop strong span{
    font-weight: 600;
}

.back_to_top{
    position: fixed;
    visibility: visible;
    opacity: 1;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #29B7B1;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
}
.back_to_top span{
    font-size: 28px;
    color: #fff;
    line-height: 0;
}

@media (max-width: 1200px){
    .navbar .dropdown-menu {
        left: -464%;
    }    
    .caro_dis {
        height: 60vh;
    }
    .carousel {
        top: 5%;
    }
    .over_cont {
        text-align: center;
        padding: 10px 113px;
    }
    .overlay p{
        width: 100%;
    }
    .from-bottom{
        justify-content: center;
    }
    .from-bottom a{
        width: 30%;
    }
    .content-top, .content-bottom {
        padding-left: 20px;
        display: flex;
        justify-content: center;
    }
    .slide h2{
        margin-top: -15%;
        font-size: 60px;
    }
    .slide p{
        text-align: center;
        font-size: 23px;
        width: 60%;
    }
    .slide_atg {
        padding-left: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
   
    .section {
        margin-top: 0;
    }
    .counter-container {
       flex-direction: column;
    }
    .sec_cont {
        margin: 0 0%;
      
    }
    .count {
        gap: 3%;
    }
    .cont_des p {
        font-size: 17px;
    }
    .cont_a a {
        font-size: 20px;
        padding: 10px 0;
    }
    .choose{
        display: flex;
        flex-direction: column;
        padding-bottom: 3%;
    }
    .sectionB.show {
        opacity: 1;
        transform: scale(1);
    }
    .sec_title.ser {
        margin: 10% 2%;
    }
    .adv_row{
        display: flex;
        flex-direction: column;
    }
}



/* Mobile Menu Styles */
@media (max-width: 768px) {
    .menu-toggle span{
        font-size: 30px;
        cursor: pointer;
    }
    .close-menu{
        display: block;
        position: absolute;
        top: 8px;
        right: 26px;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 28px;
        color: #0b2341;
        z-index: 1000;
    }
    .close-menu span{
         font-size: 28px;
    }
    .navbar nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 30px; /* Adjust if needed */
        left: 0;
        background: white;
        z-index: 999;
        padding: 0;
    }
    .sec_cont {
        margin: 0 0%;
        font-size: 1.2rem;
    }
    .navbar nav.active {
        display: block;
        position: fixed;
    }

    .navbar .nav-list {
        margin: 0 10px;
        display: block;
        padding: 1px 20px;
    }

    .navbar .nav-list li {
        border-bottom: 1px solid #ddd;
    }

    .navbar .nav-list a {
        padding: 15px;
    }

    .menu-toggle {
        display: block;
    }
    .navbar .signup {
        margin-left: 0px;
    }
    .nav span {
        background: rgba(0, 0, 0, 0.143);
        border-radius: 50%;
        font-size: 15px;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .carousel{
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;    
    }
    .caro_dis {
        padding: 60px 0;
        height: 80vh;
    }
    .slides {
        height: 695px;
    }
    .slide h2{
        margin-top: -15%;
        font-size: 30px;
    }
    .slide p{
        text-align: center;
        font-size: 13px;
        width: 60%;
    }
    .slide a{
        width: 30%;
    }
    .slide_atg {
        padding-left: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .overlay {
        height: 695px;
    }
    .nav {
        display: none;
    }
    .over_cont {
        padding: 10px 18px;
    }
    .from-bottom{
        display: flex;
        flex-direction: column;
    }
    .from-bottom a {
        width: 22%;
        margin: 5% 0;
    }
    .from-bottom a {
        width: 40%;
    }
   

    .section {
        padding: 0;
    }
    .sectionB{
        margin: 100px 0;
    }
    .sectionB.show {
        opacity: 1;
        transform: scale(1.0);
        margin: 0;
    }
    .sectionC{
        padding: 90px 0;
    }
    .counter-container{
        gap: 1rem;
    }
    .section {
        margin-top: 5%;
    }

    .sectionC{
        width: 100%;
    }
    .adv {
        margin: 0 8%;
    }
    .sectionC {
        transform:none;

    }
    .sectionC.visible {
        transform: none;
    }
  
}

/* Ensure dropdown menu works on mobile */
@media (max-width: 768px) {
    .navbar .dropdown-menu {
        position: static;
        background: white;
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        transform: none;
        display: none; /* Hide by default */
    }

    .navbar .dropdown.active .dropdown-menu {
        display: block; /* Show on dropdown click */
    }
    .dropdown_flex{
        flex-direction: column;
        height: 45vh;
        overflow-y: scroll;
        overflow-x: hidden;
    }
}




































/* ================= form section css code starts here  ===================== */

.form_box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: relative;
}

.form-container {
    background-color: #fff;
    /* border: 2px solid black; */
    box-sizing: border-box;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(168, 167, 167, 0.171);
    width: 500px;
    opacity: 1;
    transform: scale(1);
    transition: all 300ms ease;
    position: absolute;
}

.form-container.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.form_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.form_logo img {
    width: 40px;
    height: 40px;
}

.form_logo h1 {
    font-size: 24px;
    text-shadow: 1px 1px 2px #29B7B1;
    color: #646363;
    margin: 0;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #29B7B1;
}

.form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-container input[type="password"],
.form-container input[type="text"],
.form-container select[id="area-of-interest"],
.form-container input[type="email"],
.form-container input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 14px;
}

.form-container .password-container {
    position: relative;
    margin-bottom: 14px;
}

.form-container .password-container input {
    padding-right: 40px;
    margin-bottom: 0;
}

.form-container .password-container .toggle-password {
    position: absolute;
    right: 10px;
    top: 40%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #616161;
}

.form-container .checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-container label {
    margin: 0;
}

.form-container .checkbox-container input[type="checkbox"] {
    margin-right: 10px;
}
.btns_sub{
    display: flex;
    align-items: center;
    gap: 3%;
    justify-content: center;
}

.form-container button {
    width: 100%;
    padding: 10px;
    background-color: #29B7B1;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 300ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3%;
}


.call-button {
    display: inline-block;
    padding: 6px 20px;
    background-color: #ffbb00;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    width: 75%;
    text-align: center;
    margin-top: 1px;
    margin-left: 10px;
    cursor: pointer;
}

.call-button:hover {
    background-color: #ffbb00;
}

.botom p a {
    text-decoration: none;
    color: #29B7B1;
    cursor: pointer;
}

.form-container button:hover {
    background-color: #29B7B1;
}

@media (max-width: 768px) {
    .form-container {
        width: 95%;
    }
}

/* ========================= PRACTICE AREAS SECTION CODE START HERE ========================  */

.pratices-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px;
}

h1 {
    font-size: 36px;
    font-weight: bold;
    color: #002F5F;
    margin-bottom: 30px;
    text-align: center;
}

.practice-areas {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 items per row */
    gap: 20px;
}

.area {
    background-color: #FFFFFF;
    padding: 20px;
    border-left: 4px solid #29B7B1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.area h2 {
    font-size: 20px;
    color: #002F5F;
    margin-bottom: 10px;
}

.area p {
    font-size: 16px;
    line-height: 1.5;
    color: #4D4D4D;
}

/* ========================= MEDIA QUERY FOR SMALLER SCREENS ======================== */

/* For tablets and smaller devices (max-width: 1024px) */
@media (max-width: 1024px) {
    .practice-areas {
        grid-template-columns: repeat(3, 1fr); /* 3 items per row */
        gap: 15px; /* Reduce gap for smaller screens */
    }

    h1 {
        font-size: 30px;
    }

    .area h2 {
        font-size: 18px;
    }

    .area p {
        font-size: 14px;
    }
}

/* For tablets (max-width: 768px) */
@media (max-width: 768px) {
    .practice-areas {
        grid-template-columns: repeat(2, 1fr); /* 2 items per row */
        gap: 15px; /* Slightly reduce gap */
    }

    h1 {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .area h2 {
        font-size: 17px;
    }

    .area p {
        font-size: 14px;
    }

    .area {
        padding: 15px; /* Reduce padding */
    }
}

/* For mobile phones (max-width: 480px) */
@media (max-width: 480px) {
    .practice-areas {
        grid-template-columns: 1fr; /* 1 item per row */
        gap: 10px;
    }

    h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .area h2 {
        font-size: 16px;
    }

    .area p {
        font-size: 13px;
    }

    .area {
        padding: 10px; /* Further reduce padding for mobile screens */
    }
}


/* ========================= BANNER SECTION ========================= */

.banner-section {
    position: relative;
    background-image: url('img/show.webp'); /* Replace with the actual path to your image */
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.span-A {
    font-weight: 400;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 50, 0.719); /* Dark blue overlay */
}

.banner-content {
    position: relative;
    color: #FFFFFF;
    text-align: left;
    z-index: 1;
    max-width: 500px;
    padding: 20px;
}

.banner-content h1 {
    font-size: 48px;
    text-align: left;
    font-weight: bold;
    line-height: 1.2;
    color: #fff;
}

.banner-content p {
    font-size: 18px;
    margin-top: 10px;
    font-weight: 700;
    text-align: left;
}
.button-container {
    margin-top: 20px; /* Space between the paragraph and buttons */
}

.button{
    display: inline-block;
    color: #FFFFFF; /* Text color for primary button */
    padding: 10px 20px; /* Padding for both buttons */
    text-decoration: none; /* Remove underline */
    border-radius: 4px; /* Rounded corners */
    margin-right: 10px; /* Space between buttons */
    transition: background-color 0.3s, border-color 0.3s; /* Smooth transition for hover effect */
}

.button-primary {
    background-color: #29B7B1; /* Button background color */
}

.button-primary:hover {
    background-color: #238B88; /* Darker shade on hover */
}

.button-secondary {
    background-color: transparent; /* No background color */
    border: 2px solid #29B7B1; /* Border color */
    color: #29B7B1; /* Text color matching the border */
}

.button-secondary:hover {
    background-color: #29B7B1; /* Background color on hover */
    color: #FFFFFF; /* Text color changes on hover */
}


/* ========================= RESPONSIVENESS ========================= */

/* Tablet */
@media (max-width: 768px) {
    .banner-section {
        height: 550px;
        background-size: cover;
    }

    .banner-content h1 {
        font-size: 36px;
    }

    .banner-content p {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .banner-section {
        height: 550px;
        background-size: cover;
    }

    .banner-content h1 {
        font-size: 45px;
    }

    .banner-content p {
        font-size: 20px;
    }
    .sec_cont {
        margin: 0 0%;
      font-size: 1.1rem;
    }
    .section {
        height: 115vh;
    }
}


/* ================== CONTACT US SECTION CODE ========================= */

.contact-section {
    position: relative;
    background: url('img/contact.jpg') no-repeat center center;
    background-size: cover;
    min-height: 80vh; /* Ensures full-screen height */
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 10%;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 43, 84, 0.7); /* Dark overlay */
}

.contact-content {
    position: relative;
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    height: 100%;
    color: #FFFFFF;
    z-index: 1;

    
}

.contact-details, .contact-form {
    width: 100%;
    margin-bottom: 20px; /* Space between sections for small screens */
}

.contact-details h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-address h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.contact-address p {
    margin-bottom: 10px;
    color: #c0c0c0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 56px;
    border-radius: 8px;
}

.contact-form p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

form {
    display: flex;
    flex-direction: column;
}

.contact-form-row {
    display: flex;
    flex-direction: column; /* Stack inputs vertically by default */
    margin-bottom: 20px;
    gap: 1rem;
}

.contact-input, .contact-textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    margin-bottom: 20px;
}

.contact-textarea {
    height: 120px;
}

.contact-button {
    padding: 12px 30px;
    background-color: #29B7B1;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #238B88;
}

/* Media Queries for Responsiveness */
@media (min-width: 768px) {
    .contact-details, .contact-form {
        width: 45%; /* Side by side on larger screens */
       
    }

    .contact-content {
        flex-direction: row;
        
    }

    .contact-form-row {
        flex-direction: row; /* Inputs side by side on larger screens */
    }

    .contact-input {
        width: 48%; /* Two inputs per row */
    }
}

@media (min-width: 1024px) {
    .contact-details h1 {
        font-size: 3rem; /* Larger font on bigger screens */
    }
    .logo img{
        width: 8%;
    
    }
    .contact-address h3 {
        font-size: 1.7rem;
    }

    .contact-address p {
        font-size: 1.2rem;
    }
}

/* ===================  OUR TEAM SECTION CODE ======================= */

.team-section {
    text-align: center;
    padding: 100px 0;
}

.team-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #17355B; /* Dark blue text */
}

.team-member {
    margin-bottom: 50px;
}

.team-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #17355B;
}

.team-member p {
    font-size: 1rem;
    color: #6C757D; /* Light grey text */
}

.contact-info {
    color: #17355B;
}

.team-divider {
    width: 50px;
    height: 2px;
    background-color: #17355B;
    margin: 0 auto 20px;
}

.contact-info p {
    font-size: 1rem;
    color: #17355B;
    margin-bottom: 5px;
}

/*=================================== General Map Section Styling =========================*/
.map-container {
    width: 95%;
   margin: auto;
}
#bus-map-section {
    padding: 60px 0;
    background-color: #f5f5f5; /* Light background for the section */
    margin: 20px;
 
}

#bus-map-section .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#bus-map-section h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

#bus-map {
    height: 500px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

#map-controls {
    position: absolute;
    top: 10px; /* Adjust as needed */
    left: 70px; /* Adjust as needed */
    z-index: 999; /* Ensure controls are above the map */
}

.map-button {
    background: transparent;
    border: none;
    cursor: pointer;
    margin: 5px 0; /* Space between buttons */
}

.map-button img {
    width: 45px; /* Size of the button icon */
    height: 40px; /* Size of the button icon */
    border-radius: 5px;
    border: 1px solid #000;
}
/* Responsive Map Styling */
@media (max-width: 768px) {
    #bus-map-section h2 {
        font-size: 28px;
    }
    
    #bus-map {
        height: 400px;
    }
}

@media (max-width: 480px) {
    #bus-map {
        height: 300px;
    }
}


/* ======================== MAP-TABLE SECTION CODE ======================= */
  /* Styles for the iframe */
  #iframe-container {
    height: 600px; /* Adjust height as needed */
    width: 100%; /* Full width */
    overflow: hidden; /* Hide overflow */
    border: none; /* No border */
}

       /* Popup styling */
       #loading-popup {
        display: none; /* Hidden by default */
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    /* The loading message box */
    .loading-box {
        background-color: white;
        padding: 20px;
        border-radius: 5px;
        font-size: 18px;
        color: #333;
        margin-top: 20%;
    }

    /* Error message styling */
    .error-message {
        color: red;
        font-size: 14px;
        margin-top: 10px;
    }


    .button-container-admin {
        display: flex;
        flex-wrap: wrap; /* Allow buttons to wrap to the next line */
        justify-content: space-between; /* Space between buttons */

    }
    
    .contact-button-admin {
        flex: 0 1 calc(25% - 10px); /* 4 buttons in a row on tablet view (25% width) */
        margin: 5px; /* Space between buttons */
        text-align: center; /* Center text within buttons */
        background-color: #238B88;
        border-radius: 5px;
        color: #fff;
        font-size: 16px;
        width: 75%;
        padding: 10px;

    }
    
    /* For mobile view (2 buttons in a row) */
    @media (max-width: 768px) { /* You can adjust the max-width as needed */
        .contact-button-admin {
            flex: 0 1 calc(40% - 10px); /* 2 buttons in a row on mobile view (50% width) */
        }
    }
    