:root {
    --primary-color: #333;
    --secondary-color: #f4f4f4;
    --accent: #d9534f;
    --poly-sky-deep: #2D5A87;
    --poly-sky-light: #6baed6;
    --text-color: #333;
    --card-bg: #fff;
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
    padding-top: 100px; /* Space for fixed header */
}

/* Header & Nav */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-banner-image {
    max-height: 80px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color var(--transition-speed);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--poly-sky-deep);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
}

/* Sections */
section {
    padding: 3rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero */
#hero .hero-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--poly-sky-deep);
}

h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Content Panels */
.content-panel {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

.section-heading-card {
    background: var(--poly-sky-deep);
    color: #fff;
    padding: 2rem;
    text-align: center;
}

.section-heading-card h2 {
    color: #fff;
}

.section-heading-external {
    text-align: center;
    margin-bottom: 2rem;
}

.panel-body {
    padding: 2rem;
}

/* About / Key Areas */
.key-areas {
    font-weight: bold;
    color: var(--poly-sky-deep);
    font-size: 1.2rem;
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 1.5rem 0;
}

/* Buttons & Docs */
.section-cta-link {
    text-align: center;
    margin: 2rem 0;
}

.section-cta-link a {
    background: var(--poly-sky-deep);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    transition: background var(--transition-speed);
}

.section-cta-link a:hover {
    background: #1a3a5e;
}

.documents-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.doc-btn {
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 4px;
    text-decoration: none;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.doc-btn:hover {
    background: #f9f9f9;
    border-color: var(--poly-sky-deep);
    color: var(--poly-sky-deep);
}

.doc-btn svg {
    width: 20px;
    height: 20px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform var(--transition-speed);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.project-card h4 {
    color: var(--poly-sky-deep);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info .info-item {
    margin: 1.5rem 0;
}

.contact-info strong {
    display: block;
    color: var(--poly-sky-deep);
    margin-bottom: 0.25rem;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.submit-btn {
    background: var(--poly-sky-deep);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: #1a3a5e;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    padding: 3rem 1.5rem;
    text-align: center;
}

.footer-banner-image {
    max-width: 100%;
    max-height: 60px;
    margin: 1rem 0;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #777;
}

.ip-warning {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #555;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header {
        padding: 0.5rem 1rem;
    }
    
    .menu-toggle {
        display: flex;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    nav ul li a {
        display: block;
        padding: 1rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }
}