﻿
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to right, #60A5FA, #60A5FA); /* Changed to blue theme */
    color: white;
}

/* Container Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "header header header"
        "left center right"
        "footer footer footer";
    gap: 5px;
    padding: 5px;
}

/* Header */
header {
    grid-area: header;
    background-color: #1E40AF; /* Deep blue */
    padding: 5px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

    .logo-container img {
        width: 80px;
        height: 80px;
        border-radius: 10px;
    }

.tagline {
    font-size: 25px;
    font-weight: bold;
    opacity: 0.8;
}

/* Left and Right Sections */
.left-section, .right-section {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h3 {
    color: #1E3A8A; /* Blue color */
    text-align: center;
    margin-bottom: 15px;
}

.left-section ul, .right-section ul {
    list-style-type: none;
    padding: 0;
}

.left-section li, .right-section li {
    margin: 5px 0;
}

.left-section a, .right-section a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    display: flex;
    align-items: center;
    padding: 4px 5px;
    border-radius: 5px;
    transition: background 0.3s;
}

    .left-section a:hover, .right-section a:hover {
        background-color: #e0f2fe;
    }

    .left-section a i, .right-section a i {
        margin-right: 10px;
        color: #1E3A8A; /* Blue icons */
    }

/* Center Section */
.center-section {
    grid-area: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px;
}

/* Slider Section */
.slider-section {
    width: 100%;
    height: 305px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slides {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.active {
    opacity: 1;
}





/* Style for Left Section List Items */
.left-section ul li:nth-child(1) {
    background-color: #e1bee7; /* Light purple */
}

.left-section ul li:nth-child(2) {
    background-color: #c5e1a5; /* Light green */
}

.left-section ul li:nth-child(3) {
    background-color: #ffcc80; /* Light orange */
}

.left-section ul li:nth-child(4) {
    background-color: #90caf9; /* Light blue */
}

.left-section ul li:nth-child(5) {
    background-color: #aff5b7; /* Light purple */
}

.left-section ul li:nth-child(6) {
    background-color: #60ead3; /* Light green */
}

.left-section ul li:nth-child(7) {
    background-color: #ffcc80; /* Light orange */
}

.left-section ul li:nth-child(8) {
    background-color: #fd7b87; /* Light blue */
}

/* Style for Right Section List Items */
.right-section ul li:nth-child(1) {
    background-color: #ffe082; /* Light yellow */
}

.right-section ul li:nth-child(2) {
    background-color: #80deea; /* Light cyan */
}

.right-section ul li:nth-child(3) {
    background-color: #ffab91; /* Light coral */
}

.right-section ul li:nth-child(4) {
    background-color: #b39ddb; /* Light lavender */
}

.right-section ul li:nth-child(5) {
    background-color: #60ead3; /* Light yellow */
}

.right-section ul li:nth-child(6) {
    background-color: #f4d03f; /* Light cyan */
}

.right-section ul li:nth-child(7) {
    background-color: #c5e1a5; /* Light coral */
}

.right-section ul li:nth-child(8) {
    background-color: #b39ddb; /* Light lavender */
}

/* Additional Styling for list items */
.left-section ul li, .right-section ul li {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    list-style: none; /* Remove bullet points */
    color: #333;
    font-weight: bold;
}

    .left-section ul li:hover, .right-section ul li:hover {
        background-color: #4CAF50; /* Hover effect */
        color: white;
    }

/* Visitor Counter */
.counter-container {
    margin: 5px auto;
    padding: 2px;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    font-family: Arial, sans-serif;
}

.counter-title {
    font-size: 14px;
    margin-bottom: 1px;
    color: #333;
}

.counter-number {
    font-size: 16px;
    font-weight: bold;
    color: #1E40AF;
}

/* Login Form Section */
.login-container {
    width: 100%;
    max-width: 400px;
    background-color: white;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    position: relative !important;
    margin-top: -80px !important;
}

    .login-container h2 {
        text-align: center;
        margin-bottom: 10px;
        font-size: 26px;
        color: #333;
    }

.input-group {
    position: relative;
    margin-bottom: 10px;
}

input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 15px 45px 15px 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    transition: border-color 0.3s;
}

    input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus {
        border-color: #1E40AF;
    }

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

input[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: #1E3A8A;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

    input[type="submit"]:hover {
        background-color: #2563EB;
    }

.social-login {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

    .social-login a {
        background-color: #db4437;
        color: white;
        padding: 10px 15px;
        border-radius: 5px;
        text-decoration: none;
        font-size: 14px;
        width: 48%;
        text-align: center;
        transition: background-color 0.3s;
    }

        .social-login a.google {
            background-color: #4285F4;
        }

        .social-login a:hover {
            opacity: 0.9;
        }

.form-footer {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

    .form-footer a {
        color: #1E40AF;
        text-decoration: none;
    }

        .form-footer a:hover {
            text-decoration: underline;
        }

/* Footer */
footer {
    grid-area: footer;
    background-color: #333;
    color: white;
    padding: 1px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    header {
        padding: 15px;
    }

    .logo-container img {
        width: 60px;
        height: 60px;
    }

    .login-container {
        margin-top: -50px;
    }

    .left-section, .right-section {
        padding: 20px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "center"
            "left"
            "right"
            "footer";
    }

    .header {
        flex-direction: column;
    }

    .logo-container {
        flex-direction: column;
    }

    .login-container {
        margin-top: 0;
        padding: 20px;
    }
}

@media screen and (max-width: 480px) {
    .login-container {
        padding: 15px;
    }

    .logo-container img {
        width: 50px;
        height: 50px;
    }

    .slider-section {
        height: 200px;
    }
}


/* Enhanced 3D Bubble Effect for List Items */
.left-section ul li, .right-section ul li {
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 15px;
    background-color: inherit; /* Keep original background */
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.5), inset 2px 2px 6px rgba(0, 0, 0, 0.2), inset -2px -2px 6px rgba(255, 255, 255, 0.5);
    background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.05));
    display: flex;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .left-section ul li:hover, .right-section ul li:hover {
        transform: translateY(-4px);
        box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.35), -10px -10px 20px rgba(255, 255, 255, 0.6), inset 3px 3px 8px rgba(0, 0, 0, 0.25), inset -3px -3px 8px rgba(255, 255, 255, 0.6);
    }

    .left-section ul li a, .right-section ul li a {
        text-decoration: none;
        /* color: inherit; */
        font-weight: bold;
        width: 100%;
        display: flex;
        align-items: center;
    }

/* Enhanced 3D Bubble Effect for Submit Button */
input[type="submit"] {
    width: 100%;
    padding: 15px;
    /* background-color: inherit;  Keep original background */
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 16px;
    transition: box-shadow 0.3s, transform 0.3s;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.5), inset 2px 2px 6px rgba(0, 0, 0, 0.2), inset -2px -2px 6px rgba(255, 255, 255, 0.5);
    background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.05));
}

    input[type="submit"]:hover {
        transform: translateY(-4px);
        box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.35), -10px -10px 20px rgba(255, 255, 255, 0.6), inset 3px 3px 8px rgba(0, 0, 0, 0.25), inset -3px -3px 8px rgba(255, 255, 255, 0.6);
    }


/* 3D Effect for Header */
header {
    grid-area: header;
    background-color: #1E40AF;
    /* padding: 15px; */
    text-align: center;
    border-radius: 10px;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.5), inset 2px 2px 6px rgba(0, 0, 0, 0.2), inset -2px -2px 6px rgba(255, 255, 255, 0.5);
    background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.05));
    transition: transform 0.2s;
}

    header:hover {
        transform: translateY(-4px);
        box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.35), -10px -10px 20px rgba(255, 255, 255, 0.6), inset 3px 3px 8px rgba(0, 0, 0, 0.25), inset -3px -3px 8px rgba(255, 255, 255, 0.6);
    }

/* 3D Effect for Login Form Background login-container */
.center-section {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.5), inset 2px 2px 6px rgba(0, 0, 0, 0.2), inset -2px -2px 6px rgba(255, 255, 255, 0.5);
    background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.05));
    transition: transform 0.2s;
}

    .center-section:hover {
        transform: translateY(-4px);
        box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.35), -10px -10px 20px rgba(255, 255, 255, 0.6), inset 3px 3px 8px rgba(0, 0, 0, 0.25), inset -3px -3px 8px rgba(255, 255, 255, 0.6);
    }

/* 3D Effect for Login Form Background login-container */
.login-container {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.5), inset 2px 2px 6px rgba(0, 0, 0, 0.2), inset -2px -2px 6px rgba(255, 255, 255, 0.5);
    background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.05));
    transition: transform 0.2s;
}

    .login-container:hover {
        transform: translateY(-4px);
        box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.35), -10px -10px 20px rgba(255, 255, 255, 0.6), inset 3px 3px 8px rgba(0, 0, 0, 0.25), inset -3px -3px 8px rgba(255, 255, 255, 0.6);
    }

.buttoncls {
    width: 100%;
    padding: 15px;
    background-color: #1E3A8A;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

    .buttoncls:hover {
        background-color: #2563EB;
    }
.buttoncls {
    width: 100%;
    padding: 15px;
    /* background-color: inherit;  Keep original background */
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 16px;
    transition: box-shadow 0.3s, transform 0.3s;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.5), inset 2px 2px 6px rgba(0, 0, 0, 0.2), inset -2px -2px 6px rgba(255, 255, 255, 0.5);
    background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.05));
}

    .buttoncls:hover {
        transform: translateY(-4px);
        box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.35), -10px -10px 20px rgba(255, 255, 255, 0.6), inset 3px 3px 8px rgba(0, 0, 0, 0.25), inset -3px -3px 8px rgba(255, 255, 255, 0.6);
    }
