/* General Body Styles */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Poppins', 'Open Sans', sans-serif;
    overflow-x: hidden;
}

/* --- NEW: Header Styling --- */
.main-header {
    position: fixed; /* Keep header at the top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensure header is on top of all other content */
    background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent background */
    -webkit-backdrop-filter: blur(10px); /* Frosted glass effect */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%; /* Vertical and horizontal padding */
    position: relative;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
    z-index: 1001; /* Ensure logo link is clickable above other elements */
    position: relative;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-link:active {
    opacity: 0.7;
}

.logo {
    height: 50px; /* Adjust logo height as needed */
    width: auto;
}


/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.admin-link {
    background-color: rgba(255, 26, 26, 0.3);
}

.nav-link.admin-link:hover {
    background-color: rgba(255, 26, 26, 0.5);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    color: #fff;
    text-decoration: none;
    padding: 15px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: padding-left 0.3s ease;
}

.mobile-nav-link:hover {
    padding-left: 10px;
}

.mobile-nav-link.admin-link {
    color: #ff1a1a;
    font-weight: 600;
}

/* Adjust enroll button for the header */
.header-button {
    padding: 6px 20px; /* Decreased padding */
    font-size: 0.8rem; /* Decreased font size */
    margin-left: 20px; /* Add space if needed */
}

/* Full-screen Hero Section */
.hero-section {
    position: relative;
    height: 100vh; /* Full viewport height */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* Slideshow Container */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Place it behind the content but above base */
}

/* Individual Slide Styles */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* Cover the entire area */
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Smooth fade transition */
    z-index: 1;
    /* Enhance image visibility */
    filter: brightness(1.1) contrast(1.05);
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Gradient overlay - darker at bottom where text is, lighter at top for image visibility */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.4) 100%
    ); /* Gradient overlay - lighter at top, darker at bottom */
    z-index: 3; /* Above slides but below content */
    pointer-events: none; /* Allow interactions through overlay */
}

/* Centered Content */
.hero-content {
    position: relative;
    z-index: 4; /* Ensure content is on top of everything */
    padding: 20px;
}

/* --- NEW: Entry Animation for Hero Content --- */
.fade-in-animation {
    animation: fadeIn 2s 0.5s ease-in-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- NEW: More Transparent Text Container --- */
.text-container {
    background-color: rgba(0, 0, 0, 0.3); /* Reduced opacity to show more background */
    border-radius: 15px; /* Rounded corners */
    padding: 30px 50px; /* Space around the text */
    max-width: 90%;
    margin-bottom: 30px; /* Space between box and button */

    /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2); /* More visible border */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); /* Lighter shadow */
}


/* --- UPDATED: Static High-Visibility Text with Strong Outline --- */
.glass-title {
    position: relative;
    font-weight: 700;
    font-size: 3rem;
    margin: 0 0 10px 0;
    color: #fff; /* Main Title Color: White */

    /* Strong outline for readability over any background */
    text-shadow: 
        /* Multi-directional outline */
        2px 2px 4px rgba(0, 0, 0, 0.9),
        -2px -2px 4px rgba(0, 0, 0, 0.9),
        2px -2px 4px rgba(0, 0, 0, 0.9),
        -2px 2px 4px rgba(0, 0, 0, 0.9),
        /* Outer glow */
        0 0 20px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(0, 0, 0, 0.6);
}

.glass-subtitle {
    position: relative;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #ff1a1a; /* Subtitle Color: Red */

    /* Multi-layer shadows for Glow, Halo, and Contrast */
    text-shadow:
        /* Layer 1: Soft outer glow (white/pink) */
        0 0 8px rgba(255, 182, 193, 0.7),

        /* Add a subtle outline */
        0 0 15px rgba(255, 255, 255, 0.6);
}

/* --- NEW: Green Register Button for Header --- */
.register-button {
    background-color: #28a745; /* Green background */
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.register-button:hover {
    background-color: #218838; /* Darker green on hover */
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}


/* Enroll Now Button */
.enroll-button {
    background-color: #007BFF;
    color: white;
    padding: 15px 35px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 50px; /* Modern rounded corners */
    transition: background-color 0.3s ease, transform 0.3s ease;

    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.enroll-button:hover {
    background-color: #0056b3;

    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Slideshow Navigation Arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 4;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* --- NEW: AI Syllabus Note Styling --- */
.ai-note {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    max-width: 700px; /* Limit width on large screens */
    margin-left: auto;
    margin-right: auto;
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.65); /* Darker transparent black box */
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.robot-icon {
    height: 60px; /* Adjust icon size as needed */
    margin-right: 15px;
}

.ai-note p {
    color: #FFD700; /* Bright yellow text for high visibility */
    font-size: 1rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
    margin: 0;
}

/* AI Badge Promo - Clean Badge Style */
.ai-badge-promo {
    background: rgba(255, 26, 26, 0.85);
    border-radius: 30px;
    padding: 12px 30px;
    margin-top: 30px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(255, 26, 26, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse-glow 3s ease-in-out infinite;
}

.ai-badge-promo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 26, 26, 0.5);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 26, 26, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 26, 26, 0.6);
    }
}

.ai-badge-text {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    display: inline-block;
    white-space: nowrap;
}

.ai-badge-text strong {
    font-weight: 700;
    color: #ffeb3b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* --- NEW: AI Text Highlight and Animation --- */
.highlight-ai {
    color: #ff1a1a; /* Red color */
    font-weight: 700; /* Make it bolder */
    display: inline-block; /* Required for transform animation */
    animation: ai-zoom 2.5s ease-in-out infinite;
}

@keyframes ai-zoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* About Section */
.about-section {
    padding: 100px 5% 80px;
    background: #f8f9fa;
    min-height: auto;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 50px;
}

.about-text p {
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Courses Section */
.courses-section {
    padding: 100px 5% 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: auto;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.course-modules {
    margin-top: 15px;
    margin-bottom: 15px;
}

.course-modules ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 50px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.contact-section .section-title {
    color: #333;
    text-shadow: none;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.course-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #ff1a1a;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(255, 26, 26, 0.4);
}

.ai-badge {
    background-color: #ff1a1a;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.course-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    padding-right: 100px;
}

.course-content {
    color: #555;
    line-height: 1.8;
}

.course-description,
.course-duration {
    margin-bottom: 15px;
}

.course-career-paths {
    margin-top: 20px;
}

.course-career-paths ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.course-career-paths li {
    margin-bottom: 8px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .text-container {
        padding: 15px 25px;
    }
    .glass-title {
        font-size: 2.5rem;
    }
    .glass-subtitle {
        font-size: 1.2rem;
    }
    .enroll-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    .ai-note {
        max-width: 90%;
    }
    .ai-note p {
        font-size: 0.9rem;
    }
    
    /* Navigation responsive */
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .courses-section {
        padding: 80px 3% 60px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }
    
    .ai-badge-promo {
        padding: 10px 20px;
        margin-top: 25px;
    }
    
    .ai-badge-text {
        font-size: 0.9rem;
        white-space: normal;
        text-align: center;
    }
    
    
    .course-card {
        padding: 20px;
    }
    
    .course-title {
        font-size: 1.3rem;
        padding-right: 80px;
    }
}

/* --- NEW: Header Responsive Design --- */
@media (max-width: 768px) {
    .header-title {
        display: none; /* Hide the middle text on tablets and smaller devices */
    }
    .header-nav {
        padding: 10px 3%;
    }
    .logo {
        height: 40px;
    }
}

/* Contact Section */
.contact-section {
    padding: 100px 5% 80px;
    background: #fff;
    min-height: auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2.5rem;
    min-width: 60px;
    text-align: center;
}

.contact-details h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-details p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.contact-form-container {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form-container h3 {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 15px;
    margin-bottom: 15px;
    font-weight: 400;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.9),
        -1px -1px 3px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(0, 0, 0, 0.8);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 20px;
    margin-bottom: 0;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.9),
        -1px -1px 2px rgba(0, 0, 0, 0.9),
        0 0 8px rgba(0, 0, 0, 0.7);
    max-width: 800px;
}


/* Registration CTA Section */
.registration-cta-section {
    padding: 80px 5%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
}

.registration-cta-section .section-title {
    color: #fff;
    margin-bottom: 15px;
}

.registration-cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cta-button {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 250px;
    text-align: center;
}

.cta-button.primary {
    background-color: #fff;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button.primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.cta-button.secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.cta-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 20px;
    font-style: italic;
}

.info-box {
    background-color: #e7f3ff;
    border-left: 4px solid #007BFF;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.info-box p {
    margin: 0;
    color: #004085;
    font-size: 0.9rem;
    line-height: 1.6;
}

.info-box a {
    color: #007BFF;
    font-weight: 600;
    text-decoration: none;
}

.info-box a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 60px 5% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .courses-section {
        padding: 70px 2% 50px;
    }
    
    .about-section,
    .contact-section {
        padding: 70px 2% 50px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .course-card {
        padding: 15px;
    }
    
    .course-title {
        font-size: 1.2rem;
        padding-right: 70px;
    }
    
    .course-badge {
        font-size: 0.65rem;
        padding: 4px 10px;
    }
    
    .contact-form-container {
        padding: 25px;
    }
}

/* Form Pages */
.form-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding-top: 80px;
}

.form-section {
    padding: 40px 5%;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.form-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700;
}

.form-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1rem;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: 0.85rem;
    color: #888;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.submit-button {
    background-color: #007BFF;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
}

.submit-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.form-message {
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 0.9rem;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 0.9rem;
}

.form-footer a {
    color: #007BFF;
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

.login-required {
    text-align: center;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    color: #333;
}

.login-required a {
    color: #007BFF;
    text-decoration: none;
    font-weight: 600;
}

/* Booking Cards */
.bookings-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.booking-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #007BFF;
}

.booking-card.pending {
    border-left-color: #ffc107;
}

.booking-card.approved {
    border-left-color: #28a745;
}

.booking-card.rejected {
    border-left-color: #dc3545;
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.booking-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
}

.booking-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.booking-status.pending {
    background-color: #fff3cd;
    color: #856404;
}

.booking-status.approved {
    background-color: #d4edda;
    color: #155724;
}

.booking-status.rejected {
    background-color: #f8d7da;
    color: #721c24;
}

.booking-details {
    color: #666;
    line-height: 1.8;
}

.booking-details p {
    margin: 8px 0;
}

.no-bookings {
    text-align: center;
    padding: 40px;
    color: #666;
}

.no-bookings a {
    color: #007BFF;
    text-decoration: none;
    font-weight: 600;
}

/* Admin Dashboard */
.admin-container {
    max-width: 1200px;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.tab-button {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.tab-button:hover {
    color: #007BFF;
}

.tab-button.active {
    color: #007BFF;
    border-bottom-color: #007BFF;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.admin-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-select,
.filter-input {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: #667eea;
}

.admin-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.admin-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.admin-card-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-badge.active {
    background-color: #d4edda;
    color: #155724;
}

.admin-card-body {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.admin-card-body p {
    margin: 8px 0;
    font-size: 0.9rem;
}

.admin-card-actions {
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.action-button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activate-btn {
    background-color: #28a745;
    color: white;
}

.activate-btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.assign-btn {
    background-color: #007BFF;
    color: white;
}

.assign-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.cleanup-btn {
    background-color: #dc3545;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cleanup-btn:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.cleanup-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    transform: none;
}

/* Dashboard Overview */
.dashboard-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.stat-card.pending {
    border-left: 5px solid #ffc107;
}

.stat-card.today {
    border-left: 5px solid #28a745;
}

.stat-card.total {
    border-left: 5px solid #007bff;
}

.stat-card.profiles {
    border-left: 5px solid #dc3545;
}

.stat-icon {
    font-size: 3rem;
    min-width: 60px;
    text-align: center;
}

.stat-content h3 {
    font-size: 2rem;
    margin: 0;
    color: #333;
    font-weight: 700;
}

.stat-content p {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 0.9rem;
}

.dashboard-section {
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.section-heading {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.login-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid #e0e0e0;
}

.login-tab {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.login-tab:hover {
    color: #007BFF;
}

.login-tab.active {
    color: #007BFF;
    border-bottom-color: #007BFF;
}

.login-form {
    display: none;
}

.login-form.active {
    display: block;
}

.admin-submit {
    background-color: #dc3545;
}

.admin-submit:hover {
    background-color: #c82333;
}

.today-reservation {
    border-left: 4px solid #28a745;
}

.time-badge {
    background-color: #007bff;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 5px;
}

.pc-badge {
    background-color: #28a745;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

@media (max-width: 768px) {
    .dashboard-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
    
    .stat-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .dashboard-overview {
        grid-template-columns: 1fr;
    }
    
    .dashboard-section {
        padding: 20px;
    }
}

.booking-info-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #007BFF;
}

.booking-info-card h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.booking-info-card p {
    margin: 8px 0;
    color: #555;
    font-size: 0.95rem;
}

/* Professional UI Enhancements */
.form-container {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-card {
    transition: all 0.3s ease;
}

.admin-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.submit-button:active {
    transform: scale(0.98);
}

/* Improved form focus states */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Better loading states */
.loading-message {
    color: #666;
    font-style: italic;
}

/* Improved card layouts */
.course-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Better mobile touch targets */
@media (max-width: 768px) {
    .nav-link,
    .mobile-nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .submit-button {
        min-height: 48px;
        font-size: 1rem;
    }
    
    .action-button {
        min-height: 44px;
        padding: 12px 20px;
    }
}

.loading-message,
.no-data,
.error-message {
    text-align: center;
    padding: 40px;
    color: #666;
}

.error-message {
    color: #dc3545;
}

/* Modal */
.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);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    line-height: 20px;
}

.modal-close:hover {
    color: #000;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

/* Responsive Design for Forms */
@media (max-width: 768px) {
    .form-container {
        padding: 30px 20px;
    }
    
    .form-title {
        font-size: 1.6rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .admin-tabs {
        flex-direction: column;
    }
    
    .tab-button {
        text-align: left;
        border-bottom: none;
        border-left: 3px solid transparent;
        padding-left: 15px;
    }
    
    .tab-button.active {
        border-left-color: #007BFF;
        border-bottom-color: transparent;
    }
    
    .admin-list {
        grid-template-columns: 1fr;
    }
    
    .admin-filters {
        flex-direction: column;
    }
    
    .filter-select,
    .filter-input {
        width: 100%;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .form-section {
        padding: 20px 3%;
    }
    
    .form-container {
        padding: 25px 15px;
    }
    
    .form-title {
        font-size: 1.4rem;
    }
    
    .booking-card,
    .admin-card {
        padding: 15px;
    }
    
    .booking-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .admin-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .text-container {
        padding: 15px;
    }
    .glass-title {
        font-size: 2rem;
    }
    .glass-subtitle {
        font-size: 1rem;
    }
    .ai-note {
        flex-direction: column; /* Stack icon on top of text */
        text-align: center;
    }
    .robot-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
