:root {
    --primary-color: #0a1929;
    --secondary-color: #1e3a5f;
    --accent-color: #ffc107;
    --text-light: #e2e8f0;
    --bg-light: #f8f9fa;
    --bg-dark: #1a365d;
    --section-bg: #f5f7fa;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    --banner-title-color: #ffffff;
    --banner-subtitle-color: #f0f0f0;
    --gradient-1: linear-gradient(135deg, #0a1929 0%, #1e3a5f 100%);
    --gradient-2: linear-gradient(135deg, #1e3a5f 0%, #0a1929 100%);
    --gradient-accent: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Add this CSS rule to prevent page scrolling when overlay is open */
body.no-scroll {
    overflow: hidden;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
}

h2 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
}

h3 {
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #555;
}

/* Navbar Styles */
.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.3rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: white !important;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: rotate(5deg) scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    margin: 0 15px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

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

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Search Button Styles */
.search-container {
    position: relative;
    margin-left: 15px;
}

.search-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-btn:hover {
    color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Search Modal Styles */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    justify-content: center;
    align-items: flex-start;
    padding-top: 80px;
}

.search-modal-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.search-modal.active .search-modal-content {
    transform: translateY(0);
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.search-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.search-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
}

.search-modal-close:hover {
    color: #333;
}

.search-modal-body {
    padding: 20px;
}

.search-input-group {
    position: relative;
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 25, 41, 0.1);
}

.search-input-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-input-btn:hover {
    background-color: var(--secondary-color);
}

/* Search Autocomplete */
.search-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
    background-color: #f8f9fa;
}

.autocomplete-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border-radius: 50%;
    margin-right: 12px;
    color: var(--primary-color);
}

.autocomplete-content {
    flex: 1;
}

.autocomplete-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.autocomplete-type {
    font-size: 0.8rem;
    color: #666;
    text-transform: capitalize;
}

.autocomplete-highlight {
    background-color: #fff3cd;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 600;
}

/* Search Type Options */
.search-type-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.form-check {
    margin-bottom: 10px;
}

/* Search Results */
.search-results {
    max-height: 400px;
    overflow-y: auto;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.search-result-group {
    margin-bottom: 20px;
}

.search-result-group-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.search-result-items {
    margin-left: 10px;
}

.search-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #eee;
}

.search-result-item:hover {
    background-color: #f8f9fa;
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.search-result-content {
    flex: 1;
}

.search-result-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.search-result-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 4px;
}

.search-result-description {
    font-size: 0.85rem;
    color: #777;
}

.search-result-action {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-left: 10px;
}

.search-result-highlight {
    background-color: #fff3cd;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 600;
}

.search-no-results {
    text-align: center;
    padding: 30px;
    color: #666;
}

.search-no-results i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #ddd;
}

.search-loading {
    text-align: center;
    padding: 40px 20px;
}

.search-loading .spinner-border {
    margin-bottom: 15px;
}

.search-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.search-pagination-info {
    color: #666;
    font-size: 0.9rem;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    background-color: var(--secondary-color);
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    color: var(--text-light) !important;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: var(--primary-color);
    color: white !important;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    border-radius: 8px;
}

/* Banner Styles */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    background-color: #000;
}

.banner-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    animation: zoomInOut 20s infinite alternate;
}

.banner-slide.active {
    opacity: 0.8;
}

@keyframes zoomInOut {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 41, 0.8) 0%, rgba(26, 54, 93, 0.6) 100%);
    z-index: 1;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 90%;
    max-width: 1200px;
}

.banner-content h1 {
    font-size: 4rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease;
    color: var(--banner-title-color);
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.banner-content p {
    font-size: 1.8rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.3s both;
    color: var(--banner-subtitle-color);
}

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

/* Slideshow navigation dots */
.banner-slideshow-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    gap: 10px;
}

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

.banner-slideshow-dot.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

.banner-slide-source {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
    font-style: italic;
}

#imagePreview img {
    max-height: 200px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.modal-body .form-check {
    margin-bottom: 10px;
}

/* Admin Edit Button */
.admin-edit-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
}

.admin-edit-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* Ticker Section Styles */
.ticker-section {
    background-color: var(--primary-color);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ticker-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.ticker-title {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 4px;
    margin-right: 20px;
    font-size: 1rem;
    white-space: nowrap;
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: flex;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    padding: 0 20px;
    white-space: nowrap;
    color: white;
    font-size: 0.95rem;
}

.ticker-item i {
    margin-right: 8px;
    color: var(--accent-color);
}

.ticker-item.seminar {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.ticker-item.job {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.ticker-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ticker-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-content:hover {
    animation-play-state: paused;
}

/* Section Styles */
.section {
    padding: 60px 0;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 20px;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

/* About Section */
.about-section {
    background-color: var(--section-bg);
    position: relative;
    background-image: url('/static/Untitled.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #333;
    padding: 60px 0;
    min-height: 100%;
    background-color: #f5f7fa;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .about-section {
        background-attachment: scroll;
        background-position: top center;
        background-size: 100% auto;
        background-color: #f5f7fa;
        min-height: 500px;
    }
}

@media (min-width: 769px) {
    .about-section {
        background-attachment: fixed;
        background-size: cover;
    }
}

.about-section .section-subtitle {
    color: var(--secondary-color) !important;
    position: relative;
    z-index: 2;
}

.about-section p {
    color: #444 !important;
    position: relative;
    z-index: 2;
}

/* About Cards */
.about-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.about-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.about-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.about-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

.about-card p {
    color: #555 !important;
    margin-bottom: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Research Direction Cards */
.research-card-wrapper {
    position: relative;
    height: 100%;
}

.research-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    height: 100%;
    cursor: pointer;
    background: white;
}

.research-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--hover-shadow);
}

.research-card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

.research-card-body {
    padding: 1.5rem;
}

.research-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ============================================= */
/* RESEARCH AUTO-SCROLL CONTAINER (moved here)    */
/* ============================================= */
.horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding-bottom: 15px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox - hide scrollbar */
    -ms-overflow-style: none; /* IE/Edge - hide scrollbar */
    cursor: grab;
}

.horizontal-scroll-container:active {
    cursor: grabbing;
}

/* Hide scrollbar for Chrome/Safari */
.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}

.scroll-item-research {
    flex: 0 0 auto;
    width: 280px;
}

@media (max-width: 768px) {
    .scroll-item-research {
        width: 100%;
    }
}

/* 1:1 Aspect Ratio for Research Images */
.research-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.research-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================= */
/* COMPACT PROJECT CARDS (moved here)            */
/* ============================================= */
.project-card {
    height: 320px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

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

.project-card .card-img-top {
    height: 160px;
    object-fit: cover;
    width: 100%;
    transition: all 0.5s ease;
}

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

.project-card .card-body {
    flex-grow: 1;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
}

.project-card .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: var(--primary-color);
}

.project-card .card-text {
    font-size: 0.9rem;
    color: #555;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.project-card .btn {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    align-self: flex-start;
    margin-top: auto;
}

/* Loading spinner inside projects container */
#projectsContainer .loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 200px;
}

/* Home project description clamp */
.home-project-description {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #666;
}

/* Publications list */
.publications-list {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.publication-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px;
    background-color: var(--section-bg);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.publication-item:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.publication-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    flex-grow: 1;
    font-weight: 500;
}

.publication-item a:hover {
    text-decoration: underline;
}

.publication-item i {
    margin-right: 12px;
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* Faculty Cards */
.faculty-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    height: 100%;
    background: white;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.faculty-card .card-img-top {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

/* Collaborator Cards */
.collaborator-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    height: 100%;
    background: white;
}

.collaborator-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.collaborator-card .card-img-top {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

/* Event Cards */
.event-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    height: 100%;
    background: white;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.event-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Quick Links */
.quick-link {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.quick-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transform: translateX(-100%);
    transition: all 0.5s ease;
}

.quick-link:hover::before {
    transform: translateX(0);
}

.quick-link:hover {
    transform: translateY(-15px);
    box-shadow: var(--hover-shadow);
}

.quick-link i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.quick-link:hover i {
    color: var(--accent-color);
    transform: scale(1.1);
}

.quick-link h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.quick-link p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.quick-link .btn {
    align-self: center;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

/* Featured Photos Section */
.featured-photo-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    height: 100%;
    background: white;
}

.featured-photo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.featured-photo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.7s ease;
}

.featured-photo-card:hover img {
    transform: scale(1.1);
}

.featured-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 25, 41, 0.9), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: all 0.5s ease;
}

.featured-photo-card:hover .featured-photo-overlay {
    transform: translateY(0);
}

.featured-photo-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.featured-photo-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.featured-photo-detail {
    font-size: 0.9rem;
    opacity: 0.8;
}

.featured-photo-date {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 5px;
}

/* Student Cards Styles */
.student-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    background: white;
}

.student-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.student-card img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

.student-card .card-body {
    padding: 1.5rem;
    text-align: center;
}

.student-card .card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.student-info-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.student-info-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.student-info-list li:last-child {
    border-bottom: none;
}

.student-info-list li i {
    color: var(--primary-color);
    margin-right: 12px;
    margin-top: 3px;
    font-size: 1.1rem;
    min-width: 20px;
}

.student-info-list li span {
    flex: 1;
    font-size: 0.95rem;
    color: #333;
}

.student-info-list li span strong {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 3px;
}

/* Seminar Cards Styles */
.seminar-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    background: white;
    display: flex;
    flex-direction: column;
}

.seminar-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.seminar-image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.seminar-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.seminar-card:hover .seminar-image-container img {
    transform: scale(1.05);
}

.seminar-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.seminar-date-day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.seminar-date-month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.seminar-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.seminar-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.seminar-card .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
    flex: 1;
    padding-right: 10px;
}

.seminar-time {
    background-color: var(--bg-light);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    white-space: nowrap;
}

.seminar-speaker, .seminar-venue {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #555;
}

.seminar-speaker i, .seminar-venue i {
    margin-right: 8px;
    color: var(--primary-color);
    font-size: 1rem;
}

.seminar-abstract {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.seminar-abstract p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
}

.seminar-actions {
    display: flex;
    gap: 10px;
}

.seminar-actions .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 20px;
}

.new-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.admin-buttons {
    position: absolute;
    top: 15px;
    right: 85px;
    z-index: 3;
    display: flex;
    gap: 5px;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

/* Featured Video Card Styles */
.featured-video-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    height: 100%;
    background: white;
}

.featured-video-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.featured-video-thumbnail {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.featured-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s ease;
}

.featured-video-card:hover .featured-video-thumbnail img {
    transform: scale(1.05);
}

.featured-video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.featured-video-play-button i {
    color: var(--primary-color);
    font-size: 24px;
    margin-left: 5px;
}

.featured-video-card:hover .featured-video-play-button {
    background-color: var(--accent-color);
}

.featured-video-card:hover .featured-video-play-button i {
    color: var(--primary-color);
}

.featured-video-content {
    padding: 1.5rem;
}

.featured-video-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.featured-video-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
}

.featured-video-date {
    display: flex;
    align-items: center;
}

.featured-video-date i {
    margin-right: 5px;
}

.featured-video-duration {
    background-color: var(--bg-light);
    padding: 3px 8px;
    border-radius: 4px;
}

/* No thumbnail placeholder */
.no-thumbnail-placeholder {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

footer h5 {
    color: var(--accent-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 15px;
}

footer ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
}

footer ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 500;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: white;
    transform: translateY(-3px);
}

.footer-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.footer-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.footer-video-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--accent-color);
}

/* Button Styles */
.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Read More / Overlay Box Styles */
.description-container {
    position: relative;
}

.description-text {
    margin-bottom: 0.5rem;
}

.read-more-btn {
    color: var(--primary-color);
    background: none;
    border: none;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
}

.read-more-btn:hover {
    color: var(--secondary-color);
}

/* Content Overlay Styles */
.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border-radius: 16px;
}

.content-overlay.active {
    opacity: 1;
    visibility: visible;
}

.content-overlay-box {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    width: 50vw;
    height: 50vw;
    max-width: 500px;
    max-height: 500px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    animation: slideInOverlay 0.4s ease;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .content-overlay-box {
        background-color: white;
        padding: 15px;
        border-radius: 12px;
        width: 80vw;
        height: 80vw;
        max-width: 350px;
        max-height: 350px;
        overflow-y: auto;
        position: relative;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
        box-sizing: border-box;
        margin: 10px;
    }
}

@keyframes slideInOverlay {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.overlay-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #777;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 11;
}

.overlay-close-btn:hover {
    color: var(--primary-color);
}

.overlay-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 20px;
}

.overlay-content img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.overlay-content p {
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

.overlay-content .overlay-papers {
    margin-top: 20px;
}

.overlay-content .overlay-papers h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Newsletter subscription styles */
.subscription-message {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.subscription-message.show {
    opacity: 1;
}

.subscription-message.success {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.subscription-message.error {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Admin Edit Modal Styles */
.admin-edit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.admin-edit-modal.active {
    opacity: 1;
    visibility: visible;
}

.admin-edit-modal-box {
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    animation: slideInOverlay 0.4s ease;
    padding: 30px;
}

.admin-edit-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.admin-edit-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.admin-edit-modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #777;
    cursor: pointer;
    transition: color 0.2s ease;
}

.admin-edit-modal-close:hover {
    color: var(--primary-color);
}

.admin-edit-modal-body {
    margin-bottom: 20px;
}

.admin-edit-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px 15px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(10, 25, 41, 0.25);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Banner Slide Manager Styles */
.banner-slide-manager {
    margin-bottom: 20px;
}

.banner-slide-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #eee;
}

.banner-slide-item img {
    width: 100px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.banner-slide-url {
    flex: 1;
    margin-right: 15px;
    font-family: monospace;
    font-size: 0.9rem;
    word-break: break-all;
}

.banner-slide-actions {
    display: flex;
    gap: 10px;
}

.banner-slide-actions button {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Project Details Modal Styles */
.project-details-modal .modal-header {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px 10px 0 0;
}

.project-details-modal .modal-title {
    font-weight: 600;
    font-size: 1.5rem;
}

.project-details-modal .modal-content {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.project-details-modal .modal-body {
    padding: 0;
}

/* Hide banner image inside project modal */
#projectDetailsModal .project-banner {
    display: none !important;
}

.project-banner {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-image:hover {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: white;
}

.project-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.project-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.project-details-container {
    padding: 30px;
}

.project-detail-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.project-detail-header {
    background-color: var(--bg-light);
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-detail-header:hover {
    background-color: #e9ecef;
}

.project-detail-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    display: flex;
    align-items: center;
}

.project-detail-title i {
    margin-right: 12px;
    color: var(--accent-color);
}

.project-detail-toggle {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.project-detail-toggle.collapsed {
    transform: rotate(180deg);
}

.project-detail-body {
    padding: 20px;
    display: none;
}

.project-detail-body.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.project-detail-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

.project-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.project-card .read-more-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.project-card .read-more-btn:hover {
    color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .banner-content h1 {
        font-size: 3rem;
    }

    .banner-content p {
        font-size: 1.5rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 500px;
    }

    .banner-content h1 {
        font-size: 2.2rem;
    }

    .banner-content p {
        font-size: 1.2rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .quick-link {
        padding: 1.5rem 1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .seminar-header {
        flex-direction: column;
    }
    
    .seminar-time {
        margin-top: 8px;
        align-self: flex-start;
    }
    
    .seminar-actions {
        flex-direction: column;
    }
    
    .seminar-actions .btn {
        width: 100%;
    }

    .search-modal-content {
        width: 95%;
        max-width: 500px;
    }
}

@media (max-width: 576px) {
    .banner-content h1 {
        font-size: 1.8rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

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

/* Professional enhancements */
.pre-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.pre-loader.fade-out {
    opacity: 0;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.section-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 40px 0;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.card-hover-effect {
    transition: all 0.3s ease;
}

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

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-bg-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230a1929' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.professional-border {
    border: 1px solid rgba(10, 25, 41, 0.1);
    border-radius: 8px;
}

.enhanced-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.enhanced-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 41, 0.05) 0%, rgba(30, 58, 95, 0.05) 100%);
    z-index: -1;
}

.enhanced-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Display submenus on hover for desktop */
@media (min-width: 992px) {
    .dropdown-menu .dropdown-submenu {
        position: relative;
    }

    .dropdown-menu .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}
