/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Navigation Bar */
.navbar {
    background-color: #007bff;
    padding: 5px 15px;
    min-height: 50px;
}

/* Adjustments for mobile view */
@media (max-width: 768px) {
    .navbar {
        padding: 3px 10px; /* Further reduce padding in mobile */
    }

    .navbar-brand {
        font-size: 1.2rem;
        padding: 3px 0;
    }

    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 6px 10px; /* Reduce padding vertically */
    }

    .navbar-toggler {
        padding: 3px;
    }
}

/* Navbar Brand */
.navbar-brand {
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: white;
    font-size: 1rem;
    padding: 8px 12px;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* Navbar Toggler (Hamburger Menu) */
.navbar-toggler {
    border: none;
    background-color: transparent;
    outline: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Main Container */
.container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

/* Header Styling */
h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #007bff;
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #343a40;
    margin-bottom: 15px;
}

/* Paragraph Styling */
p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

/* Responsive Image */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Buttons */
.btn-custom {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: #0056b3;
}

/* Footer Styling */
.footer {
    background-color: #007bff; /* Blue Background */
    color: white! important; /* Force White Text */
    text-align: center;
    padding: 20px 10px;
    margin-top: 30px;
}

/* Footer Menu without LI elements */
.footer-menu {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between links */
    flex-wrap: wrap; /* Wraps on smaller screens */
    margin-bottom: 10px;
}

/* Footer Links - White & Underlined */
.footer-menu a {
    color: white !important; /* Force White */
    text-decoration: underline; /* Ensures visibility */
    font-size: 1rem;
    padding: 5px 10px; /* Provides spacing */
    transition: color 0.3s ease;
}

/* Footer Links Hover */
.footer-menu a:hover {
    color: #e2e6ea !important; /* Light Gray Hover */
}

/* Footer Text */
.footer p {
    color: white !important; /* Force White */
    font-size: 0.9rem;
    margin-top: 10px;
}
/* Form Container */
.form-container {
    background: #fff;
    max-width: 400px;
    margin: 30px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #007bff; /* Adds a blue border for design */
    text-align: center;
}

/* Form Heading */
.form-container h2 {
    font-size: 1.5rem;
    color: #007bff;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Form Group */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    font-weight: 500;
    color: #343a40;
    margin-bottom: 5px;
}

/* Input Fields */
input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease-in-out;
}

input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Stylish Submit Button */
.btn-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #007bff, #0056b3); /* Gradient effect */
    color: white;
    border: none;
    border-radius: 25px; /* Rounded button */
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.3);
    letter-spacing: 1px;
}

/* Hover and Active Effects */
.btn-submit:hover {
    background: linear-gradient(135deg, #0056b3, #003f80);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.5);
    transform: translateY(-2px); /* Lifts button slightly */
}

.btn-submit:active {
    transform: translateY(1px); /* Press effect */
    box-shadow: 0 3px 8px rgba(0, 123, 255, 0.4);
}

/* Mobile Optimization */
@media (max-width: 480px) {
    .btn-submit {
        font-size: 14px;
        padding: 10px;
    }
}
