/* General Styles */
body {
    font-family: 'Arial', sans-serif;
}

/* Color Variables */
:root {
    --primary: #840c0d;    /* Dark Red */
    --secondary: #febd2b;  /* Golden Yellow */
    --white: #ffffff;
    --dark: #333333;
    --header-height: 80px;
    --mobile-header-height: 60px;
}

/* Top Bar */
.top-bar {
    font-size: 14px;
    font-weight: 500;
}

.bg-orange {
    background-color: #febd2b;
}

.bg-navy {
    background-color: #840c0d;
}

/* Main Header */
.main-header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.logo {
    display: flex;
    align-items: center;
}

.main-logo {
    height: 60px;
    margin-right: 10px;
}

.anniversary-logo {
    height: 50px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #840c0d;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #febd2b;
    color: #fff;
}

/* Contact Info */
.contact-info {
    font-size: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-item span {
    color: #666;
    margin-right: 5px;
}

.contact-item a {
    color: #840c0d;
    text-decoration: none;
    font-weight: 500;
}

.text-orange {
    color: #febd2b;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    padding: 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.navbar-nav {
    gap: 5px;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 600;
    font-size: 15px;
    padding: 25px 18px !important;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--secondary);
    transition: all 0.3s ease;
}

.nav-link:hover:before,
.nav-link.active:before {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

/* Book Appointment Button */
.btn-orange.ms-auto {
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(45deg, var(--primary), #a50f10);
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(132, 12, 13, 0.2);
    transition: all 0.3s ease;
}

.btn-orange.ms-auto:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(132, 12, 13, 0.3);
    background: linear-gradient(45deg, #a50f10, var(--primary));
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .main-header .col-lg-3 {
        display: flex !important;
        justify-content: space-between !important;
        width: 100%;
    }

    .navbar {
        width: 100%;
    }

    .navbar > .container-fluid {
        padding: 0 !important;
    }

    .navbar-toggler {
        position: relative;
        margin-left: auto;
        order: 2;
        padding: 8px 12px;
        border: none;
        background: rgba(132, 12, 13, 0.05);
    }

    .logo {
        order: 1;
    }

    /* Ensure the collapsed menu appears below */
    .navbar-collapse {
        order: 3;
        width: 100%;
    }

    .navbar-collapse {
        background: #fff;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        margin-top: 10px;
    }

    .nav-link {
        padding: 12px 18px !important;
        border-radius: 5px;
    }

    .nav-link:hover {
        background: rgba(132, 12, 13, 0.05);
    }

    .nav-link:before {
        display: none;
    }

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

    .navbar-toggler-icon {
        width: 24px;
        height: 24px;
        background-image: none;
        position: relative;
        transition: all 0.3s ease;
    }

    .navbar-toggler-icon:before,
    .navbar-toggler-icon:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--primary);
        left: 0;
        transition: all 0.3s ease;
    }

    .navbar-toggler-icon:before {
        top: 8px;
    }

    .navbar-toggler-icon:after {
        bottom: 8px;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
        transform: rotate(45deg);
        top: 11px;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
        transform: rotate(-45deg);
        bottom: 11px;
    }

    .btn-orange.ms-auto {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
        border-radius: 5px;
    }
}

/* Additional mobile adjustments */
@media (max-width: 576px) {
    .navbar-toggler {
        padding: 6px 10px;
    }

    .main-logo {
        height: 45px; /* Adjust logo size if needed */
    }
}

/* Dropdown hover effect */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Active link indicator */
.nav-link.active {
    position: relative;
    color: var(--primary) !important;
}

.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary);
}

/* Logo area adjustments */
.navbar-brand {
    padding: 10px 0;
}

.main-logo {
    height: 60px;
    transition: all 0.3s ease;
}

/* Sticky header animation */
.navbar.sticky {
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Hero Section and Slider */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

#heroSlider {
    height: 100vh;
}

.carousel-item {
    height: 100vh;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px);
    -webkit-filter: blur(8px);
}

.carousel-overlay {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(132, 12, 13, 0.8), rgba(132, 12, 13, 0.8));
    height: 60%;
    width: 70%;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: var(--white);
    z-index: 2;
    width: 65%;
    display: flex;
    bottom: -230px;
    align-items: center;
}

.carousel-content h1 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    width: 600px;
}

.text-large {
    font-size: 4rem;
    font-weight: 800;
    display: block;
    margin-top: 1rem;
}

/* Modern Section Styling */
section {
    position: relative;
    overflow: hidden;
}

.section-title {
    color: var(--primary);
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    text-align: center;
}
.section-title small {
    font-size: 1.5rem;
    color: var(--secondary);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

/* Feature Items */
.feature-item {
    display: flex;
    align-items: flex-start;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(132, 12, 13, 0.12);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-right: 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1);
    color: var(--primary);
}

.feature-item p {
    margin: 0;
    color: var(--dark);
    font-size: 1rem;
}

/* Program Cards */
.program-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(132, 12, 13, 0.12);
}

.program-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.program-card h3 {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.program-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-card ul li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.program-card ul li:last-child {
    border-bottom: none;
}

.program-card ul li:hover {
    color: var(--primary);
    padding-left: 10px;
}

/* Facilities Section */
.facility-card {
    text-align: center;
    padding: 1rem 1rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.facility-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--secondary);
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(132, 12, 13, 0.12);
}

.facility-card:hover::after {
    width: 100%;
}
.facility-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}
.facility-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.facility-card:hover i {
    transform: scale(1.1);
    color: var(--secondary);
}

.facility-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
}

/* Contact CTA Section */
.contact-cta {
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #840c0d;
    opacity: 1;
}

.contact-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('pattern.png') repeat;
    opacity: 0.05;
}

.contact-cta .container {
    position: relative;
    z-index: 2;
}

.contact-cta h2 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.contact-cta h3 {
    color: var(--secondary);
    font-size: 2rem;
    font-weight: 600;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-cta .btn-orange {
    background: var(--secondary);
    color: var(--primary);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(254, 189, 43, 0.3);
    transition: all 0.3s ease;
}

.contact-cta .btn-orange:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.feature-item, .program-card, .facility-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.section-title {
    opacity: 0;
    animation: scaleIn 0.6s ease forwards;
    text-transform: uppercase;
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .feature-item, .program-card, .facility-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-cta h2 {
        font-size: 2rem;
    }
    
    .contact-cta h3 {
        font-size: 1.6rem;
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Admission CTA */
.admission-cta {
    background-color: var(--primary);
}

.admission-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.btn-orange {
    background-color: var(--secondary);
    color: var(--dark);
    font-weight: 600;
    padding: 0.8rem 2rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background-color: #fff;
    /* color: #ffffff !important; */
}
a {
    text-decoration: none;
}

/* Journey Section */
.journey-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.journey-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.journey-card h3 {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.journey-card p {
    color: var(--dark);
    margin: 0;
    font-size: 1rem;
}

/* Stats Section */
.stat-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--secondary);
}

.counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--dark);
    font-weight: 500;
    margin: 0;
}

.highlight {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 2rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

/* Footer */
footer {
    background-color: var(--primary);
}

.social-icons a {
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #ffffff !important;
}

/* Enquiry Form */
.enquiry-form-wrapper {
    position: absolute;
    top: 50%;  /* Changed from 0 */
    right: 0;
    width: 100%;
    height: auto;  /* Changed from 100% */
    z-index: 3;
    pointer-events: none;
    transform: translateY(-50%);  /* Added to center vertically */
}

.enquiry-form {
    background: rgb(255 255 255 / 34%);
    padding: 2rem;
    margin-top: 0;  /* Changed from 2rem */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(132, 12, 13, 0.15);
    pointer-events: auto;
    border-top: 4px solid var(--secondary);
    position: relative;
}

.enquiry-form h3 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}

.enquiry-form p {
    text-align: center;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.enquiry-form .form-control {
    padding: 0.8rem;
    border: 1px solid rgba(132, 12, 13, 0.2);
    border-radius: 4px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.enquiry-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(132, 12, 13, 0.1);
}

.enquiry-form .btn {
    background-color: var(--primary);
    border: none;
    color: #fff;
    padding: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.enquiry-form .btn:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(254, 189, 43, 0.3);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .carousel-content h1 {
        font-size: 2.5rem;
    }
    
    .text-large {
        font-size: 3rem;
    }
    
    .enquiry-form {
        margin: 1rem;
    }
    
    .contact-info {
        display: none;
    }
    
    .social-icons {
        margin-left: auto;
    }
    
    .navbar-nav {
        padding: 10px 0;
    }
    
    .btn-orange {
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    .carousel-content {
        left: 10%;
        right: 10%;
        text-align: center;
    }
    
    .enquiry-form-wrapper {
        position: relative;
        margin-top: -100px;
    }
    
    .enquiry-form {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .logo {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
        margin: 10px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .feature-item {
        margin-bottom: 1rem;
    }

    .journey-card {
        margin-bottom: 1.5rem;
    }

    .stat-card {
        margin-bottom: 1.5rem;
    }

    .counter {
        font-size: 2.5rem;
    }

    .admission-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .top-bar {
        text-align: center;
    }
    
    .top-bar .text-end {
        text-align: center !important;
    }
}

/* Life at Alliance Section */
.life-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.1); */
    transition: all 0.4s ease;
}

.life-card:hover {
    transform: translateY(-10px);
}

.life-card-img {
    position: relative;
    overflow: hidden;
}

.life-card-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.life-card:hover .life-card-img img {
    transform: scale(1.1);
}

.life-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(132, 12, 13, 0.9), transparent);
    padding: 20px;
    color: #fff;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.life-card:hover .overlay {
    transform: translateY(0);
}

/* Gallery Section Styles */
.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(132, 12, 13, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-overlay i {
    color: var(--secondary);
    font-size: 2rem;
    transform: scale(0);
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.gallery-overlay h5 {
    color: #fff;
    margin: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    opacity: 0;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-item:hover .gallery-overlay h5 {
    transform: translateY(0);
    opacity: 1;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1100;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    animation: lightboxIn 0.3s ease;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.lightbox-caption {
    padding: 1.5rem;
    background: #fff;
}

.lightbox-caption h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.lightbox-caption p {
    color: var(--dark);
    margin: 0;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    z-index: 1101;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    color: var(--secondary);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1101;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-nav:hover {
    background: rgba(132, 12, 13, 0.8);
    color: var(--secondary);
}

@keyframes lightboxIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
    }
    
    .lightbox-nav {
        font-size: 1.5rem;
        padding: 0.8rem;
    }
    
    .lightbox-close {
        font-size: 2.5rem;
        top: 10px;
        right: 20px;
    }
}

/* Footer */
.footer {
    background: #0a0a0a;
    color: #fff;
}

.footer-top {
    background: linear-gradient(45deg, var(--primary), #a50f10);
}

.footer-logo {
    max-width: 300px;
    margin-bottom: 1.5rem;
    background: white;
    padding: 4px;
    border-radius: 6px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--secondary);
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer h4 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 8px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact li i {
    color: var(--secondary);
    margin-right: 10px;
    margin-top: 5px;
}

.footer-bottom {
    background: #000;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .life-card-img img {
        height: 250px;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .footer-info, .footer h4 {
        text-align: center;
    }
    
    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Add at the beginning of the file */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Adjust based on your header height */
}

/* Update existing navbar styles */
.navbar {
    position: sticky;
    top: -1px;
    z-index: 1000;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    padding: 15px 12px !important;
    transition: all 0.3s ease;
}

.nav-link:hover, 
.nav-link.active {
    color: #840c0d !important;
}

/* Academics Section Styles */
.academic-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.4s ease;
    border-left: 4px solid var(--primary);
}

.academic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(132, 12, 13, 0.12);
}

.academic-card h3 {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.academic-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.academic-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.academic-list li i {
    margin-top: 4px;
}

.academic-highlight-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.4s ease;
}

.academic-highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(132, 12, 13, 0.12);
}

.academic-highlight-card i {
    font-size: 2.5rem;
    color: var(--primary);
}

.academic-highlight-card h4 {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.academic-highlight-card p {
    color: var(--dark);
    margin: 0;
}

.enquiry-form-wrapper .cheff-img {
    position: relative;
    bottom: -34px;
    width: 500px;
    left: 120px;
    filter: none;
    -webkit-filter: none;
}
.cheff-img-container {
    position: absolute;
    bottom: -100px;
    right: -150px;
    filter: none;
    -webkit-filter: none;
    
}
.cheff-img-container .cheff-img {
    position: relative;
    bottom: -34px;
    width: 500px;
    left: 0px;
    filter: none;
    -webkit-filter: none;
}

@media (max-width: 768px) {
    .academic-card,
    .academic-highlight-card {
        margin-bottom: 1.5rem;
    }
}

/* Base responsive styles */
:root {
    --header-height: 80px;
    --mobile-header-height: 60px;
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .carousel-content h1 {
        font-size: 2.4rem;
    }
    
    .text-large {
        font-size: 3.5rem;
    }
}

/* Large devices (desktops, 992px to 1199px) */
@media (max-width: 1199px) {
    .carousel-content h1 {
        font-size: 3.5rem;
    }
    
    .text-large {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
}

/* Medium devices (tablets, 768px to 991px) */
@media (max-width: 991px) {
    :root {
        --header-height: 60px;
    }
    
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .nav-link {
        padding: 0.5rem 1rem !important;
    }
    
    .btn-orange.ms-auto {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }
    
    .carousel-content h1 {
        font-size: 3rem;
    }
    
    .text-large {
        font-size: 3.5rem;
    }
    
    .enquiry-form {
        margin: 1rem;
    }
    
    .main-header .contact-info {
        display: none;
    }
    
    .social-icons {
        margin-left: auto;
    }
    
    /* Stacking cards on tablet */
    .feature-card, 
    .program-card, 
    .facility-card,
    .academic-card,
    .academic-highlight-card {
        margin-bottom: 2rem;
    }
    
    /* Adjust section spacing */
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (max-width: 767px) {
    .top-bar {
        font-size: 12px;
    }
    
    .carousel-content {
        left: 5%;
        right: 5%;
        text-align: center;
    }
    
    .carousel-content h1 {
        font-size: 2.5rem;
    }
    
    .text-large {
        font-size: 3rem;
    }
    
    .enquiry-form-wrapper {
        position: relative;
        margin-top: -50px;
    }
    
    .main-logo {
        height: 50px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Stack all grid items */
    .col-md-3, 
    .col-md-4, 
    .col-md-6 {
        margin-bottom: 1.5rem;
    }
    
    /* Adjust gallery items */
    .gallery-item img {
        height: 200px;
    }
    
    /* Adjust stats cards */
    .stat-card {
        margin-bottom: 1.5rem;
    }
    
    .counter {
        font-size: 2.5rem;
    }
    
    /* Footer adjustments */
    .footer-info, 
    .footer-links,
    .footer-contact {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575px) {
    .top-bar span {
        display: block;
        text-align: center;
    }
    
    .carousel-content h1 {
        font-size: 2rem;
    }
    
    .text-large {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Adjust padding and margins */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Form adjustments */
    .enquiry-form {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    /* Card adjustments */
    .feature-card,
    .program-card,
    .facility-card,
    .academic-card,
    .academic-highlight-card {
        padding: 1.5rem;
    }
    
    /* Gallery adjustments */
    .gallery-item {
        margin-bottom: 1rem;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    /* Contact CTA adjustments */
    .contact-cta h2 {
        font-size: 1.8rem;
    }
    
    .contact-cta h3 {
        font-size: 1.5rem;
    }
}

/* Portrait phones and smaller */
@media (max-width: 320px) {
    .carousel-content h1 {
        font-size: 1.8rem;
    }
    
    .text-large {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .main-logo {
        height: 40px;
    }
}

/* Landscape orientation specific */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        height: auto;
    }
    
    .carousel-item {
        height: auto;
    }
    
    .carousel-item img {
        height: 100vh;
    }
    
    .enquiry-form-wrapper {
        position: relative;
        margin-top: 0;
    }
}

/* High-DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .main-logo,
    .footer-logo {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Print styles */
@media print {
    .navbar,
    .enquiry-form-wrapper,
    .social-icons,
    .gallery-overlay,
    .btn-orange {
        display: none !important;
    }
    
    * {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    
    body {
        padding-top: 0;
    }
    
    a {
        text-decoration: none !important;
    }
    
    .container {
        width: 100% !important;
        max-width: none !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles if needed */
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Client Logo Carousel Styles */
.recruiters {
    background: #880d0e;
    padding: 60px 0;
}
.recruiters .section-title {
    color: #fff;
}

.client-logo {
    max-width: 100px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.owl-carousel .owl-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.owl-carousel .owl-stage {
    display: flex;
    align-items: center;
}

/* Navigation arrows styling */
.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    background: var(--primary) !important;
    color: #fff !important;
    font-size: 20px !important;
    transition: all 0.3s ease;
}

.owl-nav button:hover {
    background: var(--secondary) !important;
}

.owl-prev {
    left: -20px;
}

.owl-next {
    right: -20px;
}
.client-carousel .owl-dots {
    display: none;
}
.client-carousel img {
    /* filter: brightness(0.5); */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .client-logo {
        max-width: 120px;
    }
    
    .owl-nav button {
        width: 35px;
        height: 35px;
    }
}

/* Add these styles to your existing gallery CSS */
.gallery-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

/* Student Journey Section Styles */
.student-journey {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.journey-card {
    background: #fff;
    padding: 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    overflow: hidden;
}

.journey-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(132, 12, 13, 0.12);
}

.journey-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.journey-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.journey-card:hover .journey-image img {
    transform: scale(1.1);
}

.journey-card h3 {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 0 1.5rem;
}

.journey-card p {
    color: var(--dark);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 500;
    padding: 0 1.5rem 2rem;
}

.journey-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(132, 12, 13, 0.8);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    z-index: 1;
}

.journey-card:hover .journey-number {
    background: rgba(254, 189, 43, 0.9);
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .journey-card {
        margin-bottom: 1.5rem;
    }

    .journey-image {
        height: 180px;
    }

    .journey-card h3 {
        font-size: 1.5rem;
    }

    .journey-card p {
        font-size: 1rem;
    }

    .journey-number {
        font-size: 2.5rem;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .journey-image {
        height: 160px;
    }
    
    .journey-card h3 {
        padding: 0 1rem;
    }
    
    .journey-card p {
        padding: 0 1rem 1.5rem;
    }
}

/* Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 0.5rem;
    min-width: 200px;
    margin-top: 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--dark);
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.dropdown-item:hover, 
.dropdown-item:focus {
    background-color: rgba(132, 12, 13, 0.05);
    color: var(--primary);
}

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Active dropdown styles */
.dropdown-item.active, 
.dropdown-item:active {
    background-color: var(--primary);
    color: #fff;
}

/* Dropdown toggle arrow */
.dropdown-toggle::after {
    margin-left: 0.5em;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Mobile responsive dropdown */
@media (max-width: 991px) {
    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }

    .dropdown-item {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
    }
}

/* Add this script for smooth scrolling with offset */

/* Sticky CTA Buttons */
.sticky-cta {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex; /* Hidden by default, shown on mobile */
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.cta-button {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.cta-button i {
    font-size: 20px;
    margin-right: 8px;
}

.cta-button span {
    font-size: 14px;
}

.call-btn {
    background: var(--primary);
}

.whatsapp-btn {
    background: #25D366;
}

.cta-button:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Mobile Header Adjustments */
@media (max-width: 991px) {
    .navbar-toggler {
        margin-top: -60px;
    }
    .text-large {
        font-size: 1rem;
        margin-top: .5rem;
    }
    .cheff-img-container {
        position: relative;
        bottom: -20px;
        right: 28px;
        filter: none;
        -webkit-filter: none;
        width: 160px;
    }
    .cheff-img-container .cheff-img {
        position: relative;
        bottom: 0;
        width: 100%;
        left: 0;
        filter: none;
        -webkit-filter: none;
    }
    .carousel-content {
        position: absolute;
        top: 53%;
        left: 8%;
        transform: translateY(-50%);
        color: var(--white);
        z-index: 2;
        width: 100%;
        display: flex;
        bottom: 0;
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }
    .carousel-item {
        height: 150px;
    }
    #heroSlider, .hero-section {
        height: auto !important;
    }
    .carousel-content h1 {
        width: auto;
        font-size: .7rem;
    }
    .carousel-overlay {
        position: absolute;
        top: 0%;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(rgba(132, 12, 13, 0.8), rgba(132, 12, 13, 0.8));
        height: 100%;
        width: 100%;
    }
    .carousel-overlay {
        width: 100%;
    }
    .sticky-cta {
        display: flex; /* Show CTA buttons on mobile */
    }

    .main-header .social-icons,
    .main-header .contact-info {
        display: none !important; /* Hide social icons and contact info on mobile */
    }

    .navbar-toggler {
        padding: 8px 12px;
        border: none;
        border-radius: 5px;
        background: rgba(132, 12, 13, 0.05);
    }

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

    .navbar-toggler-icon {
        width: 24px;
        height: 24px;
        background-image: none;
        position: relative;
        transition: all 0.3s ease;
    }

    .navbar-toggler-icon:before,
    .navbar-toggler-icon:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--primary);
        left: 0;
        transition: all 0.3s ease;
    }

    .navbar-toggler-icon:before {
        top: 8px;
    }

    .navbar-toggler-icon:after {
        bottom: 8px;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
        transform: rotate(45deg);
        top: 11px;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
        transform: rotate(-45deg);
        bottom: 11px;
    }

    .main-logo {
        height: 40px; /* Slightly smaller logo on mobile */
    }
    .carousel-indicators {
        margin-bottom: 0;
    }
    .carousel-indicators [data-bs-target] {
        width: 15px;
    }

    /* Adjust spacing for mobile */
    .container-fluid.px-4 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Additional responsive adjustments */
@media (max-width: 576px) {
    .sticky-cta {
        right: 15px;
        bottom: 15px;
    }

    .cta-button {
        padding: 10px 16px;
    }

    .cta-button i {
        font-size: 18px;
    }

    .cta-button span {
        font-size: 13px;
    }
}

/* Mobile Enquiry Form Styles */
.mobile-enquiry-form {
    padding: 20px 0;
    background: #f8f9fa;
}

.mobile-enquiry-form .enquiry-form {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(132, 12, 13, 0.15);
    border-top: 4px solid var(--secondary);
}

/* Update existing enquiry form styles */
.enquiry-form {
    margin: 0;
}

.enquiry-form h3 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.enquiry-form p {
    color: var(--dark);
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.enquiry-form .form-control {
    padding: 0.8rem 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 5px;
}

.enquiry-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.enquiry-form .btn-primary {
    background: var(--primary);
    border: none;
    padding: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.enquiry-form .btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}



/* Responsive adjustments */
@media (max-width: 991px) {
    .mobile-enquiry-form .enquiry-form {
        padding: 1.5rem;
    }
    
    .mobile-enquiry-form .enquiry-form h3 {
        font-size: 1.3rem;
    }
    
    .mobile-enquiry-form .enquiry-form p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .mobile-enquiry-form {
        padding: 15px;
    }
    
    .mobile-enquiry-form .enquiry-form {
        padding: 1.25rem;
    }
} 
.footer-bottom p a {
    color: rgba(255, 255, 255, 0.6);
}

/* Campus Life Carousel Styles */
.campus-carousel .owl-dots.disabled, .campus-carousel .owl-nav.disabled {
    display: block !important;
}
.campus-carousel {
    position: relative;
    padding: 0 40px;
}


.life-card {
    margin: 10px 0;
}

.life-card-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.life-card-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.life-card-img .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    transition: all 0.3s ease;
}

.life-card-img .overlay span {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.life-card:hover .life-card-img img {
    transform: scale(1.1);
}

/* Owl Carousel Custom Navigation */
.campus-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    background: var(--primary) !important;
    color: #fff !important;
    font-size: 20px !important;
    transition: all 0.3s ease;
}

.campus-carousel .owl-nav button:hover {
    background: var(--secondary) !important;
}

.campus-carousel .owl-prev {
    left: -5px;
}

.campus-carousel .owl-next {
    right: -5px;
}

.campus-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.campus-carousel .owl-dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    background: rgba(132, 12, 13, 0.3) !important;
    transition: all 0.3s ease;
}

.campus-carousel .owl-dot.active {
    background: var(--primary) !important;
    transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .life-card-img img {
        height: 200px;
    }
    
    .life-card-img .overlay span {
        font-size: 1rem;
    }
    
    .campus-carousel {
        padding: 0 30px;
    }
    
    .campus-carousel .owl-nav button {
        width: 35px;
        height: 35px;
        font-size: 16px !important;
    }
}

@media (max-width: 576px) {
    .life-card-img img {
        height: 180px;
    }
    
    .campus-carousel {
        padding: 0 25px;
    }
}
.sub-heading {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
}
/* Faculty Section Styles */
.faculty-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(132, 12, 13, 0.15);
}

.faculty-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.faculty-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.faculty-card:hover .faculty-img img {
    transform: scale(1.1);
}

.faculty-info {
    padding: 1.5rem;
    text-align: center;
    background: #fff;
}

.faculty-info h4 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}
.faculty-info h4 span{
    text-transform: capitalize;
}

.faculty-info p {
    color: var(--dark);
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

.training-placement .gallery-item {
    margin-bottom: 26px;
}

/* Load More Button */
#loadMoreFaculty {
    padding: 12px 30px;
    transition: all 0.3s ease;
    margin-top: 30px;
}

#loadMoreFaculty:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.press-release .gallery-item{
    margin-bottom: 40px;
    border: 1px solid #ccc;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .faculty-img {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .faculty-img {
        height: 200px;
    }
    
    .faculty-info {
        padding: 1rem;
    }
    
    .faculty-info h4 {
        font-size: 1rem;
    }
    
    .faculty-info p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .faculty-img {
        height: 180px;
    }
}

.place-img{
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 15px;
  width: 180px;
  height: 100px;
}

.place-img img {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: none;
    object-fit: contain;
    aspect-ratio: 2;
    border: 1px solid #d9d9d9;
    padding: 10px !important;
    margin: 10px 0px !important;
}

