/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #0066a2;
    --secondary: #003b6f;
    --accent: #f9a51b;
    --light: #f5f5f5;
    --dark: #333;
    --transition: all 0.3s ease;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--dark);
}

.btn-accent:hover {
    background-color: #e5940c;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 15px;
    font-size: 2.2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--secondary);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-content {
    flex: 1;
    margin-left: 250px;
    transition: var(--transition);
    width: calc(100% - 250px);
}

.contact-info {
    display: flex;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
}

.social-icons a:hover {
    color: var(--accent);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.admin-header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 70px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    font-size: 24px;
    color: var(--primary);
    line-height: 1.2;
}

.logo-text span {
    font-size: 14px;
    color: var(--dark);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: var(--dark);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 100vh;
    max-height: 700px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 61, 111, 0.8), rgba(255, 255, 255, 0));
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: white;
    transform: scale(1.2);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 5;
    transform: translateY(-50%);
}

.arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.arrow:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
}

/* Programs Section */
.programs {
    padding: 80px 0;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.program-img {
    height: 200px;
    overflow: hidden;
}

.program-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:hover .program-img img {
    transform: scale(1.05);
}

.program-content {
    padding: 20px;
}

.program-content h3 {
    margin-bottom: 10px;
    color: var(--secondary);
}

.program-content p {
    margin-bottom: 15px;
    color: #666;
}

/* News Section */
.news {
    padding: 80px 0;
    background-color: var(--light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-img {
    height: 200px;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-content h3 {
    margin-bottom: 10px;
    color: var(--secondary);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial {
    padding: 30px;
}

.testimonial-text {
    font-style: italic;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 50px;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
}

.testimonial-text::before {
    top: -20px;
    left: -15px;
}

.testimonial-text::after {
    bottom: -40px;
    right: -15px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 61, 111, 0.9), rgba(0, 61, 111, 0.9)), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-column p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact-icon {
    font-size: 20px;
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.7;
}

.footer-bottom {
    flex: 1;
    margin-left: 250px;
    transition: var(--transition);
    width: calc(100% - 250px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    nav ul {
        gap: 15px;
    }
    
    .slide-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1001;
        padding: 80px 20px 20px;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-close {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 24px;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--dark);
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .header-main {
        padding: 10px 0;
    }
    
    .admin-header-main {
        padding: 10px 0;
    }
    
    .logo img {
        height: 60px;
    }
    
    .logo-text h1 {
        font-size: 20px;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .feature-card, .program-card, .news-card {
        padding: 20px;
    }
    
    .slider-arrows {
        padding: 0 10px;
    }
    
    .arrow {
        width: 35px;
        height: 35px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 5px;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
}

@media (max-width: 400px) {
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
}

/* CMS Login Button */
.cms-login {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.cms-login-btn {
    background-color: var(--accent);
    color: var(--dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.cms-login-btn:hover {
    transform: scale(1.1);
    background-color: #e5940c;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 0;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: modalopen 0.3s;
}

@keyframes modalopen {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.modal-header {
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

.modal-body .form-group {
    margin-bottom: 20px;
}

.modal-body label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.modal-body input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.modal-body input.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: var(--transition);
}

.modal-body input.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,102,162,0.1);
}

.modal-body button {
    width: 100%;
    margin-top: 10px;
}

/* CAPTCHA Styles for Modal */
#captcha-question {
    font-weight: bold;
    color: var(--primary);
    background-color: #f0f8ff;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #cce5ff;
}

#captcha-error {
    background-color: #fde8e8;
    color: #e53e3e;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #fbd5d5;
    margin-top: 10px;
    font-size: 14px;
}

/* Admin Styles */
.admin-container {
    display: flex;
    min-height: 100vh;
    background-color: #f8f9fa;
}

.admin-sidebar {
    width: 250px;
    background: var(--secondary);
    color: white;
    position: fixed;
    height: 100vh;
    transition: var(--transition);
    z-index: 1000;
    left: 0;
    top: 0;
    overflow-y: auto;
}

.admin-sidebar-header {
    padding: 20px;
    background: var(--primary);
    text-align: center;
}

.admin-sidebar-header h2 {
    font-size: 1.5rem;
    margin-top: 10px;
}

.admin-menu {
    padding: 20px 0;
}

.admin-menu-item {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    cursor: pointer;
    border-left: 4px solid transparent;
}

.admin-menu-item:hover, .admin-menu-item.active {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--accent);
}

.admin-menu-item i {
    margin-right: 10px;
    font-size: 18px;
}

.admin-main-content {
    flex: 1;
    margin-left: 250px;
    transition: var(--transition);
    width: calc(100% - 250px);
}

.admin-header {
    height: 70px;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.admin-header-left h1 {
    font-size: 1.8rem;
    color: var(--primary);
}

.admin-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.admin-content {
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
}

.admin-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px;
    transition: var(--transition);
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.admin-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: var(--light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.admin-card-title {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.admin-card-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
}

.admin-form-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 30px;
}

.admin-section-title {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
}

.admin-form-group {
    margin-bottom: 20px;
}

.admin-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.admin-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: var(--transition);
}

.admin-form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,102,162,0.1);
}

textarea.admin-form-control {
    min-height: 150px;
    resize: vertical;
}

.admin-content-list {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.admin-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.admin-list-actions {
    display: flex;
    gap: 10px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th, .admin-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    background: var(--light);
    font-weight: 600;
    color: var(--dark);
}

.admin-table tr:hover {
    background: #f9f9f9;
}

.status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.status-published {
    background: #e6f7ee;
    color: #0c9c55;
}

.status-draft {
    background: #fef3cd;
    color: #856404;
}

.admin-action-btn {
    padding: 6px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.admin-btn-edit {
    background: #e3f2fd;
    color: var(--primary);
}

.admin-btn-delete {
    background: #fde8e8;
    color: #e53e3e;
}

/* File Upload */
.file-upload {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.file-upload:hover {
    border-color: var(--primary);
}

.upload-icon {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 15px;
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-error {
    background: #fde8e8;
    color: #e53e3e;
    border: 1px solid #fbd5d5;
}

.alert-success {
    background: #e6f7ee;
    color: #0c9c55;
    border: 1px solid #c3eed9;
}

/* Responsive Admin */
@media (max-width: 992px) {
    .admin-sidebar {
        width: 70px;
        overflow: hidden;
    }
    
    .admin-sidebar:hover {
        width: 250px;
        z-index: 1001;
    }
    
    .admin-main-content {
        margin-left: 70px;
        width: calc(100% - 70px);
    }
    
    .admin-menu-item span {
        display: none;
    }
    
    .admin-sidebar:hover .admin-menu-item span {
        display: inline;
    }
    .admin-sidebar:hover ~ .admin-main-content {
        margin-left: 250px;
        width: calc(100% - 250px);
    }

}

@media (max-width: 768px) {
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
    
    .admin-header-left h1 {
        font-size: 1.4rem;
    }
    
    .admin-user-name {
        display: none;
    }
    .admin-sidebar {
        position: fixed;
        left: -250px;
        width: 250px;
        z-index: 1001;
    }
    
    .admin-sidebar.active {
        left: 0;
    }
    
    .admin-main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .admin-menu-toggle {
        display: block !important;
    }
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: var(--light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.card-title {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.card-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
}

.content-list {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-top: 20px;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.list-actions {
    display: flex;
    gap: 10px;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table th {
    background: var(--light);
    font-weight: 600;
    color: var(--dark);
}

.table tr:hover {
    background: #f9f9f9;
}

.status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.status-published {
    background: #e6f7ee;
    color: #0c9c55;
}

.status-draft {
    background: #fef3cd;
    color: #856404;
}

.action-btn {
    padding: 6px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-edit {
    background: #e3f2fd;
    color: var(--primary);
}

.btn-delete {
    background: #fde8e8;
    color: #e53e3e;
}

@media (max-width: 576px) {
    .admin-sidebar {
        width: 0;
    }
    
    .admin-main-content {
        margin-left: 0;
    }
    
    .admin-sidebar.active {
        width: 250px;
    }
    
    .admin-menu-toggle {
        display: block;
    }
    
    .admin-content {
        padding: 15px;
    }
    
    .admin-list-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* Admin Sidebar Styles */
.admin-sidebar {
    width: 250px;
    background: var(--secondary);
    color: white;
    position: fixed;
    height: 100vh;
    transition: var(--transition);
    z-index: 1000;
}

.admin-sidebar-header {
    padding: 20px;
    background: var(--primary);
    text-align: center;
}

.admin-sidebar-header h2 {
    font-size: 1.5rem;
    margin-top: 10px;
}

.admin-menu {
    padding: 20px 0;
}

.admin-menu-item {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    cursor: pointer;
    border-left: 4px solid transparent;
}

.admin-menu-item:hover, .admin-menu-item.active {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--accent);
}

.admin-menu-item i {
    margin-right: 10px;
    font-size: 18px;
}

.admin-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

/* Responsive Admin */
@media (max-width: 992px) {
    .admin-sidebar {
        width: 70px;
        overflow: hidden;
    }
    
    .admin-sidebar:hover {
        width: 250px;
    }
    
    .admin-main-content {
        margin-left: 70px;
    }
    
    .admin-menu-item span {
        display: none;
    }
    
    .admin-sidebar:hover .admin-menu-item span {
        display: inline;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        position: fixed;
        left: -250px;
        transition: var(--transition);
    }
    
    .admin-sidebar.active {
        left: 0;
    }
    
    .admin-menu-toggle {
        display: block;
    }
    
    .admin-main-content {
        margin-left: 0;
    }
}

/* Settings Page Styles */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success {
    background: #e6f7ee;
    color: #0c9c55;
    border: 1px solid #c3eed9;
}

.alert-error {
    background: #fde8e8;
    color: #e53e3e;
    border: 1px solid #fbd5d5;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.setting-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px;
    transition: var(--transition);
}

.setting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.setting-card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.setting-option {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--primary);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}


/* CAPTCHA Styles */
.g-recaptcha {
    margin: 15px 0;
    display: flex;
    justify-content: center;
}

/* Login page specific styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.login-box {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    padding: 30px;
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo h1 {
    color: var(--primary);
    font-size: 2rem;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    color: #777;
}

/* Alert styles */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-error {
    background: #fde8e8;
    color: #e53e3e;
    border: 1px solid #fbd5d5;
}

.alert-success {
    background: #e6f7ee;
    color: #0c9c55;
    border: 1px solid #c3eed9;
}