/* Global Reset and Body Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main content area, flex-grow will make this take up available space */
.main-content {
    flex-grow: 1;
}

/* Navigation Bar Styling */
nav {
    background-color: white;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

nav .navbar-brand img {
    height: 60px;
}

nav .nav-link {
    font-weight: bold;
    margin-right: 20px;
    color: #333;
}

nav .nav-link:hover {
    color: #ff5722;
}

/* Hero Section Styling */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    background-color: #f8f9fa;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-color: #004080;
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: -1;
}

.hero-content {
    max-width: 50%;
}

.hero h1 {
    font-size: 3rem;
    color: #003366;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
}

.hero .checklist {
    margin-top: 20px;
}

.checklist li {
    list-style: none;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.checklist li::before {
    content: "✔";
    color: #ff5722;
    margin-right: 10px;
}

.btn-cta {
    background-color: #ff5722;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
    text-decoration: none;
}

.btn-cta:hover {
    background-color: #e64a19;
}

/* Hero Image Section */
.hero img {
    max-width: 400px;
    border-radius: 10px;
}

/* Hero Section Background Image (Alternative Style) */
.hero-section {
    background: url('https://via.placeholder.com/1920x800') no-repeat center center/cover;
    height: 80vh;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-section h1 {
    font-size: 4rem;
    margin-bottom: 0;
}

.hero-section p {
    font-size: 1.2rem;
}

.hero-section button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
}

/* Services Section */
.services {
    padding: 60px 0;
    text-align: center;
}

.services h2 {
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.service-item {
    margin: 20px 0;
}

.service-item img {
    max-width: 100px;
    margin-bottom: 15px;
}

.service-item h4 {
    font-size: 1.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.testimonial-item {
    max-width: 600px;
    margin: auto;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 20px;
}

/* Footer */
.bg-footer {
    background-color: #343a40;
}

.footer {
    color: white;
    padding: 20px 0;
    text-align: center;
    width: 100%;
}

/* Text Align Center */
.text-align-center {
    text-align: center;
}

.color-red {
    color: red;
}

/* Error message */
.error-msg {
    color: red;
}

.disabled-link {
    pointer-events: none;
}

/* Overlay */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

/* Progress Bar */
.progress-container {
    display: none;
    width: 100%;
    max-width: 400px;
    margin: auto;
    background: #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.progress-bar {
    width: 0%;
    height: 20px;
    background: #4caf50;
    text-align: center;
    line-height: 20px;
    color: white;
    font-size: 14px;
}

/* Responsive Styling */
@media (max-width: 768px) {

    .hero h1,
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero img {
        max-width: 300px;
    }

    .hero-section p {
        font-size: 1.2rem;
    }
}

/* Wrapper and Login Container */
.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background-color: white;
    padding: 40px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: left;
}

h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

/* Input Group */
.input-group,
.select-group {
    margin-bottom: 20px;
}

label {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #ccc;
    border-radius: 5px;
    padding: 8px;
}

.icon {
    font-size: 18px;
    margin-right: 8px;
    color: #333;
}

.input-control {
    border: none;
    outline: none;
    font-size: 14px;
    width: 100%;
    padding: 8px;
}

.select-control {
    border: none;
    outline: none;
    font-size: 14px;
    width: 100%;
    padding: 8px;
}

input:focus {
    border-color: #0073e6;
}

/* Forgot Password */
.forgot-password {
    font-size: 12px;
    color: #0073e6;
    text-decoration: none;
    float: right;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Login Button */
.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #003f8b;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

.login-btn:hover {
    background-color: #005bb5;
}

/* Download Section */
.download-section {
    margin-top: 30px;
    text-align: center;
}

.download-section h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.download-links a {
    color: #0073e6;
    text-decoration: none;
    margin: 0 5px;
}

.download-links a:hover {
    text-decoration: underline;
}