/* --- GLOBAL DEFAULTS --- */
body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    scroll-behavior: smooth; 
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: #0f172a; /* Deep slate for better contrast */
}

/* --- NAVIGATION STYLES --- */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    color: #1e3a8a; /* Navy Blue */
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    z-index: 1002;
}

.logo span {
    color: #2563eb; /* Bright Blue */
}

/* Desktop Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.admin-link {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* --- MOBILE DRAWER REDESIGN --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: #f1f5f9;
    border: none;
    padding: 12px;
    border-radius: 12px;
    z-index: 1002;
    gap: 5px;
    transition: background 0.3s ease;
}

.menu-toggle:hover {
    background: #e2e8f0;
}

.bar {
    width: 22px;
    height: 2px;
    background-color: #1e3a8a;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    /* The Drawer */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden by default */
        width: 280px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 30px 40px 30px;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-links li a {
        display: block;
        padding: 18px 0;
        font-size: 18px;
        color: #1e293b;
        width: 100%;
    }

    .nav-links li a:hover {
        padding-left: 8px;
        color: #2563eb;
    }

    .admin-link {
        margin-top: 30px;
        text-align: center;
        width: 100% !important;
        box-sizing: border-box;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.4);
        backdrop-filter: blur(4px);
        display: none;
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .menu-overlay.active {
        display: block;
        opacity: 1;
    }
}

/* Hamburger Animation to X */
.is-active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-active .bar:nth-child(2) { opacity: 0; transform: translateX(10px); }
.is-active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- HERO SECTION LAYOUT FIXES --- */
.hero-section {
    padding: 140px 24px 80px; /* Top padding accounts for fixed navbar */
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #0f172a; /* High contrast black-blue */
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title span { color: #2563eb; }

.hero-image-container {
    position: relative;
    max-width: 550px;
    margin: 0 auto;
}

.flag-text {
    position: absolute;
    top: 25.5%;
    left: 64.5%;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    transform: rotate(-13deg);
    pointer-events: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}


.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* CRITICAL FIX: Ensures the image logo doesn't break the layout */
.logo-img {
    height: 45px; /* Adjust this value to make your logo look right */
    width: auto;   /* Keeps the original proportions */
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-img {
        height: 35px; /* Slightly smaller for mobile */
    }
}

/* Professional Short Footer Styles */
.site-footer {
    background-color: #ffffff;
    padding: 3rem 0 1.5rem 0; /* Reduced padding for "Short Height" */
    border-top: 1px solid #f1f5f9;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
    }
}

.footer-logo {
    font-size: 1.875rem;
    font-weight: 900;
    color: #1d4ed8; /* Blue-700 */
    text-transform: uppercase;
    letter-spacing: -0.05em;
    text-decoration: none;
}

.footer-logo span {
    color: #f97316; /* Orange-500 */
}

/* Social Links Styles */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-item {
    width: 2.75rem;
    height: 2.75rem;
    background-color: #f8fafc;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-item:hover {
    transform: translateY(-3px);
    color: #ffffff;
}

.social-item.fb:hover { background-color: #1877f2; }
.social-item.wa:hover { background-color: #22c55e; }
.social-item.tw:hover { background-color: #0f1419; }

/* Bottom Row Styles */
.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.dev-link {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.dev-link:hover {
    text-decoration: underline;
}

.divider {
    color: #e2e8f0;
    margin: 0 0.5rem;
}

.contact-info {
    color: #475569;
    font-weight: 500;
}

.credits {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}