/* =========================
   Theme Colors
========================= */
:root{
    --main-color: #be2edd;
    --second-color: #fd79a8;
    --dark-color: #1a051f;
    --white-soft: #fafafa;
    --bg-soft: #f8f8f8;
    --text-dark: #212529;
}

.main-color { color: var(--main-color); }
.second-color { color: var(--second-color); }
.black-color { color: var(--text-dark); }
.w-color { color: var(--white-soft); }

.main-bgc-color { background-color: var(--main-color); }
.dark-bgc-color { background-color: var(--dark-color); }
.w-bg-color { background-color: var(--bg-soft); }

/* =========================
   Global
========================= */
body {
    font-family: 'Tajawal', sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url('public/images/main/homepageBanner/9.png') center/cover no-repeat fixed;
    opacity: 0.35;
    z-index: -1;
}

.section {
    padding: 50px 0;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.8);
}


/* =========================
   Logo
========================= */
.logo-img {
    height: 110px;
    width: auto;
    object-fit: contain;
    transition: opacity .3s ease;
}

.logo-img:hover {
    opacity: .7;
}


/* =========================
   Navbar
========================= */
.navbar .nav-link {
    position: relative;
    padding-bottom: 8px;
    color: #be2edd;
    transition: color .3s ease;
}

.navbar .nav-link.active {
    color: #fd79a8;
    font-weight: 600;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 1px;
    background: rgb(190 46 221 / 25%);
}

.navbar .nav-link::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    transform: translateX(-50%);
    transition: width .35s ease;
    background: linear-gradient(
        90deg,
        transparent,
        #fd79a8,
        transparent
    );
}

.navbar .nav-link:hover {
    color: #fd79a8;
}

.navbar .nav-link:hover::before {
    width: 100%;
}


/* =========================
   Dropdown
========================= */
.dropdown-item {
    color: #be2edd;
    text-align: center;
    padding: 10px;
}

.dropdown-menu li:not(:last-child) .dropdown-item {
    border-bottom: 1px solid #fd79a8;
}


/* =========================
   Hero Section
========================= */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.carousel-inner {
    height: 400px;
}

.carousel-fade .carousel-item {
    transition: opacity 1.2s ease-in-out;
}

.hero-middle img {
    max-height: 70%;
    object-fit: cover;
}

.hero-bottom {
    position: relative;
}

.hero-bottom h3 {
    position: absolute;
    right: 9%;
    bottom: 14%;
    color: #be2edd;
    font-weight: bold;
}

.scroll-down {
    position: absolute;
    right: 6%;
    bottom: 14%;
    color: #fd79a8;
    transition: transform .3s;
}

.scroll-down:hover {
    transform: translateY(5px);
}


/* =========================
   Desktop
========================= */
@media (min-width: 992px) {
    .navbar-brand {
        position: absolute !important;
        left: 50%;
        transform: translateX(-50%);
    }
}


/* =========================
   Mobile
========================= */
@media (max-width: 991px) {
    .logo-img {
        display: none;
    }

    .mobile-brand {
        display: block !important;
        font-size: 18px;
        font-weight: 600;
        color: #be2edd;
        letter-spacing: 1px;
    }

    .navbar {
        padding: 10px 0;
    }
}



/* =========================
   Shared Auth Pages
========================= */
.auth-page {
    min-height: 100vh;
    padding: 90px 0;
    background: linear-gradient(135deg, #fff9fc, #fdf6ff);
}

.auth-card {
    overflow: hidden;
    border-radius: 30px;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(190,46,221,.12);
}

.auth-img {
    width: 100%;
    height: 100%;
    min-height: 700px;
    object-fit: cover;
}

.auth-content {
    padding: 60px;
}

.auth-title {
    color: var(--main-color);
    font-size: 2.5rem;
    font-weight: 700;
}

.auth-subtitle {
    margin-bottom: 35px;
    line-height: 1.8;
    color: #777;
}


/* =========================
   Form Elements
========================= */
.form-control {
    border: none;
    padding: 15px 20px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,.05);
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(190,46,221,.15);
}

.remember-check {
    accent-color: var(--main-color);
}

.error-text {
    margin-top: 8px;
    font-size: .9rem;
    color: #dc3545;
}


/* =========================
   Buttons & Links
========================= */
.auth-btn {
    width: 100%;
    border: none;
    padding: 14px;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    transition: .3s;
    background: linear-gradient(135deg, var(--main-color), var(--second-color));
}

.auth-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(190,46,221,.2);
}

.auth-link {
    color: var(--main-color);
    font-weight: 500;
    text-decoration: none;
}

.status-msg {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 15px;
    color: var(--main-color);
    background: rgba(190,46,221,.08);
}


/* =========================
   Mobile
========================= */
@media (max-width: 991px) {
    .auth-page {padding-top: 10px}

    .authimg{height: 50vh; overflow: hidden}

    .auth-img {object-fit: fill}

    .auth-subtitle {
        display: none;
    }

    .auth-content {
        padding: 35px;
    }

    .auth-title {
        font-size: 2rem;
    }
}


/* =========================
   ABOUT PAGE
========================= */
.about-page {
    background: linear-gradient(135deg, #fff9fc, #fdf6ff);
    min-height: 100vh;
    padding: 90px 0;
}

.about-card {
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(190,46,221,.12);
}

.author-photo {
    width: 100%;
    height: 650px;
    object-fit: cover;
}

.about-content {
    padding: 60px;
}

.about-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #be2edd;
    margin-bottom: 20px;
}

.about-subtitle {
    color: #fd79a8;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.about-text {
    line-height: 2;
    color: #555;
    font-size: 1.05rem;
}


/* =========================
   SHARED BOXES
========================= */
.quote-box {
    background: #fff;
    border-right: 5px solid #fd79a8;
    border-radius: 20px;
    padding: 25px;
    margin-top: 35px;
    font-style: italic;
    color: #666;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}


/* =========================
   STATS
========================= */
.stat-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    transition: .3s;
}

.stat-card:hover {
    transform: translateY(-8px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #be2edd;
}


/* =========================
   TIMELINE
========================= */
.timeline {
    margin-top: 70px;
}

.timeline-item {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
}


/* =========================
   CONTACT PAGE
========================= */
.contact-page {
    background: linear-gradient(135deg, #fff9fc 0%, #fdf6ff 100%);
    min-height: 100vh;
    padding: 80px 0;
}

.contact-hero {
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 50px rgba(190, 46, 221, 0.12);
}

.author-img {
    height: 100%;
    min-height: 550px;
    object-fit: cover;
    width: 100%;
}

.contact-content {
    padding: 60px;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #be2edd;
}

.section-subtitle {
    color: #6c757d;
    line-height: 1.9;
    font-size: 1.05rem;
}


/* =========================
   FORM
========================= */
.contact-form .form-control {
    border-radius: 18px;
    border: none;
    padding: 15px 20px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.contact-form .form-control:focus {
    box-shadow: 0 0 0 3px rgba(190,46,221,.15);
}

.send-btn {
    background: linear-gradient(135deg, #be2edd, #fd79a8);
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    transition: .4s;
}

.send-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(190,46,221,.25);
}


/* =========================
   CARDS
========================= */
.social-card {
    background: white;
    border-radius: 20px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,.06);
    transition: .3s;
}

.social-card:hover {
    transform: translateY(-8px);
}

.faq-box {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991px) {

    .about-page {
        padding-top: 10px !important;
    }

    .about-img {
        height: 50vh;
        overflow: hidden;
    }

    .about-page img {
        width: 100%;
        height: 100vh;
        object-fit: cover;
        display: block;
    }
}


/* =========================
   Footer
========================= */
footer .footer-link.active {
    padding-bottom: 5px;
    border-bottom: 2px solid var(--bg-soft);
}

footer .footer-link:hover {
    color: var(--bg-soft);
}


footer .content-one img {
    max-height: 120px;
    transition: opacity .6s ease;
}

footer:hover .content-one img {
    opacity: .8;
}

.more-links-btn {
    border: 2px solid var(--bg-soft);
    font-weight: 600;
    transition: all .3s ease-in-out;
}

.more-links-btn:hover {
    color: var(--bg-soft) !important;
    background: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
}

.social-icons a {
    display: inline-block;
    font-size: 1.2rem;
    transition: .3s ease;
}

.social-icons a:hover {
    font-size: 1.25rem;
    transform: translateY(-3px);
}

.content-two {
    opacity: .75;
}

@media(max-width: 767px){
    footer .list-unstyled{padding-right: 0}
}