/* ========================================= */
/* BASIC RESET & GLOBAL VARIABLES            */
/* ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ========================================= */
/* HEADER & NAVIGATION (DESKTOP)             */
/* ========================================= */
header {
    background-color: #0f172a;
    color: #ffffff;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-container img {
    max-width: 150px;
    height: auto;
    border-radius: 5px;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
}

nav ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #38bdf8;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: 0.3s;
}

/* ========================================= */
/* MAIN CONTENT AREA                         */
/* ========================================= */
main {
    flex: 1;
    padding: 40px 20px;
}

.hero-section {
    text-align: center;
    background-color: #ffffff;
    padding: 60px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    color: #0f172a;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero-section p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 30px;
}

.course-placeholder {
    background-color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    border: 1px dashed #94a3b8;
    color: #64748b;
}

/* ========================================= */
/* PREMIUM 4-COLUMN FOOTER DESIGN            */
/* ========================================= */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 60px 20px 20px;
    margin-top: auto;
    border-top: 1px solid #1e293b;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    align-items: start;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #38bdf8;
    display: inline-block;
    padding-bottom: 5px;
}

/* Contact Info Style */
.contact-info p {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
}

.contact-info p strong {
    color: #cbd5e1;
}

.contact-info a {
    color: #38bdf8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Quick Links & Courses Style */
.quick-links ul {
    list-style: none;
    padding: 0;
}

.quick-links ul li {
    margin-bottom: 12px;
}

.quick-links ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.quick-links ul li a:hover {
    color: #38bdf8;
    transform: translateX(6px);
}

/* Social Media Buttons Style (Update for Icons) */
.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Icons madhye thodi space */
}

.social-btn {
    background-color: #1e293b;
    color: #cbd5e1;
    width: 40px; /* Button chi rudi */
    height: 40px; /* Button chi unchi */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Ekdum perfect Gol (Circle) karnyasathi */
    text-decoration: none;
    font-size: 18px; /* Icon cha size */
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: #0f172a;
    border-color: #38bdf8;
    color: #38bdf8; /* Hover kelyavar logo cha color change hoil */
    transform: translateY(-5px); 
    box-shadow: 0 4px 8px rgba(56, 189, 248, 0.2);
}
/* Bottom Copyright Section */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #1e293b;
    padding-top: 20px;
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 14px;
}

.footer-bottom em {
    color: #38bdf8;
    letter-spacing: 1px;
}

/* ========================================= */
/* MOBILE RESPONSIVE DESIGN (Max Width 768px)*/
/* ========================================= */
@media (max-width: 768px) {
    /* HEADER FIX */
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        position: relative;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0f172a;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 25px 30px;
        gap: 20px;
        align-items: flex-start;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        width: 100%;
    }

    /* FOOTER LEFT ALIGNMENT FIX (Force Left) */
    .footer-container {
        grid-template-columns: 1fr !important;
        text-align: left !important;
        gap: 40px !important; 
    }
    
    .footer-section, 
    .contact-info p, 
    .quick-links ul li {
        text-align: left !important;
    }

    .footer-section h3 {
        margin-top: 0;
        text-align: left !important;
    }

    .social-icons {
        justify-content: flex-start !important; 
    }

    .footer-bottom {
        text-align: center !important; 
    }
}