@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #f8fafc;
    --text-color: #0f172a;
    --text-muted: #64748b;
    --primary-color: #1e3a8a; /* Sleek navy blue */
    --primary-light: #eff6ff;
    --primary-hover: #1e40af;
    --accent-color: #10b981; /* Green for key links */
    --accent-hover: #059669;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --header-bg: rgba(255, 255, 255, 0.9);
    --hero-overlay: rgba(30, 58, 138, 0.05);
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

/* System preferences override */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #0b0f19;
        --text-color: #f1f5f9;
        --text-muted: #94a3b8;
        --primary-color: #3b82f6; /* Modern electric blue */
        --primary-light: #1e293b;
        --primary-hover: #60a5fa;
        --accent-color: #34d399;
        --accent-hover: #6ee7b7;
        --card-bg: #111827;
        --border-color: #1f2937;
        --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.5);
        --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5);
        --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5);
        --header-bg: rgba(11, 15, 25, 0.9);
        --hero-overlay: rgba(15, 23, 42, 0.5);
        --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #1e1b4b 100%);
        --gradient-accent: linear-gradient(135deg, #059669 0%, #064e3b 100%);
    }
}

/* Explicit class-based override (toggled by user) */
body.light-theme {
    --bg-color: #f8fafc;
    --text-color: #0f172a;
    --text-muted: #64748b;
    --primary-color: #1e3a8a;
    --primary-light: #eff6ff;
    --primary-hover: #1e40af;
    --accent-color: #10b981;
    --accent-hover: #059669;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --header-bg: rgba(255, 255, 255, 0.9);
    --hero-overlay: rgba(30, 58, 138, 0.05);
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

body.dark-theme {
    --bg-color: #0b0f19;
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --primary-color: #3b82f6;
    --primary-light: #1e293b;
    --primary-hover: #60a5fa;
    --accent-color: #34d399;
    --accent-hover: #6ee7b7;
    --card-bg: #111827;
    --border-color: #1f2937;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.5);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5);
    --header-bg: rgba(11, 15, 25, 0.9);
    --hero-overlay: rgba(15, 23, 42, 0.5);
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #1e1b4b 100%);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout utilities */
.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sticky Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.contact-info-top span {
    margin-right: 20px;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.logo-text h1 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--primary-color);
}

.logo-text p {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Nav Menu */
nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

nav a.active {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
    background: var(--accent-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-theme {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
}

.btn-theme:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* Slider Section */
.hero-slider-section {
    position: relative;
    height: 400px;
    border-radius: 16px;
    margin: 25px 0;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.4) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    color: white;
    width: 70%;
    padding: 50px;
}

.slide-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #e2e8f0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background-color: var(--slider-btn-bg);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--slider-btn-hover);
    scale: 1.1;
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

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

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: white;
    width: 25px;
    border-radius: 5px;
}

/* Two Column Main Content Layout */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-bottom: 40px;
}

.announcements-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.section-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.section-card:hover {
    box-shadow: var(--shadow-lg);
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
    color: var(--primary-color);
}

.announcement-list {
    list-style: none;
}

.announcement-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition);
}

.announcement-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.announcement-item:first-child {
    padding-top: 0;
}

.announcement-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.announcement-meta .date-tag {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.announcement-item h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-color);
}

.announcement-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.announcement-item .read-more {
    align-self: flex-start;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.announcement-item .read-more:hover {
    color: var(--primary-hover);
    transform: translateX(3px);
}

/* Sidebar Column */
.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar-box h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 8px;
}

/* Alphabetical Sidebar Links */
.alphabetical-menu {
    list-style: none;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}

.alphabetical-menu::-webkit-scrollbar {
    width: 6px;
}

.alphabetical-menu::-webkit-scrollbar-track {
    background: transparent;
}

.alphabetical-menu::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 10px;
}

.alphabetical-menu li a {
    display: flex;
    align-items: center;
    padding: 10px 8px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.alphabetical-menu li:last-child a {
    border-bottom: none;
}

.alphabetical-menu li a::before {
    content: '›';
    margin-right: 10px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.alphabetical-menu li a:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding-left: 14px;
}

/* Sidebar CTA button */
.sidebar-cta-btn {
    width: 100%;
    padding: 14px;
    text-align: center;
    font-size: 1.05rem;
    box-shadow: var(--shadow-md);
}

/* Gallery View */
.gallery-section {
    padding: 40px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.gallery-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-card:hover .gallery-img-container img {
    scale: 1.08;
}

.gallery-content {
    padding: 20px;
}

.gallery-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.gallery-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact View */
.contact-section {
    padding: 40px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 20px;
    box-shadow: var(--shadow-sm);
}

.info-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-details h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    height: 250px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Forms */
.contact-form-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.contact-form-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-color);
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 0.95rem;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

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

/* Alert Boxes */
.alert {
    padding: 12px 16px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    display: none;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Footer */
footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 40px 0 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo .logo-text h1 {
    font-size: 1.2rem;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 20px;
}

/* Admin Dashboard & Login */
.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    width: 100%;
    max-width: 400px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--shadow-lg);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.login-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Admin View Shell */
.admin-container {
    padding: 30px 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.admin-header-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.admin-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 35px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.admin-nav-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.admin-nav-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* Admin Panels */
.admin-panel {
    display: none;
}

.admin-panel.active {
    display: block;
}

/* Dashboard Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 45px;
}

.stat-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.stat-card h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 10px 0;
}

/* Tables and Lists for Admin */
.admin-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.admin-content-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.admin-table-container {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

th, td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-weight: 700;
}

tr:last-child td {
    border-bottom: none;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-header {
    margin-bottom: 25px;
}

.modal-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 25px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

/* File Upload drag and drop */
.upload-dropzone {
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    background-color: var(--bg-color);
    transition: var(--transition);
}

.upload-dropzone:hover, .upload-dropzone.dragover {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
}

.upload-dropzone input {
    display: none;
}

.upload-dropzone .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Contacts Inbox Specifics */
.message-preview {
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none; /* Hide contacts top bar on mobile */
    }
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--card-bg);
        border-top: 1px solid var(--border-color);
        transition: var(--transition);
        z-index: 99;
        padding: 40px 20px;
    }
    nav.active {
        left: 0;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    nav a {
        font-size: 1.2rem;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-slider-section {
        height: 300px;
    }
    .slide-content {
        width: 100%;
        padding: 30px;
    }
    .slide-content h2 {
        font-size: 1.6rem;
    }
    .slide-content p {
        font-size: 0.95rem;
    }
}
