/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hind Siliguri', sans-serif;
}

:root {
    --primary-color: #0d6efd;
    --secondary-color: #0b5ed7;
    --dark-color: #111827;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --border-color: #e5e7eb;
}

body {
    background-color: #f9fafb;
    color: var(--dark-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= TOP ANNOUNCEMENT BAR ================= */
.top-bar {
    background: linear-gradient(90deg, #111827, #1f2937);
    color: #ffffff;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar p i {
    color: #ffce00;
    margin-right: 5px;
}

.top-bar-btn {
    color: #ffce00;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.top-bar-btn:hover {
    color: #ffffff;
}

/* ================= MODERN GLASS NAVBAR ================= */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.german-top-line {
    height: 4px;
    width: 100%;
    background: linear-gradient(to right, #000000 33.33%, #dd0000 33.33%, #dd0000 66.66%, #ffce00 66.66%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.03);
}

/* Nav Menu Links */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    width: 60%;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: var(--primary-color);
    background-color: rgba(13, 110, 253, 0.05);
}

#page-home .nav-home,
#page-courses .nav-courses,
#page-resources .nav-resources,
#page-about .nav-about {
    color: var(--primary-color, #0d6efd);
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color, #0d6efd);
}

/* Stylish Auth Buttons */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login {
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: #f3f4f6;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-signup {
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

.mobile-auth {
    display: none;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-color);
}

/* ================= FOOTER ================= */
.footer {
    background-color: var(--dark-color, #0f172a);
    color: #d1d5db;
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

/* Footer Logo Style */
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 15px;
}

/* লোগোর জন্য সাদা রাউন্ড ব্যাকগ্রাউন্ড */
.footer-logo-icon {
    height: 65px;
    width: 65px; /* লোগোকে পারফেক্ট গোল রাখার জন্য */
    object-fit: contain;
    background-color: #ffffff; /* ব্যাকগ্রাউন্ড সাদা */
    border-radius: 50%; /* পুরোপুরি গোল করার জন্য */
    padding: 4px; /* চারপাশ থেকে হালকা জায়গা রাখার জন্য */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* হালকা শ্যাডো যা লোগোকে ফুটিয়ে তুলবে */
    display: inline-block;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-jb {
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    font-family: Arial, sans-serif;
}

.brand-name {
    display: flex;
    flex-direction: column;
}

.brand-name span {
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.1;
    font-family: Arial, sans-serif;
}

.footer-col p {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.6;
    color: #9ca3af;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color, #0d6efd);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* Social Links */
.social-links {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background-color: #1f2937;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color, #0d6efd);
    transform: translateY(-3px);
}

/* Contact Info Styling */
.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 14px;
    line-height: 1.5;
}

.contact-info li i {
    color: var(--primary-color, #0d6efd);
    font-size: 16px;
    margin-top: 3px;
}

.contact-info li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info li a:hover {
    color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #0b0f19;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    color: #6b7280;
    border-top: 1px solid #1f2937;
}

/* ================= RESPONSIVE DESIGN (MOBILE & TABLET) ================= */
@media (max-width: 768px) {
    .top-bar p {
        font-size: 11px;
    }
    .top-bar-btn {
        display: none;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 110px; /* Top bar সহ নেভবারের পজিশন */
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s ease-in-out;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 25px 0;
        border-radius: 0 0 12px 12px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 10px;
    }

    .nav-menu ul li {
        margin: 5px 0;
    }

    .nav-auth {
        display: none;
    }

    .mobile-auth {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid var(--border-color);
    }

    .hamburger {
        display: block;
    }
}

