:root {
    --primary-color: #007bff;
    /* Medical Blue */
    --secondary-color: #00b894;
    /* Health Green */
    --accent-color: #e6f7ff;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #0056b3;
}

/* Slideshow Styles (Modern & Attractive) */
.slideshow-container {
    max-width: 600px;
    position: relative;
    margin: 30px auto;
    border-radius: 15px;
    /* Rounded corners */
    overflow: hidden;
    /* Keeps image inside rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    /* Soft drop shadow */
}

.mySlides {
    display: none;
}

.mySlides img {
    vertical-align: middle;
    width: 100%;
    object-fit: cover;
    height: 300px;
    transition: transform 0.5s ease;
    /* Subtle zoom effect support */
}

.mySlides:hover img {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 50%;
    /* Circle buttons */
    user-select: none;
    background-color: rgba(255, 255, 255, 0.2);
    /* Glassy look */
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

.prev:hover,
.next:hover {
    background-color: #0d9488;
    /* Teal color on hover */
    color: white;
    border-color: #0d9488;
    transform: scale(1.1);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 16px;
    font-weight: 500;
    padding: 15px;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    /* Modern gradient */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Number text (Badge style) */
.numbertext {
    color: #f2f2f2;
    font-size: 11px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 4px 10px;
    border-radius: 20px;
    position: absolute;
    top: 15px;
    left: 15px;
    backdrop-filter: blur(4px);
}

/* The dots/bullets/indicators - Styled to match */
.dot {
    cursor: pointer;
    height: 10px;
    /* Bit smaller/sleeker */
    width: 10px;
    margin: 0 4px;
    background-color: #cbd5e1;
    /* Light gray */
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}

.active,
.dot:hover {
    background-color: #0d9488;
    /* Teal Active */
    transform: scale(1.3);
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@media only screen and (max-width: 300px) {

    .prev,
    .next,
    .text {
        font-size: 11px
    }
}

/* Reduced height from 500px */

/* Hero & General Layout */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.page-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

/* Home - Leaders Grid */
.leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.leader-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    padding-bottom: 1.5rem;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.leader-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #eee;
}

.leader-name {
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.leader-designation {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

/* Documents */
.documents-list {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.document-item:last-child {
    border-bottom: none;
}

.document-item:hover {
    background: var(--accent-color);
}

.doc-icon {
    margin-right: 10px;
    color: var(--primary-color);
}

.doc-download {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Employee Form */
.form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Admin Dashboard */
.admin-header {
    background: #343a40;
    color: white;
    padding: 1rem;
}

.sidebar {
    height: 100vh;
    width: 250px;
    position: fixed;
    background: #2d3436;
    padding-top: 20px;
}

.sidebar a {
    padding: 15px 25px;
    text-decoration: none;
    font-size: 18px;
    color: #b2bec3;
    display: block;
}

.sidebar a:hover {
    color: white;
    background-color: #636e72;
}

.main-content {
    margin-left: 250px;
    padding: 20px;
}

/* Login */
.login-container {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Coming Soon */
.coming-soon {
    text-align: center;
    padding: 5rem 0;
}

.coming-soon h1 {
    font-size: 3rem;
    color: var(--text-light);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
}