/* assets/css/style.css */

/* Color Theme */
:root {
    --deep-red: #8B0000;
    --maroon: #6D0000;
    --gold: #C9A227;
    --light-gold: #E6C55C;
    --white: #FFFFFF;
    --light-grey: #F8F9FA;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--maroon);
    font-weight: 600;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

.section-title span {
    color: var(--gold);
}

/* Buttons */
.btn-gold {
    background: var(--gold);
    color: var(--maroon);
    font-weight: 600;
    padding: 12px 30px;
    border: none;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: var(--light-gold);
    color: var(--deep-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 162, 39, 0.3);
}

.btn-maroon {
    background: var(--maroon);
    color: var(--gold);
    font-weight: 600;
    padding: 12px 30px;
    border: none;
    transition: all 0.3s ease;
}

.btn-maroon:hover {
    background: var(--deep-red);
    color: var(--light-gold);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
    width: 80%;
}

.dropdown-menu {
    background: var(--maroon);
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.dropdown-item {
    color: var(--white);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--gold);
    color: var(--maroon);
}

/* Carousel */
.carousel-item {
    height: 80vh;
    min-height: 400px;
    background: linear-gradient(rgba(107, 0, 0, 0.7), rgba(139, 0, 0, 0.7)), url('../img/carousel-bg.jpg');
    background-size: cover;
    background-position: center;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 80%;
    max-width: 800px;
}

.carousel-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.carousel-content p {
    color: var(--light-gold);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.carousel-content .admission-badge {
    background: var(--gold);
    color: var(--maroon);
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Courses Section */
.course-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    border: 1px solid var(--light-gold);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(139, 0, 0, 0.2);
}

.course-header {
    background: linear-gradient(135deg, var(--deep-red), var(--maroon));
    color: var(--gold);
    padding: 20px;
    text-align: center;
}

.course-header h3 {
    color: var(--gold);
    margin: 0;
    font-size: 1.5rem;
}

.course-body {
    padding: 20px;
}

.course-duration {
    color: var(--deep-red);
    font-weight: 600;
    margin-bottom: 15px;
}

.course-specs {
    list-style: none;
    padding: 0;
}

.course-specs li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.course-specs li:before {
    content: '✓';
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Why Choose Us */
.why-choose-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-bottom: 3px solid var(--gold);
}

.why-choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.15);
}

.why-choose-card i {
    font-size: 3rem;
    color: var(--deep-red);
    margin-bottom: 20px;
}

.why-choose-card h3 {
    color: var(--maroon);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Special Offers */
.offer-card {
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    color: var(--maroon);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.offer-card:hover {
    transform: scale(1.05);
}

.offer-card h3 {
    color: var(--maroon);
    margin-bottom: 15px;
}

.offer-card .discount {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 20px 0;
}

/* Mission Section */
.mission-section {
    background: linear-gradient(rgba(139, 0, 0, 0.95), rgba(109, 0, 0, 0.95)), url('../img/mission-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: var(--white);
    padding: 80px 0;
}

.mission-section h2 {
    color: var(--gold);
    margin-bottom: 30px;
}

.mission-points {
    list-style: none;
    padding: 0;
}

.mission-points li {
    margin-bottom: 20px;
    padding-left: 40px;
    position: relative;
    font-size: 1.1rem;
}

.mission-points li:before {
    content: '✓';
    background: var(--gold);
    color: var(--maroon);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Pharmacy Highlight */
.pharmacy-highlight {
    background: linear-gradient(135deg, var(--maroon), var(--deep-red));
    color: var(--gold);
    padding: 80px 0;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.pharmacy-highlight h2 {
    color: var(--gold);
    font-size: 3rem;
    margin-bottom: 20px;
}

.pharmacy-highlight .badge {
    background: var(--gold);
    color: var(--maroon);
    font-size: 1.2rem;
    padding: 10px 30px;
    border-radius: 50px;
}

/* Contact CTA */
.contact-cta {
    background: var(--gold);
    color: var(--maroon);
    padding: 60px 0;
    text-align: center;
}

.contact-cta h2 {
    color: var(--maroon);
    margin-bottom: 20px;
}

/* Gallery Page */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(139, 0, 0, 0.9));
    color: var(--white);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Contact Page */
.contact-info-card {
    background: var(--light-grey);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--gold);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.1);
}

.contact-info-card i {
    font-size: 3rem;
    color: var(--deep-red);
    margin-bottom: 20px;
}

.contact-info-card h3 {
    color: var(--maroon);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-content h1 {
        font-size: 2rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
    }
    
    .pharmacy-highlight h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 40px;
    }
    
    .carousel-item {
        height: 60vh;
    }
    
    .btn-gold, .btn-maroon {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Form Styles */
.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.25);
}

/* Animation Classes */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}




/* Course Detail Page */
.course-meta .badge {
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.course-description {
    line-height: 1.8;
    color: #444;
}

.specializations .p-3 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specializations .p-3:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.1);
}

.curriculum, .career, .fee {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 3px solid #C9A227;
}

/* Quick Info Card */
.quick-info-card ul li {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.quick-info-card ul li:last-child {
    border-bottom: none;
}

/* Related Courses */
.related-courses .course-card {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .course-meta .badge {
        display: block;
        margin-bottom: 10px;
        text-align: left;
    }
    
    .specializations .col-md-4 {
        margin-bottom: 10px;
    }
}

/* Accordion Styling */
.accordion-item {
    border: 1px solid #C9A227 !important;
    margin-bottom: 15px;
    border-radius: 5px !important;
    overflow: hidden;
}

.accordion-button {
    background: #F8F9FA;
    color: #6D0000;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: #8B0000;
    color: #C9A227;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #C9A227;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236D0000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23C9A227'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* ===== ADMISSION STATUS BAR ===== */
        .admission-bar {
            background: var(--gold);
            color: var(--maroon);
            padding: 12px 0;
            font-weight: 600;
            text-align: center;
            position: relative;
            z-index: 999;
            font-size: 1.1rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .admission-bar .btn {
            background: var(--maroon);
            color: var(--gold);
            border-radius: 50px;
            padding: 8px 30px;
            font-weight: 600;
            margin-left: 15px;
            border: none;
            transition: all 0.3s ease;
            cursor: pointer;
            font-size: 1rem;
        }
        
        .admission-bar .btn:hover {
            background: var(--deep-red);
            color: var(--light-gold);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(109,0,0,0.3);
        }
        
        /* ===== CAROUSEL STYLES ===== */
        .carousel {
            margin-top: 0;
        }
        
        .carousel-item {
            height: 80vh;
            min-height: 500px;
            background: #000;
        }
        
        .carousel-item img {
            object-fit: cover;
            height: 100%;
            width: 100%;
            opacity: 0.8;
        }
        
        .carousel-caption {
            background: rgba(0,0,0,0.6);
            padding: 40px;
            border-radius: 15px;
            bottom: 50%;
            transform: translateY(50%);
            max-width: 800px;
            margin: 0 auto;
            left: 0;
            right: 0;
        }
        
        .carousel-caption .admission-badge {
            background: var(--gold);
            color: var(--maroon);
            padding: 8px 25px;
            border-radius: 50px;
            display: inline-block;
            margin-bottom: 20px;
            font-weight: 600;
            font-size: 1rem;
        }
        
        .carousel-caption h1 {
            color: var(--gold);
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 20px;
        }
        
        .carousel-caption p {
            color: var(--white);
            font-size: 1.2rem;
            margin-bottom: 25px;
        }
        
        .carousel-caption .btn-gold,
        .carousel-caption .btn-maroon {
            padding: 12px 30px;
            font-size: 1rem;
        }
        
        .carousel-indicators button {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: var(--gold);
            opacity: 0.5;
        }
        
        .carousel-indicators button.active {
            opacity: 1;
        }
        
        .carousel-control-prev-icon,
        .carousel-control-next-icon {
            background-color: var(--deep-red);
            border-radius: 50%;
            padding: 20px;
        }
        
        /* ===== BUTTONS ===== */
        .btn-gold {
            background: var(--gold);
            color: var(--maroon);
            padding: 14px 35px;
            border-radius: 50px;
            text-decoration: none;
            display: inline-block;
            margin: 8px;
            font-weight: 600;
            font-size: 1.1rem;
            border: none;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .btn-gold:hover {
            background: var(--light-gold);
            color: var(--deep-red);
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(201,162,39,0.4);
        }
        
        .btn-maroon {
            background: var(--maroon);
            color: var(--gold);
            padding: 14px 35px;
            border-radius: 50px;
            text-decoration: none;
            display: inline-block;
            margin: 8px;
            font-weight: 600;
            font-size: 1.1rem;
            border: none;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .btn-maroon:hover {
            background: var(--deep-red);
            color: var(--light-gold);
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(109,0,0,0.4);
        }
        
        /* ===== SECTION TITLE ===== */
        .section-title {
            text-align: center;
            margin-bottom: 60px;
            color: var(--maroon);
            font-size: 2.5rem;
            font-weight: 700;
            position: relative;
        }
        
        .section-title span {
            color: var(--gold);
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, var(--gold), var(--maroon));
            border-radius: 2px;
        }
        
        /* ===== COURSE CARDS ===== */
        .course-card {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            height: 100%;
            border: 1px solid var(--light-gold);
            transition: all 0.3s ease;
            margin-bottom: 25px;
        }
        
        .course-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(139,0,0,0.2);
            border-color: var(--gold);
        }
        
        .course-header {
            background: linear-gradient(135deg, var(--deep-red), var(--maroon));
            color: var(--gold);
            padding: 25px 20px;
            text-align: center;
        }
        
        .course-header h3 {
            color: var(--gold);
            margin: 0;
            font-size: 1.3rem;
            font-weight: 600;
        }
        
        .course-body {
            padding: 25px 20px;
        }
        
        .course-duration {
            color: var(--deep-red);
            font-weight: 600;
            margin-bottom: 15px;
            font-size: 1rem;
        }
        
        .course-duration i {
            color: var(--gold);
        }
        
        /* ===== WHY CHOOSE CARDS ===== */
        .why-card {
            text-align: center;
            padding: 35px 25px;
            background: var(--white);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            height: 100%;
            border-bottom: 4px solid var(--gold);
            transition: all 0.3s ease;
        }
        
        .why-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(139,0,0,0.1);
        }
        
        .why-card i {
            font-size: 3rem;
            color: var(--deep-red);
            margin-bottom: 20px;
        }
        
        .why-card h3 {
            color: var(--maroon);
            margin-bottom: 15px;
            font-size: 1.3rem;
            font-weight: 600;
        }
        
        .why-card p {
            color: #666;
            margin: 0;
            font-size: 0.95rem;
            line-height: 1.6;
        }
        
        /* ===== OFFER CARDS ===== */
        .offer-card {
            background: linear-gradient(135deg, var(--gold), var(--light-gold));
            border-radius: 15px;
            padding: 35px 25px;
            text-align: center;
            height: 100%;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
        .offer-card:hover {
            transform: scale(1.05);
            box-shadow: 0 20px 40px rgba(201,162,39,0.3);
        }
        
        .offer-card i {
            font-size: 3rem;
            color: var(--maroon);
            margin-bottom: 20px;
        }
        
        .offer-card h3 {
            color: var(--maroon);
            margin-bottom: 15px;
            font-weight: 600;
        }
        
        .offer-card .discount {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--deep-red);
            margin: 20px 0;
        }
        
        .offer-badge {
            background: var(--maroon);
            color: var(--gold);
            padding: 8px 20px;
            border-radius: 50px;
            display: inline-block;
            font-weight: 500;
        }
        
        /* ===== MISSION SECTION ===== */
        .mission-section {
            background: linear-gradient(rgba(109,0,0,0.95), rgba(139,0,0,0.95)), 
                        url('https://images.unsplash.com/photo-1523580494863-6f3031224c94?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
            background-size: cover;
            background-attachment: fixed;
            padding: 80px 0;
            color: var(--white);
        }
        
        .mission-section h2 {
            color: var(--gold);
            font-size: 2.2rem;
            margin-bottom: 30px;
        }
        
        .mission-points {
            list-style: none;
            padding: 0;
        }
        
        .mission-points li {
            margin-bottom: 20px;
            padding-left: 35px;
            position: relative;
            font-size: 1.1rem;
        }
        
        .mission-points li:before {
            content: '✓';
            background: var(--gold);
            color: var(--maroon);
            width: 25px;
            height: 25px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            left: 0;
            font-weight: bold;
        }
        
        /* ===== PHARMACY HIGHLIGHT ===== */
        .pharmacy-highlight {
            background: linear-gradient(135deg, var(--maroon), var(--deep-red));
            padding: 80px 0;
            text-align: center;
            color: var(--white);
            clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
        }
        
        .pharmacy-highlight h2 {
            color: var(--gold);
            font-size: 3rem;
            font-weight: 700;
            margin: 25px 0;
        }
        
        .pharmacy-highlight .badge {
            background: var(--gold);
            color: var(--maroon);
            padding: 12px 35px;
            border-radius: 50px;
            font-size: 1.2rem;
            font-weight: 600;
        }
        
        /* ===== CONTACT CTA ===== */
        .contact-cta {
            background: var(--gold);
            padding: 80px 0;
            text-align: center;
        }
        
        .contact-cta h2 {
            color: var(--maroon);
            font-size: 2.5rem;
            margin-bottom: 20px;
        }
        
        .contact-cta .lead {
            color: var(--deep-red);
            font-size: 1.2rem;
            margin-bottom: 30px;
        }
        
        /* ===== FOOTER ===== */
        footer {
            background: var(--maroon);
            color: var(--white);
            padding: 60px 0 20px;
        }
        
        footer h5 {
            color: var(--gold);
            margin-bottom: 25px;
            font-weight: 600;
        }
        
        footer a {
            color: var(--white);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        footer a:hover {
            color: var(--gold);
        }
        
        footer ul {
            list-style: none;
            padding: 0;
        }
        
        footer ul li {
            margin-bottom: 12px;
        }
        
        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(201,162,39,0.2);
            border-radius: 50%;
            margin-right: 10px;
            transition: all 0.3s ease;
        }
        
        .social-links a:hover {
            background: var(--gold);
            color: var(--maroon);
            transform: translateY(-3px);
        }
        
        .footer-bottom {
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid rgba(201,162,39,0.3);
            text-align: center;
        }
        
        /* ===== WHATSAPP FLOAT ===== */
        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: var(--gold);
            color: var(--maroon);
            width: 65px;
            height: 65px;
            border-radius: 50%;
            text-align: center;
            font-size: 35px;
            line-height: 65px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.3);
            z-index: 1000;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        
        .whatsapp-float:hover {
            transform: scale(1.1) translateY(-5px);
            background: var(--light-gold);
            color: var(--deep-red);
        }
        
        /* ===== MODAL ===== */
        .modal-header {
            background: var(--deep-red);
            color: var(--gold);
            border: none;
        }
        
        .modal-header .btn-close {
            filter: brightness(0) invert(1);
        }
        
        .modal .btn-primary {
            background: var(--deep-red);
            border-color: var(--deep-red);
            color: var(--gold);
            padding: 12px 30px;
        }
        
        .modal .btn-primary:hover {
            background: var(--maroon);
        }
        
        /* ===== RESPONSIVE ===== */
        @media (max-width: 991px) {
            .navbar-nav {
                padding: 20px 0;
            }
            
            .navbar-nav .nav-link {
                padding: 12px 20px !important;
                margin: 5px 0;
            }
        }
        
        @media (max-width: 768px) {
            .carousel-item {
                height: 60vh;
            }
            
            .carousel-caption {
                padding: 20px;
            }
            
            .carousel-caption h1 {
                font-size: 2rem;
            }
            
            .carousel-caption p {
                font-size: 1rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .pharmacy-highlight h2 {
                font-size: 2rem;
            }
            
            .pharmacy-highlight {
                clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
            }
            
            .whatsapp-float {
                width: 55px;
                height: 55px;
                font-size: 30px;
                line-height: 55px;
                bottom: 20px;
                right: 20px;
            }
        }
        
        @media (max-width: 576px) {
            .navbar-brand img {
                height: 40px;
            }
            
            .admission-bar {
                font-size: 0.9rem;
            }
            
            .admission-bar .btn {
                display: block;
                margin: 10px auto 0;
                width: fit-content;
            }
            
            .carousel-item {
                height: 50vh;
            }
            
            .carousel-caption h1 {
                font-size: 1.5rem;
            }
            
            .btn-gold, .btn-maroon {
                padding: 10px 25px;
                font-size: 0.9rem;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
            
            .course-header h3 {
                font-size: 1.1rem;
            }
            
            .pharmacy-highlight h2 {
                font-size: 1.6rem;
            }
            
            .contact-cta h2 {
                font-size: 1.8rem;
            }
        }
        
        /* Landscape Mode */
        @media (max-height: 500px) and (orientation: landscape) {
            .carousel-item {
                height: 100vh;
            }
            
            .whatsapp-float {
                width: 45px;
                height: 45px;
                font-size: 25px;
                line-height: 45px;
            }
        }

         .navbar {
            transition: all 0.3s ease;
            padding: 15px 0;
            background: linear-gradient(135deg, #8B0000 0%, #6D0000 100%) !important;
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
        }
        
        .navbar.scrolled {
            padding: 10px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.2);
        }
        
        .navbar-brand {
            display: flex;
            align-items: center;
            gap: 15px;
            text-decoration: none;
        }
        
        .navbar-brand img {
            transition: transform 0.3s ease;
            max-height: 60px;
            width: auto;
        }
        
        .navbar-brand:hover img {
            transform: scale(1.05);
        }
        
        .brand-text {
            display: flex;
            flex-direction: column;
            line-height: 1.2;
        }
        
        .brand-main {
            color: #C9A227;
            font-weight: 700;
            font-size: 1.4rem;
            text-transform: uppercase;
        }
        
        .brand-sub {
            color: #FFFFFF;
            font-size: 0.9rem;
        }
        
        .navbar-nav {
            align-items: center;
        }
        
        .navbar-nav .nav-link {
            color: #FFFFFF !important;
            font-weight: 500;
            padding: 8px 16px !important;
            margin: 0 5px;
            position: relative;
            font-size: 1rem;
            transition: all 0.3s ease;
            white-space: nowrap;
        }
        
        .navbar-nav .nav-link:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: #C9A227;
            transition: width 0.3s ease;
        }
        
        .navbar-nav .nav-link:hover:after,
        .navbar-nav .nav-link.active:after {
            width: 80%;
        }
        
        .navbar-nav .nav-link:hover {
            color: #C9A227 !important;
        }
        
        /* Online Payment Button */
        .payment-btn {
            background: #C9A227;
            color: #6D0000 !important;
            border-radius: 50px !important;
            padding: 8px 25px !important;
            margin-left: 15px !important;
            font-weight: 600 !important;
            border: 2px solid transparent;
            transition: all 0.3s ease !important;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
        }
        
        .payment-btn i {
            font-size: 1.1rem;
            color: #6D0000;
            transition: all 0.3s ease;
        }
        
        .payment-btn:hover {
            background: #E6C55C;
            color: #8B0000 !important;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(201, 162, 39, 0.3);
        }
        
        .payment-btn:hover i {
            color: #8B0000;
            transform: translateX(3px);
        }
        
        .payment-btn:after {
            display: none !important;
        }
        
        /* Payment Modal Styles */
        .payment-modal .modal-header {
            background: linear-gradient(135deg, #8B0000, #6D0000);
            color: #C9A227;
            border: none;
        }
        
        .payment-modal .modal-header .btn-close {
            filter: brightness(0) invert(1);
        }
        
        .payment-modal .modal-title i {
            margin-right: 10px;
            color: #C9A227;
        }
        
        .payment-modal .modal-body {
            padding: 30px;
        }
        
        .payment-methods {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 15px;
            margin: 20px 0;
        }
        
        .payment-method-card {
            background: #F8F9FA;
            border: 2px solid #eee;
            border-radius: 10px;
            padding: 20px 10px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .payment-method-card:hover {
            border-color: #C9A227;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .payment-method-card.selected {
            border-color: #C9A227;
            background: rgba(201, 162, 39, 0.1);
        }
        
        .payment-method-card i {
            font-size: 2.5rem;
            margin-bottom: 10px;
        }
        
        .payment-method-card span {
            display: block;
            font-weight: 600;
            color: #333;
        }
        
        .payment-form .form-group {
            margin-bottom: 20px;
        }
        
        .payment-form label {
            font-weight: 600;
            color: #6D0000;
            margin-bottom: 5px;
        }
        
        .payment-form .form-control {
            border: 2px solid #eee;
            border-radius: 8px;
            padding: 12px 15px;
            transition: all 0.3s ease;
        }
        
        .payment-form .form-control:focus {
            border-color: #C9A227;
            box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.25);
        }
        
        .payment-amount {
            font-size: 2rem;
            font-weight: 700;
            color: #8B0000;
            text-align: center;
            margin: 20px 0;
        }
        
        .payment-amount small {
            font-size: 1rem;
            color: #666;
            font-weight: normal;
        }
        
        .btn-pay {
            background: linear-gradient(135deg, #8B0000, #6D0000);
            color: #C9A227;
            width: 100%;
            padding: 15px;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }
        
        .btn-pay:hover {
            background: linear-gradient(135deg, #6D0000, #8B0000);
            color: #E6C55C;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
        }
        
        .btn-pay i {
            margin-left: 10px;
        }
        
        /* Responsive Design */
        @media (max-width: 991px) {
            .navbar-nav {
                padding: 20px 0;
                align-items: flex-start;
            }
            
            .navbar-nav .nav-link {
                padding: 12px 20px !important;
                margin: 5px 0;
                border-radius: 5px;
                width: 100%;
            }
            
            .navbar-nav .nav-link:after {
                display: none;
            }
            
            .payment-btn {
                margin: 10px 20px !important;
                width: calc(100% - 40px);
                justify-content: center;
            }
            
            .navbar-brand img {
                max-height: 50px;
            }
            
            .brand-main {
                font-size: 1.2rem;
            }
            
            .brand-sub {
                font-size: 0.8rem;
            }
        }
        
        @media (max-width: 768px) {
            .navbar {
                padding: 10px 0;
            }
            
            .navbar-brand {
                gap: 10px;
            }
            
            .navbar-brand img {
                max-height: 45px;
            }
            
            .brand-main {
                font-size: 1.1rem;
            }
            
            .brand-sub {
                font-size: 0.75rem;
            }
            
            .payment-methods {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 576px) {
            .navbar-brand {
                gap: 8px;
                max-width: 70%;
            }
            
            .navbar-brand img {
                max-height: 40px;
            }
            
            .brand-main {
                font-size: 1rem;
            }
            
            .brand-sub {
                font-size: 0.7rem;
            }
            
            .payment-methods {
                grid-template-columns: 1fr;
            }
            
            .payment-modal .modal-body {
                padding: 20px;
            }
            
            .payment-amount {
                font-size: 1.5rem;
            }
        }
        
        @media (max-width: 400px) {
            .brand-text {
                display: none;
            }
        }
        
        /* Admission Status Bar */
        .admission-status-bar {
            background: #C9A227;
            color: #6D0000;
            padding: 12px 0;
            font-weight: 600;
            text-align: center;
            font-size: 1rem;
        }
        
        .admission-status-bar .btn {
            background: #6D0000;
            color: #C9A227;
            border-radius: 30px;
            padding: 8px 25px;
            margin-left: 15px;
            border: none;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
        }
        
        .admission-status-bar .btn:hover {
            background: #8B0000;
            color: #E6C55C;
            transform: translateY(-2px);
        }
        
        @media (max-width: 768px) {
            .admission-status-bar {
                font-size: 0.9rem;
                padding: 10px;
            }
            
            .admission-status-bar .btn {
                display: block;
                margin: 10px auto 0;
                width: fit-content;
            }
        }
        
        /* Dropdown Menu */
        .dropdown-menu {
            background: #6D0000;
            border: none;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            padding: 10px 0;
            margin-top: 10px;
        }
        
        .dropdown-item {
            color: #FFFFFF;
            padding: 10px 20px;
            transition: all 0.3s ease;
            font-weight: 500;
        }
        
        .dropdown-item:hover {
            background: #C9A227;
            color: #6D0000;
            padding-left: 25px;
        }


        .footer {
        background: #6D0000;
        color: #FFFFFF;
        padding: 60px 0 0;
        position: relative;
        overflow: hidden;
    }
    
    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #C9A227, transparent);
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
    
    .footer-logo {
        display: flex;
        align-items: center;
        gap: 15px;
        text-decoration: none;
    }
    
    .footer-logo img {
        max-height: 60px;
        width: auto;
        transition: transform 0.3s ease;
    }
    
    .footer-logo:hover img {
        transform: scale(1.05);
    }
    
    .footer-brand-text {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }
    
    .footer-brand-main {
        color: #C9A227;
        font-weight: 700;
        font-size: 1.2rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .footer-brand-sub {
        color: #FFFFFF;
        font-weight: 400;
        font-size: 0.8rem;
        letter-spacing: 0.3px;
    }
    
    .footer-about {
        color: #E6C55C;
        line-height: 1.8;
        margin: 20px 0;
        font-size: 0.95rem;
    }
    
    .footer-title {
        color: #C9A227;
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 10px;
    }
    
    .footer-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 2px;
        background: #C9A227;
    }
    
    .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .footer-links li {
        margin-bottom: 12px;
    }
    
    .footer-links a {
        color: #FFFFFF;
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-block;
    }
    
    .footer-links a i {
        font-size: 0.8rem;
        margin-right: 8px;
        color: #C9A227;
        transition: transform 0.3s ease;
    }
    
    .footer-links a:hover {
        color: #C9A227;
        transform: translateX(5px);
    }
    
    .footer-links a:hover i {
        transform: translateX(3px);
    }
    
    .social-links {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(201, 162, 39, 0.2);
        color: #C9A227;
        border-radius: 50%;
        transition: all 0.3s ease;
        text-decoration: none;
    }
    
    .social-link:hover {
        background: #C9A227;
        color: #6D0000;
        transform: translateY(-3px);
    }
    
    .contact-info {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .contact-info li {
        display: flex;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .contact-info li i {
        font-size: 1.2rem;
        color: #C9A227;
        margin-top: 5px;
    }
    
    .contact-info li div {
        flex: 1;
    }
    
    .contact-info li strong {
        color: #C9A227;
        font-size: 0.9rem;
    }
    
    .contact-info a {
        color: #FFFFFF;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .contact-info a:hover {
        color: #C9A227;
    }
    
    .footer-bottom {
        margin-top: 40px;
        padding: 20px 0;
        border-top: 1px solid rgba(201, 162, 39, 0.3);
    }
    
    .copyright {
        color: #E6C55C;
        font-size: 0.9rem;
    }
    
    .footer-bottom-links {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        gap: 20px;
        justify-content: flex-end;
    }
    
    .footer-bottom-links a {
        color: #FFFFFF;
        text-decoration: none;
        font-size: 0.9rem;
        transition: color 0.3s ease;
    }
    
    .footer-bottom-links a:hover {
        color: #C9A227;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        background: #C9A227;
        color: #6D0000;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 30px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
        transition: all 0.3s ease;
        z-index: 999;
        text-decoration: none;
    }
    
    .whatsapp-float:hover {
        background: #E6C55C;
        color: #8B0000;
        transform: scale(1.1) translateY(-5px);
    }
    
    /* Back to Top */
    .back-to-top {
        position: fixed;
        bottom: 30px;
        left: 30px;
        width: 50px;
        height: 50px;
        background: #6D0000;
        color: #C9A227;
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }
    
    .back-to-top.show {
        opacity: 1;
        visibility: visible;
    }
    
    .back-to-top:hover {
        background: #8B0000;
        color: #E6C55C;
        transform: translateY(-5px);
    }
    
    /* Modal Styles */
    .modal-header {
        background: #8B0000;
        color: #C9A227;
        border: none;
    }
    
    .modal-header .btn-close {
        filter: brightness(0) invert(1);
    }
    
    .modal-title {
        font-weight: 600;
    }
    
    .modal .form-control:focus,
    .modal .form-select:focus {
        border-color: #C9A227;
        box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.25);
    }
    
    .modal .btn-primary {
        background: #8B0000;
        border-color: #8B0000;
        color: #C9A227;
        padding: 10px 30px;
    }
    
    .modal .btn-primary:hover {
        background: #6D0000;
        border-color: #6D0000;
    }
    
    /* Responsive Footer */
    @media (max-width: 991px) {
        .footer {
            padding: 40px 0 0;
        }
        
        .footer-title {
            margin-bottom: 20px;
        }
        
        .footer-bottom-links {
            justify-content: center;
            margin-top: 15px;
        }
        
        .whatsapp-float {
            width: 50px;
            height: 50px;
            font-size: 25px;
            bottom: 20px;
            right: 20px;
        }
        
        .back-to-top {
            width: 40px;
            height: 40px;
            font-size: 16px;
            bottom: 20px;
            left: 20px;
        }
        
        .footer-logo {
            justify-content: center;
        }
    }
    
    @media (max-width: 768px) {
        .footer-widget {
            text-align: center;
        }
        
        .footer-title::after {
            left: 50%;
            transform: translateX(-50%);
        }
        
        .social-links {
            justify-content: center;
        }
        
        .contact-info li {
            justify-content: center;
        }
        
        .contact-info li i {
            margin-top: 0;
        }
        
        .footer-bottom-links {
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .footer-brand-main {
            font-size: 1rem;
        }
        
        .footer-brand-sub {
            font-size: 0.7rem;
        }
    }
    
    @media (max-width: 576px) {
        .footer {
            padding: 30px 0 0;
        }
        
        .footer-logo img {
            max-height: 45px;
        }
        
        .footer-brand-main {
            font-size: 0.9rem;
        }
        
        .footer-brand-sub {
            font-size: 0.65rem;
        }
        
        .footer-about {
            font-size: 0.9rem;
        }
        
        .contact-info li {
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 5px;
        }
        
        .footer-bottom-links {
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }
        
        .whatsapp-float {
            width: 45px;
            height: 45px;
            font-size: 22px;
        }
        
        .back-to-top {
            width: 35px;
            height: 35px;
            font-size: 14px;
        }
    }
    
    @media (max-width: 400px) {
        .footer-brand-text {
            display: none; /* Hide text on very small devices */
        }
    }
    
    /* Landscape Mode */
    @media (max-height: 500px) and (orientation: landscape) {
        .whatsapp-float,
        .back-to-top {
            width: 35px;
            height: 35px;
            font-size: 16px;
        }
    }
    
    /* Print Styles */
    @media print {
        .footer,
        .whatsapp-float,
        .back-to-top,
        .modal {
            display: none !important;
        }
    }