@import url('https://api.fontshare.com/v2/css?f[]=satoshi@900,700,500,400&display=swap');

/* Apply Satoshi font to all elements */
body {
    font-family: 'Satsohi';
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
span,
div {
    font-family: 'Satsohi';
}



/* Custom Styles */
:root {
    --primary-color: #2E7D32;
    --secondary-color: #F9A826;
    --light-bg: #f8f9fa;
    --dark-text: #333;
    --light-text: #f8f9fa;
}




/* Announcement Bar */
.marquee-container {
    position: relative;
    white-space: nowrap;
    width: 100%;
}

.marquee-content {
    animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

/* Responsive Styling */
.announcement-btn {
    white-space: nowrap;
    font-size: 1rem;
}

/* Optional: Reduce size on mobile */
@media (max-width: 576px) {
    .announcement-btn {
        font-size: 0.9rem;
    }

    .marquee-item {
        font-size: 0.9rem;
    }
}


/* About Section */
.about-section {
    padding: 20px 0;
}

.about-section img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stats-card {
    background-color: #2E7D32;
    color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
}

.stats-number {
    font-size: 2rem;
    font-weight: bold;
}

.stats-card:hover {
    transform: translateY(-5px);
}



/* News Section */

.news-section {
    background-color: #f5f5f5;
    padding: 60px 0;
}

.news-title {
    color: #2E7D32;
    text-align: justify;
}

.news-desc {
    text-align: justify;
}

.marquee-wrapper {
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 30px;
    animation: scrollMarquee 40s linear infinite;
}

.news-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-card-body {
    padding: 15px;
}

.news-date {
    font-size: 14px;
    color: #888;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}


/* Research Section */
.research-section {
    padding: 60px 0;
}

.research-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 600%;
    transition: transform 0.3s ease;
}

.research-card:hover {
    transform: translateY(-5px);
    background-color: #2E7D32;
    color: white;
}

.research-card img {
    height: 80px;
    width: auto;
    margin: 0 auto;
}

/* Our Chairperson & Principal*/


/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .hero-banner {
        height: 40vh;
    }

    .navbar .container {
        padding: 0 15px;
    }

    .btn-fees {
        margin-top: 15px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: 30vh;
    }

    .marquee-wrapper {
        flex-direction: column;
    }

    .announcement-btn {
        width: 100%;
        padding: 8px 0;
    }

    .stats-card {
        margin-bottom: 15px;
    }

    .testimonial-card {
        flex-direction: column;
    }

    .testimonial-img-container {
        order: -1;
        text-align: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero-banner {
        height: 25vh;
    }

    .stats-number {
        font-size: 2rem;
    }
}



/* Research section styles */



.research-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Track Animation */
.carousel-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
    /* Smooth scrolling */
}

/* Scrolling Animation Keyframes */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Individual Card Styles */
.research-card {
    width: 300px;
    height: 350px;
    border: 2px solid #28a745;
    border-radius: 20px;
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.15);
    transition: all 0.3s ease;
    text-align: center;
    flex: 0 0 auto;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* Hover Effect */
.research-card:hover {
    background-color: #2E7D32;
    /* Green background on hover */
    color: #ffffff;
    /* White text on hover */
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(40, 167, 69, 0.25);
}

/* Also change title and description color on hover */
.research-card:hover .card-title,
.research-card:hover .card-description {
    color: #ffffff;
}

/* Card Image */
.card-icon {
    width: 100%;
    max-width: 250px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

/* Image Hover Effect */
.research-card:hover .card-icon {
    transform: scale(1.1);
}

/* Text Styles */
.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2E7D32;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.card-description {
    font-size: 1rem;
    color: #555;
    transition: color 0.3s ease;
}

/* Optional: Controls styling */
.carousel-controls {
    text-align: center;
    margin-top: 20px;
}

.control-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
}

.control-dot.active {
    background-color: #28a745;
}

.research-card:hover .card-title,
.research-card:hover .card-description {
    color: #f1f1f1;

}






/* What Our Students Love About Us  */


.testimonial-marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    background: #ffffff;
}

.testimonial-marquee-track {
    display: flex;
    animation: testimonial-scroll 40s linear infinite;
    padding: 2rem 0;
}

@keyframes testimonial-scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.testimonial-box {
    flex: 0 0 auto;
    width: 350px;
    margin: 0 1rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-heading {
    color: #198754;
    font-weight: 700;
}

.testimonial-subtitle {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: #666;
}


/* Unlocking Potential, Unleashing Success */
/* ---------- Auto‑scroll animation ---------- */
.scroll-wrapper {
    /* viewport for scrolling cards */
    white-space: nowrap;
}

.auto-scroll-cards {
    display: inline-flex;
    animation: scrollLeft 25s linear infinite;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* adjust if you duplicate cards */
    }
}

.card-item {
    white-space: normal;
}



.vertical-enquiry {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #28a745;
    color: white;
    padding: 15px 10px;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 999;
    cursor: pointer;
}



/* Modal Header Styling */
.modal-header {
    background-color: #198754;
    /* Bootstrap green */
    color: white;
    border-bottom: 3px solid #145c32;
}

.modal-title {
    font-weight: bold;
    font-size: 1.4rem;
}

/* Modal Body Styling */
.modal-body {
    background-color: #f9f9f9;
    padding: 20px;
}

/* Modal Footer */
.modal-footer {
    background-color: #f1f1f1;
    border-top: 1px solid #ddd;
}

/* Input Fields */
.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus,
.form-select:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Submit Button */
.btn-success {
    background-color: #28a745;
    border: none;
    font-weight: 500;
}

.btn-success:hover {
    background-color: #218838;
}

/* Secondary Button */
.btn-secondary:hover {
    background-color: #6c757d;
}

/* Optional: Add spacing between inputs on small screens */
@media (max-width: 576px) {
    .modal-body .mb-3 {
        margin-bottom: 1.5rem;
    }
}

/* Navbar Styles */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    max-height: 50px;
}

.navbar-nav .nav-link {
    color: var(--dark-text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-green);
}

.navbar-nav .nav-link.active {
    color: var(--primary-green);
}

/* Fix for dropdown items - remove blue background */
.dropdown-item.active {
    background-color: transparent !important;
    color: var(--primary-green) !important;
}

.dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--primary-green);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

@media (min-width: 992px) {
    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    color: white;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--light-green);
    border-radius: 2px;
}

.footer .btn-square {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.footer .btn-square:hover {
    background: var(--light-green);
    border-color: var(--light-green);
    transform: translateY(-3px);
}

.footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.footer .social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}