/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2C3E50;
    --secondary-color: #5B9FAD;
    --accent-color: #4A8A99;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --border-color: #dddddd;
    --success-color: #28a745;
    --error-color: #dc3545;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    max-width: 60%;
    width: 60%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #e5e5e5;
    color: var(--text-dark);
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
    margin: 0;
}

.logo-text .tagline {
    font-size: 13px;
    font-weight: 300;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 24px;
    background-color: var(--secondary-color);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav a:hover {
    background-color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(91, 159, 173, 0.3);
}

.nav span {
    color: var(--text-dark) !important;
    margin-right: 20px;
    font-size: 14px;
}

/* Main Content */
.main-content {
    padding: 40px 0;
    min-height: calc(100vh - 400px);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

/* Hero Section */
.hero-section {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-section h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 0;
}

.feature-card {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* Info Section */
.info-section {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.info-section h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-section ul {
    list-style: none;
}

.info-section ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-dark);
}

.info-section ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 18px;
}

/* Login Sidebar */
.login-sidebar {
    position: sticky;
    top: 20px;
}

.login-card {
    background-color: var(--white);
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
    border-top: 4px solid var(--secondary-color);
}

.login-card h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
}

.login-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 14px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: var(--primary-color);
}

.login-links {
    text-align: center;
    margin-top: 15px;
}

.forgot-password {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.register-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.register-section p {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 14px;
}

.btn-register {
    display: inline-block;
    padding: 10px 30px;
    background-color: var(--white);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-register:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a252f 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 30px 0;
    margin: 0 !important;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
    color: #e8f4f8;
}

.footer-about {
    max-width: 280px;
}

.footer-tagline {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 10px !important;
    opacity: 1 !important;
}

.footer-description {
    font-size: 13px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}



/* Responsive Design */
@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .login-sidebar {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-section h2 {
        font-size: 28px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .logo {
        flex: 1;
    }
    
    .logo-img {
        height: 38px;
    }
    
    .logo-text h1 {
        font-size: 20px;
    }
    
    .hero-section {
        padding: 25px;
    }
    
    .login-card {
        padding: 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
