@import url('https://fonts.googleapis.com/css2?family=Vujahday+Script&family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');

:root {
    /* Colors */
    --primary-color: #fdfdfd;
    --font_color: #fbc97a;
    --main_font: "Zain", sans-serif;
    --elegant_font: "Great Vibes", cursive;
    --header_font: "Corinthia", cursive;
    --secondary_color: #1e2a38;
    --bck_color: #e8e9eb90;
    --nav_color: #e8e9ebd6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {
    font-size: 62.5%;
    font-family: var(--main_font);
    scroll-behavior: smooth;

}

body {
    width: 100%;
    background-color: var(--primary-color);
}

img {
    -webkit-user-select: none;
    user-select: none;
}


/* Header Section */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    width: 100vw;
    top: 0;
    z-index: 1000;
    background-color: var(--nav_color);
    -webkit-user-select: none;
    user-select: none;
}

.logo a {
    color: var(--gold);
    font-size: 3rem;
    font-weight: bold;
    text-decoration: none;
    font-family: var(--main_font);
    /* Elegant font for logo */
}

/* Navigation Links */
.nav_links {
    display: flex;
    gap: 20px;


}

.nav_link {
    position: relative;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    font-weight: bold !important;
}

.nav_link:hover {
    color: var(--font_color);
    transform: translateY(-2px) scale(1.05);
    /* slight lift and scale */
}

.nav_link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background-color: var(--font_color);
    transition: width 0.3s ease;
}

.nav_link:hover::after {
    width: 100%;
}

/* Optional: Slight delay for a fancier look */
.nav_links ul li:nth-child(1) .nav_link {
    transition-delay: 0s;
}

.nav_links ul li:nth-child(2) .nav_link {
    transition-delay: 0.05s;
}

.nav_links ul li:nth-child(3) .nav_link {
    transition-delay: 0.1s;
}

.nav_links ul li:nth-child(4) .nav_link {
    transition-delay: 0.15s;
}

.nav_links ul li:nth-child(5) .nav_link {
    transition-delay: 0.2s;
}


.nav_links ul {
    list-style: none;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav_links ul li a {
    text-decoration: none;
    color: var(--secondary_color);
    font-size: 2rem !important;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    font-weight: bold !important;
}

.nav_links ul li a:hover {
    color: var(--gold);
}

/* Dropdown Container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Trigger */
.dropdown>a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    padding: 5px 10px;
    cursor: pointer;
    transition: color 0.3s ease;
    display: inline-flex;
    /* Align the trigger properly */
    align-items: center;
    /* Center text and icon */
}

.dropdown>a:hover {
    color: var(--gold);
}

/* Dropdown Content */
.dropdown-content {
    display: none;
    /* Hidden by default */
    position: absolute;
    top: 100%;
    /* Align directly below the trigger */
    left: 0;
    background-color: var(--font_color);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 10px 0;
    z-index: 10;
    min-width: 180px;
    /* Ensures consistent width */
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Dropdown Links */
.dropdown-content li {
    list-style: none;
}

.dropdown-content li a {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-content li a img {
    margin-right: 10px;
    /* Adds space between the flag and text */
    width: 20px;
    height: 20px;
    border-radius: 50%;
    /* Makes icons circular for aesthetics */
}

.dropdown-content li a:hover {
    background-color: #555;
    /* Highlight effect */
    color: var(--gold);
}

/* Adjust the default state of the dropdown for non-hover */
.dropdown-content {
    visibility: hidden;
    /* Ensures no visual issues when not hovered */
    opacity: 0;
    transform: translateY(-10px);
    /* Slightly hidden above */
    transition: all 0.3s ease-in-out;
}

/* When hovered */
.dropdown:hover .dropdown-content {
    visibility: visible;
    /* Make visible on hover */
    opacity: 1;
    transform: translateY(0);
    /* Slide into position */
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .dropdown-content {
        left: auto;
        right: 0;
        /* Align dropdown to the right on smaller screens */
    }
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
}

/* Change burger lines color when open */
.burger-menu.open span {
    background-color: var(--secondary_color);
    /* or any specific color like #fff or #000 */
}


.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--font_color);
    transition: all 0.3s ease;
}

/* Rotate burger lines when active */
.burger-menu.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.open span:nth-child(2) {
    opacity: 0;
}

.burger-menu.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .nav_links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--font_color);
        color: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        transition: right 0.3s ease;
    }

    .nav_links.active {
        right: 0;
    }

    .burger-menu {
        display: flex;

    }

    .nav_links ul {
        flex-direction: column;
        gap: 20px;
    }
}




/* About Us Section */

.about-us {
    display: flex;
    margin-top: 5rem;
    flex-direction: row;
    width: 100%;
    height: 70vh;
    justify-content: center;
    gap: 10rem;
    align-items: center;
    background-color: var(--primary-color);
}

.about-quote {
    margin-top: 20px;
    padding: 15px 25px;
    font-style: italic;
    color: #555;
    border-left: 4px solid var(--font_color);
    background-color: #f9f9f9;
    border-radius: 8px;
}


.about-text {
    width: 45%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: start;
    font-size: 1.7rem;
    color: var(--secondary_color);
}

.about_us {
    color: var(--secondary_color) !important;
    margin-bottom: 0 !important;
}


.about-image {
    height: fit-content;
    width: 30%;
}

.about-image img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.learn-more-btn {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--font_color);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.7rem;
}






/* Footer Section */

.footer {
    font-family: 'Segoe UI', sans-serif;
    background-color: #fdfbfa;
    padding: 40px;
    color: #4a4a4a;
    border-top: 1px solid #e6e6e6;
}

.footer_top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer_brand {
    max-width: 300px;
}

.footer_brand .logo {
    height: 80px;
    margin-bottom: 10px;
}

.footer_brand p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #4a4a4a;
}

.social_icons {
    display: flex;
    gap: 12px;
    font-size: 18px;
    margin-bottom: 15px;
    color: #4a4a4a;
}

.status {
    font-size: 14px;
    padding: 6px 12px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    display: inline-block;
}

.footer_links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer_column h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer_column a {
    display: block;
    margin-bottom: 8px;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
}

.footer_column .badge {
    background-color: #d1fae5;
    color: #047857;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 12px;
    margin-left: 6px;
}

.footer_bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 13px;
    margin-top: 40px;
    color: #6b7280;
    border-top: 1px solid #e6e6e6;
    padding-top: 20px;
}

.footer_bottom .bottom_links a {
    margin-left: 20px;
    text-decoration: none;
    color: #6b7280;
}



@media screen and (max-width: 768px) {
    .about-us {
        margin-top: 5rem;
        flex-direction: column;
        height: auto;
        gap: 5rem;
    }

    .about-text {
        width: 100%;
        height: auto;
        align-items: center;
        text-align: center;
    }

    .about-image {
        width: 100%;
        height: auto;
    }

    .footer_top {
        flex-direction: column;
        align-items: center;
    }

    .footer_links {
        flex-direction: column;
        align-items: center;
    }
}


@media screen and (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    /* Nav Section */
    .logo a {
        font-size: 2rem;

    }


    /* About Section  */
    .about-us {
        flex-direction: column;
        height: fit-content;
        gap: 3rem;
    }

    .about-text p {
        font-size: 1.4rem;
        margin-top: 1rem;
    }

    .about-text {
        width: 80%;
        height: fit-content;
        margin-top: 2rem;
    }

    .about-image {
        width: 80%;
        height: 80%;
        margin-bottom: 3rem;
    }

    .footer_links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
        align-content: flex-start;
        margin-left: 2rem;

    }

    .footer_div {
        display: flex;
        flex-direction: row;
        gap: 2rem;
    }

    .footer_column {
        width: 70%;
        margin-bottom: 2rem;
    }
}

.footer_div {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

/* Center and size the logo correctly */
header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    /* center image + text within the logo container */
    gap: 0.5rem;
}

header .logo .name_logo {
    max-height: 50px;
    /* constrain height */
    width: auto;
    /* preserve aspect ratio */
    display: block;
    /* ensure proper block formatting */
}

header .logo a {
    display: flex;
    /* ensure link wraps image + text evenly */
    align-items: center;
    /* vertically center text beside image */
    font-size: 2rem;
    line-height: 1;
    text-decoration: none;
    /* remove underline */
    color: inherit;
    /* inherit from parent */
}