.header {
    padding: 15px 0;
}

.header nav {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.header nav .col {
    margin: auto 0;
}

.header nav .col-1 a {
    text-decoration: none;
}

.header nav .col-1 a h1 {
    color: var(--purple-2);
    font-weight: unset;
    transition: 0.3s;
    font-family: var(--header-font);
    font-weight: 400;
    font-style: normal;
}

.header nav .col-1 a h1:hover {
    color: var(--purple-1);
}

.header nav .col-2 ul {
    padding: 0;
    list-style: none;
    display: flex;
}

.header nav .col-2 ul li {
    margin: auto 5px;
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;

    position: relative;
    padding: 10px 0;
}

.header nav .col-2 ul li::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--yellow);
    transition: width .4s ease-out;
}

.header nav .col-2 ul li:hover::before {
    width: 100%;
    left: 0;
    right: auto;
}

.header nav .col-2 ul li a {
    text-decoration: none;
    color: var(--purple-1);
    padding: 10px 5px;
}

.header nav .col-3 a {
    margin: 0 10px;
    font-size: 20px;
    text-decoration: none;
    color: var(--purple-2);
    transition: 0.4s;
}

.header nav .col-3 a:hover {
    color: var(--purple-1);
}

/* <---> */

.intro {
    background-image: url('pictures/hassan_madi-background.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center 100%;
    height: 80vh; /* Full height of the viewport */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: first baseline; /* Center content horizontally */
    text-align: center;
    box-shadow: 2px 2px 6px 5px #00000099;
}

.intro .in-intro {
    display: flex;
    width: 80%;
    margin: 0 auto;
}

.intro .in-intro .title {
    display: block;
    text-align: left;
    padding: 20px 20px 20px 0;
    width: 60%;
}

.intro .in-intro .title h4 {
    color: var(--yellow);
    letter-spacing: 1px;
    margin: 10px 0;
    font-family: var(--header-font);
    font-weight: 400;
    font-style: normal;
}

.intro .in-intro .title h1 {
    margin: auto 0;
    padding: 10px 0 20px 0;
    font-size: 52px;
    font-weight: unset;
    color: var(--grey-1);
    letter-spacing: 5px;
    font-family: var(--header-font);
    font-weight: 400;
    font-style: normal;
}

.intro .in-intro .title p {
    font-size: 14px;
    line-height: 26px;
    color: var(--grey-3);
}

.intro .in-intro .title p span {
    line-height: 50px;
    font-weight: 600;
    padding-left: 10px;
}

.intro .in-intro .title #quote {
    display: block;
    font-family: var(--header-font);
    font-weight: 600;
    font-style: italic;
    font-size: 16px;
}

.intro .in-intro .title .btn {
    padding: 20px 0 10px 0;
}

.intro .in-intro .title .btn a {
    text-decoration: none;
}

.intro .in-intro .title .btn a button {
    padding: 15px 40px;
    border: 1px solid var(--purple-2);
    border-radius: 5px;
    background-color: transparent;
    color: var(--grey-1);
    box-shadow: 0 2px 5px black;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.intro .in-intro .title .btn a button:hover {
    box-shadow: 3px 3px 5px var(--purple-2);
}

.intro .in-intro .title .btn a button .fa {
    padding-left: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--yellow);
}

/* <---> */

.resp-header {
    display: none;
}

/* .resp-header .resp-nav {
    background-color: var(--green-3);
} */

.resp-header .resp-name {
    /* background-color: var(--orange-3); */
    box-shadow: 2px 2px 5px 5px #0000005c;
}

.resp-header .resp-name h1 {
    text-align: center;
    margin: 0;
    padding: 15px 5px;
    font-size: 12px;
    line-height: 20px;
    color: var(--purple-1);
    font-weight: 300;
    font-style: italic;
}

.resp-header .resp-name h1 span {
    color: var(--purple-2);
}

.resp-header .resp-logo {
    width: 20%;
    margin: 0 auto;
    padding: 20px 0 0 0;
}

.resp-header .resp-logo img {
    width: 100%;
    height: 100%;
}

.resp-header .dashes {
    text-align: center;
    padding: 10px 0 15px 0;
    color: var(--purple-1);
}

/* <---> */

.resp-intro {
    display: none;
}

.resp-header .resp-intro {
    height: 60vh;
    padding: 50px 0 100px 0;
    background-image: url(pictures/hassan_madi-background-vertical.jpg);
    background-position: center right 20%;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 2px 2px 6px 5px #00000099;
}

.resp-header .resp-intro .resp-in-intro {
    height: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: top;
}

.resp-header .resp-intro .resp-in-intro .resp-title {
    display: block;
    padding: 0 20px;
    /* background-color: var(--tr-grey-1); */
    text-align: left;
}

.resp-header .resp-intro .resp-in-intro .resp-title h4 {
    color: var(--yellow);
    font-size: 16px;
    margin: 0;
    font-family: var(--header-font);
    font-weight: 400;
    font-style: normal;
}

.resp-header .resp-intro .resp-in-intro .resp-title h1 {
    margin: auto 0;
    padding: 10px 0 20px 0;
    font-size: 42px;
    color: var(--grey-1);
    letter-spacing: 5px;
    font-family: var(--header-font);
    font-weight: 400;
    font-style: normal;
}

.resp-header .resp-intro .resp-in-intro .resp-title p {
    font-size: 12px;
    line-height: 22px;
    color: var(--grey-3);
}

.resp-header .resp-intro .resp-in-intro .resp-title p span {
    line-height: 40px;
    font-weight: 600;
}

.resp-header .resp-intro .resp-in-intro .resp-title .btn {
    padding: 20px 0 10px 0;
}

.resp-header .resp-intro .resp-in-intro .resp-title .btn a {
    text-decoration: none;
}

.resp-header .resp-intro .resp-in-intro .resp-title .btn a button {
    padding: 10px 30px;
    border: 1px solid var(--purple-2);
    border-radius: 5px;
    background-color: transparent;
    color: var(--grey-1);
    box-shadow: 0 2px 5px black;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.resp-header .resp-intro .resp-in-intro .resp-title .btn a button:hover {
    box-shadow: 0 2px 5px var(--purple-2);
}

.resp-header .resp-intro .resp-in-intro .resp-title .btn a button .fa {
    padding-left: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--yellow);
}

/* <---> */

.sidenav {
    height: 80%;
    width: 0;
    position: fixed;
    z-index: 4;
    top: 0;
    left: 0;
    background-color: var(--purple-1-tr);
    background-size: cover;
    background-repeat: no-repeat;
    overflow-x: hidden;
    transition: 0.5s;
    padding: 60px 0;
}
  
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 20px;
    color: var(--grey-1);
    display: block;
    transition: 0.3s;
}

.sidenav a .fa {
    padding-right: 5px;
}

.sidenav .resp-social-links {
    display: flex;
    padding: 8px 8px 8px 32px;
}

.sidenav .resp-social-links a {
    font-size: 26px;
    padding: 0;
    margin: 0 20px 0 0;
    color: var(--grey-1);
}
  
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    color: var(--yellow);
}

#resp-hr {
    margin: 32px;
    border: 1px solid var(--purple-2);
}
  
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}

/* <---> */

.about {
    margin: 45px auto;
}

.about h2 {
    margin: 30px 0;
}

.about .row {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.about .row .col {
    margin: auto 0;
}

.about .row .col p {
    font-size: 14px;
    line-height: 24px;
    margin: 20px 0;
    color: var(--grey-5);
}

.about .row .col-1 img {
    border: 2px solid var(--purple-1);
    border-radius: 50%;
}

.about .row .col-3 {
    display: none;
}

/* <---> */

.roles .cats {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    overflow: auto;
    gap: 30px;
    padding: 20px 0;
}

.roles .cats .cat {
    display: block;
}

.roles .cats .cat h3 {
    color: var(--purple-1);
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
}

.roles .cats .cat video {
    display: block;
    width: 50%;
    margin: 30px auto;
    border-radius: 5px;
    box-shadow: 2px 3px 6px var(--purple-1);
}

.roles .cats .hidden {
    display: none;
}

.roles .btns {
    text-align: center;
    justify-content: center;
    display: flex;
    padding: 20px 0;
}

.roles .btns a {
    text-decoration: none;
    margin: 0 20px;
}

.roles .btns button {
    padding: 10px 40px;
    background-color: transparent;
    border: 1px solid var(--purple-1);
    border-radius: 8px;
    color: var(--purple-1);
    font-size: 14px;
    transition: 0.3s;
    cursor: pointer;
}

.roles .btns button:hover {
    border: 1px solid var(--purple-2);
}

.roles .btns a button {
    background-color: var(--purple-1);
    color: var(--grey-1);
    border: 1px solid var(--purple-1);
}

.roles .btns a button:hover {
    background-color: transparent;
    color: var(--purple-1);
    border: 1px solid var(--purple-1);
}

.roles .btns .fa {
    padding-left: 5px;
    transition: 0.3s;
    color: var(--yellow);
}

.roles .btns a button:hover .fa {
    color: var(--purple-2);
}

/* <---> */

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1024px;
    margin: 30px auto;
}

.testimonial-card {
    position: relative;
    margin: 40px 0;
}

.profile-image {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-content {
    background: white;
    padding: 60px 30px 30px 30px;
    border-radius: 15px;
    box-shadow: 0 2px 5px var(--grey-1);
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.9s;
}

.card-content:hover {
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); */
    box-shadow: 0 3px 10px var(--yellow);
}

.quote-icons {
    color: var(--yellow);
    font-size: 18px;
    margin: 10px 0;
}

.testimonial-text {
    color: var(--grey-5);
    line-height: 1.6;
    margin: 20px 0;
    flex-grow: 1;
    display: block;
    align-items: center;
    font-size: 14px;
}

.author-info {
    margin-top: 20px;
}

.author-name {
    color: var(--purple-1);
    font-size: 18px;
    margin-bottom: 5px;
    font-family: var(--header-font);
    font-weight: 400;
    font-style: normal;
    margin: 10px 0;
}

.author-title {
    color: var(--purple-2);
    font-size: 14px;
    
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .card-content {
        padding: 50px 20px 20px 20px;
        min-height: auto;
    }
    .testimonial-text {
        font-size: 14px;
    }
}

/* <---> */

footer {
    background-color: var(--purple-1);
    margin-top: 50px;
}

footer .footer {
    width: 80%;
    margin: 0 auto;
}

footer .footer .row-1 {
    padding: 50px 0;
    display: flex;
    justify-content: space-evenly;
    gap: 30px;
}

footer .footer .row-1 .col h3 {
    color: var(--grey-1);
    padding: 0 30px 5px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--purple-2);
}

footer .footer .row-1 .col h3 .fa {
    padding-right: 5px;
    color: var(--yellow);
}

footer .footer .row-1 .col-1 {
    width: 15%;
}

footer .footer .row-1 .col-1 a {
    text-decoration: none;
}

footer .footer .row-1 .col-1 a img {
    width: 100%;
    display: block;
    border-radius: 50%;
    margin: 0 auto;
    filter: brightness(1);
    transition: 0.4s;
}

footer .footer .row-1 .col-1 a img:hover {
    filter: brightness(0.8);
}

footer .footer .row-1 .col-2 a, footer .footer .row-1 .col-4 a {
    display: block;
    margin: 15px 0;
    font-size: 14px;
    color: var(--grey-3);
    transition: 0.4s;
    width: fit-content;
}

footer .footer .row-1 .col-2 a:hover {
    color: var(--grey-1);
}

footer .footer .row-1 .col-4 a:hover {
    color: var(--purple-2);
}

footer .footer .row-1 .col-3 a {
    margin: 0 15px 0 0;
    font-size: 20px;
    color: var(--grey-3);
    transition: 0.4s;
}

footer .footer .row-1 .col-3 a:hover {
    color: var(--yellow);
}

footer .footer .row-2 p {
    text-align: center;
    font-size: 10px;
    line-height: 20px;
    padding: 30px 0;
    margin: 0;
    color: var(--grey-3);
}

footer .footer .row-2 p a {
    color: var(--grey-3);
    text-decoration: underline;
    transition: 0.3s;
}

footer .footer .row-2 p a:hover {
    color: var(--grey-1);
}

/* <---> */

@media screen and (max-width: 432px) {
    .header {
        display: none;
    }
    .resp-header {
        display: block;
    }
    .intro {
        display: none;
    }
    .resp-intro {
        display: block;
    }

    .about {
        padding: 0;
    }
    .about .row {
        display: block;
        justify-content: unset;
        gap: unset;
    }
    .about .col-1 {
        display: none;
    }
    .about .row .col-3 {
        display: block;
        padding: 20px 0;
        text-align: center;
    }
    .about .col-3 img {
        width: 70%;
        height: 70%;
        border: 2px solid var(--purple-1);
        border-radius: 50%;
    }

    .roles .cats {
        display: block;
    }
    .roles .cats .cat h3 {
        font-size: 16px;
    }
    .roles .cats .cat video {
        width: 70%;
        margin: 30px auto 50px auto;
    }
    .roles .btns {
        display: block;
    }
    .roles .btns a {
        margin: 0;
    }
    .roles .btns button {
        margin: 10px 0;
    }

    footer .footer {
        width: 90%;
    }
    footer .footer .row-1 {
        padding: 50px 0 10px 0;
        display: block;
        justify-content: unset;
        gap: unset;
    }
    footer .footer .row-1 .col {
        padding: 15px 0;
    }
    footer .footer .row-1 .col-1 {
        width: 30%;
        margin: 0 auto;
    }
    footer .footer .row-1 .col-1 a img {
        width: 100%;
        display: block;
        border-radius: 50%;
        margin: 0 auto;
    }
}

@media screen and (max-height: 516px) {
    .resp-header .resp-intro {
        height: 100%;
        padding: 50px 0;
    }
}
