:root {
    --primary-color: #004d4d; /* Dark Teal */
    --primary-light: #006666; /* Light Teal */
    --accent-color: #FF7F50; /* Coral */
    --background-color: #f8f9fa; /* Light Gray */
    --text-color: #333333; /* Dark Gray */
    --white: #ffffff;
    --light-gray: #e9ecef;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header & Navigation */
.navbar {
    background: linear-gradient(to right, var(--primary-color), var(--primary-light)) !important;
    padding: 0.8rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0;
}

.navbar-brand img {
    height: 55px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.navbar.scrolled .navbar-brand img {
    height: 45px;
}

.navbar-brand span {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 600;
}

.navbar-nav {
    margin: 0 auto;
}

.navbar-nav .nav-item {
    margin: 0 0.7rem;
    position: relative;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    position: relative;
    z-index: 1;
    border-radius: 6px;
}

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

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    width: 70%;
    opacity: 1;
}

.navbar-light .navbar-nav .nav-link i {
    margin-right: 0.25rem;
    transition: transform 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover i {
    transform: translateY(-2px);
}

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

.navbar-light .navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
}

.navbar-light .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.75rem;
    transition: all 0.3s ease;
}

.navbar-light .navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.nav-buttons {
    margin-left: auto;
}

.login-btn {
    background-color: var(--accent-color);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 8px rgba(255, 127, 80, 0.3);
}

.login-btn:hover {
    background-color: #ff6b3d;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 127, 80, 0.4);
}

.login-btn:active {
    transform: translateY(-1px);
}

.login-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.login-btn:hover i {
    transform: translateX(2px);
}

/* Dropdown menu styling */
.dropdown-menu {
    background-color: var(--white);
    border: none;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    padding: 0.8rem 0;
    margin-top: 0.5rem;
    animation: fadeIn 0.3s ease;
}

.dropdown-item {
    padding: 0.6rem 1.2rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(0, 77, 77, 0.07);
}

.dropdown-item i {
    color: var(--primary-color);
}

.dropdown-divider {
    margin: 0.4rem 0;
}

/* Main Content */
main {
    flex: 1;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: auto;
    background: none;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

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

.btn-secondary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.btn-secondary:hover {
    background-color: #ff6b3d;
    border-color: #ff6b3d;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Sections */
.section-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

footer a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-social-links {
    font-size: 1.5rem;
}

.footer-social-links a {
    margin-right: 1rem;
}

/* Utilities */
.bg-primary-teal {
    background-color: var(--primary-color);
}

.text-coral {
    color: var(--accent-color);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .navbar-collapse {
        background-color: var(--primary-color);
        padding: 1rem;
        border-radius: 0.25rem;
        margin-top: 1rem;
    }

    .navbar-nav {
        margin: 1rem 0;
    }

    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }

    .navbar-light .navbar-nav .nav-link i {
        width: 20px;
        text-align: center;
        margin-right: 0.5rem;
    }

    .nav-buttons {
        margin: 1rem 0 0 0;
        display: flex;
        justify-content: center;
    }

    .login-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

/* Custom Components */
.announcement-badge {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.1;
}

/* Event Calendar */
.event-date {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 0.5rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: bold;
}

.event-date .month {
    font-size: 0.875rem;
    text-transform: uppercase;
}

.staff-hero {
    height: auto;
    background: none;
}

.staff-hero::before {
    content: none;
    display: none;
}

/* Global style for all hero content h1 elements */
.hero-content h1 {
    color: var(--white) !important;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}