/* Custom Extracted Styles for SEO and Restoration */

* {
    font-family: 'Poppins', sans-serif !important;
}

.section-padding-top {
    padding-top: 30px;
}

/* Scholarship Content */
.scholarship-box {
    text-align: center;
    color: #fff;
}

.scholarship-value {
    font-family: serif !important; /* Restored Serif style as seen in screenshot */
    font-size: 50px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
    color: #fff;
}

.scholarship-value.large {
    font-family: serif !important;
    font-size: 70px;
    letter-spacing: 3px;
    line-height: 0.9;
}

.scholarship-title {
    font-size: 19px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    margin-top: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    letter-spacing: 1px;
    color: #fff;
}

.scholarship-title.large {
    font-size: 23px;
    letter-spacing: 0.5px;
}

.scholarship-info {
    font-size: 16px;
    font-weight: 600;
    margin-top: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    color: #fff;
}

.scholarship-info.small {
    font-size: 14px;
}

.scholarship-info.price {
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
}

/* Parallax backgrounds */
.intro-bg-parallax {
    background-image: url(../images/new_bg.png);
}

.green-campus-section {
    background-image: url('../images/Green_Campus_bg.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 480px !important;
    position: relative !important;
    z-index: 0 !important;
    display: flex !important;
    align-items: center !important;
    overflow: visible !important;
}

.appointment-section-bg {
    background-image: url(../images/bg5.webp);
}

/* Course Cards */
.course-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    text-align: center;
}

.course-label-main {
    font-size: 36px;
    color: white;
    margin: 0 0 5px 0;
    line-height: 1;
}

.course-full-name-sub {
    color: #FFFFFF;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
}

/* Specific course card colors */
.bg-bca { background-color: #1E40AF; }
.bg-bba { background-color: #DC2626; }
.bg-bcom { background-color: #7C3AED; }
.bg-llb { background-color: #059669; }
.bg-ballb { background-color: #0891B2; }
.bg-bed { background-color: #EA580C; }
.bg-btc { background-color: #6366F1; }
.bg-med-1 { background-color: #D97706; }
.bg-med-2 { background-color: #8B5CF6; }
.bg-med-3 { background-color: #0369A1; }

/* Testimony Backgrounds */
.testimony-overview { background-image: url(../images/overview.jpg); }
.testimony-rwex { background-image: url(../images/rwex.webp); }
.testimony-skill { background-image: url(../images/skill.jpeg); }
.testimony-pgrowth { background-image: url(../images/pgrowth.jpg); }

/* Miscellaneous */
.pointer-cursor {
    cursor: pointer;
}

.interest-option {
    color: black;
}

.hidden-element {
    display: none;
    visibility: hidden;
}

.person-icon-size {
    font-size: 22px;
}

.blog-img-1 {
    background-image: url(../images/image_1.jpg);
}

.blog-img-2 {
    background-image: url(../images/image_2.jpg);
}

/* --- Services Icons & Clipping Fix --- */

/* Ensure the top of the circles is visible */
.ftco-services, 
.ftco-services .container-wrap, 
.ftco-services .row, 
.ftco-services .services {
    overflow: visible !important;
}

/* Base Icon Container Fix */
.ftco-services .services .icon {
    margin-top: -60px !important; /* Ensure it stays at the top edge */
    background: #fff;
    border-radius: 50%;
    z-index: 100;
    width: 120px;
    height: 120px;
    overflow: hidden !important; /* This clips the image to a circle inside the box */
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* More premium shadow */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* The "Zoomed" look for the logos */
.ftco-services .services .icon img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important; /* This creates the zoom effect */
    border-radius: 50%;
}

/* Subtle hover effect to make it feel alive */
.ftco-services .services:hover .icon {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

/* --- Course Popup (Modal) Fixes --- */

/* Force the colored header to show and center the text */
#courseModal .modal-image-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 180px !important;
    width: 100% !important;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Hide the placeholder image if any, so only background color shows */
#courseModal .modal-img {
    display: none !important;
}

/* The Course Title inside the colored header */
#courseModal #courseTitle {
    color: #fff !important;           /* Force white text */
    font-size: 3.5rem !important;      /* Large, bold title */
    font-weight: 800 !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    padding: 0 20px !important;
    text-align: center !important;
    z-index: 10 !important;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3) !important;
    font-family: 'Jost', sans-serif !important;
}

/* Ensure the body remains clean and white while allowing scrolling */
#courseModal .modal-body {
    background-color: #fff !important;
    border-radius: 8px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

#courseModal #courseText {
    border-bottom: none !important;
    padding-top: 20px !important;
}

/* Home Slider Optimization - Single Video Mode */
.static-video-hero.optimized-video-section {
    display: block !important;
    height: 600px;
    width: 100%;
    overflow: hidden;
    position: relative;
    touch-action: pan-y; /* Disable horizontal gestures */
    user-select: none;
}

.static-video-hero.optimized-video-section .hero-item {
    display: block !important;
    width: 100%;
    height: 100%;
    position: relative;
    -webkit-user-drag: none;
}


/* Ensure centering on mobile */
@media (max-width: 767.98px) {
    .static-video-hero.optimized-video-section {
        height: 500px; /* Adjust if needed */
    }
    .static-video-hero.optimized-video-section .hero-item .slider-text {
        height: 500px !important;
        min-height: 500px !important;
    }
}

/* Glassmorphism Contact Box for Hero Section */
.hero-contact-wrapper {
    display: inline-block;
}

.hero-glass-contact {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    padding: 12px 35px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    position: relative;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-glass-contact:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

/* Colorful Gradient Glow */
.hero-glass-contact::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, #1E40AF, #DC2626, #7C3AED, #1E40AF);
    background-size: 400%;
    z-index: -1;
    filter: blur(10px);
    border-radius: 62px;
    opacity: 0.7;
    animation: contactGlow 12s linear infinite;
}

@keyframes contactGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-glass-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-glass-contact .contact-item i {
    color: #FFD700;
    font-size: 20px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.hero-glass-contact .contact-item a {
    color: #fff !important;
    text-decoration: none;
    transition: opacity 0.3s;
}

.hero-glass-contact .contact-item a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hero-glass-contact {
        padding: 8px 15px;
        gap: 12px;
        border-radius: 40px;
        flex-wrap: nowrap; /* Force one line as requested */
        width: auto;
        max-width: 95vw;
        overflow: hidden;
    }
    .hero-glass-contact .contact-item {
        font-size: 12px; /* Slightly smaller for mobile fit */
        white-space: nowrap;
    }
    .hero-glass-contact .contact-item i {
        font-size: 14px;
        gap: 6px;
    }
}

/* Extra small mobile screens (under 375px) */
@media (max-width: 374.98px) {
    .hero-glass-contact {
        gap: 8px;
        padding: 6px 10px;
    }
    .hero-glass-contact .contact-item {
        font-size: 10px;
    }
}

