﻿.text-slider {
    font-size: 40px !important;
    height: 60px;
    line-height: 50px;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 20px;
    color: darkgray;
}

/* New Course Card Styles */
.course-card-new {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    position: relative;
    overflow: hidden;
    border: 1px solid #e8e8e8;
}

    .course-card-new::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(0, 56, 153, 0.1), transparent 40%);
        transform: scale(0);
        transition: transform 0.8s ease-out;
        z-index: 1;
    }

    .course-card-new:hover::before {
        transform: scale(1);
    }

    .course-card-new:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        border-color: #003899;
    }

.course-icon {
    font-size: 48px;
    color: #003899;
    margin-bottom: 20px;
    transition: color 0.3s;
    position: relative;
    z-index: 2;
}

.course-card-new:hover .course-icon {
    color: #ff6b6b;
}

.course-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 20px;
    min-height: 54px; /* Ensures consistent height for 2 lines of text */
    position: relative;
    z-index: 2;
}

.course-link {
    color: #003899;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
    z-index: 2;
}

    .course-link i {
        margin-left: 5px;
        transition: transform 0.3s;
    }

    .course-link:hover {
        color: #ff6b6b;
    }

        .course-link:hover i {
            transform: translateX(5px);
        }



/* Gallery Styles */
.gallery-container {
    padding: 20px 0;
}

.gallery a {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    transition: all 0.3s ease;
}

    .gallery a:hover {
        transform: scale(1.02);
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

    .gallery img:hover {
        transform: scale(1.1);
    }

/* Lightbox customization */
.baguetteBox-button {
    background-color: rgba(0, 35, 102, 0.8) !important;
}

/* PDF Gallery Styles */
#pdf-gallery {
    margin-bottom: 30px;
}

.pdf-thumbnail {
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    height: 300px;
    width:400px;
    transition: all 0.3s ease;
}

    .pdf-thumbnail:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .pdf-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(0.8);
    }

.pdf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 35, 102, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 15px;
}

    .pdf-overlay i {
        color: #ff6b6b;
        margin-bottom: 10px;
    }

/* Lightbox PDF specific styles */
.lg-pdf-container {
    width: 100%;
    height: 100%;
}

.lg-pdf-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Add this at the end to override previous styles */
.header-tops-section {
    background-color: #000 !important;
}

/* Compact Header Top Quick Contact Styles */
.header-tops-section {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    min-height: unset !important;
}
.header-tops-wrapper, .header-tops-section .container-fluid {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.header-tops-section .contact-list li {
    margin-right: 18px !important;
    padding: 0 4px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
}
.header-tops-section .contact-list {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}
.header-tops-section .top-right {
    gap: 10px !important;
    padding: 0 !important;
}
.header-tops-section .social-icon span {
    margin-right: 4px !important;
    font-size: 14px !important;
}
.header-tops-section .social-icon a {
    font-size: 15px !important;
    margin-right: 6px !important;
}

/* Enhanced Contact Page Styles */
.contact-section-enhanced {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #003899;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

.contact-info-card {
    background: #fff;
    padding: 40px 30px 30px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 56, 153, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.contact-info-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0, 56, 153, 0.13);
    border-color: #003899;
}

.contact-info-card .icon-box {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #003899 60%, #ff6b6b 100%);
    color: #fff;
    font-size: 2rem;
    margin: 0 auto 18px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 56, 153, 0.12);
    transition: background 0.3s;
}

.contact-info-card:hover .icon-box {
    background: linear-gradient(135deg, #ff6b6b 60%, #003899 100%);
}

.contact-info-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #003899;
    margin-bottom: 10px;
}

.contact-info-card p, .contact-info-card a {
    color: #444;
    font-size: 1rem;
    margin-bottom: 0;
    word-break: break-word;
}

.contact-info-card a {
    color: #003899;
    text-decoration: underline;
    transition: color 0.2s;
}
.contact-info-card a:hover {
    color: #ff6b6b;
}

.contact-form-wrapper {
    background: #fff;
    padding: 48px 32px 32px 32px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 56, 153, 0.08);
    margin-top: 60px;
/*    max-width: 700px;
*/    margin-left: auto;
    margin-right: auto;
}
.contact-form-wrapper .title h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #003899;
    margin-bottom: 8px;
}
.contact-form-wrapper .title p {
    color: #666;
    margin-bottom: 28px;
}
.contact-form-wrapper .form-clt input,
.contact-form-wrapper .form-clt textarea {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 1rem;
    margin-bottom: 18px;
    width: 100%;
    transition: border-color 0.3s;
}
.contact-form-wrapper .form-clt input:focus,
.contact-form-wrapper .form-clt textarea:focus {
    border-color: #003899;
    outline: none;
}
.contact-form-wrapper .theme-btn {
    background: linear-gradient(135deg, #003899 60%, #ff6b6b 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 14px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background 0.3s;
}
.contact-form-wrapper .theme-btn:hover {
    background: linear-gradient(135deg, #ff6b6b 60%, #003899 100%);
    color: #fff;
}

/* Enhanced Marquee Styles */
.enhanced-marquee {
    background: #CA1F27 !important;
/*    padding: 18px 0;
*/    margin-bottom: 0;
/*    border-radius: 0 0 18px 18px;
*/    box-shadow: 0 4px 18px rgba(0,56,153,0.08);
    position: relative;
    z-index: 2;
}
.enhanced-marquee .marquee-text {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.12);
    text-transform: none;
    animation: pulse 2s infinite alternate;
}
@keyframes pulse {
    0% { opacity: 1; }
    100% { opacity: 0.85; }
}
.enhanced-marquee .marquee-item {
    padding-left: 20px;
    padding-right: 20px;
}

.marquee-slider {
    font-size: 40px;
    height: 50px;
     line-height: 35px; 
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 20px;
    color: #e1e1de;
}

/* Hero Slider Height Fix */
.hero-section .swiper.hero-slider-2,
.hero-section .swiper.hero-slider-2 .swiper-wrapper,
.hero-section .swiper.hero-slider-2 .swiper-slide,
.hero-section .slider-image.bg-cover {
    min-height: 450px;
    height: 450px;
    max-height: 450px;
    overflow: hidden;
}
.hero-section .slider-image.bg-cover {
    background-size: cover;
    background-position: center;
    height: 450px;
    min-height: 450px;
    max-height: 450px;
    /* Remove or reduce overlay darkness for clarity */
}
.hero-2 .slider-image::before {
    background-color: var(--black);
    opacity: 0.35 !important; /* Reduced from 0.75 for clearer images */
}

/* Compact Footer Styles */
.site-footer, .footer, footer {
    padding-top: 24px !important;
    padding-bottom: 18px !important;
}

.site-footer, .footer, footer {
    background: linear-gradient(rgba(0,0,0,0.22), rgba(0,0,0,0.22)), url('/Images/slide-1.jpg') no-repeat center center/cover !important;
    position: relative;
}

.site-footer .container, .footer .container, footer .container {
    background: transparent !important;
}

.site-footer .row, .footer .row, footer .row {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.site-footer .footer-bottom, .footer .footer-bottom, footer .footer-bottom {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.footer-widgets-wrapper {
    padding: 0 0 40px;
    position: relative;
    z-index: 9;
}

/* Justify paragraphs for better readability on homepage and about page */
.about-section p,
.about-section .about-icon-items p,
.why-choose-section p,
.service-provide p,
.testimonial-section-2 p,
.choose-card p,
section.choose-us-section p,
.choose-content p,
.faq-section p,
.faq-content p,
.feature-card p,
.growth-section p {
    text-align: justify;
    text-justify: inter-word;
}