/* --- Palm Grove Civic Landing --- */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: #f2f2f2;
    color: #1a1a1a;
}

/* Header */
#main-header {
    background: #0077b6;
    color: white;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99;
}
#main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
}
.nav-logo {
    height: 50px;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
nav ul li a:hover {
    color: #ffcc66;
}

/* Intro Screen */
#intro {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #0077b6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 200;
    transition: opacity 1s ease-out, visibility 1s;
}
#intro.hidden {
    opacity: 0;
    visibility: hidden;
}
.intro-logo {
    width: 120px;
    margin-bottom: 20px;
}
.intro-content h2 {
    font-family: 'Poppins', sans-serif;
}

/* Hero Section */
#hero {
    height: 100vh;
    background: url('../img/hero-bg.jpg') no-repeat center center/cover;
    position: relative;
    text-align: center;
    color: white;
}
#hero .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
}
.hero-content {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    margin-bottom: 10px;
}
.hero-buttons .btn {
    margin: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}
.btn.gold {
    background: #ffcc66;
    color: #1a1a1a;
}
.btn.gold:hover {
    background: #e6b84f;
}
.btn.blue {
    background: #0077b6;
    color: #fff;
}
.btn.blue:hover {
    background: #005f8a;
}

/* Sections */
section {
    padding: 80px 10%;
    text-align: center;
}
section h2 {
    font-family: 'Poppins', sans-serif;
    color: #0077b6;
    margin-bottom: 20px;
}

/* Departments Grid */
.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.dept-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: relative;
}
.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffcc66;
    color: #1a1a1a;
    padding: 5px 10px;
    font-size: 0.8em;
    border-radius: 5px;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 20px 0;
    text-align: center;
}
