/* Custom styles for Faculty page - Enhanced for better design */
body {
    font-family: 'Inter', sans-serif;
    color: #0F172A; /* Slate 900 */
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #0F172A; /* Slate 900 */
    font-weight: 600;
    margin: 0;
}

/* Navbar specific fixes */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease-in-out;
}

nav .max-w-7xl {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    nav .max-w-7xl {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    nav .max-w-7xl {
        padding: 0 2rem;
    }
}

/* Hero section specific fixes */
.hero-section {
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 50%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem; /* Account for fixed navbar */
}

@media (min-width: 640px) {
    .hero-section {
        padding-top: 6rem;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding-top: 7rem;
    }
}

.hero-section .max-w-7xl {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .hero-section .max-w-7xl {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-section .max-w-7xl {
        padding: 0 2rem;
    }
}

/* Mobile-specific responsive fixes */
@media (max-width: 639px) {
    /* Mobile hero section adjustments */
    .hero-section {
        padding-top: 4rem;
        padding-bottom: 2rem;
        min-height: auto;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem;
    }
    
    /* Mobile button adjustments */
    .btn-primary, .btn-secondary {
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem !important;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Mobile image adjustments */
    .hero-section img {
        max-width: 280px !important;
        margin: 0 auto;
        transform: none !important;
    }
    
    /* Mobile grid adjustments */
    .faculty-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .faculty-card {
        margin-bottom: 1rem;
        padding: 1rem !important;
    }
    
    .faculty-card img {
        width: 80px !important;
        height: 80px !important;
    }
    
    .faculty-card h3 {
        font-size: 1.25rem !important;
    }
    
    .faculty-card p {
        font-size: 0.875rem !important;
    }
    
    /* Mobile section spacing */
    .section-padding {
        padding: 2rem 0 !important;
    }
    
    /* Mobile text adjustments */
    .text-center {
        text-align: center !important;
    }
    
    /* Mobile container adjustments */
    /* .max-w-7xl {
        padding: 0 1rem !important;
    } */
    
    /* Mobile navbar adjustments */
    nav .flex {
        padding: 0 0.5rem;
    }
    
    /* Hide Apply Now button on mobile */
    .hidden {
        display: none !important;
    }
    
    /* Mobile footer adjustments */
    footer .grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    footer .text-center {
        text-align: center !important;
    }
}

/* Enhanced color system */
.text-teal-500 { color: #06B6D4; }
.text-teal-600 { color: #0497B3; }
.text-teal-700 { color: #037A90; }
.bg-teal-600 { background-color: #0497B3; }
.hover\:bg-teal-700:hover { background-color: #037A90; }
.text-orange-500 { color: #F59E0B; }
.text-green-500 { color: #22C55E; }
.text-red-500 { color: #EF4444; }

/* Additional Tailwind utility classes */
/* .container { max-width: 1200px; margin: 0 auto; } */
.max-w-7xl { max-width: 80rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.max-w-lg { max-width: 32rem; }
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }
.max-w-xs { max-width: 20rem; }

/* Grid utilities */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

/* Spacing utilities */
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

/* Padding utilities */
.p-6 { padding: 1.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

/* Margin utilities */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }

/* Font weight utilities */
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Background utilities */
.bg-white { background-color: #ffffff; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-200 { background-color: #e2e8f0; }
.bg-slate-300 { background-color: #cbd5e1; }
.bg-slate-400 { background-color: #94a3b8; }
.bg-slate-500 { background-color: #64748b; }
.bg-slate-600 { background-color: #475569; }
.bg-slate-700 { background-color: #334155; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-900 { background-color: #0f172a; }

.bg-orange-100 { background-color: #ffedd5; }
.bg-orange-200 { background-color: #fed7aa; }
.bg-orange-500 { background-color: #f59e0b; }
.bg-orange-600 { background-color: #d97706; }

.bg-green-100 { background-color: #dcfce7; }
.bg-green-500 { background-color: #22c55e; }
.bg-green-600 { background-color: #16a34a; }

.bg-red-100 { background-color: #fee2e2; }
.bg-red-500 { background-color: #ef4444; }
.bg-red-600 { background-color: #dc2626; }

.bg-blue-500 { background-color: #3b82f6; }
.bg-blue-600 { background-color: #2563eb; }
.bg-cyan-500 { background-color: #06b6d4; }
.bg-cyan-600 { background-color: #0891b2; }

/* Text color utilities */
.text-white { color: #ffffff; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }

.text-orange-700 { color: #c2410c; }
.text-orange-800 { color: #9a3412; }
.text-green-700 { color: #15803d; }
.text-green-800 { color: #166534; }
.text-red-700 { color: #b91c1c; }
.text-red-800 { color: #991b1b; }
.text-teal-800 { color: #115e59; }

.text-cyan-200 { color: #a5f3fc; }

/* Border utilities */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-800 { border-color: #1e293b; }
.border-teal-500 { border-color: #06b6d4; }
.border-teal-600 { border-color: #0497b3; }
.border-orange-500 { border-color: #f59e0b; }
.border-orange-600 { border-color: #d97706; }
.border-green-500 { border-color: #22c55e; }
.border-green-600 { border-color: #16a34a; }
.border-red-500 { border-color: #ef4444; }
.border-red-600 { border-color: #dc2626; }

/* Border radius utilities */
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* Shadow utilities */
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* Position utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

/* Z-index utilities */
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-1000 { z-index: 1000; }

/* Overflow utilities */
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-auto { overflow-y: auto; }

/* Display utilities */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

/* Width and height utilities */
.w-32 { width: 8rem; }
.h-32 { height: 8rem; }
.w-36 { width: 9rem; }
.h-36 { height: 9rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-auto { width: auto; }
.h-auto { height: auto; }

/* Object fit utilities */
.object-cover { object-fit: cover; }

/* Transform utilities */
.transform { transform: translateZ(0); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }
.-rotate-3 { transform: rotate(-3deg); }
.rotate-12 { transform: rotate(12deg); }

/* Transition utilities */
.transition-all { transition-property: all; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; }
.transition-transform { transition-property: transform; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }

/* Opacity utilities */
.opacity-10 { opacity: 0.1; }
.opacity-20 { opacity: 0.2; }
.opacity-30 { opacity: 0.3; }
.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

/* Backdrop utilities */
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }

/* Responsive utilities */
@media (min-width: 640px) {
    .sm\:text-lg { font-size: 1.125rem; }
    .sm\:text-xl { font-size: 1.25rem; }
    .sm\:text-2xl { font-size: 1.5rem; }
    .sm\:text-3xl { font-size: 1.875rem; }
    .sm\:text-4xl { font-size: 2.25rem; }
    .sm\:text-5xl { font-size: 3rem; }
    .sm\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
    .sm\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .sm\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .sm\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    /* .sm\:grid-cols-2 { grid-template-columns: repeat(0, minmax(0, 1fr)); } */
    .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sm\:flex-row { flex-direction: row; }
    .sm\:text-center { text-align: center; }
    .sm\:text-left { text-align: left; }
    .sm\:text-2xl { font-size: 1.5rem; }
    .sm\:max-w-sm { max-width: 24rem; }
    .sm\:max-w-md { max-width: 28rem; }
    .sm\:max-w-lg { max-width: 32rem; }
    .sm\:max-w-xl { max-width: 36rem; }
    .sm\:max-w-2xl { max-width: 42rem; }
    .sm\:max-w-3xl { max-width: 48rem; }
    .sm\:max-w-4xl { max-width: 56rem; }
    .sm\:min-h-\[300px\] { min-height: 300px; }
    .sm\:block { display: block; }
    .sm\:hidden { display: none; }
    .sm\:justify-center { justify-content: center; }
    .sm\:justify-start { justify-content: flex-start; }
    .sm\:items-center { align-items: center; }
    .sm\:gap-4 { gap: 1rem; }
    .sm\:gap-8 { gap: 2rem; }
    .sm\:gap-12 { gap: 3rem; }
    .sm\:mb-6 { margin-bottom: 1.5rem; }
    .sm\:mb-8 { margin-bottom: 2rem; }
    .sm\:mb-12 { margin-bottom: 3rem; }
    .sm\:mt-0 { margin-top: 0; }
    .sm\:px-4 { padding-left: 1rem; padding-right: 1rem; }
    .sm\:py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
    .sm\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .sm\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .sm\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:flex-row { flex-direction: row; }
    .md\:text-left { text-align: left; }
    .md\:text-center { text-align: center; }
    .md\:max-w-md { max-width: 28rem; }
    .md\:max-w-lg { max-width: 32rem; }
    .md\:max-w-xl { max-width: 36rem; }
    .md\:max-w-2xl { max-width: 42rem; }
    .md\:max-w-3xl { max-width: 48rem; }
    .md\:max-w-4xl { max-width: 56rem; }
    .md\:min-h-\[350px\] { min-height: 350px; }
    .md\:block { display: block; }
    .md\:hidden { display: none; }
    .md\:justify-end { justify-content: flex-end; }
    .md\:justify-start { justify-content: flex-start; }
    .md\:items-start { align-items: flex-start; }
    .md\:gap-8 { gap: 2rem; }
    .md\:gap-12 { gap: 3rem; }
    .md\:mb-0 { margin-bottom: 0; }
    .md\:mt-0 { margin-top: 0; }
    .md\:mt-10 { margin-top: 2.5rem; }
    .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:text-left { text-align: left; }
    .lg\:text-center { text-align: center; }
    .lg\:max-w-lg { max-width: 32rem; }
    .lg\:max-w-xl { max-width: 36rem; }
    .lg\:max-w-2xl { max-width: 42rem; }
    .lg\:max-w-3xl { max-width: 48rem; }
    .lg\:max-w-4xl { max-width: 56rem; }
    .lg\:pt-28 { padding-top: 7rem; }
    .lg\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:inline-flex { display: inline-flex; }
    .lg\:hidden { display: none; }
    .lg\:flex { display: flex; }
    .lg\:justify-start { justify-content: flex-start; }
    .lg\:justify-end { justify-content: flex-end; }
    .lg\:items-center { align-items: center; }
    .lg\:gap-10 { gap: 2.5rem; }
    .lg\:gap-12 { gap: 3rem; }
    .lg\:mb-0 { margin-bottom: 0; }
    .lg\:mt-0 { margin-top: 0; }
    .lg\:text-2xl { font-size: 1.5rem; }
    .lg\:text-3xl { font-size: 1.875rem; }
    .lg\:text-4xl { font-size: 2.25rem; }
    .lg\:text-5xl { font-size: 3rem; }
    .lg\:text-6xl { font-size: 3.75rem; }
    .lg\:h-20 { height: 5rem; }
    .lg\:h-12 { height: 3rem; }
    .lg\:text-sm { font-size: 0.875rem; }
    .lg\:text-lg { font-size: 1.125rem; }
    .lg\:space-x-1 { margin-left: 0.25rem; }
    .lg\:space-x-8 { margin-left: 2rem; }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .xl\:gap-10 { gap: 2.5rem; }
    .xl\:max-w-lg { max-width: 32rem; }
    .xl\:max-w-xl { max-width: 36rem; }
    .xl\:max-w-2xl { max-width: 42rem; }
    .xl\:max-w-3xl { max-width: 48rem; }
    .xl\:max-w-4xl { max-width: 56rem; }
}

/* Enhanced animations for hero section elements */
@keyframes fadeInSlideRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInSlideLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulseSlow {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.5; 
    }
    50% { 
        transform: scale(1.1); 
        opacity: 0.7; 
    }
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-fadeInSlideRight {
    animation: fadeInSlideRight 0.8s ease-out forwards;
}

.animate-fadeInSlideLeft {
    animation: fadeInSlideLeft 0.8s ease-out forwards;
}

.animate-pulse-slow {
    animation: pulseSlow 3s infinite alternate ease-in-out;
}

.animate-spin-slow {
    animation: spinSlow 12s infinite linear;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Enhanced card styles */
.faculty-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.faculty-card img {
    transition: transform 0.3s ease;
}

.faculty-card:hover img {
    transform: scale(1.05);
}

/* Enhanced button styles */
.btn-primary {
    background: linear-gradient(135deg, #0497B3 0%, #037A90 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(4, 151, 179, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #0497B3;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #0497B3;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #0497B3;
    color: white;
    transform: translateY(-2px);
}

/* Enhanced modal styles */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(5px);
}

.modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-backdrop.show .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f1f5f9;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #475569;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close-button:hover {
    background: #e2e8f0;
    color: #1e293b;
    transform: scale(1.1);
}

/* Enhanced responsive design */
@media (max-width: 768px) {
    .faculty-card {
        margin-bottom: 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}

/* Enhanced section spacing */
.section-padding {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 6rem 0;
    }
}

/* Enhanced gradient backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #0497B3 0%, #037A90 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced card grid */
.faculty-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (min-width: 1024px) {
    .faculty-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Enhanced hero section */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%230497B3" opacity="0.1"/></svg>') repeat;
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
}

/* Enhanced scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}