/* PROSYD Academy - Custom CSS with Green Theme */

:root {
    --primary-green: #2d5016;
    --secondary-green: #4a7c59;
    --light-green: #7fb069;
    --accent-orange: #f4a261;
    --dark-green: #1a3009;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --text-dark: #2c3e50;
    --border-color: #e9ecef;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--secondary-green);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-orange));
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    border-color: var(--primary-green);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.3);
    color: var(--white);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-outline-primary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--light-green), var(--secondary-green));
    color: var(--white);
    border-color: var(--light-green);
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--secondary-green), var(--primary-green));
    color: var(--white);
}

/* Top Contact Bar */
.top-contact-bar {
    background: var(--primary-green);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.contact-info {
    display: flex;
    gap: 25px;
    align-items: center;
}

.contact-item {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.contact-item:hover {
    color: var(--accent-orange);
    transform: translateX(3px);
}

.contact-item i {
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.top-right-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.top-right-info .social-links {
    display: flex;
    gap: 8px;
}

.top-right-info .social-links a {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.top-right-info .social-links a:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
}

.btn-alumni-search {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-alumni-search:hover {
    background: var(--accent-orange);
    color: var(--white);
    transform: translateY(-1px);
    border-color: var(--accent-orange);
}

/* Main Navigation */
.main-navbar {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Segoe UI', sans-serif;
}

.logo-icon {
    position: relative;
}

.logo-badge {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 3px solid var(--accent-orange);
    transition: all 0.3s ease;
}

.logo-container:hover .logo-badge {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 5px 20px rgba(45, 80, 22, 0.3);
}

.logo-content {
    width: 22px;
    height: 16px;
    background: var(--accent-orange);
    border-radius: 3px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-content::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: var(--white);
    border-radius: 2px;
}

.logo-lines {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 1px;
}

.logo-lines .line {
    width: 2px;
    height: 8px;
    background: var(--primary-green);
    border-radius: 1px;
}

.logo-check {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 14px;
    height: 14px;
    background: var(--secondary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 8px;
    font-weight: bold;
    border: 2px solid var(--white);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 9px;
    color: var(--secondary-green);
    letter-spacing: 2px;
    font-weight: 600;
    margin-top: 2px;
}

/* Navigation Menu */
.main-navbar .navbar-nav {
    align-items: center;
}

.main-navbar .nav-item {
    margin: 0 5px;
}

.main-navbar .nav-link {
    color: var(--primary-green) !important;
    font-weight: 600;
    padding: 12px 18px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-navbar .nav-link i {
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 80, 22, 0.3);
}

.main-navbar .nav-link.dropdown-toggle::after {
    margin-left: 8px;
    transition: all 0.3s ease;
}

.main-navbar .nav-link.dropdown-toggle:hover::after {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    background: var(--white);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    margin-top: 10px;
    min-width: 220px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
}

.dropdown-item {
    color: var(--primary-green);
    padding: 10px 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    transform: translateX(5px);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile Navigation */
.navbar-toggler {
    border: 2px solid var(--primary-green);
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.navbar-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(45, 80, 22, 0.25);
}

/* Breadcrumb */
.breadcrumb-section {
    background: linear-gradient(135deg, var(--light-gray), #e8f5e8);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-item {
    color: var(--text-dark);
}

.breadcrumb-item a {
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.breadcrumb-item a:hover {
    color: var(--secondary-green);
    transform: translateX(2px);
}

.breadcrumb-item.active {
    color: var(--secondary-green);
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--secondary-green);
    font-weight: bold;
    margin: 0 8px;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .top-contact-bar {
        padding: 10px 0;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .top-right-info {
        justify-content: flex-start;
        margin-top: 10px;
    }
    
    .main-navbar {
        padding: 10px 0;
    }
    
    .logo-container {
        gap: 8px;
    }
    
    .logo-badge {
        width: 40px;
        height: 40px;
    }
    
    .brand-name {
        font-size: 18px;
    }
    
    .brand-subtitle {
        font-size: 8px;
    }
    
    .main-navbar .navbar-collapse {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid var(--border-color);
    }
    
    .main-navbar .nav-link {
        margin: 5px 0;
        justify-content: flex-start;
    }
    
    .dropdown-menu {
        border-radius: 10px;
        margin-top: 5px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .breadcrumb-section {
        padding: 15px 0;
    }
}

@media (max-width: 576px) {
    .contact-info {
        gap: 8px;
    }
    
    .contact-item {
        font-size: 0.8rem;
    }
    
    .top-right-info {
        gap: 15px;
    }
    
    .btn-alumni-search span {
        display: none;
    }
    
    .logo-badge {
        width: 35px;
        height: 35px;
    }
    
    .brand-name {
        font-size: 16px;
    }
    
    .brand-subtitle {
        font-size: 7px;
        letter-spacing: 1px;
    }
    
    .main-navbar .nav-link {
        font-size: 0.9rem;
        padding: 10px 15px !important;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, #e8f5e8 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    color: var(--accent-orange);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(45, 80, 22, 0.2));
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--white);
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(45, 80, 22, 0.15);
    border-color: var(--primary-green);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--accent-orange), var(--primary-green));
}

.service-card h4 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
}

.stat-card {
    padding: 40px 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-orange);
    margin-bottom: 10px;
    display: block;
}

.stat-card h4 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Instructors Section */
.instructors-section {
    padding: 80px 0;
}

.instructor-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.instructor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(45, 80, 22, 0.15);
}

.instructor-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.instructor-card:hover .instructor-image img {
    transform: scale(1.1);
}

.instructor-info {
    padding: 30px 20px;
    text-align: center;
}

.instructor-info h4 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.instructor-info p {
    color: var(--secondary-green);
    font-weight: 500;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

/* Schedule Section */
.schedule-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray), #e8f5e8);
    text-align: center;
}

.schedule-section h3 {
    color: var(--secondary-green);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.schedule-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.schedule-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    min-width: 350px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(45, 80, 22, 0.15);
    border-color: var(--primary-green);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--primary-green);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content h4 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.testimonial-content .company {
    color: var(--secondary-green);
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-content .training {
    color: var(--accent-orange);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-text {
    color: var(--text-dark);
    line-height: 1.6;
    font-style: italic;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: var(--white);
}

.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(45, 80, 22, 0.15);
    border-color: var(--primary-green);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 30px 25px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.news-meta span {
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 500;
}

.news-category {
    background: var(--primary-green);
    color: var(--white);
}

.news-author {
    background: var(--light-gray);
    color: var(--primary-green);
}

.news-date {
    background: var(--accent-orange);
    color: var(--white);
}

.news-content h4 {
    margin-bottom: 15px;
}

.news-content h4 a {
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-content h4 a:hover {
    color: var(--secondary-green);
}

.news-content p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Clients Section */
.clients-section {
    padding: 80px 0;
}

.client-logo {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(45, 80, 22, 0.15);
    border-color: var(--primary-green);
}

.client-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* Footer */
.footer-section {
    background: var(--dark-green);
    color: var(--white);
}

.footer-widget h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-widget h5 {
    color: var(--white);
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
}

.newsletter-form .input-group {
    margin-top: 15px;
}

.newsletter-form .form-control {
    border: none;
    border-radius: 25px 0 0 25px;
    padding: 12px 20px;
}

.newsletter-form .btn {
    border-radius: 0 25px 25px 0;
    padding: 12px 25px;
}

/* Call to Action Button */
.call-to-action {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.call-to-action .btn {
    border-radius: 50px;
    padding: 15px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .testimonial-slider {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-card {
        min-width: 100%;
        max-width: 400px;
    }
    
    .news-meta {
        justify-content: center;
    }
    
    .call-to-action {
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        bottom: 80px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .service-card,
    .instructor-card,
    .news-card,
    .testimonial-card {
        margin-bottom: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form Styles */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(45, 80, 22, 0.25);
}

.form-label {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 8px;
}

/* Admin Styles */
.admin-sidebar {
    background: var(--primary-green);
    min-height: 100vh;
    color: var(--white);
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 15px 20px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.admin-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.table thead th {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    font-weight: 600;
}

.table tbody tr:hover {
    background: rgba(45, 80, 22, 0.05);
}

.badge {
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.badge-success {
    background: var(--light-green);
}

.badge-warning {
    background: var(--accent-orange);
}

.badge-danger {
    background: #dc3545;
}

/* Login Page */
.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo img {
    max-height: 80px;
}

.login-title {
    text-align: center;
    color: var(--primary-green);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Utility Classes */
.text-primary-green {
    color: var(--primary-green) !important;
}

.bg-primary-green {
    background-color: var(--primary-green) !important;
}

.text-secondary-green {
    color: var(--secondary-green) !important;
}

.bg-secondary-green {
    background-color: var(--secondary-green) !important;
}

.text-accent-orange {
    color: var(--accent-orange) !important;
}

.bg-accent-orange {
    background-color: var(--accent-orange) !important;
}

.border-primary-green {
    border-color: var(--primary-green) !important;
}

.shadow-green {
    box-shadow: 0 10px 40px rgba(45, 80, 22, 0.15) !important;
}

.rounded-20 {
    border-radius: 20px !important;
}

.rounded-50 {
    border-radius: 50px !important;
}

/* Image Fallback Styles */
.instructor-image img,
.news-image img,
.testimonial-image img,
.client-logo img,
.about-image img {
    transition: all 0.3s ease;
}

.instructor-image img[src=""],
.instructor-image img:not([src]),
.instructor-image img[src*="default"] {
    display: none;
}

.instructor-image {
    position: relative;
}

.instructor-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border: 2px dashed var(--primary-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 48px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instructor-image:has(img[style*="display: none"])::after,
.instructor-image:has(img:not([src]))::after {
    opacity: 1;
    content: '👨‍🏫';
}

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border: 2px dashed var(--primary-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 36px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-image:has(img[style*="display: none"])::after,
.news-image:has(img:not([src]))::after {
    opacity: 1;
    content: '📰';
}

.testimonial-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border: 2px dashed var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-image:has(img[style*="display: none"])::after,
.testimonial-image:has(img:not([src]))::after {
    opacity: 1;
    content: '👤';
}

.client-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-weight: bold;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-logo:has(img[style*="display: none"])::after,
.client-logo:has(img:not([src]))::after {
    opacity: 1;
    content: 'LOGO';
}

/* Fallback for browsers that don't support :has() */
@supports not selector(:has(*)) {
    .image-placeholder {
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
        border: 2px dashed var(--primary-green);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-green);
        font-weight: bold;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }
    
    .instructor-placeholder::before {
        content: '👨‍🏫';
        font-size: 48px;
    }
    
    .news-placeholder::before {
        content: '📰';
        font-size: 36px;
    }
    
    .testimonial-placeholder::before {
        content: '👤';
        font-size: 24px;
    }
    
    .client-placeholder::before {
        content: 'LOGO';
        font-size: 14px;
    }
}
