/* Color Palette */
:root {
    --primary: #24476C;   /* Primary blue tone */
    --secondary: #0A122A; /* Dark blue tone */
    --accent: #A8A9AD;    /* Light grey accent */
    --background: #E8E6E8; /* Soft light grey background */
    --light: #FFFFFF;     /* White for lighter text or backgrounds */
    --dark: #1B1B1B;      /* Dark grey for text */
}

/* Reset default margin & padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Full-page styling */
body {
    font-family: 'Poppins', sans-serif; /* Changed font for modern feel */
    background: rgb(255, 255, 255); /* Gradient background */
    color: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh; /* Ensures the page covers full screen */
   
}

/* Header */
header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgb(25, 50, 84);
    color: var(--light);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    /* position: fixed; */
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: auto;
}


.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: var(--light);
}

.system-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    flex-grow: 1;
    color: var(--light);
}

.login-btn {
    background: var(--accent);
    color: white !important;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn:hover {
    background: var(--secondary);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    width: 100%;
    max-width:1200px;
    margin-top: 50px; /* Adds space for fixed header */
    background: rgb(25, 50, 84);
    border-radius: 15px;
    color: #E8E6E8; /* Light text for contrast */
}

.container-box {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px; /* Adds space from the top */
}

.box {
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    width: 30%;
    box-sizing: border-box;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.box-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box img {
    width: 80%;
    max-width: 100px; /* Restrict image size */
    height: auto;
    object-fit: cover;
    margin-top: 15px;
}

.box h3 {
    font-size: 1.2rem;
    color: var(--primary);
    text-align: center;
}

.box p {
    text-align: center;
    color: #333;
    font-size: 1rem;
    margin-top: 10px;
}




.hero h2 {
    font-size: 38px;
    margin-bottom: 20px;
    color: #A8A9AD; /* Softer accent color */
}

.highlight {
    color: #24476C; /* Blue tone for emphasis */
}

/* About Us Section */
.about {
    width: 90%;
    max-width: 1200px;
    padding: 50px 20px;
    background: #0A122A; /* Darker blue background */
    background-image: url
}

.btn-container {
    margin-top: 20px;
}

button {
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    background-color: var(--primary);
    color: var(--light);
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

button:hover {
    background-color: var(--secondary);
}

/* About Us Section */
/* About Us Section */
.about {
    width: 90%;
    max-width: 1200px;
    padding: 50px 20px;
    background: rgb(25, 50, 84);
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
    text-align: center;
    margin-bottom: 50px;
}


/* About Us Container */
.about-container {
    display: flex;
    align-items: center;
    justify-content: center; /* Centers content for a neater design */
    gap: 30px; /* Increased space between image and text */
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}


.about-text {
    max-width: 400px;
}

/* About Us Image */
.about-image img {
    width: 100%;
    max-width: 450px; /* Slightly bigger image */
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* About Us Text */
.about-text {
    flex: 1;
    padding: 30px;
    background: rgba(0, 0, 0, 0.6); /* Darker overlay ONLY for text box */
    border-radius: 15px;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    font-size: 20px;
    line-height: 1.7;
    color: #E8E6E8; /* Light text color for better readability */
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #A8A9AD; /* Softer contrast */
}

.about-text p {
    font-size: 20px;
    color: #E8E6E8;
    margin-bottom: 15px;
}

.about-text:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    width: 100%;
    text-align: center;
    padding: 15px;
    background: var(--primary);
    color: var(--light);
    position: relative;
    bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .logo-container, .system-title, .login-btn {
        margin-bottom: 10px;
    }

    .hero h2 {
        font-size: 28px;
    }

    button {
        font-size: 16px;
        padding: 12px 25px;
    }

    /* About Us Section - Stack on Small Screens */
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image img {
        max-width: 300px;
    }

    .logo-container {
        flex-direction: column; /* Stack logo and text vertically on smaller screens */
        align-items: center;
    }

    .logo-text {
        font-size: 24px; /* Adjust font size */
    }

    .sign-in {
        width: 100%; /* Full width for sign-in section */
        align-items: center;
    }

    .sign-in a {
        left: 20%; /* Adjust link position */
        top: 20%;
    }

    .sign-in input[type="email"],
    .sign-in input[type="password"],
    .sign-in button[type="submit"] {
        width: 100%; /* Full width for form elements */
    }

    .system-title {
        display: none; /* Hide system title on small screens */
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 20px; /* Smaller logo text on very small screens */
    }

    .sign-in button[type="submit"] {
        font-size: 14px; /* Larger button text on very small screens */
    }

    .sign-in a {
        left: 35%; /* Adjust link position */
        top: 100%;
      
    }
}

