/* Theme Name: AlMareifa
Author: Sara Alrayes (SaraIAlrayes@gmail.com)
Version: 1.0.0
*/

/* Colors Platee:
light grey: #dadada - rgba(218,218,218,255) 
dark pink: #a0154b - rgba(160,21,75,255)
dark blue: #272642 - rgba(39,38,66,255)
*/


/* Fonts */
@font-face {
    font-family: GESS2-B;
    src: url('assets/fonts/GE_SS_Two_Bold.otf')
}

@font-face {
    font-family: GESS2-M;
    src: url('assets/fonts/GE_SS_Two_Medium.otf')
}

@font-face {
    font-family: GESS2-L;
    src: url('assets/fonts/GE_SS_Two_Light.otf')
}

@font-face {
    font-family: MyriadPro-L;
    src: url('assets/fonts/MyriadPro-Light.otf')
}

@font-face {
    font-family: MyriadPro-R;
    src: url('assets/fonts/MYRIADPRO-Regular.OTF')
}

@font-face {
    font-family: MyriadPro-B;
    src: url('assets/fonts/MYRIADPRO-semibold.OTF')
}

/* General */
body {
    font-family: GESS2-L !important;
    overflow-x: hidden;
}

.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

a {
    transition: 0.5s;
}

a:hover {
    opacity: .8;
    text-decoration: none;
}

.content {
    font-size: 1.2rem;
    line-height: 3rem;
    text-align: justify;
    color: #272642;
}

/* Navbar  */
.navbar-container {
    background-color: #ECECEC;
    padding: 2rem 2rem 1rem;
}

.navbar-custom {
    background-color: #9b004d;
    border-radius: 5rem;
    padding: 0.5rem 1.5rem;
}

.navbar-custom .nav-link {
    color: white !important;
    margin: 0 0.5rem;
    transition: 0.5s;
}


/* Header Section */
.header-section {
    background-color: #ECECEC;
    padding: 1rem 2rem 2rem;
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;
}

.page-header-section {
    background-color: #ECECEC;
    padding: 1rem 2rem 2rem;
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;
}

.header-wrapper {
    background-size: cover;
    background-position: center;
    border-radius: 2rem;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.page-header-section .header-wrapper {
    min-height: 45vh;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-section .overlay {
    background-color: #272642;
    opacity: 0.6;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    transition: 0.5;
    display: block;
    z-index: 1;
}

.page-header-section h2 {
    color: #ECECEC;
    font-family: GESS2-B;
    z-index: 5;
}

.content-inner h2 {
    color: #e33666;
    font-family: GESS2-B;
}

/* About Section */
.center-card {
    background-color: #9b004d !important;
    text-align: center;
    border-radius: 1.5rem;
}

.about-section {
    direction: rtl;
}

.info-card {
    border-radius: 1.5rem;
    background-color: #f7f7f7;
    position: relative;
    z-index: 1;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #9b004d;
    text-align: justify;
}

.info-card h5 {
    font-family: GESS2-M;
}

.info-card.left p {
    padding-left: 4rem;
}

.info-card.right p {
    padding-right: 4rem;
}

/* Icon bubble */
.icon-bubble-wrapper {
    position: absolute;
    z-index: 2;
    padding: 1rem;
    background-color: #fff;
    bottom: 0;
    border-radius: 1rem;
}

.icon-bubble-wrapper.left {
    left: 0;
}

.icon-bubble-wrapper.right {
    right: 0;
}

.icon-bubble {
    background-color: #9b004d;
    border-radius: 1rem;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.icon-bubble i {
    color: #fff;
    font-size: 2rem;
}

/* Center card style */
.center-card {
    background-color: #9b004d !important;
    border-radius: 1.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Responsive behavior */
@media (max-width: 767.98px) {
    .info-card {
        text-align: center;
        padding-top: 2rem;
    }

    .icon-bubble-wrapper.right,
    .icon-bubble-wrapper.left {
        left: auto;
        right: 0;
    }

    .info-card.left p {
        padding-right: 4rem;
        padding-left: 0;
    }
    
    .vision-col {
        order: 1;
    }
    
    .center-col {
        order: 3;
    }
    
    .mission-col {
        order: 2;
    }
    
    .obj-col {
        order: 4;
    }
}

/* Projects Section */
#projects .title {
    font-family: GESS2-B;
    color: #9b004d;
}

#projects .item {
    border-radius: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f7f7f7;
}

#projects .item .title-col {
    padding: 2rem;
}

.title-col-wrapper {
    background-color: #9b004e;
    border-radius: 1.5rem;
    height: 100%;
    padding: 2rem;
}

#projects .item .title-col h3 {
    color: #fff;
    font-family: GESS2-B;
    margin-bottom: 0;
}

#projects .item .content-col {
    padding: 4rem 2rem 2rem;
    text-align: justify;
    color: #272642;
}


#projects .item .content-col h4 {
    font-family: GESS2-M;
    color: #9b004d;
    margin-bottom: 2rem;
}

#projects .item .content-col a {
    font-family: GESS2-M;
    color: #fff;
    background-color: #272642;
    border-radius: 2rem;
    display: block;
    width: 100%;
    text-align: center;
    padding: .5rem 1rem;
    font-size: 1.15rem;
}

/* News section */
.section-title {
    font-family: GESS2-B;
    color: #272642;
}

/* Make Owl Carousel stage a flexbox */
.news-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

/* Remove fixed width on Owl Item */
.news-carousel .owl-item {
    width: auto !important;
    flex: 0 0 auto;
    transition: flex 0.5s ease;
}

/* News Card Styles */
.news-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    width: 250px;
    border-radius: 1.5rem;
    transition: all 0.5s ease;
}

.news-img {
    width: 100%;
    height: 13rem;
    object-fit: cover;
}

.news-overlay {
    position: absolute;
    inset: 0;
    background: #272642d2;
    padding: 1rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    transition: all 0.4s ease;
}

.news-title {
    font-size: 1.2rem;
    font-family: GESS2-M;
}

.news-details {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    font-size: 0.9rem;
    text-align: justify !important;
}

.news-details p {
    margin-bottom: 0;
    text-align: justify !important;
}

.news-card .btn-container {
    text-align: left;
}

.news-card .btn {
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 2rem;
    color: #272642;
    background-color: #ECECEC;
    font-size: .85rem;
}

/* --- HOVER EFFECT --- */
.news-card:hover {
    width: 375px;
    /* Increase width */
    z-index: 5;
}

.news-card:hover .news-overlay {
    background: #27264282;
}

.news-card:hover .news-details {
    opacity: 1;
    max-height: 500px;
}

.news-card:hover .btn {
    opacity: 1;
}

/* Statistics Section */
#statistics .container {
    background-color: #ECECEC;
    border-radius: 2rem;
}

#statistics .stat-col div {
    width: fit-content;
    text-align: center;
    margin: auto;
}

#statistics .stat-col h3 {
    font-family: GESS2-B;
    color: #a0154b;
    font-size: 4rem;
    margin: 0;
}

#statistics .stat-col i,
#statistics .stat-col p {
    display: inline-block;
    color: #a0154b;
    font-size: 1.2rem;
    margin-bottom: 0;
}

#statistics .stat-col p {
    font-family: GESS2-M;
    /* font-size: rem; */
}

#statistics .stat-col i {
    margin-left: 5px;
}

/* Contact Section */
.contact-section {
    padding: 2rem;
    background-color: #272642;
    border-radius: 2rem;
}

.contact-wrapper {
    border-radius: 2rem;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    min-height: 70vh;
}

.map-container {
    position: relative;
}

.map-container .overlay {
    background-color: #272642;
    opacity: 0.4;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9;
}

.map-container iframe {
    height: 100%;
    width: 100%;
    border: none;
    display: block;
}

.contact-form-side {
    background-color: #ECECEC;
}

.form-header p {
    font-family: GESS2-M;
    color: #272642;
    padding-right: 5rem;
}

.contact-form-side .icon-bubble-wrapper {
    background-color: #272642;
}

.contact-form-side .icon-bubble-wrapper.right.top {
    right: -5px;
    top: -5px;
    bottom: auto;
}

.contact-form-side .icon-bubble {
    background-color: #ECECEC;
}

.contact-form-side .icon-bubble i {
    color: #272642;
}

.contact-form-side label {
    font-size: 1rem !important;
    color: #272642;
}

.contact-form-side input,
.contact-form-side textarea,
.contact-form-side .select2-selection,
.contact-form-side .select2-selection__rendered,
.forminator-select-dropdown {
    color: #272642 !important;
    border-radius: 2rem !important;
    font-family: GESS2-L !important;
    width: 100% !important;
    border: none;
    padding: .5rem !important;
    text-align: right;
}


.contact-form-side .select2-selection,
.contact-form-side .select2-selection__rendered {
    padding: 0 !important;
}

.contact-form-side input[type="email"] {
    font-family: MyriadPro-R !important;
}

.contact-form-side input:not([type="email"]),
.contact-form-side textarea {
    font-family: GESS2-L !important;
}

.contact-form-side .ff-el-group {
    margin-bottom: .75rem;
}

.contact-form-side .forminator-button-submit,
.contact-form-side button[type="submit"] {
    width: 100% !important;
    border-radius: 2rem !important;
    font-size: 1.15rem !important;
    background-color: #272642;
    color: #ECECEC !important;
    border: none !important;
    padding: .5rem !important;
    font-family: GESS2-M !important;
}

.contact-form-side .forminator-button-submit:hover {
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    opacity: 0.7;
}

.contact-form-side .forminator-has_error {
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

.contact-form-side .forminator-response-message {
    text-align: center;
    border-radius: 5rem;
}

.contact-form-side .forminator-response-message label {
    margin-bottom: 0;
}

.contact-form-side .forminator-has_error {
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

.contact-form-side .forminator-error-message {
    font-family: GESS2-L !important;
    font-size: .8rem;
    color: #e06666;
}

@media (max-width: 767.98px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-form-side {
        padding: 2rem 1rem;
        text-align: center;
    }

    .form-header {
        flex-direction: column;
        align-items: center;
    }

    .form-header img {
        margin-top: 1rem;
    }
}

/* About Page (Members) */
#members h2 {
    color: #272642;
    font-family: GESS2-M;
    text-align: center;
}

#members .member-col {
    margin-bottom: 2rem;
}

#members .member-col .img-container {
    border-radius: 50%;
    width: 40%;
    position: relative;
    background-color: rgba(160, 21, 75, .3);
    background-color: rgba(218, 218, 218, .3);
}

#members .member-col .img-container img {
    width: 100%;
    border-radius: 50%;
}

#members .member-info {
    background-color: #272642;
    border-radius: 2rem;
    padding: .5rem 1.5rem;
    text-align: center;
    margin-top: -2rem;
    z-index: 1;
    position: relative;
    width: 80%;
}

#members .member-info h5 {
    font-family: GESS2-M;
    color: #ECECEC;
}

#members .member-info p {
    color: #ECECEC;
    font-size: .95rem;
    margin-bottom: 0;
}


/* Governance */
#governace .governace {
    padding-top: 0;
    padding-bottom: 5rem;
    text-align: center;
}

#governace .title {
    font-family: GESS2-M;
    color: #272642;
}

#governace .governace a i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-left: .5rem;
    width: 1.75rem;
    height: 1.75rem;
    background-color: #ECECEC;
    color: #272642;
    border-radius: 100%;
    padding: .5rem;
}

#governace .governace .btn-container {
    background-color: #272642;
    border-radius: 2rem;
    transition: 0.5s;
    padding: .5rem .75rem;
}

#governace .governace a {
    color: #fff;
    font-size: 1.1rem;
    text-align: right;
}

#governace .governace a:hover {
    text-decoration: none;
}

#governace .governace .btn-container:hover {
    opacity: .7;
}

/* Footer */
footer.footer-section {
    background-color: #fff;
    padding: .5rem 2rem 1rem;
}

.footer-top {
    background-color: #9b004d;
    border-radius: 2rem;
    color: white;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.footer-social a {
    background-color: white;
    color: #9b004d;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}


.footer-logos img.footer-logo-img {
    height: 35px;
}

.footer-brand-img {
    height: 45px;
    margin-left: 0.5rem;
}

.footer-brand span {
    font-size: 1rem;
}

.footer-bottom {
    font-size: 0.85rem;
    color: #9b004d;
    background-color: #fff;
}

/* Mobile responsiveness */
@media (max-width: 767.98px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-social {
        margin-bottom: 1rem;
    }

    .footer-brand {
        margin-top: 1rem;
        margin-bottom: 1rem
    }

    .footer-logos {
        margin-bottom: 1rem
    }
}

/* Mobile-specific styles */
@media (max-width: 767.98px) {
    .header-wrapper::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: rgba(39, 38, 66, 0.75);
        z-index: 1;
    }

    .header-content {
        position: relative;
        z-index: 2;
        text-align: center !important;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 75vh;
        /* Match wrapper height */
    }

    .content-inner {
        margin: 0 auto;
    }
}

/* Desktop layout */
@media (min-width: 768px) {
    .header-wrapper {
        flex-direction: row;
    }

    .header-image {
        flex: 1;
        min-height: 75vh;
    }

    .header-content {
        /* flex: 1; */
        background: none;
        display: flex;
        align-items: center;
        padding: 4rem;
    }

    .content-inner {
        max-width: 20vw;
        margin-right: auto;
    }
}