/* =========================================================
   YOUTH PARLIAMENT GHANA
   MAIN STYLESHEET
   ========================================================= */


/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {
    --navy: #071b35;
    --navy-light: #0d2b50;

    --gold: #d7a928;
    --gold-light: #f0ca55;

    --white: #ffffff;

    --light: #f5f7fa;
    --text: #26364a;
    --muted: #6b7785;
    --border: #e4e8ed;

    --dark: #020c18;
}


/* =========================================================
   GLOBAL
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    background: rgba(7, 27, 53, 0.97);
    padding: 14px 0;
    transition: 0.3s ease;
    z-index: 1000;
}

.navbar-brand {
    color: var(--white);
}

.navbar-brand:hover {
    color: var(--white);
}


/* Temporary / text logo */

.brand-logo {
    width: 42px;
    height: 42px;

    background: var(--gold);
    color: var(--navy);

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 800;

    border-radius: 8px;

    margin-right: 10px;
}


/* Actual Youth Parliament logo */

.site-logo {
    width: 45px;
    height: 45px;

    object-fit: contain;

    margin-right: 10px;
}


/* Brand text */

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.1;
}

.brand-text strong {
    font-size: 15px;
}

.brand-text small {
    font-size: 12px;
    opacity: 0.75;
}


/* Navbar links */

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.85);

    font-size: 14px;

    margin-left: 15px;

    transition: 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--gold-light);
}


/* =========================================================
   GOLD BUTTON
   ========================================================= */

.btn-gold {
    background: var(--gold);

    border: 1px solid var(--gold);

    color: var(--navy);

    font-weight: 700;

    padding: 11px 20px;

    border-radius: 6px;

    transition: 0.3s ease;
}

.btn-gold:hover {
    background: var(--gold-light);

    border-color: var(--gold-light);

    color: var(--navy);
}

.btn-gold i {
    margin-left: 7px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero-section {
    min-height: 720px;

    background:
        linear-gradient(
            90deg,
            rgba(4, 18, 36, 0.96),
            rgba(4, 18, 36, 0.75),
            rgba(4, 18, 36, 0.35)
        ),
        url("../images/background1.webp") center/cover no-repeat;

    display: flex;
    align-items: center;

    position: relative;
}

.hero-content {
    padding-top: 80px;

    position: relative;

    z-index: 2;
}


/* Hero badge */

.hero-badge {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: rgba(215, 169, 40, 0.15);

    border: 1px solid rgba(215, 169, 40, 0.5);

    color: var(--gold-light);

    padding: 8px 14px;

    border-radius: 30px;

    font-size: 13px;

    margin-bottom: 20px;
}


/* Hero heading */

.hero-section h1 {
    color: var(--white);

    font-size: clamp(42px, 6vw, 72px);

    font-weight: 800;

    line-height: 1.05;

    max-width: 850px;
}

.hero-section h1 span {
    color: var(--gold-light);
}


/* Hero description */

.hero-description {
    color: rgba(255, 255, 255, 0.82);

    max-width: 650px;

    font-size: 18px;

    line-height: 1.8;

    margin: 25px 0 30px;
}


/* Hero buttons */

.hero-buttons {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section-padding {
    padding: 90px 0;
}

.section-heading {
    max-width: 700px;

    margin: auto;
}

.section-label {
    display: inline-block;

    color: #9a7410;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}

.section-heading h2,
.section-title {
    color: var(--navy);

    font-size: 36px;

    font-weight: 800;

    margin: 10px 0;
}

.section-heading p {
    color: var(--muted);

    line-height: 1.7;
}


/* =========================================================
   DIRECTORY
   ========================================================= */

.directory-card {
    height: 100%;

    border: 1px solid var(--border);

    border-radius: 16px;

    padding: 32px;

    display: flex;

    gap: 24px;

    background: var(--white);

    transition: 0.3s ease;
}

.directory-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 40px rgba(7, 27, 53, 0.08);
}


/* Directory icon */

.directory-icon {
    flex-shrink: 0;

    width: 60px;
    height: 60px;

    background: rgba(215, 169, 40, 0.14);

    color: #a67c0d;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    font-size: 25px;
}

.directory-card h3 {
    color: var(--navy);

    font-size: 21px;

    font-weight: 700;

    margin-bottom: 10px;
}

.directory-card p {
    color: var(--muted);

    line-height: 1.7;

    margin-bottom: 15px;
}

.directory-card a,
.news-content a,
.view-all {
    color: #9a7410;

    font-weight: 700;

    transition: 0.3s ease;
}

.directory-card a:hover,
.news-content a:hover,
.view-all:hover {
    color: var(--gold);
}

.directory-card a i,
.news-content a i,
.view-all i {
    margin-left: 5px;
}


/* =========================================================
   STATS
   ========================================================= */

.stats-section {
    background: var(--navy);

    padding: 65px 0;
}

.stat-box {
    color: var(--white);
}

.stat-box i {
    color: var(--gold-light);

    font-size: 27px;
}

.stat-box h3 {
    font-size: 38px;

    margin: 10px 0 0;

    font-weight: 800;
}

.stat-box p {
    margin: 0;

    color: rgba(255, 255, 255, 0.65);
}


/* =========================================================
   NEWS
   ========================================================= */

.news-card {
    height: 100%;

    border: 1px solid var(--border);

    border-radius: 14px;

    overflow: hidden;

    background: var(--white);

    transition: 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(7, 27, 53, 0.08);
}


/* News image */

.news-image,
.news-card-image {
    width: 100%;
    height: auto;
    background: var(--light);
    display: block;
    overflow: hidden;
}

.news-image img,
.news-card-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-image img,
.news-card:hover .news-image img {
    transform: scale(1.02);
}


/* News placeholder */

.news-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #9a7410;

    font-size: 45px;
}

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 12px;

    color: #9a7410;

    font-weight: 700;
}

.news-content h3 {
    font-size: 20px;

    color: var(--navy);

    margin: 10px 0;
}

.news-content p {
    color: var(--muted);

    line-height: 1.7;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    padding: 90px 20px;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--navy-light)
        );

    color: var(--white);
}

.cta-section h2 {
    font-size: 40px;

    font-weight: 800;

    margin: 10px 0 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);

    max-width: 650px;

    margin: 0 auto 25px;
}

.section-label.light {
    color: var(--gold-light);
}


/* =========================================================
   PRESIDENT SECTION
   MINISTER-STYLE LAYOUT
   ========================================================= */

.president-section {
    width: 100%;

    padding: 90px 0;

    background: #f7f8fa;
}


/* Main two-column layout */

.president-grid {
    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 500px 1fr;

    align-items: center;

    gap: 70px;
}


/* =========================================================
   PRESIDENT IMAGE
   ========================================================= */

.president-image {
    position: relative;

    width: 500px;

    height: 520px;

    overflow: hidden;

    border-radius: 14px;

    background: #eef1f5;

    box-shadow:
        0 15px 40px rgba(7, 27, 53, 0.12);
}


/* Top-left gold corner */

.president-image::before {
    content: "";

    position: absolute;

    top: -12px;
    left: -12px;

    width: 90px;
    height: 90px;

    border-top: 4px solid var(--gold);

    border-left: 4px solid var(--gold);

    z-index: 3;

    pointer-events: none;
}


/* Bottom-right gold corner */

.president-image::after {
    content: "";

    position: absolute;

    right: -12px;
    bottom: -12px;

    width: 90px;
    height: 90px;

    border-right: 4px solid var(--gold);

    border-bottom: 4px solid var(--gold);

    z-index: 3;

    pointer-events: none;
}


/* Actual President photo */

.president-image img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    border-radius: 14px;

    transition: transform 0.4s ease;
}

.president-image:hover img {
    transform: scale(1.02);
}


/* =========================================================
   PRESIDENT CONTENT
   ========================================================= */

.president-content {
    width: 100%;

    padding: 20px 0;
}


/* Office label */

.president-content .section-label {
    display: inline-block;

    color: #9a7410;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 15px;
}


/* President name */

.president-content h2 {
    color: var(--navy);

    font-size: 38px;

    font-weight: 800;

    line-height: 1.2;

    margin: 0 0 10px;
}


/* Position */

.president-content h3 {
    color: #9a7410;

    font-size: 19px;

    font-weight: 600;

    line-height: 1.5;

    margin: 0;
}


/* Gold line */

.president-content .heading-line {
    width: 60px;

    height: 4px;

    background: var(--gold);

    border-radius: 5px;

    margin: 25px 0;
}


/* President description */

.president-content p {
    color: var(--muted);

    max-width: 600px;

    font-size: 15px;

    line-height: 1.9;

    margin: 0 0 30px;
}


/* President button */

.president-content .btn-gold {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    white-space: nowrap;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: var(--dark);

    color: rgba(255, 255, 255, 0.65);

    padding: 80px 0 35px;

    border-top: 4px solid var(--gold);
}


/* Footer grid */

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1.3fr;

    gap: 50px;
}


/* Footer brand */

.footer-brand {
    display: flex;

    align-items: center;

    color: var(--white);

    margin-bottom: 20px;
}

.footer-brand:hover {
    color: var(--white);
}

.footer-brand .site-logo {
    width: 50px;

    height: 50px;

    object-fit: contain;

    margin-right: 12px;
}

.footer-brand strong {
    display: block;

    font-size: 16px;
}

.footer-brand small {
    display: block;

    color: var(--gold-light);

    margin-top: 3px;
}


/* Footer text */

.footer p {
    max-width: 450px;

    line-height: 1.8;
}


/* Footer columns */

.footer-column h5 {
    color: var(--white);

    font-size: 15px;

    margin-bottom: 20px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);

    display: block;

    margin-bottom: 12px;

    transition: 0.3s;
}

.footer-column a:hover {
    color: var(--gold-light);
}


/* Footer links */

.footer a {
    transition: 0.3s;
}

.footer a:hover {
    color: var(--gold-light);
}


/* Social links */

.social-links {
    display: flex;

    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    margin: 0;

    transition: 0.3s;
}

.social-links a:hover {
    background: var(--gold);

    color: var(--navy);

    border-color: var(--gold);
}


/* Footer divider */

.footer hr {
    border: 0;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    margin: 50px 0 25px;
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

    padding: 20px 0;

    font-size: 13px;

    line-height: 1.7;
}

.footer-bottom span {
    display: block;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) {

    .president-grid {
        grid-template-columns: 450px 1fr;

        gap: 50px;

        padding: 0 20px;
    }

    .president-image {
        width: 450px;

        height: 500px;
    }

    .president-content h2 {
        font-size: 34px;
    }

    .footer-grid {
        grid-template-columns:
            1.5fr
            1fr
            1fr
            1.2fr;

        gap: 35px;
    }

}


/* =========================================================
   TABLET - 991PX
   ========================================================= */

@media (max-width: 991px) {

    /* Navbar */

    .navbar .nav-link {
        margin-left: 0;

        padding: 12px 0;
    }

    .navbar .btn {
        margin-top: 10px;
    }


    /* Hero */

    .hero-section {
        min-height: 650px;
    }


    /* President */

    .president-section {
        padding: 75px 0;
    }

    .president-grid {
        grid-template-columns: 1fr;

        gap: 45px;

        padding: 0 20px;
    }

    .president-image {
        width: 500px;

        max-width: 100%;

        height: 500px;

        margin: 0 auto;
    }

    .president-content {
        text-align: center;
    }

    .president-content .heading-line {
        margin: 25px auto;
    }

    .president-content p {
        margin-left: auto;

        margin-right: auto;
    }


    /* Footer */

    .footer-grid {
        grid-template-columns:
            1fr
            1fr;

        gap: 40px;
    }

}


/* =========================================================
   MOBILE - 767PX
   ========================================================= */

@media (max-width: 767px) {

    /* General sections */

    .section-padding {
        padding: 65px 0;
    }


    /* Hero */

    .hero-section h1 {
        font-size: 44px;
    }

    .hero-description {
        font-size: 16px;
    }


    /* Directory */

    .directory-card {
        padding: 25px;

        flex-direction: column;
    }


    /* Section headings */

    .section-heading h2,
    .section-title {
        font-size: 30px;
    }


    /* CTA */

    .cta-section h2 {
        font-size: 30px;
    }


    /* President */

    .president-section {
        padding: 65px 0;
    }

    .president-image {
        height: 450px;
    }

    .president-content h2 {
        font-size: 30px;
    }

    .president-content h3 {
        font-size: 17px;
    }

    .president-content p {
        font-size: 14px;
    }


    /* Footer */

    .footer {
        padding: 65px 0 35px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer .container {
        padding-left: 25px;

        padding-right: 25px;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 10px;

        padding: 15px 0;
    }

}


/* =========================================================
   MOBILE - 576PX
   ========================================================= */

@media (max-width: 576px) {

    /* Hero */

    .hero-section {
        min-height: 600px;
    }

    .hero-section h1 {
        font-size: 38px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }


    /* Directory */

    .directory-card {
        padding: 22px;

        gap: 18px;
    }

    .directory-icon {
        width: 55px;
        height: 55px;

        font-size: 22px;
    }


  /* News */

.news-image,
.news-card-image {
    height: auto;
}


    /* President */

    .president-section {
        padding: 60px 0;
    }

    .president-grid {
        padding: 0 18px;

        gap: 35px;
    }

    .president-image {
        width: 100%;

        max-width: 100%;

        height: 400px;

        border-radius: 12px;
    }

    .president-image::before,
    .president-image::after {
        width: 65px;

        height: 65px;

        border-width: 3px;
    }

    .president-content {
        padding: 0;
    }

    .president-content .section-label {
        font-size: 11px;

        letter-spacing: 1.5px;
    }

    .president-content h2 {
        font-size: 27px;

        line-height: 1.25;
    }

    .president-content h3 {
        font-size: 16px;
    }

    .president-content p {
        font-size: 14px;

        line-height: 1.8;
    }

    .president-content .btn-gold {
        width: 100%;
    }


    /* CTA */

    .cta-section {
        padding: 70px 20px;
    }

    .cta-section h2 {
        font-size: 28px;
    }


    /* Footer */

    .footer {
        padding: 60px 0 30px;
    }

    .footer-brand .site-logo {
        width: 45px;

        height: 45px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 375px) {

    .hero-section h1 {
        font-size: 34px;
    }

    .president-image {
        height: 350px;
    }

    .president-content h2 {
        font-size: 24px;
    }

    .president-content h3 {
        font-size: 15px;
    }
    /* =====================================================
   MAVIS / PRESIDENT PROFILE
===================================================== */

.profile-hero {
    padding: 70px 5%;
    background: #f7f8fa;
}

.profile-container {
    max-width: 1180px;
    margin: auto;

    display: grid;
    grid-template-columns: 45% 55%;

    align-items: center;
    gap: 55px;
}


/* =====================================================
   PROFILE IMAGE
===================================================== */

.profile-image-wrapper {
    position: relative;
    min-height: 580px;
}

.profile-image-wrapper .gold-decoration {
    position: absolute;

    top: -18px;
    left: -18px;

    width: 120px;
    height: 120px;

    background: #d4af37;

    border-radius: 12px;

    z-index: 1;
}

.profile-image {
    position: relative;

    z-index: 2;

    width: 100%;
    height: 580px;

    object-fit: cover;

    display: block;

    border-radius: 15px;
}


/* =====================================================
   PROFILE CONTENT
===================================================== */

.profile-content {
    padding: 10px 0;
}

.profile-label {
    display: block;

    margin-bottom: 16px;

    color: #b18a1b;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    line-height: 1.6;

    text-transform: uppercase;
}


.profile-content h1 {
    margin: 0;

    color: #10243e;

    font-size: 46px;

    line-height: 1.1;

    font-weight: 900;
}


.profile-content h2 {
    margin: 14px 0 0;

    color: #b18a1b;

    font-size: 20px;

    line-height: 1.5;

    font-weight: 700;
}


/* =====================================================
   GOLD LINE
===================================================== */

.profile-line {
    width: 65px;

    height: 4px;

    background: #d4af37;

    margin: 25px 0;
}


/* =====================================================
   PROFILE DESCRIPTION
===================================================== */

.profile-content > p {
    margin-bottom: 18px;

    color: #687589;

    font-size: 15px;

    line-height: 1.9;
}


/* =====================================================
   INFORMATION CARDS
===================================================== */

.profile-info-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;

    margin-top: 30px;
}


.profile-info-card {
    padding: 20px 16px;

    background: #ffffff;

    border: 1px solid #e5e8ec;

    border-radius: 10px;

    transition: all 0.3s ease;
}


.profile-info-card:hover {
    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}


.profile-info-card i {
    display: block;

    margin-bottom: 15px;

    color: #c79b25;

    font-size: 22px;
}


.profile-info-card span {
    display: block;

    margin-bottom: 6px;

    color: #8993a2;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.3px;
}


.profile-info-card strong {
    display: block;

    color: #172b45;

    font-size: 12px;

    line-height: 1.5;
}


/* =====================================================
   FULL PROFILE DETAILS
===================================================== */

.profile-details {
    padding: 70px 5%;

    background: #ffffff;
}


.details-container {
    max-width: 1100px;

    margin: auto;
}


.details-heading {
    margin-bottom: 28px;
}


.details-heading span {
    display: block;

    color: #b18a1b;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.details-heading h2 {
    margin: 8px 0 0;

    color: #10243e;

    font-size: 30px;

    line-height: 1.3;

    font-weight: 800;
}


.profile-description {
    max-width: 950px;

    margin-bottom: 18px;

    color: #687589;

    font-size: 15px;

    line-height: 1.9;
}


/* =====================================================
   PROFESSIONAL DETAILS
===================================================== */

.details-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;

    margin-bottom: 65px;
}


.detail-box {
    padding: 20px;

    background: #f6f7f9;

    border-radius: 9px;

    border: 1px solid #e9ebee;
}


.detail-box span {
    display: block;

    margin-bottom: 7px;

    color: #8993a2;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.3px;
}


.detail-box strong {
    display: block;

    color: #172b45;

    font-size: 14px;

    line-height: 1.5;
}


/* =====================================================
   MANDATE
===================================================== */

.mandate-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-bottom: 65px;
}


.mandate-card {
    padding: 28px;

    background: #f6f7f9;

    border-radius: 10px;

    border-top: 4px solid #d4af37;
}


.mandate-number {
    margin-bottom: 12px;

    color: #d4af37;

    font-size: 28px;

    font-weight: 900;
}


.mandate-card h3 {
    margin-bottom: 12px;

    color: #172b45;

    font-size: 15px;

    line-height: 1.5;
}


.mandate-card p {
    margin: 0;

    color: #687589;

    font-size: 13px;

    line-height: 1.8;
}


/* =====================================================
   CONTACT
===================================================== */

.contact-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;

    margin-bottom: 35px;
}


.contact-grid a {
    display: flex;

    align-items: center;

    gap: 16px;

    padding: 20px;

    color: #172b45;

    text-decoration: none;

    background: #f6f7f9;

    border-radius: 9px;

    border: 1px solid #e9ebee;

    transition: 0.3s ease;
}


.contact-grid a:hover {
    transform: translateY(-2px);

    border-color: #d4af37;
}


.contact-grid i {
    color: #c79b25;

    font-size: 23px;
}


.contact-grid span {
    display: block;

    margin-bottom: 5px;

    color: #8993a2;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;
}


.contact-grid strong {
    font-size: 13px;
}


/* =====================================================
   OFFICE NOTE
===================================================== */

.office-note {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 25px;

    margin-bottom: 35px;

    background: #f6f7f9;

    border-left: 4px solid #d4af37;

    border-radius: 5px;
}


.office-note > i {
    color: #c79b25;

    font-size: 26px;
}


.office-note h3 {
    margin: 0 0 8px;

    color: #172b45;

    font-size: 17px;
}


.office-note p {
    margin: 0;

    color: #687589;

    font-size: 14px;

    line-height: 1.8;
}


/* =====================================================
   GOLD BUTTON
===================================================== */

.btn-gold {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 13px 22px;

    background: #d4af37;

    color: #ffffff;

    text-decoration: none;

    border-radius: 6px;

    font-size: 13px;

    font-weight: 700;

    transition: all 0.3s ease;
}


.btn-gold:hover {
    background: #b18a1b;

    color: #ffffff;

    transform: translateY(-2px);
}


/* =====================================================
   BACK PROFILE
===================================================== */

.back-profile {
    margin-top: 35px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .profile-container {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .profile-image-wrapper {
        min-height: 500px;
    }


    .profile-image {
        height: 500px;
    }


    .profile-content h1 {
        font-size: 40px;
    }


    .mandate-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    .profile-hero {
        padding: 40px 20px;
    }


    .profile-details {
        padding: 45px 20px;
    }


    .profile-image-wrapper {
        min-height: 420px;
    }


    .profile-image {
        height: 420px;
    }


    .profile-content h1 {
        font-size: 32px;
    }


    .profile-content h2 {
        font-size: 17px;
    }


    .profile-info-grid {
        grid-template-columns: 1fr;
    }


    .details-grid {
        grid-template-columns: 1fr;
    }


    .contact-grid {
        grid-template-columns: 1fr;
    }


    .gold-decoration {
        width: 80px;
        height: 80px;

        top: -10px;
        left: -8px;
    }

}


@media (max-width: 450px) {

    .profile-image-wrapper {
        min-height: 350px;
    }


    .profile-image {
        height: 350px;
    }


    .profile-content h1 {
        font-size: 27px;
    }


    .profile-label {
        font-size: 10px;

        letter-spacing: 1.5px;
    }


    .details-heading h2 {
        font-size: 24px;
    }

}
/* ================= GREETING POPUP ================= */

.greeting-popup {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 14px 25px;

    background: #ffffff;
    color: #0b1f3a;

    border-radius: 50px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);

    font-size: 18px;
    font-weight: 700;

    animation: greetingIn 0.6s ease;
}

.greeting-popup.hide {
    animation: greetingOut 0.6s ease forwards;
}

#greeting-icon {
    font-size: 22px;
}

/* Slide in */

@keyframes greetingIn {
    from {
        opacity: 0;
        transform: translate(-50%, -25px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Slide out */

@keyframes greetingOut {
    from {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    to {
        opacity: 0;
        transform: translate(-50%, -25px);
    }
}

/* Mobile */

@media (max-width: 600px) {

    .greeting-popup {
        top: 75px;
        padding: 12px 20px;
        font-size: 15px;
    }

    #greeting-icon {
        font-size: 19px;
    }

}
/* ================= GREETING ANIMATION ================= */

#greeting-popup {
    position: fixed !important;
    top: 100px !important;
    left: 50% !important;

    display: flex !important;
    align-items: center !important;
    gap: 10px !important;

    padding: 15px 28px !important;

    background: #ffffff !important;
    color: #111827 !important;

    border-radius: 50px !important;

    font-size: 19px !important;
    font-weight: 700 !important;

    box-shadow: 0 8px 30px rgba(0,0,0,0.20) !important;

    z-index: 99999999 !important;

    opacity: 0 !important;
    visibility: hidden !important;

    /* Start position */
    transform: translate(-50%, -35px) scale(0.92) !important;

    transition:
        opacity 1.2s ease,
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 1.2s ease !important;
}


/* SHOW */

#greeting-popup.show {
    opacity: 1 !important;
    visibility: visible !important;

    transform: translate(-50%, 0) scale(1) !important;
}


/* ICON */

#greeting-icon {
    font-size: 25px !important;

    animation: greetingIcon 1.5s ease-in-out infinite alternate;
}


/* ICON GENTLE MOVEMENT */

@keyframes greetingIcon {

    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-3px);
    }

}
   /* =========================================================
   MOBILE HEADER + HERO FIX
   ========================================================= */

/* Keep the header/navbar above everything */
.navbar {
    position: relative;
    z-index: 9999;
}

/* ---------------------------------------------------------
   MOBILE NAVBAR
   --------------------------------------------------------- */
@media (max-width: 991px) {

    .navbar {
        width: 100%;
        padding: 12px 18px;
    }

    .navbar .container,
    .navbar .container-fluid {
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    /* Logo stays on the LEFT */
    .navbar-brand {
        margin-right: auto !important;
        display: flex;
        align-items: center;
    }

    /* Hamburger stays on the RIGHT */
    .navbar-toggler {
        margin-left: auto !important;
        margin-right: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 10001;
    }

    /* Mobile dropdown menu */
    .navbar-collapse {
        width: 100%;
        margin-top: 12px;
        padding: 10px 0 5px;
        background: var(--dark, #0b1220);
        border-radius: 0 0 12px 12px;
    }

    .navbar-nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        width: 100%;
        display: block;
        padding: 12px 18px !important;
        text-align: left;
    }

    /* Explore Directory button/link */
    .navbar-nav .btn,
    .navbar-nav .nav-btn {
        width: calc(100% - 36px);
        margin: 8px 18px;
        text-align: center;
    }
}


/* =========================================================
   HERO — KEEP IT BELOW THE HEADER
   ========================================================= */

.hero,
.hero-section {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Make sure hero does not move underneath navbar */
@media (max-width: 991px) {

    .hero,
    .hero-section {
        margin-top: 0 !important;
        padding-top: 70px !important;
    }

    .hero .container,
    .hero-section .container {
        position: relative;
        z-index: 2;
    }

    /* Main hero heading */
    .hero h1,
    .hero-section h1 {
        position: relative;
        z-index: 2;
        margin-top: 0 !important;
    }

    /* Hero subtitle/text */
    .hero p,
    .hero-section p {
        position: relative;
        z-index: 2;
    }
}


/* =========================================================
   PREVENT "EMPOWERMENT" / HERO TEXT FROM ENTERING HEADER
   ========================================================= */

@media (max-width: 767px) {

    .hero,
    .hero-section {
        clear: both;
        width: 100%;
        min-height: auto;
        padding-top: 75px !important;
    }

    .hero-content,
    .hero-text {
        position: relative;
        z-index: 2;
        width: 100%;
    }

    .hero h1,
    .hero-section h1 {
        font-size: clamp(2rem, 9vw, 3rem);
        line-height: 1.15;
        margin-top: 0 !important;
        margin-bottom: 18px;
    }
}





/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 576px) {

    .navbar {
        padding: 10px 15px;
    }

    .navbar-brand img {
        max-width: 48px;
        height: auto;
    }

    .navbar-toggler {
        padding: 7px 9px;
    }

    .hero,
    .hero-section {
        padding-top: 65px !important;
    }

    .hero h1,
    .hero-section h1 {
        font-size: 2rem;
        line-height: 1.15;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 375px) {

    .navbar {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero,
    .hero-section {
        padding-top: 60px !important;
    }

    .hero h1,
    .hero-section h1 {
        font-size: 1.8rem;
    }
}

   


/* MOBILE */

@media (max-width: 600px) {

    #greeting-popup {
        top: 85px !important;
        padding: 12px 22px !important;
        font-size: 16px !important;
        white-space: nowrap !important;
    }

    #greeting-icon {
        font-size: 21px !important;
    }

}
}
