/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body{
    min-height: 100vh;
    /* background-color:#edf3f3; */
    display: flex;
    flex-direction: column;
}
/* Navbar Styling */
.navbar {
    /* background-color: #edf8f8; */
    background-color: white;
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    
  
    position: sticky; /* Navbar ko scroll karne par rok dega */
    top: 0; /* Screen ke bilkul top par chipkayega */
    z-index: 9999; /* Isko sabse upar rakhega taaki koi aur text iske upar na aaye */
}

/* Brand/Logo Styling */
.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: black;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Logo Image Styling */
.navbar-brand img {
    width: 50px;
    height: 50px;
    border-radius: 50%; 
    object-fit: cover;
}

/* Hide the checkbox */
#menu-toggle {
    display: none;
}

/* Desktop: Hide the menu icon */
.menu-icon {
    display: none;
    font-size: 28px;
    color: black;
    cursor: pointer;
    font-weight: bold;
    padding: 0 10px;
}

/* Main Navigation List */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    position: relative; 
}

.nav-links a {
    color: #333;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a.active {
    color: #007A83;
}

.nav-links > li > a.active::after {
    width: 60%;
}

.nav-links a:hover {
    color: #007A83;
}

/* Underline animation */
.nav-links > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 8px;
    left: 50%;
    background-color: #007A83;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links > li > a:hover::after {
    width: 60%;
}


/* Dropdown Menu */
.dropdown {
    display: none; 
    position: absolute;
    top: 100%; 
    left: 0;
    background-color: white;
    min-width: 180px;
    list-style: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    z-index: 1000;
    border: 1px solid #f1f1f1;
}

.dropdown li a {
    padding: 12px 20px;
    border-bottom: 1px solid #f1f1f1;
}

.dropdown li a::after { display: none; }

.dropdown li:last-child a { border-bottom: none; }

.dropdown li a:hover {
    background-color: #f8f9fa;
    color: #007A83;
}

.dropdown li a.active {
    background-color: #f8f9fa;
    color: #007A83;
}

.nav-links li:hover .dropdown {
    display: block;
}

/* Desktop Login Button */
.login-btn {
    margin-left: 15px;
}

.login-btn a {
    background-color: #007A83;
    color: white !important;
    border-radius: 25px;
    padding: 10px 24px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.login-btn a::after { display: none; }

.login-btn a:hover {
    background-color: #007A83;
    transform: translateY(-2px);
}

/* ========================================= */
/* TABLET & MOBILE (< 1000px)                */
/* ========================================= */
@media screen and (max-width: 1100px) {
    .menu-icon {
        display: block;
    }

    .menu-icon::before {
        content: '\22EE'; 
    }

    #menu-toggle:checked ~ .menu-icon::before {
        content: '\2715'; 
        color: black; 
    }

    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: stretch;
        max-height: 0; 
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }


    #menu-toggle:checked ~ .nav-links {
        max-height: 600px; 
    }

    .nav-links li { width: 100%; text-align: left; }

    .nav-links a {
        border-bottom: 1px solid #f1f1f1;
        padding: 15px 20px;
    }

    .nav-links > li > a::after { display: none; }

    .dropdown {
        position: static; 
        box-shadow: none;
        border: none;
        border-radius: 0;
        background-color: #f8f9fa;
        width: 100%;
    }

    .dropdown li a { padding: 12px 40px; }


    .nav-links .login-btn {
        margin: 20px 20px ; 
        width :70%;
        align-self: center;
        padding-top: 10px;
       padding-bottom: 10px;
        border-bottom: none; 
    }

    .nav-links .login-btn a {
        background-color: #007A83;
        color: white !important;
        display: flex; 
        justify-content: center;
        align-items: center;
        border-radius: 8px; 
        padding: 14px 20px;
        font-size: 16px;
        font-weight: bold;
        border: none !important; 
        box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3); 
        transition: background-color 0.3s ease;
    }

    .nav-links .login-btn a:hover {
        background-color: #007A83;
    }
}

/* ========================================= */
/* VERY SMALL SCREENS (< 500px)              */
/* ========================================= */
@media screen and (max-width: 500px) {
    .navbar {
        padding: 10px 15px; 
    }

    .navbar-brand {
        font-size: 16px; 
        gap: 8px;
    }

    .navbar-brand img {
        width: 35px;
        height: 35px;
    }
}


@media screen and (max-width: 370px) {
        .navbar-brand {
        font-size: 13px; 
        gap: 8px;
    }


}

@media screen and (max-width: 325px) {
        .navbar-brand span {
            display: none;
        }
}


.footer {
    background-color: #1a1d20; /* Dark premium background */
    color: #e9ecef; /* Light gray text for easy reading */
    padding: 60px 0 0 0; /* Padding only on top */
    margin-top: auto; /* Space between website content and footer */
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 30px;
    max-width: 1200px;
    margin: 0 auto; /* Centers the footer content on large screens */
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px; /* Ensures columns stack on smaller screens */
    margin-bottom: 30px;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

/* Creates a cool little blue underline beneath the headers */
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #007A83; /* Your theme blue */
}

.footer-col p {
    line-height: 1.6;
    color: #adb5bd;
}

/* Quick Links Styling */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Slide right and turn blue on hover */
.footer-links a:hover {
    color: #007A83;
    transform: translateX(8px); 
}

/* Contact Info Styling */
.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    color: #adb5bd;
}

.footer-contact span {
    margin-right: 10px;
    font-size: 18px;
}

/* Social Media Circles */
.social-links {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #343a40;
    color: white;
    border-radius: 50%; /* Makes them perfect circles */
    text-decoration: none;
    font-weight: bold;
    font-family: sans-serif;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #007A83;
    transform: translateY(-5px); /* Bounces up slightly on hover */
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

/* Bottom Copyright Bar */
.footer-bottom {
    background-color: #121416; /* Slightly darker than main footer */
    text-align: center;
    padding: 20px 15px;
    margin-top: 20px;
    border-top: 1px solid #343a40;
}

.footer-bottom p {
    color: #6c757d;
    font-size: 14px;
}

.footer-bottom p a{
    color: #6c757d;
    font-size: 14px;
}


/* Contact Section ke Links ka Design */
.footer-contact a {
    color: #adb5bd; /* Normal text jaisa grey color */
    text-decoration: none; /* Underline hata dega */
    transition: color 0.3s ease;
}

/* Jab mouse in links par aayega toh blue ho jayenge */
.footer-contact a:hover {
    color: #007A83; 
}

/* ========================================= */
/* MOBILE RESPONSIVE FOOTER (< 768px)        */
/* ========================================= */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        padding: 0 20px;
    }

    .footer-col {
        text-align: center; /* Center everything on mobile */
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%); /* Centers the blue underline */
    }

    .footer-contact li {
        justify-content: center; /* Center the contact info */
    }

    .social-links {
        justify-content: center; /* Center the social icons */
    }
}

