/* ===== COLOR VARIABLES ===== */
:root {
    --primary: #5e3138;
    --accent: #a55a63;
    --dark: #2e1518;

    --light: #f8f5f6;
    --section: #efe7e9;
    --white: #ffffff;

    --heading: #4a2329;
    --text: #333333;
    --muted: #777777;

    --gold: #cc9f4c;
    --border: #d8b4b8;
}

.mean-container .mean-bar {
    float: left;
    width: 100%;
    position: relative;
    background: var(--primary);
    padding: 4px 0;
    min-height: 42px;
    z-index: 999999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.mean-container .mean-nav ul li a.mean-expand .mean-container .mean-nav ul li a.mean-expand:hover {
    background: var(--primary);
}

.mean-container .mean-nav ul li {
    position: relative;
    float: left;
    width: 100%;
    background: var(--primary);
}

/* ===== HEADER TOP ===== */
.header-top {
    background: var(--primary) !important;
}

.header-top a {
    color: #fff !important;
    font-weight: 500;
}

.header-top a:hover {
    color: var(--gold) !important;
}

.pull-right {
    margin: 7.5px -15px;
    position: unset !important;
}

/* ===== NAVBAR ===== */
header .header-body {
    position: relative !important;
    background: var(--white) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

header .header-body .edu-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent !important;
    padding: 12px 0;
}

/* LOGO */
#nav-logo {
    height: 55px !important;
    max-width: 180px;
    position: static;
}

header .header-body .edu-navbar .navbar-header {
    display: flex;
    align-items: center;
}

header .header-body .edu-navbar .navbar-header a img {
    float: none !important;
}

header .header-body .edu-navbar .edu-nav {
    margin-left: auto;
}

/* ===== MENU ===== */
header .header-body .edu-navbar .edu-nav .nav li {
    margin-left: 25px;
}

/* NORMAL LINKS */
header .header-body .edu-navbar .edu-nav .nav li a {
    color: var(--primary) !important;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    transition: 0.3s;
}

/* HOVER EFFECT */
header .header-body .edu-navbar .edu-nav .nav li a:hover {
    color: var(--accent) !important;
}

/* UNDERLINE ANIMATION */
header .header-body .edu-navbar .edu-nav .nav li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    /* background: var(--accent); */
    transition: 0.3s;
}

header .header-body .edu-navbar .edu-nav .nav li a:hover::after {
    width: 100%;
}

/* ===== ACTIVE BUTTON ===== */
header .header-body .edu-navbar .edu-nav .nav>li.active>a {
    background: linear-gradient(45deg, var(--primary), var(--accent)) !important;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 8px;
}

/* DROPDOWN ACTIVE ITEM */
header .header-body .edu-navbar .edu-nav .nav li ul.dropdown li.active a {
    background: var(--primary);
    color: #fff !important;
    border-radius: 6px;
}

header .header-body .edu-navbar .edu-nav .nav li ul.dropdown li a {
    color: var(--primary) !important;
}

/* REMOVE OLD RED LINE */
header .header-body .edu-navbar .edu-nav .nav li a:before {
    display: none !important;
}

/* ===== DROPDOWN FIX ===== */
header .header-body .edu-navbar .edu-nav .nav li ul.dropdown {
    min-width: 220px;
    /* wider */
    padding: 10px 0;
    background: #ffffff !important;
    /* border-radius: 12px; */
    border-top: 3px solid var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    margin-top: 12px;
}

/* dropdown items */
header .header-body .edu-navbar .edu-nav .nav li ul.dropdown li {
    width: 100%;
}

/* links */
header .header-body .edu-navbar .edu-nav .nav li ul.dropdown li a {
    display: block;
    padding: 12px 20px;
    /* more height */
    color: var(--primary) !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
}

/* hover effect */
header .header-body .edu-navbar .edu-nav .nav li ul.dropdown li a:hover {
    background: var(--section) !important;
    color: var(--accent) !important;
    padding-left: 25px;
    /* slight movement */
}

/* spacing between items */
header .header-body .edu-navbar .edu-nav .nav li ul.dropdown li:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

/* ===== DROPDOWN ARROW FIX ===== */
header .header-body .edu-navbar .edu-nav .nav li ul.dropdown::before {
    top: -5px;
    left: 25px;
    height: 10px;
    width: 10px;
    background: #ffffff;
    border-left: 3px solid var(--primary);
    border-top: 3px solid var(--primary);
    transform: rotate(45deg);
}

/* REMOVE MOVEMENT */
header .header-body .edu-navbar .edu-nav .nav li a {
    margin-bottom: 0 !important;
    transform: none !important;
    display: inline-block;
}

/* KEEP SAME HEIGHT */
header .header-body .edu-navbar .edu-nav .nav li a,
header .header-body .edu-navbar .edu-nav .nav li.active a {
    padding: 10px 16px !important;
    line-height: normal;
}

/* REMOVE HOVER SHIFT */
header .header-body .edu-navbar .edu-nav .nav li a:hover {
    transform: none !important;
}

.edu-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-header {
    display: flex;
    align-items: center;
    /* gap: 15px; clean spacing */
}

.edu-nav {
    display: flex;
    align-items: center;
}

/* ===== FOOTER MAIN ===== */
.footer {
    background: #5e3138 !important;
    /* primary */
    color: #fff;
}

/* LINKS */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a,
h3 {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #f8f7f3;
    /* yellow accent */
}

/* CONTACT */
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 8px;
    color: #fff;
}

.footer-contact i {
    margin-right: 8px;
    color: #f8f7f3;
    /* yellow */
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
    background: #4a252b;
    /* darker shade of primary */
    padding: 15px 0;
    margin-top: 30px;
}

.footer-bottom p {
    margin: 0;
    color: #ddd;
}

/* ===== SOCIAL ICONS ===== */
.social-icons a {
    display: inline-block;
    margin-left: 10px;
    color: #5e3138;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    background: #f8f7f3;
    /* yellow */
    transition: 0.3s;
}

.social-icons a:hover {
    background: #fff;
    color: #5e3138;
}

/* ===== FOOTER LOGO ===== */
.footer-logo-box img {
    height: 60px;
    transition: 0.3s;
}

.footer-logo-box img:hover {
    transform: scale(1.05);
}

.footer-desc {
    color: #eee;
    line-height: 1.6;
}

/* ===== STRUCTURED LINKS ===== */
.structured-links li {
    margin-bottom: 12px;
}

.structured-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.structured-links i {
    font-size: 14px;
    color: #5e3138;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 5px;
    background: #f8f7f3;
    /* yellow */
    transition: 0.3s;
}

.structured-links a:hover {
    color: #f8f7f3;
    transform: translateX(5px);
}

.structured-links a:hover i {
    background: #fff;
    color: #5e3138;
}

/* ===== FOOTER LOGO SECTION ===== */
.footer-logo-section img {
    height: 80px;
    margin-bottom: 15px;
}

.footer-logo-section p {
    color: #eee;
}

/* ===== MAP ===== */
.footer-map iframe {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .footer-logo-section {
        text-align: center;
    }
}