*{
    padding:0;
    margin:0;
    box-sizing: border-box;
}
body{
    background-position: center;
    background-color: whitesmoke;
    background-size: cover;
    font-family: sans-serif;
    overflow-x: hidden;
    box-sizing: border-box;
}
#About{
    padding: 80px 0;
    color: #ababab;
    height: auto;
    margin-top: 0;
}
.display-pic{
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    background-position: center;
    align-items: center;
    justify-content: center;
    background-size: cover;
    height: 350px; /* Adjust height as needed */
    overflow: hidden;
    position: relative;
}
.home-text {
    position: absolute;
    top: 50%; left: 50%; 
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 24px;
    color: red;
    z-index: auto;
}
.home-heading {
    position: absolute;
    top: 30%; left: 50%; 
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 48px;
    color: whitesmoke;
}
.display-pic img{
    background-position: center;
    height: auto;

}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 80px;
    width: auto;
    max-height:110vh ;
    height: auto;
    box-sizing: border-box;

}
.About-column-1{
    flex-basis: 27%;
    border: 1px solid #ccc;
    height: auto;
    overflow: hidden;
    position: relative;
}
.About-column-1 div{
    border: 1px solid #ccc;
    padding: 20px;
    margin: 25px;
    width: 250px;
}
.About-column-1 .quote{
    border-style: none;
    height: auto;
}
.About-column-1 .quote p{
    font-size: 18px;
    font-family: Courier, monospace;
    font-weight: 500;
    color: black;
}
.About-column-1 .quote:hover{
    background-color: white;
}
.About-column-1 .fa{
    float: right;
    margin-right: -40px;
}
.About-column-1 div:hover{
    background-color: rgb(237, 237, 19);
}
.btn btn-2{
    margin: 10px;
    display: flex;
}
.About-column-2{
    flex-basis: 68%;
    box-sizing: border-box;
    height: auto;
}
.sub-tittle{
    font-size: 60px;
    font-weight: 500;
    color: #fff;
}
.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}
.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    color: black;
}
.tab-contents .fa{
    font-size: 24px;
    margin-right: 10px;
    color: chartreuse;
}
.tab-links.active-link::after{
    width: 100%;
    background-color: aqua;
}
.tab-contents { 
    display: none; 
    width: auto;
    }
.tab-contents ul li{
    list-style: none;
    font-size: 18px;
    font-weight: 500;
    display: block;
    color: black;
}
.tab-contents p{
    margin: 20px;
}
.tab-contents ul li span{
    color: rgb(65, 169, 169);
    font-size: 50px;
    text-align: center;
    justify-content: center;
    align-items: center;
    line-height: -1.5rem;
    
}
.tab-contents{
    display: none;
}
.tab-contents.active-tab{
    display: block;
}
#accordion {
    margin: 20px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px; /* Adjust the gap between columns as needed */
    column-gap: 5px;
    row-gap: 3px;
    height: auto;
}

#accordion li {
    list-style: none;
    width: 100%;
    margin-bottom: 15px;
    background: #fff;
    padding: 5px;
    transition: box-shadow 0.3s ease;
    border-radius: 8px;
}
#accordion li label {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    color: black;
    background-color: rgb(138, 165, 83);
}

#accordion li label span {
    transform: rotate(270deg);
    font-size: 21px;
    color: aqua;
    margin: 10px;
}

#accordion label + input[type="radio"] {
    display: none;
}

#accordion .info {
    padding: 5px;
    line-height: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}
#accordion .info p{
    font-size: 16px;
}

#accordion label + input[type="radio"]:checked + .info {
    max-height: 500px; /* Set a larger max-height to accommodate the content */
    padding: auto; /* Add padding when expanded */
}

#accordion label + input[type="radio"]:checked + .fa {
    transform: rotate(180deg);
}
@media screen and (max-width: 600px) {
    .menu-bar {
        height: 13vh;
        flex-direction: column;
        padding: 10px;
    }

    .logo {
        width: 100%;
        text-align: left;
        margin: 10px 0;
    }

    .logo h1 {
        width: 100%;
        height: auto;
        margin: 0;
    }

    .menu-bar ul {
        position: fixed;
        background: rgb(58, 136, 129);
        top: 0;
        right: 0;
        width: 250px;
        height: 44vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-bar ul li {
        width: 100%;
        margin: 0;
        padding: 10px;
        border-bottom: 1px dotted #fff;
    }

    .menu-bar ul li a {
        display: block;
        width: 100%;
    }

    .sub-menu-1 {
        position: static;
        display: none;
        margin: 0;
        width: 100%;
    }

    .menu-bar ul li:hover .sub-menu-1
    {
        display: block;
        position: absolute;
        background: rgb(58, 136, 129);
        margin-top: 15px;
        margin-left: -25px;
    }
    .menu-bar ul li:hover .sub-menu-1 ul
    {
        display: block;
        margin: 10px;
    }

    .sub-menu-2 {
        position: static;
        display: none;
        margin: 0;
        width: 100%;
    }

    .hover-me:hover .sub-menu-2 {
        position: static;
        margin: 0;
        margin-left: -10px; /* Shift content to the left */
    }

    .fa-angle-down,
    .fa-angle-right {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        float: none;
    }

    /* Mobile Menu Toggle */
    .fas.fa-bars,
    .fas.fa-times {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        font-size: 27px;
        cursor: pointer;
        z-index: 3;
        color: white;
    }

    .fas.fa-times {
        right: 200px;
    }
/* Accessibility and Interaction Enhancements */
    .menu-bar ul li a:hover {
        color: violet;
    }
    .menu-bar ul li:hover .sub-menu-1,
    .hover-me:hover .sub-menu-2 {
        position: static;
        margin: 0;
    }
    #About {    
        padding: 5px 10px;
        height: 355vh;
        margin-top: -121px;
    }

    /* Display Picture Section */
    .display-pic {
       width: 100%;
       margin: -4px;
        height: 84vh;
        margin-bottom: -160px;
    }

    .home-text {
        font-size: 16px;

    }

    .home-heading {
        font-size: 28px;
        margin-top: 20%;
    }

    /* Row and Columns Layout */
    .row {
        flex-direction: column;
        margin-top: 20px;
        width: 100%;
        max-height: none;
    }

    .About-column-1, 
    .About-column-2 {
        flex-basis: 100%;
        width: 100%;
        margin-bottom: 13px;
    }

    .About-column-1 div {
        width: 100%;
        margin: 15px -10px;
        padding: 30px;
    }

    .About-column-1 .quote {
        margin: 0;
    }

    .About-column-1 .quote p {
        font-size: 16px;
    }

    .sub-tittle {
        font-size: 36px;
    }

    .tab-titles {
        flex-direction: column;
        margin: 5%;

    }
    .tab-titles .fa{
        margin-right: 5%;
    }

    .tab-links {
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 16px;
    }

    .tab-contents ul li {
        font-size: 16px;
    }

    .tab-contents ul li span {
        font-size: 40px;
        text-align: center;
        justify-content: center;
        margin: 10px;
    }

    /* Accordion Section */
    #accordion {
        grid-template-columns: 1fr;
        gap: 5px;
        margin: -5px;
    }

    #accordion li {
        width: 100%;
        margin-bottom: 10px;
    }

    #accordion li label {
        font-size: 16px;
        padding: 7px;
    }

    #accordion li label span {
        font-size: 18px;
        margin-top: -6px;
    }
  
    
    #accordion .info {
        padding: 3px;
        line-height: 18px;
    }

    #accordion .info p {
        font-size: 14px;
    }

    /* Ensure full width and prevent overflow */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    body {
        overflow-x: hidden;
    }
}
