/* Custom CSS for Skylight Coaching Classes Website */

/* Color Theme Variables */
:root {
    --primary-color: #ff6b00; /* Orange */
    --primary-dark: #e05a00;
    --primary-light: #ff8c3f;
    --text-color: #000000; /* Black */
    --text-light: #333333;
    --background-color: #ffffff; /* White */
    --accent-color: #f8f8f8;
}

/* General Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Header Styles */
header {
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 15px -1px rgba(0, 0, 0, 0.1);
}

/* Navigation Styles */
.nav-link {
    color: var(--text-light);
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(255, 107, 0, 0.05);
}

.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(255, 107, 0, 0.1);
}

.mobile-nav-link {
    color: var(--text-light);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(255, 107, 0, 0.05);
}

.mobile-nav-link.active {
    color: var(--primary-color);
    background-color: rgba(255, 107, 0, 0.1);
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.active {
    max-height: 400px;
}

/* Course Filtering */
.course-section {
    display: block;
    transition: all 0.5s ease;
}

.course-section.hidden {
    display: none;
}

.course-filter {
    transition: all 0.3s ease;
}

/* Testimonial Carousel */
.testimonial-slider {
    transition: transform 0.5s ease;
}

/* FAQ Accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

/* Form Styles */
input, select, textarea {
    transition: all 0.3s ease;
}

/* Button Hover Effects */
.btn-hover-effect {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-hover-effect:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-hover-effect:hover:after {
    height: 100%;
}

/* Floating Chat Button Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }
}

#chat-button {
    animation: pulse 2s infinite;
}

/* Stats Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.counter {
    animation: countUp 1s ease-out forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--accent-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Video Play Button Hover Effect */
.video-play-btn {
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    transform: scale(1.1);
}

/* Course Card Hover Effect */
.course-card {
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
}

/* Image Hover Effects */
.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform 0.5s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.1);
}

/* Custom AOS Animation Durations */
[data-aos] {
    transition-duration: 800ms;
}

/* Newsletter Form Styles */
#newsletter-form input {
    transition: all 0.3s ease;
}

#newsletter-form input:focus {
    border-color: var(--primary-color);
}

/* Contact Form Styles */
#contact-form input:focus,
#contact-form textarea:focus,
#contact-form select:focus {
    border-color: var(--primary-color);
}

/* Footer Link Hover Effect */
footer a {
    transition: all 0.3s ease;
}

/* Testimonial Card Hover Effect */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease-out forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease-out forwards;
}

/* Utility Classes */
.text-shadow {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.box-shadow-hover:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
