.main-content {
    padding-top: 80px; /* Adjust based on header height */
}

/* Hero Section */
.hero-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

/* Hero Admin Menu (Hamburger) */
.hero-admin-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.hamburger-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.hamburger-icon {
    width: 24px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn:hover .hamburger-icon {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.admin-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    min-width: 160px;
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.admin-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
    font-size: 13px;
    font-weight: 700;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.dropdown-item {
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    text-align: left;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding-left: 20px;
}

.dropdown-item.delete-btn:hover {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(200, 35, 51, 0.1) 100%);
    color: #dc3545;
}

.dropdown-item .icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero-admin-menu {
        top: 10px;
        right: 10px;
    }
    
    .hamburger-btn {
        width: 45px;
        height: 45px;
    }
    
    .admin-dropdown {
        min-width: 150px;
    }
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Programs Section */
.programs-section {
    padding: 2rem 0;
    background: #f8f9fa;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.program-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.card-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.program-highlights {
    list-style: none;
    margin: 1rem 0;
}

.program-highlights li {
    padding: 0.3rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.program-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.learn-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.learn-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* News Section */
.news-section {
    padding: 2rem 0;
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.news-date {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-content p:last-child {
    color: #666;
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

/* Enhanced Program Modal Styles */
.program-modal-content {
    max-width: 900px;
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.program-modal-header {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #8B4513 100%);
    padding: 1rem 2rem;
    position: relative;
    border-bottom: 3px solid #6B4423;
}

.program-modal-header .close-modal {
    color: white;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
}

.program-modal-header .close-modal:hover {
    color: #f0f0f0;
}

.program-modal-body {
    padding: 2rem;
    background: linear-gradient(135deg, #FFFBE9 0%, #F5F5DC 100%);
}

.program-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.program-icon .program-icon-large {
    font-size: 4rem;
    display: block;
}

.program-title {
    color: #8B4513;
    margin: 0 0 0.5rem 0;
    font-size: 2.2rem;
    font-weight: 700;
}

.program-level-badge {
    background: linear-gradient(135deg, #6B4423, #8B4513);
    color: #FFFBE9;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(107, 68, 35, 0.3);
}

.program-description-card {
    background: rgba(255, 251, 233, 0.8);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.15);
    border-left: 5px solid #A0522D;
    border-top: 1px solid rgba(139, 69, 19, 0.2);
}

.program-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

.program-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.12);
    border: 1px solid rgba(139, 69, 19, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 69, 19, 0.2);
    border-color: rgba(160, 82, 45, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(139, 69, 19, 0.15);
}

.card-icon {
    font-size: 1.5rem;
}

.card-header h3 {
    color: #8B4513;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.feature-list, .curriculum-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li, .curriculum-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}

.feature-list li:last-child, .curriculum-list li:last-child {
    border-bottom: none;
}

.feature-bullet, .curriculum-bullet {
    color: #A0522D;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.schedule-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.info-label {
    font-weight: 600;
    color: #6B4423;
    font-size: 0.95rem;
}

.info-value {
    color: #555;
    line-height: 1.5;
}

.program-highlights {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.12);
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.program-highlights h3 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #8B4513;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.highlight-icon {
    font-size: 1.6rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 251, 233, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(139, 69, 19, 0.08);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 251, 233, 0.9);
    border-color: rgba(160, 82, 45, 0.2);
    transform: translateY(-1px);
}

.highlight-icon-circle {
    background: linear-gradient(135deg, #6B4423, #8B4513);
    color: #FFFBE9;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(107, 68, 35, 0.3);
}

.highlight-content h4 {
    margin: 0 0 0.5rem 0;
    color: #6B4423;
    font-size: 1.1rem;
    font-weight: 600;
}

.highlight-content p {
    margin: 0;
    color: #5A4A3A;
    font-size: 0.95rem;
    line-height: 1.5;
}

.program-modal-footer {
    background: linear-gradient(135deg, rgba(255, 251, 233, 0.9) 0%, rgba(245, 245, 220, 0.9) 100%);
    padding: 1.5rem 2rem;
    border-top: 2px solid rgba(139, 69, 19, 0.15);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: #FFFBE9;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #6B4423, #8B4513);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.4);
}

.btn-secondary {
    background: rgba(255, 251, 233, 0.9);
    color: #6B4423;
    border: 2px solid #A0522D;
}

.btn-secondary:hover {
    background: #A0522D;
    color: #FFFBE9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(160, 82, 45, 0.3);
}

.btn-icon {
    font-size: 1.1rem;
}

/* Responsive Design for Program Modal */
@media (max-width: 768px) {
    .program-modal-content {
        max-width: 95%;
        margin: 2% auto;
        max-height: 95vh;
    }
    
    .program-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .program-title {
        font-size: 1.8rem;
    }
    
    .program-details-grid {
        grid-template-columns: 1fr;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #aaa;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #333;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.btn-admin {
    background: linear-gradient(135deg, #8B4513 0%, #C8102E 100%);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.2);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3);
    text-decoration: none;
    color: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.news-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image-container img {
    transform: scale(1.05);
}

.news-category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-news {
    background: rgba(0, 123, 255, 0.9);
    color: white;
}

.category-event {
    background: rgba(255, 193, 7, 0.9);
    color: #212529;
}

.category-announcement {
    background: rgba(23, 162, 184, 0.9);
    color: white;
}

.news-content {
    padding: 1.5rem;
}

.news-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: #2c3e50;
    line-height: 1.4;
}

.news-date {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
    font-weight: 500;
}

.news-summary {
    color: #5a6c7d;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: flex;
    align-items: center;
    color: #667eea;
    font-weight: bold;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.news-item:hover .read-more {
    color: #764ba2;
}

.no-news {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* News Modal Styles */
#newsModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

#newsModal .modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    position: relative;
    color: white;
}

.modal-header .close-modal {
    color: white;
    font-size: 2rem;
    top: 10px;
    right: 15px;
}

.modal-header .close-modal:hover {
    color: #f0f0f0;
}

.modal-body {
    padding: 2rem;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.modal-body h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2rem;
    line-height: 1.3;
}

.modal-body .news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.modal-body .news-meta .date {
    color: #7f8c8d;
    font-weight: 500;
}

.modal-body .news-meta .category {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.modal-body .news-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.modal-body .news-article {
    line-height: 1.8;
    color: #34495e;
}

.modal-body .news-article h3 {
    color: #2c3e50;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.4rem;
}

.modal-body .news-article h4 {
    color: #2c3e50;
    margin: 1.2rem 0 0.8rem 0;
    font-size: 1.2rem;
}

.modal-body .news-article ul, .modal-body .news-article ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.modal-body .news-article li {
    margin-bottom: 0.5rem;
}

.modal-body .news-article p {
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    #newsModal .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-body h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        margin: 0 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
}

/* Admin Interface Styles */
.admin-overlay {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #e9ecef;
    opacity: 1; /* Always visible for admin users */
    transition: all 0.3s ease;
}

.news-item:hover .admin-overlay {
    border-top-color: #8B4513;
}

.btn-edit, .btn-delete {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.8) 100%);
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-edit:hover {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-delete:hover {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* Mobile Responsive for Admin Overlay */
@media (max-width: 768px) {
    .admin-overlay {
        flex-direction: column;
        gap: 8px;
        margin-top: 12px;
        padding-top: 12px;
    }
    
    .btn-edit, .btn-delete {
        width: 100%;
        padding: 10px 16px;
        font-size: 14px;
        justify-content: center;
    }
}

/* =============================================
   LAS PINAS HOME ADMIN CRUD STYLES
   ============================================= */

/* Admin Controls */
.admin-controls {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.btn-admin {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-admin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.btn-admin:hover::before {
    width: 300px;
    height: 300px;
}

.btn-admin:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #1ba085 100%);
}

.btn-admin:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.btn-admin span {
    position: relative;
    z-index: 1;
}

/* Program Card Admin Overlay */
.program-card {
    position: relative;
}

.program-card .admin-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 15;
}

.program-card:hover .admin-overlay {
    opacity: 1;
    transform: translateY(0);
}

.program-card .btn-edit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 10px 14px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-card .btn-edit:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    border-color: rgba(255, 255, 255, 0.4);
}

.program-card .btn-edit:active {
    transform: translateY(-1px) scale(0.95);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Hero Carousel Admin Overlay */
.carousel-slide .admin-overlay {
    position: absolute;
    top: 25px;
    right: 25px;
    display: flex;
    gap: 12px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
}

.carousel-slide:hover .admin-overlay {
    opacity: 1;
    transform: translateX(0);
}

.carousel-slide .btn-edit,
.carousel-slide .btn-delete {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px) saturate(1.5);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.carousel-slide .btn-edit:hover {
    background: rgba(102, 126, 234, 0.9);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
}

.carousel-slide .btn-delete:hover {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
}

.carousel-slide .btn-edit:active,
.carousel-slide .btn-delete:active {
    transform: translateY(-1px) scale(0.95);
}

/* Content Edit Modal */
.content-edit-modal {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.6);
}

.content-edit-modal .modal-content {
    max-width: 900px;
    width: 95%;
    max-height: 95vh;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(1.2);
    border-radius: 24px;
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.15),
        0 16px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: modalSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-edit-modal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 28px 35px;
    border-radius: 24px 24px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.content-edit-modal .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 1;
}

.content-edit-modal .modal-header h3 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-edit-modal .close-modal {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.content-edit-modal .close-modal:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.content-edit-modal .close-modal:active {
    transform: rotate(90deg) scale(0.95);
}

.content-edit-modal .modal-body {
    padding: 35px;
    max-height: calc(95vh - 140px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.3) transparent;
    position: relative;
    z-index: 1;
}

.content-edit-modal .modal-body::-webkit-scrollbar {
    width: 8px;
}

.content-edit-modal .modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.content-edit-modal .modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.content-edit-modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.content-edit-modal .form-group {
    margin-bottom: 20px;
}

.content-edit-modal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.content-edit-modal .form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    color: #2d3748;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 4px;
}

.content-edit-modal .form-group label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    transform: translateY(-50%);
}

.content-edit-modal .form-group input,
.content-edit-modal .form-group textarea,
.content-edit-modal .form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    color: #2d3748;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.content-edit-modal .form-group input:focus,
.content-edit-modal .form-group textarea:focus,
.content-edit-modal .form-group select:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 0 4px rgba(102, 126, 234, 0.15),
        0 4px 20px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.content-edit-modal .form-group input:hover,
.content-edit-modal .form-group textarea:hover,
.content-edit-modal .form-group select:hover {
    border-color: #cbd5e0;
    background: rgba(255, 255, 255, 0.9);
}

.content-edit-modal .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.content-edit-modal .form-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.content-edit-modal .form-actions {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    padding-top: 30px;
    border-top: 2px solid rgba(102, 126, 234, 0.1);
    margin-top: 35px;
    position: relative;
}

.content-edit-modal .form-actions::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1px;
}

.content-edit-modal .btn {
    padding: 16px 32px;
    border: none;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    min-width: 140px;
    justify-content: center;
}

.content-edit-modal .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.content-edit-modal .btn:hover::before {
    width: 300px;
    height: 300px;
}

.content-edit-modal .btn span {
    position: relative;
    z-index: 1;
}

.content-edit-modal .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.content-edit-modal .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.content-edit-modal .btn-secondary {
    background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(113, 128, 150, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.content-edit-modal .btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(113, 128, 150, 0.4);
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
}

.content-edit-modal .btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Enhanced Notification System */
.admin-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 350px;
}

.admin-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.admin-notification.success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.admin-notification.error {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
}

.admin-notification .notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 15px;
}

.admin-notification .notification-icon {
    font-size: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

/* Tooltip System */
.admin-tooltip {
    position: relative;
    cursor: help;
}

.admin-tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1001;
}

.admin-tooltip::after {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.admin-tooltip:hover::before,
.admin-tooltip:hover::after {
    opacity: 1;
}

/* Progress Indicators */
.admin-progress {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 15px 0;
}

.admin-progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
    position: relative;
}

.admin-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

/* Mobile Responsiveness for Admin Controls */
@media (max-width: 768px) {
    .content-edit-modal .modal-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .content-edit-modal .modal-header,
    .content-edit-modal .modal-body {
        padding: 20px;
    }
    
    .content-edit-modal .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .content-edit-modal .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .content-edit-modal .btn {
        width: 100%;
        justify-content: center;
        padding: 18px 24px;
        font-size: 16px;
    }
    
    .admin-notification {
        right: 10px;
        left: 10px;
        max-width: none;
        margin: 0 auto;
        transform: translateY(-100px);
    }
    
    .admin-notification.show {
        transform: translateY(0);
    }
    
    .btn-admin {
        padding: 16px 24px;
        font-size: 16px;
        min-width: 160px;
    }
    
    .program-card .admin-overlay {
        position: relative;
        top: auto;
        right: auto;
        opacity: 1;
        justify-content: center;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #e9ecef;
    }
    
    .carousel-slide .admin-overlay {
        position: relative;
        top: auto;
        right: auto;
        opacity: 1;
        justify-content: center;
        margin-top: 15px;
        transform: translateX(0);
    }
}

/* Animation Keyframes */
@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(40px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

/* Enhanced Image Upload Area */
.content-edit-modal .image-upload-area {
    position: relative;
    border: 2px dashed #cbd5e0;
    border-radius: 16px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    transition: all 0.4s ease;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.content-edit-modal .image-upload-area.drag-over {
    border-color: #667eea;
    background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.content-edit-modal .image-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.content-edit-modal .upload-placeholder {
    text-align: center;
    padding: 20px;
    pointer-events: none;
}

.content-edit-modal .upload-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
    opacity: 0.6;
}

.content-edit-modal .upload-text {
    display: block;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 16px;
}

.content-edit-modal .upload-formats {
    display: block;
    font-size: 12px;
    color: #718096;
    font-style: italic;
}

.content-edit-modal .current-image,
.content-edit-modal .image-preview {
    text-align: center;
    padding: 20px;
}

.content-edit-modal .current-image img,
.content-edit-modal .image-preview img {
    max-width: 200px;
    max-height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 12px;
}

.content-edit-modal .current-image p {
    font-size: 14px;
    color: #718096;
    margin: 8px 0 0 0;
}

.content-edit-modal .btn-remove-preview {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.content-edit-modal .btn-remove-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 101, 101, 0.3);
}

.content-edit-modal .image-upload-area:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
}

.content-edit-modal .image-upload-area[data-has-image="true"] .upload-placeholder {
    display: none;
}

/* Loading Animation for Forms */
.content-edit-modal .loading {
    position: relative;
    overflow: hidden;
}

.content-edit-modal .loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    animation: shimmer 2s infinite;
}

/* Success/Error States */
.content-edit-modal .form-group.success input,
.content-edit-modal .form-group.success textarea,
.content-edit-modal .form-group.success select {
    border-color: #48bb78;
    background: rgba(72, 187, 120, 0.05);
}

.content-edit-modal .form-group.error input,
.content-edit-modal .form-group.error textarea,
.content-edit-modal .form-group.error select {
    border-color: #f56565;
    background: rgba(245, 101, 101, 0.05);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* ========================================
   PROGRAM EDIT MODAL STYLES
======================================== */

.program-edit-content {
    max-width: 1000px !important;
    width: 95% !important;
}

.program-edit-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

/* Image Column */
.program-image-column {
    display: flex;
    flex-direction: column;
}

.portrait-upload .upload-hint {
    font-size: 13px;
    color: #718096;
    padding: 12px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    margin-top: 10px;
    text-align: center;
}

.portrait-upload .image-preview img,
.portrait-upload #programCurrentImage img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid rgba(102, 126, 234, 0.2);
}

.portrait-upload #programCurrentImage {
    margin-top: 15px;
}

.portrait-upload .current-label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 10px;
    font-size: 14px;
}

.portrait-upload .btn-remove-image {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.portrait-upload .btn-remove-image:hover {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 101, 101, 0.4);
}

/* Text Column */
.program-text-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.program-text-column textarea {
    text-align: justify;
    line-height: 1.7;
    font-size: 15px;
}

.program-text-column .form-hint {
    display: block;
    font-size: 13px;
    color: #718096;
    font-style: italic;
    margin-top: 6px;
}

/* Make description preview justify */
#programDescription {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Program Card Display - Justified Text */
.program-card .card-content > p {
    text-align: justify;
    line-height: 1.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .program-edit-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .program-image-column {
        order: 1;
    }
    
    .program-text-column {
        order: 2;
    }
    
    .portrait-upload .image-preview img,
    .portrait-upload #programCurrentImage img {
        max-height: 300px;
    }
}

/* Theme alignment with index.php (warm brown + maroon + gold) */
:root {
    --dla-brown: #8B4513;
    --dla-brown-dark: #6B4423;
    --dla-brown-light: #A0522D;
    --dla-maroon: #C8102E;
    --dla-gold: #FFD700;
    --dla-cream: #FFF8E7;
    --dla-text: #2f251b;
}

body {
    color: var(--dla-text);
    background: linear-gradient(180deg, #fffdfa 0%, #fdf7f0 100%);
}

.hero-section {
    background: radial-gradient(ellipse at top, rgba(160, 82, 45, 0.24) 0%, rgba(139, 69, 19, 0.9) 42%, rgba(54, 24, 8, 0.96) 100%);
}

.section-title {
    color: var(--dla-brown-dark);
}

.section-title::after {
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0) 0%, rgba(255, 215, 0, 0.95) 30%, rgba(200, 16, 46, 0.85) 70%, rgba(255, 215, 0, 0) 100%);
}

.programs-section {
    background: linear-gradient(180deg, #fffaf3 0%, #f8ede0 100%);
}

.news-section {
    background: linear-gradient(180deg, #fff 0%, #fdf6ec 100%);
}

.program-card,
.news-item {
    border: 1px solid rgba(139, 69, 19, 0.12);
    box-shadow: 0 10px 28px rgba(64, 28, 10, 0.12);
}

.program-card:hover,
.news-item:hover {
    box-shadow: 0 18px 38px rgba(64, 28, 10, 0.2);
}

.card-content h3,
.news-content h4,
.news-header .section-title,
.dropdown-header {
    color: var(--dla-brown-dark);
}

.program-highlights li::before {
    color: var(--dla-maroon);
}

.learn-more-btn,
.btn-admin,
.read-more,
.enroll-btn {
    background: linear-gradient(135deg, var(--dla-brown) 0%, var(--dla-maroon) 100%);
    color: #fff;
}

.learn-more-btn:hover,
.btn-admin:hover,
.enroll-btn:hover {
    background: linear-gradient(135deg, var(--dla-maroon) 0%, var(--dla-brown) 100%);
}

.read-more {
    border-color: rgba(255, 215, 0, 0.35);
}

.news-item:hover .read-more {
    color: #fff;
}

.news-category-badge {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.92) 0%, rgba(200, 16, 46, 0.92) 100%);
    border: 1px solid rgba(255, 215, 0, 0.45);
}

.hamburger-btn {
    border: 2px solid rgba(139, 69, 19, 0.3);
}

.hamburger-btn:hover {
    border-color: rgba(200, 16, 46, 0.55);
    box-shadow: 0 8px 24px rgba(139, 69, 19, 0.25);
}

.hamburger-icon {
    background: linear-gradient(135deg, var(--dla-brown) 0%, var(--dla-maroon) 100%);
}

.admin-dropdown {
    border: 2px solid rgba(139, 69, 19, 0.18);
}

.dropdown-header {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.12) 0%, rgba(200, 16, 46, 0.12) 100%);
    border-bottom: 2px solid rgba(139, 69, 19, 0.15);
}