.about-main-heading {
    font-size: 40px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
}

.banner-about {
    background-image: linear-gradient(to right, #242424, #ababab),
        url('../img/abt-banner.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    height: 400px;
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 150px;
    justify-content: space-between;
    flex-wrap: wrap;
    z-index: -3;
}

.banner-subheading {
    color: #002e6a;
    font-weight: 600;
    font-size: 20px;
}

.banner-content-about {
    max-width: 800px;
    margin-right: 0px;
    text-align: left;
}

.banner-about-description {
    font-size: 17px;
    width: 700px;
    padding-top: 5px;
}

.about-grid {
    max-width: 1200px;
    margin: 50px auto;
    justify-content: center;
}

.about-grid-wrapper>img {
    width: 50px;
    height: 50px;
}

.about-grid-wrapper {
    max-width: 500px;
    justify-content: start;
    background-color: #e3e3e3;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: -3;
    margin: 0 20px;

}

.about-grid-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/modern-home-hover.jpg);
    background-position: center center;
    background-size: cover;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: -1;
}

.about-grid-wrapper:hover::after {
    opacity: 0.2;

}

.about-grid-wrapper:hover {
    color: rgb(0, 0, 0);
}

.director-section {
    max-width: 1600px;
    margin: auto;
    padding: 0;
}

/* image-content-section */
.image-content-wrapper {
    max-width: 1600px;
    margin: auto;
    height: 640px;
    /* justify-content: space-between; */
    margin-top: -1px;
    /* padding-top: 15px;
    margin-bottom: 25px; */
}

.image-content-container {
    max-width: 800px;
    align-items: end;
    /* max-height: 627px; */
    background-image: url(../img/hand-drawn-mall-drawing-illustration\ 111\ 1.png);
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    /* margin: auto; */
    padding: 150px 100px 150px 30px;
}

.image-section-wrapper {
    max-width: 600px;
    justify-content: start;
    margin-left: 100px;
}

.image-section-left-container {
    position: relative;
    height: 500px;
}

.img2 {
    margin-top: 10px;
}

.image-content-container-wrapper {
    max-width: 750px;
    height: 327px;
    margin: auto;
    width: 655px;
}

.image-content-container-wrapper h2 {
    font-size: 32px;
    font-weight: 700;
    color: black;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.image-content-container-wrapper p {
    font-size: 16px;
    color: black;
    font-weight: 400;
}

/* .rohaan-team-image img {
    width: 350px;
} */

.rohaan-team-wrapper {
    max-width: 1600px;
    background-color: #F5F5F5;
    margin: auto;
    /* margin-top: 10px; */
    padding-top: 5px;
    margin-bottom: 10px;
}

.rohaan-team-content {
    max-width: 1200px;
    margin: auto;
    /* flex-direction: column;
    width: 350px; */
}

.rohaan-team-wrapper h3 {
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    color: black;
    text-transform: capitalize;
    margin-bottom: 30px;
    margin-top: 20px;
}

.rohaan-cont-description {
    max-width: 800px;
    padding-right: 50px;
    text-align: left;
    color: black;
}

.rohaan-team-button {
    /* background-color: #9E9E9E; */
    background-image: linear-gradient(to right, #1F5D7A, #39AAE0);
    padding: 20px;
    border: none;
    color: white;
    border-radius: 15px;

}

.rohaan-button-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 550px;
}

/* new nav css */
/* --- Default Overrides - Personal Preference --- */

/* --- Default Overrides - Personal Preference --- */

/* --- Default Overrides - Personal Preference --- */


*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

form>* {
    outline: none;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
li {
    list-style: none;
}


/* --- Clearfix for floated Elements --- */

/* I never ended up using this for the nav-bar */
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}


/* --- Typography --- */


body {
    /* font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; */
    background-color: #eee;
    color: #666;
    /* margin-top: 60px; */
    /* height of nav-bar */
}

p {
    line-height: 1.4;
}

.small-caps {
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    font-size: 0.7rem;
}

.bolder {
    font-weight: bolder;
}

.lighter {
    font-weight: lighter;
}

.text-center {
    text-align: center;
}



/* --- Elements --- */
.rohaan-logo {
    width: 177px;
    height: 50px;
}

.container {
    max-width: 1600px;
    /* max 'width' of contents of site */
    margin: 0 auto;
    /* centered horizontally  */
}

.nav-bar {
    position: fixed;
    /* lock to top */
    top: 0;
    width: 100%;
    /* full width */
    background-color: white;
    height: 60px;
}

.nav-bar .container {
    display: flex;
    align-items: center;
    /* vertically center */
    height: 100%;
}

/* Hide checkbox that controls Mobile Nav Button*/
#drop-down-cbox {
    display: none;
}

/* Mobile Nav Button */
#drop-down-cbox+label {
    position: relative;
    display: none;
    width: 60px;
    height: 60px;
    overflow: hidden;
    background-color: transparent;
    transition: all 10ms ease-in-out;
}

/* Mobile Nav Button Bars */
#drop-down-cbox+label span {
    position: absolute;
    display: block;
    background-color: #666;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    left: 50%;
    transform: translate(-50%, -50%);
    /* centering trick */
    transition: all 300ms ease-in-out;
}

/* Mobile Nav Button Bars Invididually */
#drop-down-cbox+label span:nth-child(1) {
    top: 33%;
    /* evenly spaced */
}

#drop-down-cbox+label span:nth-child(2) {
    top: 50%;
    /* evenly spaced */
}

#drop-down-cbox+label span:nth-child(3) {
    top: 65%;
    /* evenly spaced */
}

/* Mobile Nav Button Styling for Checked */
#drop-down-cbox:checked+label {
    background-color: #666;
    border-radius: 30px;
}

#drop-down-cbox:checked+label span {
    background-color: white;
}

/* Transform the bars into an 'X' */
#drop-down-cbox:checked+label span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    /* center, then rotate */
}

#drop-down-cbox:checked+label span:nth-child(2) {
    left: -150%;
    /* move center bar out of the picture */
}

#drop-down-cbox:checked+label span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    /* center, then rotate */
}

/* Main Nav Desktop */
.main-nav {
    flex-grow: 1;
    /* fill remaining space */
    display: flex;
    justify-content: space-around;
    /* evenly space items */
    align-items: center;
    /* center vertically */
}

.main-nav li {
    display: block;
    width: 100%;
    height: 60px;
    line-height: 60px;
    /* vertically center text, matches height */
    text-align: center;
}

.main-nav li a,
.main-nav li span {
    display: block;
    width: 100%;
    height: 100%;
}

.main-nav li a:hover,
.main-nav li span:hover {
    border-bottom: 4px solid #666;
}

.main-nav li>ul {
    max-height: 0px;
    /* max-height instead of height, height can't transition to auto */
    transition: all 500ms ease-in-out;
    overflow: hidden;
    /* make it so nav doesn't show beyond the 0px max-height */
}

.main-nav li:hover>ul {
    max-height: 580px;
    height: auto;
}

.main-nav li>ul li a,
.main-nav li>ul li span {
    background-color: white;
}

.main-nav li>ul li a:hover,
.main-nav li>ul li span:hover {
    background-color: #666;
    color: white;
    border-bottom: none;
}

/* Tablet and Mobile View */
@media (max-width: 768px) {
    .site-logo {
        font-size: 1.5rem;
        flex-grow: 1;
        text-align: center;
    }

    #drop-down-cbox+label {
        display: block;
        /* unhide the mobile nav button */
        width: 32px;
        height: 30px;
    }

    #drop-down-cbox+label {
        position: absolute;
        left: 90%;
    }

    .main-nav {
        max-height: 0px;
        /* same vertical grow transition trick as above */
        height: calc(100vh - 60px);
        /* take full vertical viewport height, -60px for nav-bar */
        overflow: hidden;
        position: absolute;
        top: 60px;
        line-height: auto;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: white;
        transition: all 500ms ease-in-out;
    }

    /* #drop-down-cbox:checked~.main-nav {
        max-height: calc(80vh - 60px);
        transition: all 500ms ease-in-out;
    } */
    #drop-down-cbox:checked~.main-nav {
        max-height: calc(80vh - 60px);
        transition: all 500ms ease-in-out;
    }


    .main-nav li span {
        position: relative;
    }

    /* design and position downward arrow */
    .main-nav li span:after {
        content: "";
        width: 6px;
        height: 6px;
        position: absolute;
        top: 50%;
        margin-top: -2px;
        margin-left: 8px;
        transform: translateY(-50%) rotate(-45deg);
        border-left: 2px solid #666;
        border-bottom: 2px solid #666;
    }

    .main-nav li a:hover,
    .main-nav li span:hover {
        background-color: #666;
        color: white;
        border-bottom: none;
    }

    .main-nav li>ul li {
        position: relative;
    }

    .main-nav li>ul li a,
    .main-nav li>ul li span {
        background-color: #eee;
    }

}


/* responsive css  */

@media (min-width: 320px) and (max-width: 767px) {
    .banner-about {
        max-width: 500px;
        padding: 10px 20px;
        height: auto;
    }

    .about-main-heading {
        font-size: 1.3rem;
    }

    .banner-subheading {
        font-size: 1rem;
    }

    .rohaan-team-content {
        flex-direction: column;
        width: 350px;
        margin: auto;
    }

    .rohaan-team-wrapper h3 {
        padding: 20px 0 0 0;
        margin-top: 10px;
    }

    .rohaan-team-image img {
        width: 350px;
    }

    .rohaan-button-wrapper {
        flex-direction: column;
        gap: 5px;
        padding: 15px;
        width: 330px;
    }

    .banner-about-description {
        font-size: 1rem;
        width: 350px;
    }

    .about-grid {
        margin: 20px 10px;
        flex-direction: column;
    }

    .about-grid-wrapper {
        margin-bottom: 15px;
    }

    .director-section {
        /* width: clamp(350px, 50vw, 1400px); */
        max-width: 450px;
        max-width: 560px;

    }

    .mobile-image {
        min-width: 40 0px;
        max-width: 560px;
    }

    .image-section-wrapper {
        display: none !important;
    }

    .image-content-wrapper {
        flex-direction: column;
        width: 350px;
    }

    .image-content-container {
        max-height: auto;
        padding: 0px;
    }

    .image-content-container-wrapper {
        height: auto;
        width: 360px;
    }

    .image-content-wrapper {
        height: auto;
    }

    .image-content-container-wrapper h2 {
        font-size: 20px;
        margin-top: 20px;
    }

    .rohaan-cont-description {
        padding-right: 0px;
    }

    .banner-content-about {
        width: 350px;
        margin: auto;
    }
}