* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

body {
    background-color: #fff;
    color: #444;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Header --- */
header {
    background: #fff;
    padding: 25px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 32px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0073aa;
}

/* --- Slider --- */
.slider-container {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slider-img.active {
    opacity: 1;
    z-index: 2;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 20px;
    z-index: 10;
}

.slider-arrow.left { left: 10px; }
.slider-arrow.right { right: 10px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

/* --- Content Section --- */
.content-section {
    padding: 60px 0;
    width: 100%;
    text-align: left;
}

.news-link {
    display: block;
    color: #40aadd;
    text-decoration: none;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 25px;
    transition: color 0.3s;
}

.news-link:hover {
    color: #0073aa;
}

.intro-text {
    color: #777;
    font-size: 17px;
    line-height: 1.6;
}

/* --- Footer --- */
footer {
    padding: 40px 0;
    border-top: 1px solid #eee;
    text-align: left;
}

.footer-text {
    font-size: 13px;
    color: #777;
}

.footer-text a {
    color: #777;
    text-decoration: none;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #0073aa !important;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.1);
}

/* --- Navigation Toggle (Mobile) --- */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.nav-toggle:hover {
    color: #0073aa;
}

/* --- Layout & Typography Classes (Removing Inline Styles) --- */
.page-title {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #111;
}

.page-title-small {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #111;
}

/* About/Services Section styling */
.content-section h3 {
    margin: 30px 0 15px;
    color: #333;
}

.content-section p {
    margin-bottom: 25px;
    font-size: 17px;
    color: #555;
}

.content-section ul:not(.work-list) {
    padding-left: 20px;
    font-size: 17px;
    color: #555;
    line-height: 2;
}

/* Work Area & Services Lists */
.work-list {
    list-style: none;
    padding: 0;
    font-size: 17px;
    color: #555;
    line-height: 1.8;
}

.work-list li {
    margin-bottom: 5px;
}

/* Home Section Layouts */
.intro-grid {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.intro-img {
    width: 350px;
    height: auto;
    border-radius: 4px;
    flex-shrink: 0;
}

.intro-content {
    flex-grow: 1;
}

.intro-content .news-link {
    margin-bottom: 20px;
    display: block;
    font-size: 28px;
}

.intro-content .intro-text {
    font-size: 18px;
    color: #666;
}

/* Contact Page Layouts */
.contact-section-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

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

.info-group {
    margin-bottom: 40px;
}

.info-group h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.info-group-large h3 {
    font-size: 24px;
}

.info-group p {
    font-size: 17px;
    color: #555;
}

.info-group a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 20px;
    font-size: 20px;
}

.contact-form-container {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: inherit;
}

.btn-submit {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #005a87;
}

/* --- Responsive Layout Rules --- */
@media (max-width: 768px) {
    header {
        position: relative;
        padding: 20px 0;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        padding: 20px 15px;
        gap: 15px;
        z-index: 100;
        border-top: 1px solid #eee;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
        font-size: 15px;
    }

    /* Slider scaling */
    .slider-container {
        height: 250px;
    }

    .slider-arrow {
        font-size: 20px;
        padding: 10px;
    }

    /* Homepage intro text wrapping */
    .intro-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .intro-img {
        width: 100%;
        max-width: 400px;
    }

    .intro-content .news-link {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .intro-content .intro-text {
        font-size: 16px;
    }

    /* Contact page grid collapsing */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-container {
        padding: 25px 20px;
    }

    /* Typography size scaling */
    .page-title {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .page-title-small {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .logo {
        font-size: 24px;
        gap: 8px;
    }

    .logo img {
        height: 36px;
    }

    footer {
        text-align: center;
    }
}
