/* ADD Software, LLC - Exact Visual Replica */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    font-size: 16px;
    line-height: normal;
    color: #333333;
    background-color: #e0e0e0;
}

/* Homepage only - subtle textured pattern */
body.homepage {
    background-color: #d8d8d8;
    background-image: 
        linear-gradient(135deg, #d0d0d0 25%, transparent 25%),
        linear-gradient(225deg, #d0d0d0 25%, transparent 25%),
        linear-gradient(45deg, #d0d0d0 25%, transparent 25%),
        linear-gradient(315deg, #d0d0d0 25%, transparent 25%);
    background-size: 4px 4px;
}

a {
    color: #0075cb;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

/* ===== HEADER ===== */
header {
    background: #222222;
}

header .container {
    max-width: 940px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-text {
    display: block;
    padding: 15px 0;
    text-decoration: none;
}

.logo-text img {
    height: 60px;
    width: auto;
    display: block;
}

.logo-text:hover {
    text-decoration: none;
}

header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin: 0;
}

header nav ul li a {
    font-family: 'Oswald', sans-serif;
    font-size: 19px;
    font-weight: 400;
    color: #888888;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: #ffffff;
    text-decoration: none;
}

/* Header bottom line */
.header-line {
    height: 8px;
    background: linear-gradient(to bottom, #444 0%, #666 50%, #888 100%);
}

/* ===== MAIN CONTENT ===== */
main {
    padding: 40px 0;
}

main .container {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

article {
    flex: 1;
    max-width: 540px;
}

article h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: #0f5fac;
    margin: 0 0 15px 0;
    line-height: 1.1;
}

article p {
    font-size: 18px;
    line-height: 27px;
    color: #333333;
    margin: 0 0 18px 0;
    text-align: justify;
}

article p a {
    color: #0075cb;
}

.main-image {
    width: 340px;
    flex-shrink: 0;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== CLIENTS SECTION ===== */
.clients-section {
    background: #f5f5f5;
    padding: 30px 0 40px;
}

.clients-section .container {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 20px;
}

.clients-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #333333;
    font-style: italic;
    margin: 0 0 20px 0;
}

.clients-logos {
    display: flex;
    gap: 40px;
    align-items: center;
}

.client-logo {
    display: block;
}

.client-logo img {
    height: 68px;
    width: auto;
    display: block;
}

/* ===== FOOTER ===== */
footer {
    background: #222222;
    padding: 25px 0;
}

footer .container {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    flex: 1;
}

footer nav ul {
    display: flex;
    list-style: none;
    margin: 0 0 10px 0;
    padding: 0;
}

footer nav ul li {
    margin: 0;
}

footer nav ul li a {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #888888;
    text-decoration: underline;
    padding: 0 20px 0 0;
    display: block;
}

footer nav ul li a:hover {
    color: #ffffff;
}

footer .copyright {
    font-size: 11px;
    color: #666666;
    margin: 0;
}

footer .copyright a {
    color: #888888;
}

.footer-logo img {
    height: 50px;
    width: auto;
    opacity: 0.3;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: #888;
    margin: 3px 0;
}

/* ===== INTERNAL PAGES ===== */
.page-content {
    padding: 40px 0;
}

.page-content .container {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-content .content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.page-content .content-left {
    flex: 1;
    max-width: 540px;
}

.page-content .content-right {
    width: 340px;
    flex-shrink: 0;
}

.page-content .content-right img {
    width: 100%;
    height: auto;
    display: block;
}

.page-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: #0f5fac;
    margin: 0 0 20px 0;
    line-height: 1.1;
}

.page-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #333333;
    margin: 20px 0 10px 0;
}

.page-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #333333;
    margin: 20px 0 10px 0;
}

.page-content p {
    font-size: 18px;
    line-height: 27px;
    color: #333333;
    margin: 0 0 18px 0;
}

.page-content ul {
    margin: 18px 0 18px 25px;
    font-size: 18px;
    line-height: 27px;
}

.page-content li {
    margin-bottom: 8px;
    color: #333333;
}

.page-content a {
    color: #0075cb;
}

/* Contact Info */
.contact-info {
    margin-bottom: 25px;
}

.contact-info p {
    margin-bottom: 5px;
}

.contact-info strong {
    display: block;
    margin-top: 15px;
}

/* Contact Form */
.required-note {
    font-size: 14px;
    color: #cc0000;
    margin-bottom: 20px;
}

.contact-form {
    max-width: 580px;
}

.form-row {
    margin-bottom: 18px;
}

.form-row-inline {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
}

.form-row-inline .form-field {
    flex: 1;
}

.form-row label,
.form-field label {
    display: block;
    margin-bottom: 5px;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
}

.form-row label span,
.form-field label span {
    color: #cc0000;
}

.form-row input,
.form-row select,
.form-row textarea,
.form-field input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #999;
    font-family: sans-serif;
    font-size: 16px;
    color: #333333;
    background: #fff;
}

.form-row textarea {
    min-height: 180px;
    resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus,
.form-field input:focus {
    outline: none;
    border-color: #0075cb;
}

.btn {
    display: inline-block;
    font-family: sans-serif;
    font-size: 14px;
    padding: 8px 20px;
    background: #333333;
    color: #fff;
    border: 1px solid #222;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background: #444444;
    text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .content-wrapper,
    .page-content .content-wrapper {
        flex-direction: column;
    }
    
    article,
    .page-content .content-left {
        max-width: 100%;
    }
    
    .main-image,
    .page-content .content-right {
        width: 100%;
        max-width: 340px;
    }
    
    .clients-logos {
        flex-wrap: wrap;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    footer nav ul {
        justify-content: center;
    }
    
    .form-row-inline {
        flex-direction: column;
        gap: 18px;
    }
}

@media (max-width: 768px) {
    header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #222;
        z-index: 100;
    }
    
    header nav.active {
        display: block;
    }
    
    header nav ul {
        flex-direction: column;
    }
    
    header nav ul li a {
        padding: 15px 20px;
        border-bottom: 1px solid #333;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    header .container {
        position: relative;
    }
    
    article h1,
    .page-content h1 {
        font-size: 28px;
    }
    
    .clients-logos {
        flex-direction: column;
        align-items: flex-start;
    }
    
    footer nav ul {
        flex-wrap: wrap;
    }
}
