/* =========================================
   1. General & Reset
   ========================================= */
:root {
    --primary-color: #0b2341; /* Deep Blue */
    --secondary-color: #00c853; /* Growth Green */
    --accent-color: #ffc107; /* Warning/Highlight */
    --light-bg: #f8f9fa;
    --dark-text: #333;
    --white: #ffffff;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--dark-text);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0d3a6b;
    border-color: #0d3a6b;
}

.btn-success {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-success:hover {
    background-color: #00963f;
    border-color: #00963f;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0 auto;
}

/* =========================================
   2. Navbar
   ========================================= */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-brand span {
    color: var(--secondary-color);
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    margin-left: 15px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Sticky Navbar */
.navbar.sticky {
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    animation: slideDown 0.5s;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* =========================================
   3. Carousel / Hero Section
   ========================================= */
.carousel-item {
    height: 80vh;
    min-height: 500px;
    background: no-repeat center center scroll;
    background-size: cover;
    position: relative;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 35, 65, 0.6); /* Blue tint overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1.5s ease-out;
}

.hero-btns {
    animation: fadeInUp 2s ease-out;
}

/* =========================================
   4. About Section
   ========================================= */
.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.about-img img {
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

/* =========================================
   5. Courses Section
   ========================================= */
.course-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.course-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.card-title {
    color: var(--primary-color);
    font-weight: 700;
}

/* =========================================
   6. Why Choose Us (Counter)
   ========================================= */
.why-choose-us {
    background-color: var(--primary-color);
    color: var(--white);
}

.feature-box {
    text-align: center;
    padding: 30px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* =========================================
   7. Testimonials
   ========================================= */
.testimonial-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 10px;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.client-name {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 15px;
}

/* =========================================
   8. Contact Section
   ========================================= */
.contact-info-box {
    padding: 20px;
    border-left: 4px solid var(--secondary-color);
    background: var(--light-bg);
    margin-bottom: 20px;
}

.contact-info-box i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

/* =========================================
   9. Footer
   ========================================= */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

footer h4 {
    color: var(--white);
    margin-bottom: 20px;
}

footer a {
    color: #ccc;
}

footer a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-up {
    animation: fadeInUp 1s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-item {
        height: 60vh;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}
