/* Base Styles */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    line-height: 1.4;
    color: #333;
    background-color: #f8f9fa;

    /* make space for fixed navbar */
    padding-top: 70px;
    /* adjust this to your navbar height */
    overflow-y: scroll;
    /* allows scrolling */
    scrollbar-width: none;
    /* Firefox */
    scroll-behavior: smooth;
    /* smooth scroll for anchors */
}

/* Hide scrollbar for Chrome, Edge, Safari */
body::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

section {
    scroll-margin-top: 70px;
    /* height of your navbar */
}


/* ---------------------------------------------------------------------------------- */

#mainNavbar .nav-underline {
    display: flex;
    align-items: center;
    position: relative;
}

#mainNavbar .nav-link {
    padding: 10px 14px;
    color: #ddd !important;
    transition: color .25s ease;
    font-weight: 500;
}

#mainNavbar .nav-link:hover {
    color: #fff !important;
}

#mainNavbar .nav-indicator {
    position: absolute;
    bottom: -3px;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #ffc107, #ff8800);
    border-radius: 2px;
    transition: all .35s cubic-bezier(.25, .8, .25, 1);
    pointer-events: none;
    opacity: 0;
}

@media (max-width: 991.98px) {
    #mainNavbar .nav-underline {
        flex-direction: column;
        align-items: stretch;
    }

    #mainNavbar .nav-link {
        padding: 0.75rem 1rem;
    }

    #mainNavbar .nav-indicator {
        display: none;
    }
}

/* ---------------------------------------------------------------------------------- */


/* Hero Section */
.hero-section {
    height: 65vh;
    position: relative;
    scroll-margin-top: 80px;
    color: #fff;
}

.hero-section .carousel-item {
    height: 65vh;
    background-size: cover;
    background-position: center;
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
    position: relative;
}

.hero-section .overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(1,1,1,0.7)); */
}

/* Ensure carousel caption content never overflows */
.hero-section .carousel-caption {
    margin: auto;
    max-width: 65%;
    /* adjust so it fits well inside container */
    width: 100%;
    word-wrap: break-word;
    /* force long words to wrap */
    overflow-wrap: break-word;
    text-align: center;
    padding: 10px;
    /* optional padding */
}

/* Make typed text responsive inside the caption */
.typed-text,
.typed-subtext {
    display: inline-block;
    white-space: normal;
    /* allow wrapping instead of nowrap */
    max-width: 100%;
    /* prevent overflow */
    box-sizing: border-box;
}

.carousel-item.active .typed-text,
.carousel-item.active .typed-subtext {
    opacity: 1;
    transform: translateY(0);
}

@keyframes blinkCursor {
    50% {
        border-right-color: transparent;
    }
}

/* Branding */
:root {
    --company-font: 'Poppins', sans-serif;
}

.company-name {
    font-family: var(--company-font);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 3px 3px 14px rgba(0, 0, 0, 0.8);
}

.company-name .red {
    color: #e63946;
}

.company-name .blue {
    color: #007bff;
}

.company-name span {
    color: #fff;
}

/* Enroll Button */
:root {
    --enroll-yellow: #ffd500;
    --enroll-yellow-hover: #ffea4d;
}

.enroll-btn1 {
    display: inline-block;
    background: linear-gradient(135deg, var(--enroll-yellow), #ffbf00);
    color: #111;
    font-weight: 700;
    font-size: 1.15rem;
    padding: 14px 38px;
    border-radius: 40px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(255, 213, 0, 0.45);
    transform: translateY(12px) scale(0.9);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
}

.enroll-btn1.btn-show {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 12px 28px rgba(255, 213, 0, 0.6);
}

.enroll-btn1:hover {
    background: linear-gradient(135deg, var(--enroll-yellow-hover), var(--enroll-yellow));
    color: #000;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 20px 48px rgba(255, 213, 0, 0.75);
}

/* Mobile responsive font for company name */
@media (max-width: 768px) {
    .company-name {
        font-size: 1.8rem;
        /* smaller font for mobile */
        letter-spacing: 1px;
        /* optional, reduce spacing */
        line-height: 1.2;
        /* optional, tighter line height */
    }

    /* Optional: adjust subtext under company name */
    .typed-subtext {
        font-size: 1rem;
        /* smaller subtext */
    }
}






/* ------------------------------------------------About Us section-------------------------------------------------------------------- */

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    position: relative;
}

.section-title .highlight {
    color: #0066cc;
    /* premium blue accent */
}

.founder-photo {
    width: 100%;
    max-width: 100%;
    /* ensure proper scaling on mobile */
    height: auto;
    border-radius: 4px;
    /* slightly more rounded for modern look */
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.founder-photo:hover {
    transform: scale(1.03);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.founder-quote {
    font-size: 1.05rem;
    /* slightly smaller for better mobile fit */
    font-style: italic;
    color: #444;
    padding: 15px 20px;
    margin-top: 20px;
    border-left: 5px solid #0066cc;
    background: #f9f9f9;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Mobile / tablet adjustments */
@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .founder-quote {
        font-size: 1rem;
        text-align: center;
        padding: 12px 15px;
    }

    .founder-photo {
        max-width: 80%;
        /* better scaling on small screens */
        margin: 0 auto 15px auto;
        display: block;
    }
}





/* -------------------------------------------------------------------------------------------------------------------- */
/* ===== Cards ===== */
.card {
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.badge {
    font-size: 0.75rem;
    margin-right: 0.3rem;
    padding: 0.35em 0.55em;
    border-radius: 0.5rem;
}

/* ===== Buttons ===== */
.btn-primary {
    background-color: #0066ff;
    border-color: #0066ff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0052cc;
    border-color: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.35);
}

.btn-outline-primary {
    color: #0066ff;
    border-color: #0066ff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #0066ff;
    color: #fff;
    border-color: #0066ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.35);
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
    border-color: #6c757d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
}



/* -------------------------------------------------------------------------------------------------------------------- */
/* ================================
   Premium Contact Section
   ================================ */
#contact .contact-card {
    border-radius: 0.75rem;
    background: #ffffff;
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#contact .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* Contact List */
#contact .contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

#contact .contact-list .contact-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    font-size: 1.25rem;
    flex-shrink: 0;
    color: #007bff;
}

#contact .contact-list p {
    margin: 0;
}

#contact .contact-list p.fw-semibold {
    font-weight: 600;
    color: #2d3748;
}

#contact .contact-list p.text-muted {
    color: #6c757d;
}

/* Social Icons */
#contact .social-icons {
    display: flex;
    gap: 15px;
}

#contact .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#contact .social-icons a.linkedin {
    background: #0077b5;
}

#contact .social-icons a.whatsapp {
    background: #25D366;
}

#contact .social-icons a.email {
    background: #6c757d;
}

#contact .social-icons a.instagram {
    background: #E1306C;
}

#contact .social-icons a.youtube {
    background: #FF0000;
}

#contact .social-icons a:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    #contact .contact-list li {
        flex-direction: row;
        gap: 10px;
    }

    #contact .contact-card {
        padding: 1.5rem 1rem;
    }

    #contact .social-icons a {
        width: 40px;
        height: 40px;
    }
}




/* -------------------------------------------------------------------------------------------------------------------- */
.testimonials-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.testimonials-scroll {
    display: flex;
    gap: 1rem;
    animation: scroll 15s linear infinite;
}

.testimonial-card {
    flex: 0 0 300px;
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.8rem;
}

.testimonial-card h5 {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.testimonial-card p {
    font-size: 0.9rem;
    color: #555;
}

.social-links a {
    margin: 0 5px;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

/* Original brand colors */
.social-links a.linkedin {
    color: #0A66C2;
}

/* LinkedIn Blue */
.social-links a.whatsapp {
    color: #25D366;
}

/* WhatsApp Green */
.social-links a.portfolio {
    color: #FF5722;
}

/* Portfolio link - can pick a vibrant color */

/* Hover effect */
.social-links a:hover {
    transform: scale(1.2);
    opacity: 0.8;
}


/* Continuous scroll animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 80%;
    }

    .testimonials-scroll {
        gap: 0.5rem;
    }
}

/* -------------------------------------------------------------------------------------------------------------------- */
/* Scoped only to this section */
#partner-logos .logo-carousel {
    position: relative;
    width: 100%;
    background: #fff;
}

#partner-logos .logo-track {
    display: flex;
    align-items: center;
    width: max-content;
    /* ensure logos fit in one row */
    animation: partner-scroll 60s linear infinite;
}

#partner-logos .logo-track img {
    height: 50px;
    margin: 0 30px;
    object-fit: contain;
}

@media (max-width: 768px) {
    #partner-logos .logo-track img {
        margin: 0 15px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    #partner-logos .logo-track img {
        margin: 0 10px;
        height: 35px;
    }
}

@keyframes partner-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* -------------------------------------------------------------------------------------------------------------------- */


/* Footer Styles */
footer {
    font-family: 'Poppins', sans-serif;
}

/* Footer Links */
footer .footer-link {
    color: #adb5bd;
    /* muted gray */
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 4px 0;
}

footer .footer-link:hover {
    color: #0d6efd;
    /* Bootstrap primary blue */
    padding-left: 5px;
}

/* Logo styling */
footer .logo-footer {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
    /* center horizontally */
    padding: 0;
    object-fit: contain;
    transition: transform 0.3s ease;
}

footer .logo-footer:hover {
    transform: scale(1.05);
}

/* Block Centering */
footer .col-lg-4 {
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    footer .col-lg-4 {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    footer .logo-footer {
        width: 160px;
        margin-bottom: 10px;
    }
}

/* Bottom copyright */
footer .copyright-text {
    color: #ccced0;
    font-size: 0.85rem;
    margin-top: 10px;
}




/* -------------------------------------------------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------------------------------------------------- */

:root {
    --primary: #3498db;
    --secondary: #2c3e50;
    --accent: #e74c3c;
    --light: #f8f9fa;
    --dark: #343a40;
    --success: #28a745;
    --warning: #ffc107;
    --info: #17a2b8;
    --danger: #dc3545;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9fafb;
}

#premium-courses {
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

#premium-courses::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.05);
    z-index: 0;
}

#premium-courses::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(44, 62, 80, 0.05);
    z-index: 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto 50px;
}

.course-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    height: 100%;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(50px);
}

.course-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.course-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-img-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.course-content {
    padding: 25px;
}

.course-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary);
}

.course-highlights {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.course-highlights span {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #6c757d;
}

.course-highlights i {
    margin-right: 5px;
    color: var(--primary);
}

.course-description {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.read-more-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.read-more-content.expanded {
    max-height: 1000px;
}

.course-tech,
.course-learn {
    margin-bottom: 15px;
}

.course-tech h6,
.course-learn h6 {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.course-tech h6 i,
.course-learn h6 i {
    margin-right: 8px;
    color: var(--primary);
}

.course-tech ul,
.course-learn ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.course-tech li,
.course-learn li {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #6c757d;
}

.course-cta {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.enroll-btn,
.brochure-btn {
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.enroll-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
}

.enroll-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.enroll-btn:hover::before {
    left: 100%;
}

.enroll-btn:hover {
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.brochure-btn {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.brochure-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.read-more-btn {
    color: var(--primary);
    background: none;
    border: none;
    padding: 0;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: var(--secondary);
}

.read-more-btn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more-btn.expanded i {
    transform: rotate(180deg);
}

/* Animation for section title */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-title {
    animation: fadeInDown 1s ease forwards;
}

/* Animation for cards */
.course-card:nth-child(1) {
    transition-delay: 0.1s;
}

.course-card:nth-child(2) {
    transition-delay: 0.2s;
}

.course-card:nth-child(3) {
    transition-delay: 0.3s;
}

.course-card:nth-child(4) {
    transition-delay: 0.4s;
}

.course-card:nth-child(5) {
    transition-delay: 0.5s;
}

.course-card:nth-child(6) {
    transition-delay: 0.6s;
}

/* Filter buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background: white;
    color: var(--dark);
    border: 2px solid #e9ecef;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.4rem;
    }

    .course-highlights {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .course-cta {
        flex-direction: column;
    }

    .filter-buttons {
        gap: 5px;
    }

    .filter-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}



/* -------------------------------------------------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------------------------------------------------- */
/* Premium underline effect */
#mainNavbar .nav-underline {
    display: flex;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    /* helps in mobile */
}

#mainNavbar .nav-underline .nav-link {
    position: relative;
    padding: 10px 14px;
    color: #ddd !important;
    transition: color 0.3s ease;
    font-weight: 500;
}

#mainNavbar .nav-underline .nav-link:hover {
    color: #fff !important;
}

#mainNavbar .nav-underline .nav-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #ffc107, #ff8800);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    opacity: 0;
}




/* -------------------------------------------------------------------------------------------------------------------- */
#harini-highlights {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    font-family: "Poppins", sans-serif;
}

#harini-highlights .display-5 {
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 1.5rem;
}

#harini-highlights .display-5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    border-radius: 2px;
}

#harini-highlights .text-muted {
    color: #6c757d !important;
    font-size: 1.2rem !important;
    margin-bottom: 3rem !important;
}

#harini-highlights .feature-badge {
    padding: 1.4rem 1rem;
    border-radius: 16px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: #2c3e50;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

#harini-highlights .feature-badge i {
    font-size: 2rem;
    margin-bottom: 0.6rem;
    color: #2c3e50;
    transition: transform 0.4s ease, color 0.3s ease;
}

#harini-highlights .feature-badge span {
    display: block;
}

#harini-highlights .feature-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: -1;
    transition: all 0.4s ease;
}

#harini-highlights .feature-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 100%);
    z-index: -2;
}

#harini-highlights .feature-badge:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    color: #2c3e50;
}

#harini-highlights .feature-badge:hover::before {
    opacity: 0.5;
}

#harini-highlights .feature-badge:hover i {
    transform: scale(1.2) rotate(-5deg);
    color: #2575fc;
}

/* Colors */
#harini-highlights .color-1::before {
    background-color: #a7d7f2;
}

#harini-highlights .color-2::before {
    background-color: #c9e9c9;
}

#harini-highlights .color-3::before {
    background-color: #d4c5f9;
}

#harini-highlights .color-4::before {
    background-color: #f9c5d7;
}

#harini-highlights .color-5::before {
    background-color: #f9d5c5;
}

#harini-highlights .color-6::before {
    background-color: #f9f0c5;
}

#harini-highlights .color-7::before {
    background-color: #c5f9e3;
}

#harini-highlights .color-8::before {
    background-color: #e3d7ff;
}

#harini-highlights .color-9::before {
    background-color: #ffd7c5;
}

#harini-highlights .color-10::before {
    background-color: #c5f9f9;
}

#harini-highlights .color-11::before {
    background-color: #e9c5f9;
}

#harini-highlights .color-12::before {
    background-color: #f9c5c5;
}

#harini-highlights .color-13::before {
    background-color: #c5f9d7;
}

#harini-highlights .color-14::before {
    background-color: #f9e3c5;
}

#harini-highlights .color-15::before {
    background-color: #c5d7f9;
}

#harini-highlights .color-16::before {
    background-color: #f9c5e3;
}

/* Responsive */
@media (max-width: 768px) {
    #harini-highlights .feature-badge {
        min-height: 100px;
        font-size: 0.85rem;
        padding: 1rem 0.5rem;
    }

    #harini-highlights .feature-badge i {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    #harini-highlights .feature-badge {
        min-height: 90px;
        font-size: 0.8rem;
        border-radius: 12px;
    }

    #harini-highlights .display-5 {
        font-size: 1.9rem;
    }

    #harini-highlights .text-muted {
        font-size: 1rem !important;
    }
}


/* -------------------------------------------------------------------------------------------------------------------- */

.social-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.social-float a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: float 3s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Hover effect */
.social-float a:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* WhatsApp green */
.social-float .whatsapp {
    background-color: #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
}

/* Instagram gradient */
.social-float .instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    box-shadow: 0 4px 15px rgba(255, 0, 150, 0.5);
}

/* Tooltip text */
.social-float a::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    /* position to left of icon */
    white-space: nowrap;
    background: rgba(44, 62, 80, 0.95);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Show tooltip on hover */
.social-float a:hover::after {
    opacity: 1;
    transform: translateY(0);
}


/* -------------------------------------------------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------------------------------------------------- */


/* ================================
   Premium Learners Testimonials

   
   ================================ */

#learners-testimonials .testimonials-scroll {
    display: flex;
    gap: 20px;
    transition: transform 1s ease-in-out;
    padding-bottom: 10px;
    width: max-content;
    /* <-- important, lets it expand horizontally */
}

#learners-testimonials {
    background: linear-gradient(135deg, #f9fafc, #eef2f7);
    padding: 40px 20px;
    font-family: "Poppins", sans-serif;
    color: #333;
}

#learners-testimonials header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
}

#learners-testimonials header p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

#learners-testimonials .testimonials-wrapper {
    margin-top: 50px;
    position: relative;
}


/* Testimonial Card */
#learners-testimonials .testimonial-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 25px 30px;
    flex: 0 0 300px;
    transition: all 0.3s ease;
    border: 1px solid #f1f1f1;
}

#learners-testimonials .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Learner Info */
#learners-testimonials .testimonial-card .learner-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

#learners-testimonials .testimonial-card .learner-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
    margin-right: 15px;
}

#learners-testimonials .testimonial-card .learner-info h4 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
    color: #2d3748;
}

#learners-testimonials .testimonial-card .learner-info span {
    font-size: 0.9rem;
    color: #718096;
}

/* Testimonial Text */
#learners-testimonials .testimonial-card p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
    font-style: italic;
}

/* Smooth Scroll Hide Overflow */
#learners-testimonials .testimonials-wrapper::-webkit-scrollbar {
    display: none;
}