/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');
@import url('inner-pages.css');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Color Palette - Deep Blue & Teal Accents */
    --primary-color: #005f73;
    --primary-dark: #0a1f2e;
    --primary-light: #0a9396;

    /* Secondary & Accent Colors */
    --secondary-color: #ee9b00;
    --secondary-dark: #ca6702;
    --accent-color: #94d2bd;

    /* Text Colors */
    --text-dark: #1F2937;
    --text-medium: #4B5563;
    --text-light: #6B7280;

    /* Backgrounds */
    --bg-light: #f3f4f6;
    --bg-white: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);

    /* Borders & Shadows */
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    background-image: radial-gradient(var(--bg-light) 1px, transparent 1px);
    background-size: 24px 24px;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Header Styles */
.header-top {
    background: var(--primary-dark);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-item:hover {
    opacity: 0.85;
}

.contact-item .icon {
    width: 16px;
    height: 16px;
}

.header-links {
    display: flex;
    gap: 20px;
}

.header-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.header-links a:hover {
    opacity: 0.85;
}

/* Navigation Styles */
.navbar {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: rgba(0, 95, 115, 0.08);
    /* Subtle primary tint */
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 650px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 31, 46, 0.9) 0%, rgba(0, 95, 115, 0.8) 100%);
    backdrop-filter: blur(2px);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
}

.hero h1 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 22px;
    margin-bottom: 35px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 14px 36px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 16px;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

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

.btn-primary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

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

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

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

/* Quick Services Section */
.quick-services {
    padding: 80px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.85);
    /* Glass-like opaque */
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
    background: white;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 15px;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.service-link:hover {
    color: var(--primary-dark);
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.about-content h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-content .lead {
    font-size: 20px;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin: 30px 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-medium);
}

.about-features img {
    width: 24px;
    height: 24px;
}

/* Programs Section */
.programs-section {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.section-header h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

.section-header .view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.section-header .view-all:hover {
    color: var(--primary-dark);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.program-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}

.program-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-xl);
}

.program-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.program-content {
    padding: 28px;
}

.program-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.program-content p {
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.7;
}

.program-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.program-link:hover {
    color: var(--primary-dark);
}

/* News Section */
.news-section {
    padding: 100px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.news-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.news-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-card.featured img {
    height: 100%;
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.news-content {
    padding: 28px;
}

.news-content time {
    display: block;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.7;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.news-link:hover {
    color: var(--primary-dark);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-box h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 38px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.contact-info-box>p {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 17px;
}

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

.contact-detail {
    display: flex;
    gap: 20px;
}

.contact-detail .icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 8px;
    padding: 12px;
    flex-shrink: 0;
}

.contact-detail h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-detail p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-form-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: #e5e7eb;
    padding: 60px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid #333;
}

.footer-logo {
    height: 55px;
    margin-bottom: 20px;
}

.footer-column p {
    margin-bottom: 25px;
    line-height: 1.7;
    color: #b0b0b0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #2a2a2a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.social-links img {
    width: 20px;
    height: 20px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul a:hover {
    color: white;
}

.footer-bottom {
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #888;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
}

.footer-legal a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: white;
}

.footer-legal span {
    color: #555;
}

/* Responsive Design */
@media (max-width: 968px) {
    .header-top-content {
        justify-content: center;
        text-align: center;
    }

    .contact-info,
    .header-links {
        justify-content: center;
        width: 100%;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content h2,
    .section-header h2 {
        font-size: 34px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .news-card.featured {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom-content {
        justify-content: center;
        text-align: center;
    }
}

/* Additional Page Styles */


.content-section {
    padding: 80px 0;
}

.content-section.bg-light {
    background: var(--bg-light);
}

.services-detailed-grid {
    display: grid;
    gap: 40px;
}

.service-detailed-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    gap: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.service-detailed-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-detailed-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-detailed-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.service-detailed-content h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-detailed-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin: 20px 0 25px;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-medium);
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-icon-small {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
}

.service-icon-small img {
    width: 100%;
    height: 100%;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 38px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.nav-menu a.active::after {
    width: 100%;
}

/* Form Styles */
.form-section {
    padding: 60px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-container h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.info-box {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}

.info-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.info-box p {
    color: var(--text-light);
    line-height: 1.7;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.content-main h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.content-main h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--text-dark);
}

.content-main p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-main ul {
    margin: 20px 0;
    padding-left: 25px;
}

.content-main ul li {
    color: var(--text-medium);
    margin-bottom: 10px;
    line-height: 1.7;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.sidebar-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card ul li {
    margin-bottom: 12px;
}

.sidebar-card ul a {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-card ul a:hover {
    color: var(--primary-color);
}

@media (max-width: 968px) {
    .page-header h1 {
        font-size: 36px;
    }

    .service-detailed-card {
        flex-direction: column;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        top: 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .form-container {
        padding: 30px 20px;
    }
}

/* News Article Styles */
.news-article {
    margin-bottom: 50px;
}

.news-article img {
    transition: transform 0.3s;
}

.news-article:hover img {
    transform: scale(1.02);
}

.news-article h3 {
    line-height: 1.3;
}

.news-article p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 15px;
}

.news-article ul {
    color: var(--text-medium);
    line-height: 1.7;
}

/* Councillor Styles */
.councillor-profile {
    display: flex;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.mayor-profile {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.councillor-details h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.councillor-details p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 10px;
}

.councillors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.councillor-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s;
}

.councillor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.councillor-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.councillor-ward {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.councillor-role {
    color: var(--text-dark);
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .councillor-profile {
        flex-direction: column;
    }

    .councillors-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        height: 500px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .services-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .about-content h2,
    .section-header h2 {
        font-size: 28px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .contact-form-box {
        padding: 25px;
    }
}