/* Santushti College Custom Styles */
:root {
    --nav-footer-bg: #1a1a2e;
    --primary-color: #149dcc;
    --secondary-color: #f0c040;
    --content-bg-start: #c4bc3b;
    --content-bg-end: #000000;
    --text-light: #ffffff;
    --text-dark: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, #1a1a2e, #16213e) !important;
    padding: 0.3rem 0;
    transition: all 0.3s;
}

.navbar-scrolled {
    background: linear-gradient(135deg, #1a1a2e, #16213e) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.navbar-nav {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    color: var(--text-light) !important;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color) !important;
}

.dropdown-menu {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item {
    color: var(--text-light);
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

.dropdown-item:hover {
    background-color: rgba(20, 157, 204, 0.2);
    color: var(--secondary-color);
}

/* Hero Section / Carousel */
.hero-section {
    margin-top: 52px;
    /* offset for fixed navbar */
}

.carousel-item {
    height: 90vh;
    min-height: 600px;
}

.carousel-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-control-prev,
.carousel-control-next {
    background-image: none !important;
}

.carousel-item::after {
    display: none !important;
}

.carousel-caption {
    bottom: 20%;
}

.carousel-caption h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.5rem;
}

/* Admission Highlights Banner */
.admission-banner {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
}

.banner-item {
    display: flex;
    align-items: center;
}

/* D.Pharma Section */
.dpharma-section {
    background: linear-gradient(135deg, var(--content-bg-start), var(--content-bg-end));
    color: var(--text-light);
    padding: 5rem 0;
}

.dpharma-section h1 {
    color: white;
}

.dpharma-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.dpharma-section .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
}

.dpharma-section .btn-primary:hover {
    background-color: #0d7aa3;
    border-color: #0d7aa3;
}

.dpharma-section img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.dpharma-section img:hover {
    transform: scale(1.02);
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    color: var(--text-light);
    border-top: 3px solid var(--secondary-color);
}

.footer-section h4,
.footer-section h5 {
    color: var(--secondary-color);
    font-weight: 600;
}

.footer-link {
    text-decoration: none;
    color: #ccc;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.map-container iframe {
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    .carousel-caption h2 {
        font-size: 2.5rem;
    }

    .carousel-caption p {
        font-size: 1.2rem;
    }

    .carousel-item {
        height: 70vh;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    .dpharma-section {
        padding: 3rem 0;
    }

    .dpharma-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .carousel-caption {
        bottom: 10%;
        padding: 1rem;
    }

    .carousel-caption h2 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-item {
        height: 60vh;
    }
}

/* Photo Gallery Section */
.gallery-section {
    background: #fff;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    aspect-ratio: 4 / 3;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
    position: absolute;
    top: 0;
    left: 0;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* Gallery Lightbox */
.gallery-lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.gallery-lightbox-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.gallery-lightbox-close:hover {
    color: var(--secondary-color);
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    padding: 16px;
    user-select: none;
    z-index: 10001;
    transition: color 0.3s;
}

.gallery-lightbox-prev {
    left: 20px;
}

.gallery-lightbox-next {
    right: 20px;
}

.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
    color: var(--secondary-color);
}

/* Why Choose Us Section */
.why-choose-section {
    background: #f8f9fa;
}

.trust-card {
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

/* About Course & Eligibility Section */
.about-eligibility-section {
    background: #fff;
}

.about-content {
    background: linear-gradient(135deg, #f0f4ff, #e8f5e9);
    border-left: 5px solid var(--primary-color);
}

.eligibility-content {
    background: linear-gradient(135deg, #fff8e1, #fff3e0);
    border-left: 5px solid #f0c040;
}

.eligibility-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.eligibility-item:last-child {
    border-bottom: none;
}

/* Career Opportunities Section */
.career-section {
    background: linear-gradient(135deg, #e8f5e9, #e3f2fd);
}

.career-card {
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

.career-icon {
    color: var(--primary-color);
}

/* Future Scope Section */
.future-scope-section {
    background: #fff;
}

.scope-card {
    background: linear-gradient(135deg, #f0f4ff, #e8f5e9);
    transition: transform 0.3s, box-shadow 0.3s;
}

.scope-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

/* Admission Process Section */
.admission-section {
    background: linear-gradient(135deg, #fff3e0, #fce4ec);
}

.step-card {
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

.step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto;
}

/* Quick Contact Section */
.quick-contact-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.quick-contact-box {
    max-width: 600px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

/* Advertisement Popup */
#advtModal .modal-content {
    background: transparent !important;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.3) !important;
}

.advt-img {
    max-height: 90vh;
    max-width: 90vw;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.advt-close {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
}

/* Scroll to Top Button */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s, transform 0.3s;
}

#scrollTopBtn:hover {
    background: #0d7aa3;
    transform: translateY(-3px);
}