
/* Reusing and extending styles from previous versions for consistency */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb; 
    color: #374151; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Brand Colors */
.bg-primary { background-color: #ba090a; }
.text-primary { color: #ba090a; }
.border-primary { border-color: #ba090a; }
.hover\:bg-primary-dark:hover { background-color: #9d0708; } 
.gradient-primary { background-image: linear-gradient(to right, #ba090a, #d32f2f); }
.gradient-primary-hover:hover { background-image: linear-gradient(to right, #9d0708, #ba090a); }

.bg-accent { background-color: #1b5528; }
.text-accent { color: #1b5528; }
.border-accent { border-color: #1b5528; }
.hover\:bg-accent-dark:hover { background-color: #133f1e; } 
.gradient-accent { background-image: linear-gradient(to right, #1b5528, #2e7d32); }
.gradient-accent-hover:hover { background-image: linear-gradient(to right, #133f1e, #1b5528); }

/* Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 50;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, padding 0.3s ease-in-out;
}
.header-scrolled {
    background-color: rgba(255, 255, 255, 0.98); 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

/* Hero Section Overlay & Text Animation */
.hero-overlay:not(.no-overlay)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(27, 85, 40, 0.7), rgba(27, 85, 40, 0.85)); 
    z-index: 1;
}:contentReference[oaicite:7]{index=7}

.hero-content {
    position: relative;
    z-index: 2;
}
.hero-headline {
    background: linear-gradient(90deg, #fff, #ffd700, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
}
@keyframes shine {
    to {
        background-position: -200% center;
    }
}

/* Card Flip Animation (Batches) */
.flip-card { perspective: 1500px; }
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%; 
    text-align: center;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); 
    transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; 
    backface-visibility: hidden;
    border-radius: 0.75rem; 
    display: flex; 
    flex-direction: column;
    justify-content: space-between; 
}
.flip-card-back {
    transform: rotateY(180deg);
    padding: 1.5rem; 
    align-items: center; 
    justify-content: center; 
}

/* General Card Hover (Courses, Faculty) */
.content-card {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.content-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Scroll-based Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px); 
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}
.animate-slide-in-left {
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity 1s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.animate-slide-in-left.animated { opacity: 1; transform: translateX(0); }
.animate-slide-in-right {
    opacity: 0;
    transform: translateX(70px);
    transition: opacity 1s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.animate-slide-in-right.animated { opacity: 1; transform: translateX(0); }
.animate-bounce-in { 
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.animate-bounce-in.animated { opacity: 1; transform: scale(1); }
.animate-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.animate-icon:hover { transform: scale(1.15) rotate(8deg); }

/* Button Hover Micro-interaction */
.btn-hover-effect {
    transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out, background-color 0.25s ease-in-out;
}
.btn-hover-effect:hover {
    transform: translateY(-4px) scale(1.05); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.22);
}

/* Floating CTA Pulse Animation */
.pulse-animate {
    animation: pulse 2.2s infinite cubic-bezier(0.66, 0, 0, 1);
}
@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(27, 85, 40, 0.6); } 
    50% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(27, 85, 40, 0); }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    left: 25px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 100;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.whatsapp-float i { margin-top: 15px; }

/* Topper Highlights Ticker */
.ticker-container {
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}
.ticker-container::-webkit-scrollbar { display: none; }
.ticker-item {
    display: inline-block;
    margin-right: 1.5rem; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ticker-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Glassmorphism effect */
.glassmorphic-card {
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem; 
}

/* Mobile Menu */
.mobile-menu {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.mobile-menu-open { transform: translateX(0); }
.mobile-menu-closed { transform: translateX(-100%); }

/* Tab active state */
.tab-active {
    border-bottom-color: #ba090a; 
    color: #ba090a;
    font-weight: 700; 
}
.tab-inactive {
    border-bottom-color: transparent;
    color: #4B5563; 
}
.tab-inactive:hover {
    color: #ba090a; 
    border-bottom-color: #fecaca; 
}

/* Carousel styling */
.carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: none; 
    padding-bottom: 1.5rem; 
}
.carousel::-webkit-scrollbar { display: none; }
.carousel-item {
    flex: 0 0 auto;
    width: 90%; 
    margin-right: 1rem;
    scroll-snap-align: center; 
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.carousel-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

@media (min-width: 640px) { .carousel-item { width: 60%; } }
@media (min-width: 768px) { .carousel-item { width: 45%; margin-right: 1.5rem; } }
@media (min-width: 1024px) { .carousel-item { width: 30%; } }

/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 95px; 
    right: 25px;
    display: none; 
    z-index: 100;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}
#scrollToTopBtn.visible { display: block; }
#scrollToTopBtn:hover { transform: scale(1.1); }

/* Enhanced App Mockup */
.app-mockup-screen {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.app-mockup-container:hover .app-mockup-screen {
    transform: scale(1.05) translateY(-5px);
}

/* Faculty Card Styling */
.faculty-card {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.faculty-card img {
    transition: transform 0.3s ease;
}
.faculty-card:hover img { transform: scale(1.05); }

/* Section Specific Backgrounds for Modern Feel */
.bg-pattern-light {
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23dedede' fill-opacity='0.2'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
}
.section-title-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}
.section-title-underline::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: #1b5528; /* Accent color */
    border-radius: 2px;
}

/* Announcement Ticker */
.announcement-ticker-container {
    background-color: #1b5528; /* Accent color */
    color: white;
    padding: 0.75rem 0; /* py-3 */
    overflow: hidden;
    position: relative; /* For absolute positioning of label */
}
.announcement-ticker-label {
    background-color: #ba090a; /* Primary color */
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}
.announcement-ticker {
    display: flex;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap; /* Keep items in one line */
}
.announcement-ticker:hover {
    animation-play-state: paused;
}
.announcement-item {
    padding: 0 1.5rem; /* px-6 */
    display: flex;
    align-items: center;
}
.announcement-item .date {
    font-size: 0.8em;
    color: #fde047; /* yellow-300 */
    margin-right: 0.5rem;
}
.announcement-item a {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
}
.announcement-item a:hover {
    color: #fde047; /* yellow-300 */
    text-decoration: underline;
}
@keyframes ticker-scroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); } 
}
.announcement-ticker-wrapper { 
    display: inline-block; 
}

/* Previous Year Question Papers Section */
.pyq-card {
    background-color: #ffffff;
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #ba090a; /* Primary color accent */
}
.pyq-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}
.pyq-card .download-btn {
    transition: background-color 0.2s ease, color 0.2s ease;
}
/* Reusing and extending styles from homepage for consistency */
        body {
            font-family: 'Inter', sans-serif;
            background-color: #f9fafb;
            color: #374151;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Brand Colors */
        .bg-primary {
            background-color: #ba090a;
        }

        .text-primary {
            color: #ba090a;
        }

        .border-primary {
            border-color: #ba090a;
        }

        .hover\:bg-primary-dark:hover {
            background-color: #9d0708;
        }

        .gradient-primary {
            background-image: linear-gradient(to right, #ba090a, #d32f2f);
        }

        .gradient-primary-hover:hover {
            background-image: linear-gradient(to right, #9d0708, #ba090a);
        }

        .bg-accent {
            background-color: #1b5528;
        }

        .text-accent {
            color: #1b5528;
        }

        .border-accent {
            border-color: #1b5528;
        }

        .hover\:bg-accent-dark:hover {
            background-color: #133f1e;
        }

        .gradient-accent {
            background-image: linear-gradient(to right, #1b5528, #2e7d32);
        }

        .gradient-accent-hover:hover {
            background-image: linear-gradient(to right, #133f1e, #1b5528);
        }

        /* Sticky Header (Same as homepage) */
        .sticky-header {
            position: sticky;
            top: 0;
            z-index: 50;
            transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, padding 0.3s ease-in-out;
        }

        .header-scrolled {
            background-color: rgba(255, 255, 255, 0.98);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
        }

        /* Hero Section (Courses Page Specific) */
        .courses-hero-overlay::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(rgba(186, 9, 10, 0.7), rgba(186, 9, 10, 0.85));
            /* Primary color gradient */
            z-index: 1;
        }

        .courses-hero-content {
            position: relative;
            z-index: 2;
        }

        .courses-hero-headline {
            /* Similar shine effect or a different prominent style */
            color: #ffffff;
        }

        /* Scroll-based Animations (Same as homepage) */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .animate-on-scroll.animated {
            opacity: 1;
            transform: translateY(0);
        }

        /* Button Hover Micro-interaction (Same as homepage) */
        .btn-hover-effect {
            transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out, background-color 0.25s ease-in-out;
        }

        .btn-hover-effect:hover {
            transform: translateY(-4px) scale(1.05);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
        }

        /* Floating CTAs (Same as homepage) */
        .whatsapp-float {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 25px;
            left: 25px;
            background-color: #25D366;
            color: #FFF;
            border-radius: 50px;
            text-align: center;
            font-size: 30px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            z-index: 100;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .whatsapp-float:hover {
            transform: scale(1.1) rotate(10deg);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
        }

        .whatsapp-float i {
            margin-top: 15px;
        }

        #scrollToTopBtn {
            position: fixed;
            bottom: 95px;
            right: 25px;
            display: none;
            z-index: 100;
            transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
        }

        #scrollToTopBtn.visible {
            display: block;
        }

        #scrollToTopBtn:hover {
            transform: scale(1.1);
        }

        .pulse-animate {
            /* For Book Demo Button */
            animation: pulse 2.2s infinite cubic-bezier(0.66, 0, 0, 1);
        }

        @keyframes pulse {

            0%,
            100% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(27, 85, 40, 0.6);
            }

            50% {
                transform: scale(1.1);
                box-shadow: 0 0 0 15px rgba(27, 85, 40, 0);
            }
        }

        /* Section Title Underline (Same as homepage) */
        .section-title-underline {
            position: relative;
            display: inline-block;
            padding-bottom: 0.5rem;
        }

        .section-title-underline::after {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 0;
            width: 60px;
            height: 4px;
            background-color: #1b5528;
            /* Accent color by default */
            border-radius: 2px;
        }

        /* Course Section Styling */
        .course-category-section {
            padding-top: 4rem;
            /* py-16 */
            padding-bottom: 4rem;
            /* py-16 */
            margin-bottom: 2rem;
            /* Space between categories */
            border-bottom: 1px solid #e5e7eb;
            /* Light border */
        }

        .course-category-section:last-child {
            border-bottom: none;
        }

        .course-program-card {
            background-color: #ffffff;
            border-radius: 0.75rem;
            /* rounded-xl */
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            /* Softer shadow */
            transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
            overflow: hidden;
            /* For image if added */
        }

        .course-program-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        .course-program-card .icon-container {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
        }

        /* Accordion for FAQs or detailed syllabus (example) */
        .accordion-item summary {
            cursor: pointer;
            padding: 1rem;
            background-color: #f3f4f6;
            /* gray-100 */
            border-radius: 0.5rem;
            font-weight: 600;
            /* semibold */
            color: #1b5528;
            /* accent */
            transition: background-color 0.2s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .accordion-item summary:hover {
            background-color: #e5e7eb;
            /* gray-200 */
        }

        .accordion-item summary::-webkit-details-marker {
            display: none;
            /* Hide default marker in Chrome/Safari */
        }

        .accordion-item summary::after {
            /* Custom marker */
            content: '\f078';
            /* Font Awesome down arrow */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            transition: transform 0.3s ease;
        }

        .accordion-item[open] summary::after {
            transform: rotate(180deg);
        }

        .accordion-content {
            padding: 1rem;
            border: 1px solid #e5e7eb;
            border-top: none;
            border-radius: 0 0 0.5rem 0.5rem;
            background-color: #ffffff;
        }

        /* Mobile Menu (Same as homepage) */
        .mobile-menu {
            transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        }

        .mobile-menu-open {
            transform: translateX(0);
        }

        .mobile-menu-closed {
            transform: translateX(-100%);
        }
  