/* css/style.css - Complete Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a237e;
    --secondary: #0d47a1;
    --accent: #f57c00;
    --light: #e3f2fd;
    --dark: #0a0a1a;
    --white: #ffffff;
    --gray: #f5f5f5;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--primary);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo .tagline {
    font-size: 0.8rem;
    opacity: 0.8;
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch a {
    color: var(--white);
    text-decoration: none;
    padding: 2px 6px;
    font-size: 0.85rem;
}

.lang-switch a.active {
    font-weight: bold;
    text-decoration: underline;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    border-radius: 3px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 124, 0, 0.4);
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Notifications */
.notifications-bar {
    background: #fff8e1;
    padding: 15px 0;
    border-bottom: 3px solid var(--accent);
}

.notification-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.notification-item i {
    color: var(--accent);
    font-size: 0.6rem;
}

/* Features */
.features {
    padding: 60px 0;
    background: var(--gray);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--primary);
}

.courses-section, .webinars-section, .about-section {
    padding: 60px 0;
}

.course-grid, .webinar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.course-card, .webinar-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border: 1px solid #e0e0e0;
}

.course-card:hover, .webinar-card:hover {
    transform: translateY(-5px);
}

.course-icon i {
    font-size: 2.5rem;
    color: var(--primary);
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    font-size: 0.9rem;
    color: #666;
}

.price {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.webinar-card {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.webinar-date {
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    padding: 12px 18px;
    text-align: center;
    min-width: 60px;
}

.webinar-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

.webinar-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.webinar-info {
    flex: 1;
}

.webinar-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: #666;
    margin: 10px 0;
}

.webinar-meta i {
    margin-right: 5px;
}

.book-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.book-form input, .book-form select {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    flex: 1;
    min-width: 150px;
}

.book-form .btn-book {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.book-form .btn-book:hover {
    background: #e65100;
}

/* About */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    margin: 20px 0;
}

.about-highlights {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.about-highlights div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.about-highlights i {
    font-size: 1.8rem;
    color: var(--accent);
}

/* Footer */
footer {
    background: var(--dark);
    color: #ccc;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

footer h3, footer h4 {
    color: var(--white);
    margin-bottom: 15px;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 8px;
}

footer ul a {
    color: #ccc;
    text-decoration: none;
}

footer ul a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Admin Styles */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: var(--dark);
    color: var(--white);
    padding: 30px 20px;
    flex-shrink: 0;
}

.admin-sidebar h2 {
    margin-bottom: 30px;
    text-align: center;
}

.admin-sidebar ul {
    list-style: none;
}

.admin-sidebar ul li {
    margin-bottom: 10px;
}

.admin-sidebar ul a {
    color: #aaa;
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s;
}

.admin-sidebar ul a:hover, .admin-sidebar ul a.active {
    background: var(--primary);
    color: var(--white);
}

.admin-sidebar ul a i {
    margin-right: 10px;
    width: 20px;
}

.admin-main {
    flex: 1;
    padding: 30px;
    background: var(--gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
}

.stat-card p {
    color: #666;
}

.admin-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.admin-container {
    padding: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.admin-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.admin-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.admin-form input, .admin-form textarea, .admin-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.admin-form textarea {
    height: 100px;
    resize: vertical;
}

.admin-table {
    width: 100%;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border-collapse: collapse;
}

.admin-table th {
    background: var(--primary);
    color: var(--white);
    padding: 14px;
    text-align: left;
}

.admin-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #eee;
}

.admin-table tr:hover {
    background: #f8f9fa;
}

.status-pending {
    color: #f57c00;
    font-weight: 600;
}

.status-confirmed {
    color: #2e7d32;
    font-weight: 600;
}

.status-cancelled {
    color: #c62828;
    font-weight: 600;
}

/* Login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.login-box {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-box h1 {
    color: var(--primary);
    margin-bottom: 10px;
}

.login-box input {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.login-box .btn-primary {
    width: 100%;
    margin-top: 10px;
}

.error-msg {
    background: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 8px;
    margin: 10px 0;
}

.booking-status {
    text-align: center;
    padding: 80px 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--primary);
        padding: 20px;
        gap: 15px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .header-right {
        flex-wrap: wrap;
        width: 100%;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .admin-wrapper {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
    }
    
    .admin-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .webinar-card {
        flex-direction: column;
    }
    
    .book-form {
        flex-direction: column;
    }
    
    .book-form input, .book-form select {
        min-width: 100%;
    }
    
    .about-highlights {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .feature-grid, .course-grid, .webinar-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}