/* === Base Typography & Layout === */
body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    background-color: #f9fafb;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #222;
}
a {
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #0b5ed7;
}

/* === Navbar === */
.navbar {
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: #0d6efd !important;
}
.nav-link {
    color: #555 !important;
    margin-right: 10px;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
}
.nav-link:hover,
.nav-link.active {
    color: #0d6efd !important;
    transform: translateY(-1px);
}
.navbar .btn-primary {
    background-color: #0d6efd;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.navbar .btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
}

/* === Hero Sections === */
.hero-img {
    height: 90vh;
    object-fit: cover;
    filter: brightness(0.85);
}
.carousel-caption {
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 8px;
}
.carousel-caption h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color:white;
}
.carousel-caption p {
    font-size: 1.1rem;
}

/* === Cards (used on multiple pages) === */
.card {
    border: none;
    border-radius: 12px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* === Page Specific === */
/* About Page */
.about-page h1, .about-page h2 {
    color: #0d6efd;
}
.about-page .lead {
    font-size: 1.2rem;
    color: #555;
}
.about-page .card h2 {
    font-weight: 700;
}

/* Alumni Page */
.alumni-page .hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.alumni-page .hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}
.alumni-page .lead {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* LMS Page */
.lms-page .hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lms-page .hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}
.lms-page .lead {
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto;
}

/* Partner Page */
.partner-page .hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.partner-page .hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}
.partner-page .lead {
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto;
}

/* Enroll Page */
.enroll-page .card {
    border: none;
    border-radius: 12px;
}
.enroll-page .form-control, 
.enroll-page .form-select {
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

/* Contact Page */
.contact-page .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-page .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.contact-page .lead {
    max-width: 700px;
    margin: 0 auto;
}

/* === CTA Sections === */
.cta-section {
    background: #0d6efd;
    color: #fff;
    text-align: center;
    padding: 3rem 1rem;
}
.cta-section .btn-light {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.cta-section .btn-light:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
}

/* === Footer === */
footer {
    font-size: 0.9rem;
    line-height: 1.5;
    background: #1e1e1e;
    color: #fff;
}
.footer a {
    color: #fff;
    transition: color 0.3s ease;
}
.footer a:hover {
    color: #0d6efd;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
.whatsapp-float img {
    width: 40px;
    height: 40px;
}

/* === Responsive Adjustments === */
@media (max-width: 991px) {
    .navbar .btn-primary {
        margin-top: 10px;
        width: 100%;
    }
}
@media (max-width: 767px) {
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    .carousel-caption p {
        font-size: 1rem;
    }
    .hero-img {
        height: 60vh;
    }
}
.courses-page .hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.courses-page .hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}
.courses-page .lead {
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto;
}
.footer a:hover {
    color: #0d6efd !important;
}
.footer i {
    min-width: 20px;
        color: #fff;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    font-size: 28px;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
.blockquote-footer {
    margin-top: -1rem;
    margin-bottom: 1rem;
    font-size: .875em;
    color: #fff;
}
