:root {
    --primary-color: #d4af37;
    --secondary-color: #c0a03d;
    --accent-color: #f1c40f;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --gradient-1: linear-gradient(45deg, #d4af37, #f1c40f);
    --gradient-2: linear-gradient(135deg, #0a0a0a, #1a1a1a);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.carousel-title-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.2rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    z-index: 10;
}
.carousel-item {
    position: relative;
}


body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-primary);
    color: var(--text-primary);
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Navigation Styles */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1002;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.logo img {
    height: 60px;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.2));
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav ul li:last-child {
    margin-left: auto;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::after {
    width: 80%;
}

nav ul li a:hover {
    background: transparent;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../assets/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hanging-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hanging-image {
    position: absolute;
    width: 180px;
    pointer-events: auto;
    transform-origin: top center;
}

/* Rope styling for more realistic look */
.rope {
    position: absolute;
    top: -150px;
    left: 50%;
    width: 2px;
    height: 150px;
    background: repeating-linear-gradient(
        45deg,
        rgba(212, 175, 55, 0.9) 0px,
        rgba(212, 175, 55, 0.9) 5px,
        rgba(212, 175, 55, 0.5) 5px,
        rgba(212, 175, 55, 0.5) 10px
    );
    transform-origin: top center;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    filter: brightness(1.2);
}

.frame {
    width: 100%;
    height: 120px;
    padding: 8px;
    background: linear-gradient(145deg, var(--primary-color), #b38728);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}

/* Position the images in corners */
.hanging-image:nth-child(1) {
    left: 5%;
    top: 20%;
    animation: naturalSwing 6s ease-in-out infinite;
}

.hanging-image:nth-child(2) {
    left: 15%;
    top: 35%;
    animation: naturalSwing 7s ease-in-out infinite 0.5s;
}

.hanging-image:nth-child(3) {
    right: 15%;
    top: 20%;
    animation: naturalSwing 6.5s ease-in-out infinite 1s;
}

.hanging-image:nth-child(4) {
    right: 5%;
    top: 35%;
    animation: naturalSwing 7.5s ease-in-out infinite 1.5s;
}

/* Remove the fifth image */
.hanging-image:nth-child(5) {
    display: none;
}

/* More realistic pendulum swing animation */
@keyframes naturalSwing {
    0% {
        transform: rotate(-8deg) translateY(0);
    }
    25% {
        transform: rotate(8deg) translateY(-5px);
    }
    50% {
        transform: rotate(-6deg) translateY(0);
    }
    75% {
        transform: rotate(6deg) translateY(-5px);
    }
    100% {
        transform: rotate(-8deg) translateY(0);
    }
}

/* Enhanced hover effect with rope physics */
.hanging-image:hover {
    animation: pendulumSwing 2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes pendulumSwing {
    0% {
        transform: rotate(-12deg) translateY(0);
    }
    25% {
        transform: rotate(12deg) translateY(-10px);
    }
    50% {
        transform: rotate(-10deg) translateY(-5px);
    }
    75% {
        transform: rotate(10deg) translateY(-8px);
    }
    100% {
        transform: rotate(-12deg) translateY(0);
    }
}

/* Rope movement effect */
.hanging-image:hover .rope {
    animation: ropeWave 2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes ropeWave {
    0% {
        transform: skewX(2deg);
    }
    50% {
        transform: skewX(-2deg);
    }
    100% {
        transform: skewX(2deg);
    }
}

/* Enhanced rope glow and texture */
.rope::before {
    content: '';
    position: absolute;
    top: 0;
    left: -3px;
    width: 8px;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(212, 175, 55, 0.4) 0%,
        transparent 70%
    );
    filter: blur(3px);
}

.rope::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        transparent 0px,
        transparent 5px,
        rgba(255, 255, 255, 0.1) 5px,
        rgba(255, 255, 255, 0.1) 10px
    );
    animation: ropeTexture 3s linear infinite;
}

@keyframes ropeTexture {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* Media Queries */
@media screen and (max-width: 1400px) {
    .hanging-image {
        width: 160px;
    }
    
    .rope {
        height: 140px;
        top: -140px;
    }
}

@media screen and (max-width: 1200px) {
    .hanging-image {
        width: 140px;
    }
    
    .hanging-image:nth-child(1) { left: 4%; }
    .hanging-image:nth-child(2) { left: 14%; }
    .hanging-image:nth-child(3) { right: 14%; }
    .hanging-image:nth-child(4) { right: 4%; }
}

@media screen and (max-width: 992px) {
    .hanging-image {
        width: 120px;
    }
    
    .rope {
        height: 120px;
        top: -120px;
    }
    
    .hanging-image:nth-child(1) { left: 3%; top: 25%; }
    .hanging-image:nth-child(2) { left: 13%; top: 40%; }
    .hanging-image:nth-child(3) { right: 13%; top: 25%; }
    .hanging-image:nth-child(4) { right: 3%; top: 40%; }
}

@media screen and (max-width: 768px) {
    .hanging-image {
        width: 100px;
    }
    
    .rope {
        height: 100px;
        top: -100px;
    }
    
    .hanging-image:nth-child(2),
    .hanging-image:nth-child(3) {
        display: none;
    }
    
    .hanging-image:nth-child(1) { 
        left: 5%; 
        top: 30%;
    }
    .hanging-image:nth-child(4) { 
        right: 5%; 
        top: 30%;
    }
}

@media screen and (max-width: 480px) {
    .hanging-image {
        width: 80px;
    }
    
    .rope {
        height: 80px;
        top: -80px;
    }
    
    .hanging-image:nth-child(1) { 
        left: 3%; 
        top: 35%;
    }
    .hanging-image:nth-child(4) { 
        right: 3%; 
        top: 35%;
    }
}

/* Portrait Mode Specific */
@media screen and (max-height: 600px) {
    .hanging-image {
        width: 100px;
    }
    
    .rope {
        height: 80px;
        top: -80px;
    }
    
    .hanging-image:nth-child(1),
    .hanging-image:nth-child(4) {
        top: 40%;
    }
}

/* Landscape Mode Specific */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hanging-image {
        width: 80px;
    }
    
    .rope {
        height: 60px;
        top: -60px;
    }
    
    .hanging-image:nth-child(2),
    .hanging-image:nth-child(3) {
        display: none;
    }
    
    .hanging-image:nth-child(1) { 
        left: 5%; 
        top: 45%;
    }
    .hanging-image:nth-child(4) { 
        right: 5%; 
        top: 45%;
    }
}

/* Ensure content remains visible on very small screens */
@media screen and (max-width: 360px) {
    .hero-content {
        padding: 0 1rem;
    }
    
    .hanging-image {
        width: 70px;
    }
    
    .rope {
        height: 70px;
        top: -70px;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .float-img {
        width: 100px;
        height: 100px;
    }

    .img1 { left: 5%; }
    .img2 { right: 5%; }
    .img3 { left: 8%; }
    .img4 { right: 8%; }
    .img5 { display: none; }
}

@media screen and (max-width: 480px) {
    .float-img {
        width: 80px;
        height: 80px;
    }
    
    .img4 { display: none; }
}

/* Section Styles */
section {
    min-height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 100px 2rem;
    position: relative;
    overflow-x: hidden;
}

section:first-of-type {
    padding: 0;
    margin: 0;
}

section h2 {
    font-family: 'Cinzel', serif;
    font-weight: 500;
    color: var(--primary-color);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    -webkit-text-fill-color: var(--primary-color);
    background: none;
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Events Slideshow */
.carousel {
    width: 80%;
    max-width: 1200px;
    height: 500px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.carousel-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.3);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: background-color 0.3s;
    z-index: 2;
}

.carousel-control:hover {
    background: rgba(212, 175, 55, 0.6);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background: var(--primary-color);
}

/* Media Queries for Carousel */
@media screen and (max-width: 768px) {
    .carousel {
        width: 90%;
        height: 400px;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .carousel {
        width: 95%;
        height: 300px;
    }
    
    .carousel-control {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Faculty & Team Grids */
.faculty-grid,
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.person-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
    background: rgba(26, 26, 26, 0.9);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.person-card:hover {
    transform: translateY(-10px);
}

.person-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.person-info {
    padding: 1.5rem;
    background: rgba(30,30,30,0.95);
}

.person-info h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.person-info h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.person-info p {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    background: linear-gradient(to bottom, #0a0a0a, #141414);
    padding: 5rem 2rem 3rem;
    color: #fff;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

/* Contact Section */
.footer-section h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    font-weight: 500;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-section p {
    font-family: 'Montserrat', sans-serif;
    color: #b0b0b0;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-section .address {
    font-weight: 500;
    color: #d0d0d0;
    margin-bottom: 1.5rem;
}

/* Toll Free Section */
.toll-free {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.toll-free h2 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
    letter-spacing: 1px;
}

.toll-free p {
    color: #b0b0b0;
    font-size: 0.8rem;
    margin: 0;
}

/* Links Sections */
.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section ul li a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-section ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section ul li a:hover::after {
    width: 100%;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
}

.social-links a {
    color: #b0b0b0;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

/* Media Queries for Footer */
@media screen and (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
    }
}

@media screen and (max-width: 768px) {
    footer {
        padding: 4rem 1.5rem 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .toll-free {
        max-width: 400px;
        margin: 2rem auto;
    }
}

/* Add this at the beginning of your CSS file */
html {
    scroll-behavior: smooth;
}

/* Hero logo styles */
.hero-logo-container {
    width: 300px;
    height: 150px;
    margin: 0;
    margin-top: -10px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.3));
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #0f172a, #312e81);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #1e293b, #3730a3);
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #312e81 var(--bg-primary);
}

/* Add these media queries at the end of your CSS file */

/* Tablet Styles (768px and below) */
@media screen and (max-width: 768px) {
    /* Keep logo in left corner */
    nav {
        display: flex;
        justify-content: flex-start;
        padding: 0.5rem 1rem;
    }

    nav ul {
        display: none;
    }

    .logo img {
        height: 50px;
    }

    /* Hero Section */
    .hero h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
        margin-top: 3rem;
    }

    /* Section Headings */
    section h2 {
        font-size: 2.2rem;
    }

    /* Slideshow */
    .slideshow {
        width: 90%;
        height: 400px;
    }
}

/* Mobile Styles (480px and below) */
@media screen and (max-width: 480px) {
    nav {
        display: flex;
        justify-content: flex-start;
        padding: 0.5rem 1rem;
    }

    nav ul {
        display: none;
    }

    .logo img {
        height: 40px;
    }

    /* Hero Section */
    .hero h1 {
        font-size: 2rem;
        padding: 0 1rem;
        margin-top: 3rem;
    }

    /* Section Headings */
    section h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 60px 1rem;
    }

    /* Slideshow */
    .slideshow {
        width: 95%;
        height: 300px;
    }

    /* Faculty & Team Grids */
    .faculty-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .person-card img {
        height: 250px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* For very small screens */
@media screen and (max-width: 320px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero h2 {
        font-size: 1rem;
    }

    .hero-logo-container {
        width: 120px;
        height: 60px;
    }

    section h2 {
        font-size: 1.5rem;
    }
}

/* For landscape mode on mobile */
@media screen and (max-height: 480px) and (orientation: landscape) {
    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .hero-logo-container {
        width: 120px;
        height: 60px;
    }

    nav {
        background: rgba(0, 0, 0, 0.8);
    }
}

/* For tablets in landscape mode */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .faculty-grid,
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

/* For high-resolution tablets */
@media screen and (min-width: 1025px) and (max-width: 1366px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* About Section Styles */
section#about {
    padding: 80px 2rem;
}

section#about h2 {
    margin-bottom: 8rem;
}

.about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-text {
    flex: 0 0 65%;
}

.about-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: justify;
    letter-spacing: 0.2px;
    font-family: 'Cormorant Garamond', serif;
}

.about-text p:first-child {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 2rem;
    border-left: 3px solid var(--primary-color);
    padding-left: 1.5rem;
}

/* Media Queries for About Section */
@media screen and (max-width: 768px) {
    .about-content {
        flex-direction: column;
        padding: 0 1rem;
    }

    .about-text, 
    .about-image {
        flex: 0 0 100%;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .about-text p:first-child {
        font-size: 1rem;
        padding-left: 1rem;
    }

    .about-image img {
        height: 250px;
        width: auto;
    }
}

/* About Section Image Styles */
.about-image {
    flex: 0 0 35%;
}

.about-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

/* Media query adjustment */
@media screen and (max-width: 768px) {
    .about-image img {
        height: 200px;
        width: 100%;
    }
}
 
/* Faculty Section Specific Styles */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.person-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.person-card:hover {
    transform: translateY(-10px);
}

.person-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.person-info {
    padding: 1.2rem;
}

.person-info h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.person-info h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.person-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Media Queries for Faculty Section */
@media screen and (max-width: 768px) {
    .faculty-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        padding: 1rem;
    }

    .person-card img {
        height: 220px;
    }
}
 
/* Enhanced Hero Section Styles */
.title-container {
    margin-bottom: 2rem;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.5);
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.hero h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.quote-container {
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

.quote {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.quote-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    font-weight: 300;
}

/* Enhanced animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries Updates */
@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero h2 {
        font-size: 1.4rem;
    }
    
    .quote {
        font-size: 1.8rem;
    }
    
    .quote-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.1rem;
    }
    
    .quote {
        font-size: 1.5rem;
    }
    
    .quote-subtitle {
        font-size: 0.9rem;
    }
}
 
/* Update Media Queries */
@media screen and (max-width: 768px) {
    .hanging-gallery {
        display: none; /* Hide entire hanging gallery on mobile */
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero h2 {
        font-size: 1.4rem;
    }
    
    .quote {
        font-size: 1.8rem;
    }
    
    .quote-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Adjust hero content vertical alignment */
    .hero-content {
        justify-content: center;
        padding-top: 60px; /* Account for navbar */
    }
}

/* Remove previous mobile-specific hanging image adjustments */
@media screen and (max-width: 768px) {
    .hanging-image,
    .hanging-image:nth-child(1),
    .hanging-image:nth-child(2),
    .hanging-image:nth-child(3),
    .hanging-image:nth-child(4) {
        display: none;
    }
}

/* Remove landscape mode adjustments for hanging images */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hanging-gallery {
        display: none;
    }
    
    .hero-content {
        padding-top: 50px;
    }
}
 
/* Web Team Section Styles */
#web-team {
    padding-top: 120px;
    min-height: 100vh;
    background: var(--bg-primary);
}

#web-team h2 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.team-description {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.team-description p {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.member {
    background: var(--bg-secondary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

.member:nth-child(1) { animation-delay: 0.4s; }
.member:nth-child(2) { animation-delay: 0.6s; }
.member:nth-child(3) { animation-delay: 0.8s; }
.member:nth-child(4) { animation-delay: 1.0s; }

.member:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 2px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.member:hover img {
    transform: scale(1.05);
}

.member p {
    padding: 1.5rem;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    text-align: center;
}

.member p span {
    display: block;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media screen and (max-width: 768px) {
    #web-team {
        padding-top: 100px;
    }

    #web-team h2 {
        font-size: 2.5rem;
    }

    .team-description p {
        font-size: 1rem;
    }

    .team-members {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
        padding: 1.5rem;
    }

    .member img {
        height: 250px;
    }
}

@media screen and (max-width: 480px) {
    #web-team h2 {
        font-size: 2rem;
    }

    .team-members {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .member img {
        height: 280px;
    }

    .member p {
        font-size: 1rem;
    }
}
.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
}

.member-social a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.member-social a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}