
/* Navigation */

.animated-logo {
    animation-name: pulse;
    animation-duration: 2s;
    animation-iteration-count: infinite; /* Makes it loop continuously */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1); /* Slightly larger at 50% */
    }

    100% {
        transform: scale(1);
    }
}


.navbar {
    padding: .5rem 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    position: relative;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 80%;
    }

    .nav-link.active {
        color: var(--primary-color) !important;
    }

.menu_btn i {
    border-radius: 50%;
    padding: 7px 10px;
}

    .menu_btn i:hover {
        color: #c8102e;
        transition: 0.1s ease-in;
    }

/* ============================================
   ENHANCED HERO SECTION
   ============================================ */

.slider-sec {
    display: flex;
    align-items: center;
}

.hero-section {
    height: 93vh;
    min-height: 576px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
}

    .hero-slide.active {
        opacity: 1;
        z-index: 1;
    }

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 37, 41, 0.92) 0%, rgba(33, 37, 41, 0.75) 50%, rgba(33, 37, 41, 0.55) 100%);
    z-index: 1;
}

/* Decorative Blur Elements */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: 1;
}

.decoration-1 {
    top: 10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
}

.decoration-2 {
    bottom: 10%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: #ff8c42;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    margin-left: 5%;
    top: -4%;
    animation: fadeInUp 0.8s ease-out;
    width: 100%;
}

/* Welcome Badge */
.welcome-badge {
    display: inline-block;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.badge-content {
    display: inline-block;
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #ff9999;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Hero Title */
.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.gradient-text {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Hero Description */
.hero-description {
    font-size: 1rem;
    color: #d1d5db;
    line-height: 1.8;
    max-width: 750px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Hero Buttons */
.hero-buttons {
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.btn-enhanced {
    background: white;
    color: var(--dark-color);
    border: none;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

    .btn-enhanced:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
        background: #f8f9fa;
    }

.btn-enhanced-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

    .btn-enhanced-outline:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.5);
        color: white;
        transform: translateY(-3px);
    }

/* Hero Stats */
.hero-stats {
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

    .stat-card:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

.stat-icon {
    font-size: 2rem;
    color: #ef4444;
    margin-bottom: 0.5rem;
}

.stat-icon-orange {
    color: #f97316;
}

.stat-icon-yellow {
    color: #fbbf24;
}

.stat-icon-green {
    color: #10b981;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Navigation Arrows */
.hero-nav-btn {
    position: absolute;
    top: 44%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

    .hero-nav-btn:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-50%) scale(1.1);
    }

.prev-btn {
    left: 2%;
}

.next-btn {
    right: 2%;
}

/* Slide Indicators */
.hero-indicators {
    position: absolute;
    bottom: 7em;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .indicator:hover {
        background: rgba(255, 255, 255, 0.5);
    }

    .indicator.active {
        width: 60px;
        background: var(--primary-color);
    }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 7em;
    right: 0%;
    transform: translateX(-50%);
    text-align: center;
    color: rgb(254 0 0 / 70%);
    z-index: 10;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgb(238 7 7 / 76%);
    border-radius: 20px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 8px 0;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgb(154 0 0 / 70%);
    border-radius: 10px;
    animation: scrollWheel 2s ease-in-out infinite;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollBounce {

    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scrollWheel {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* ============================================
   END ENHANCED HERO SECTION
   ============================================ */

/* Vision Section */
.vision-section {
    padding: 80px 0;
}

#vision-image {
    transition: transform 0.3s ease;
    width: 428px;
    height: 360px;
    filter: contrast(1.3);
}

    #vision-image:hover {
        transform: scale(1.02);
    }

/* Features Section */
.feature-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .feature-card:hover {
        transform: translateY(-10px);
        border-color: var(--primary-color);
    }

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

/* News Section */
.news-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

    .news-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

.news-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image {
    transform: scale(1.1);
}

.news-meta .badge {
    font-weight: 600;
}

/* Gallery Cards */
.gallery-card {
    overflow: hidden;
    transition: transform 0.3s ease;
}

    .gallery-card:hover {
        transform: scale(1.05);
    }

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
    filter: contrast(1.2);
}

.gallery-card:hover .gallery-image {
    transform: scale(1.1);
    cursor:pointer;
}

/* Certification Card */
.certification-card {
    transition: all 0.3s ease;
}

    .certification-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

/* Success Stories Section */
.success-stories-section {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 37, 41, 0.85);
}

/* Programs Section */
.program-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .program-card:hover {
        transform: translateY(-10px) !important;
        border-color: var(--primary-color);
        box-shadow: 0 10px 30px rgba(220, 53, 69, 0.2);
    }

.program-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

/* Team Section */
.team-card {
    transition: all 0.3s ease;
}

    .team-card:hover {
        transform: translateY(-10px);
    }

.team-image-wrapper {
    position: relative;
    overflow: hidden;
}

.team-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(220, 53, 69, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-card:hover .team-image {
    transform: scale(1.1);
}

.play-btn {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

    .play-btn:hover {
        transform: scale(1.2);
    }

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
}

    .footer h5,
    .footer h6 {
        font-weight: 700;
    }

    .footer a {
        transition: all 0.3s ease;
    }

        .footer a:hover {
            color: var(--primary-color) !important;
        }

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

    .social-links a:hover {
        background: var(--primary-color);
        transform: translateY(-3px);
        color: white !important;
    }

.payment-logos .badge {
    transition: transform 0.3s ease;
}

    .payment-logos .badge:hover {
        transform: translateY(-3px);
    }

.payment-logos i {
    color: white;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-section {
        min-height: 600px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .decoration-1,
    .decoration-2 {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 550px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        top: 0%;
        top: 81%;
    }

    .prev-btn {
        left: 15px;
    }

    .next-btn {
        right: 15px;
    }

    .team-image {
        height: 250px;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-icon {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .decoration-1,
    .decoration-2 {
        width: 200px;
        height: 200px;
    }

    .hero-buttons .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .scroll-indicator {
        display: none;
    }

    .hero-indicators {
        bottom: 30px;
    }
}

@media (max-width: 576px) {
    .top-bar {
        font-size: 0.8rem;
    }

        .top-bar .col-md-6 {
            text-align: center !important;
        }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-content .lead {
        font-size: 1rem;
    }

    .feature-icon,
    .program-icon {
        font-size: 2.5rem;
    }

    .badge-content {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .hero-buttons .me-3 {
        margin-right: 0 !important;
    }

    .hero-content {
        margin-left: 0%;
    }

    .hero-section {
        text-align : start;
    }

}

/* Utilities */
.min-vh-100 {
    min-height: 100vh;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c62828 100%);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Button Hover Effects */
.btn {
    transition: all 0.3s ease;
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

.btn-danger {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

    .btn-danger:hover {
        background: #c62828;
        border-color: #c62828;
    }

/* Image Loading */
img {
    max-width: 100%;
    padding: 5px;
}

    /* Placeholder for images */
    img[src=""] {
        background: #e0e0e0;
        display: inline-block;
    }


.cert-icon svg {
    height: 50px;
    margin: 5%;
}

.cert-icon {
    background: #dc3545;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.10s ease;
}

.certification-card:hover .cert-icon {
    transform: rotate(-10deg);
}

.certification-card:hover h5 {
    color: #dc3545;
}

/* contact form styles */
.contact-section {
    padding: 55px 0;
}

.contact-info {
    padding: 40px 0;
}

.contact-info-item {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
}

    .contact-info-item i {
        font-size: 20px;
        margin-right: 15px;
        color: var(--text-dark);
        margin-top: 5px;
    }

.contact-info-text h6 {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

.contact-info-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.contact-form-card {
    background: white;
    border-radius: 8px;
    padding: 20px 27px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .contact-form-card h2 {
        font-size: 28px;
        font-weight: 600;
        margin-bottom: 30px;
        color: var(--text-dark);
    }

.contact-section .form-label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

    .contact-section .form-label .required {
        color: #dc3545;
        margin-left: 3px;
    }

.contact-section .form-control,
.contact-section .form-control:focus {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 7px 7px;
    font-size: 14px;
}

    .contact-section .form-control:focus {
        border-color: var(--btn-teal);
        box-shadow: 0 0 0 0.2rem rgba(95, 179, 179, 0.25);
    }

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.contact-section .btn-submit {
    background-color: rgb(239, 67, 67);
    border: none;
    color: #fff;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: rgb(241, 19, 19);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.map-section {
    width: 100%;
    height: 350px;
    margin-top: 60px;
}

    .map-section iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }

/* Icon styling */
.icon-phone::before {
    content: '📞';
}

.icon-email::before {
    content: '✉️';
}

.icon-location::before {
    content: '📍';
}

@media (max-width: 768px) {
    .contact-form-card {
        padding: 25px;
        margin-bottom: 30px;
    }

    .contact-info {
        padding: 20px 0;
    }
}


.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* admission section */

/* Custom button class */
.btn-admissions {
    background-color: #c8102e;
    color: white;
    border: none;
    font-size: 0.8em;
    font-weight: 600;
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.25);
}

    .btn-admissions:hover,
    .btn-admissions:focus {
        background-color: #a00d24;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(200, 16, 46, 0.35);
        color: white;
    }

    .btn-admissions:active {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(200, 16, 46, 0.25);
    }


/* Hero */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('https://images.unsplash.com/photo-1588075592446-265f0d7f1f3d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Step cards */
.p-step-card {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card {
    height: 100%;
    width: 100%;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .step-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
        cursor: pointer;
        background-color: #c9d0d0;
        transition: transform 0.3s ease, background-color 0.5s ease;
    }

.step-icon {
    width: 50px;
    height: 50px;
    line-height: 47px;
    font-size: 1.6rem;
    font-weight: bold;
    background-color: #c8102e;
    color: white;
    border-radius: 50%;
    margin-bottom: 1.25rem;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(200, 16, 46, 0.3);
    align-items: center;
}

/* Documents list */
.document-list li {
    font-size: 1.05rem;
    margin-bottom: 0.9rem;
}

.document-list i {
    color: var(--primary);
}

/* Table */
.table thead th {
    background-color: #c8102e;
    color: white;
    border: none;
}

.table td {
    vertical-align: middle;
}

/* Section headings */
.section-title {
    position: relative;
    padding-bottom: 0.75rem;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: 2px;
        background-color: #c8102e;
        border-radius: 2px;
    }

.age-limit-table {
    background-color: white;
    padding: 30px 30px;
    border-radius: 12px;
}

.declaration-container {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    margin-top: 3%;
}

    .declaration-container input[type="checkbox"] {
        margin-top: 4px;
        cursor: pointer;
    }

    .declaration-container label {
        font-size: 14px;
        line-height: 1.6;
        cursor: pointer;
        color: #333;
    }

.sg_photo_section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sg_photo {
    height: 170px;
    width: 170px;
    border-radius: 50%;
    box-shadow: 0px 0px 5px -1px gray;
    overflow: hidden;
}

.sg_btn_camera {
    padding: 7px 11px;
    border-radius: 50%;
    border: none;
    background-color: #abeff6;
    position: absolute;
    bottom: -1px;
}

.sg_form select:hover {
    cursor: pointer;
}

/*----------- Start fees Page -----------*/

.fee_table {
    height: 62vh;
}

.table thead {
    background-color: #c8102e;
    color: white;
    position: sticky;
    top: 0;
}

/*----------- End fees Page -----------*/