/* Common Styles - Shared across all pages */
:root {
    --primary-color: #0052cc; /* Deeper blue */
    --primary-dark: #003d99;
    --primary-light: #4d94ff;
    --secondary-color: #ff5722; /* Orange for better contrast */
    --secondary-dark: #e64a19;
    --secondary-light: #ff8a65;
    --accent-color: #00c853; /* Green for success actions */
    --accent-dark: #009624;
    --accent-light: #5efc82;
    --text-color: #333333;
    --text-light: #757575;
    --text-dark: #212121;
    --text-white: #ffffff;
    --background-color: #f9f9f9;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
    --error-color: #f44336;
    --success-color: #00c853;
    --warning-color: #ff9800;
    --info-color: #2196f3;
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.15);
    --border-radius-sm: 4px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
    position: relative;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

button, .submit-btn, .action-btn, .cta-button {
    cursor: pointer;
    border: none;
    border-radius: var(--border-radius);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    background-color: var(--primary-color);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.5px;
}

button i, .submit-btn i, .action-btn i, .cta-button i {
    margin-right: 8px;
}

button:hover, .submit-btn:hover, .action-btn:hover, .cta-button:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

button:disabled, .submit-btn:disabled, .action-btn:disabled {
    background-color: var(--text-light);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: white;
}

.cta-button.secondary {
    background-color: var(--secondary-color);
    color: white;
}

.cta-button.accent {
    background-color: var(--accent-color);
    color: white;
}

input, select, textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 15px;
    transition: var(--transition);
    background-color: var(--card-background);
    color: var(--text-color);
    font-family: inherit;
}

input::placeholder, textarea::placeholder {
    color: #aaa;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.15);
}

input[type="checkbox"], input[type="radio"] {
    width: auto;
    margin-right: 8px;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

/* Header Styles */
header {
    background-color: var(--card-background);
    box-shadow: var(--shadow);
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

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

header .logo i {
    color: var(--primary-color);
    font-size: 24px;
}

header .logo h1 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0;
}

header nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

header nav ul {
    display: flex;
    gap: 30px;
}

header nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    display: inline-flex;
    align-items: center;
    position: relative;
    letter-spacing: 0.5px;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease, left 0.3s ease;
}

header nav ul li a:hover::after,
header nav ul li a.active::after {
    width: 100%;
    left: 0;
}

header nav ul li a.active {
    color: var(--primary-color);
    font-weight: 600;
}

header nav ul li a.login-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

header nav ul li a.login-btn:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

header nav ul li a.login-btn::after {
    display: none;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--primary-color);
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    background-color: var(--info-color);
    color: white;
    box-shadow: var(--shadow);
    z-index: 1000;
    transform: translateY(-100px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-width: 350px;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.success {
    background-color: var(--success-color);
}

.notification.error {
    background-color: var(--error-color);
}

.notification.warning {
    background-color: var(--warning-color);
}

.notification.info {
    background-color: var(--info-color);
}

/* Main Content */
main {
    flex: 1;
    padding: 40px 20px;
}

/* Section styling */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.section-divider {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
}

/* Footer Styles */
footer {
    background-color: #1a1a2e;
    color: white;
    padding: 60px 30px 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
}

.footer-section {
    min-width: 200px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo i {
    color: var(--primary-light);
    font-size: 24px;
}

.footer-logo h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 0;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: white;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-links li a:hover {
    color: white;
    transform: translateX(5px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.contact-info li i {
    color: var(--primary-light);
    margin-top: 4px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    transition: var(--transition);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    color: white;
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0 20px;
    }
    
    header nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 80%;
        height: calc(100vh - var(--header-height));
        background-color: var(--card-background);
        box-shadow: var(--shadow);
        transition: var(--transition);
        z-index: 100;
        flex-direction: column;
        justify-content: flex-start;
        padding: 20px 0;
    }
    
    header nav.active {
        left: 0;
    }
    
    header nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
        margin-top: 20px;
    }
    
    header nav ul li {
        width: 100%;
    }
    
    header nav ul li a {
        display: block;
        padding: 15px 0;
        width: 100%;
    }
    
    header nav ul li a::after {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        width: 40px;
    }
    
    .menu-toggle.active i::before {
        content: '\f00d';
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.75rem;
    }
}
