/* Custom CSS for Eduka Education Website */

/* Global Styles */
:root {
    --teal: #0f8b78;
    --light-teal: #2fb09b;
    --orange: #f6a623;
    --dark-text: #222222;
    --muted-text: #6b6b6b;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* Utility Classes */
.bg-teal {
    background-color: var(--teal) !important;
}

.bg-dark-teal {
    background-color: #0a6153 !important;
}

.bg-light-teal {
    background-color: var(--light-teal) !important;
}

.bg-orange {
    background-color: var(--orange) !important;
}

.text-teal {
    color: var(--teal) !important;
}

.text-orange {
    color: var(--orange) !important;
}

.btn-teal {
    background-color: var(--teal);
    border-color: var(--teal);
    color: white;
}

.btn-teal:hover {
    background-color: var(--light-teal);
    border-color: var(--light-teal);
    color: white;
}

.btn-orange {
    background-color: var(--orange);
    border-color: var(--orange);
    color: white;
}

.btn-orange:hover {
    background-color: #e0951a;
    border-color: #e0951a;
    color: white;
}

.btn-outline-teal {
    border-color: var(--teal);
    color: var(--teal);
}

.btn-outline-teal:hover {
    background-color: var(--teal);
    color: white;
}

/* Utility Bar */
.utility-bar {
    font-size: 0.875rem;
}

.utility-bar a {
    text-decoration: none;
}

/* Navbar */
.navbar .nav-link {
    font-weight: 600;
    color: var(--dark-text);
    padding: 0.5rem 1rem !important;
}

.navbar .nav-link:hover {
    color: var(--teal);
}

/* Hero Section */
.hero {
    position: relative;
}

.hero-slide {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Feature Cards */
.feature-cards {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.feature-card {
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
}

/* About Section */
.badge-year {
    z-index: 1;
}

.about img {
    transition: transform 0.3s ease;
}

.about img:hover {
    transform: scale(1.05);
}

/* Statistics Section */
.statistics {
    background-color: var(--teal);
    background-image: url('../assets/images/pattern.png');
    background-blend-mode: overlay;
    background-size: cover;
}

.stat-item i {
    transition: transform 0.3s ease;
}

.stat-item:hover i {
    transform: scale(1.1);
}

/* Courses Section */
.course-card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-card img {
    height: 200px;
    object-fit: cover;
}

/* Testimonials Section */
.testimonial-img {
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card {
    border-radius: 15px;
}

/* Footer */
.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--light-teal) !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .feature-cards {
        margin-top: -40px;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
}


@media (max-width: 768px) {
    .navbar .nav-link {
        padding: 0.75rem 1rem !important;
        text-align: center;
        border-bottom: 1px solid #eee;
    }
}

/* Hero Section mobile */
@media (max-width: 576px) {
    .hero-slide {
        height: 350px; /* small height for mobile */
    }

    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 15px;
    }

    .hero-title {
        line-height: 1.3;
    }
}

/* Courses section mobile */
@media (max-width: 768px) {
    .course-card img {
        height: 160px; /* reduce image height */
    }

    .course-card {
        margin-bottom: 1.5rem;
    }
}

/* Feature Cards mobile */
@media (max-width: 576px) {
    .feature-card {
        margin-bottom: 1rem;
        text-align: center;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }
}

/* Testimonials mobile */
@media (max-width: 576px) {
    .testimonial-img {
        width: 70px;
        height: 70px;
        margin: 0 auto 1rem;
    }

    .testimonial-card {
        text-align: center;
    }
}

/* Footer mobile */
@media (max-width: 576px) {
    .footer {
        text-align: center;
    }

    .footer .col {
        margin-bottom: 1rem;
    }
}