/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ============================================================
   HEADER
   ============================================================ */
header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

/* Header contact box */
.header-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #555;
    color: #fff;
    padding: 10px 16px;
    border-radius: 4px;
}

.header-contact i {
    font-size: 1.4rem;
    color: #fff;
    flex-shrink: 0;
}

.header-contact-lines {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ============================================================
   HERO BANNER
   ============================================================ */
#hero {
    width: 100%;
    position: relative;
    overflow: hidden;
    line-height: 0;
    background: #ccc;
}

.hero-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

/* ============================================================
   MAIN TWO-COLUMN LAYOUT
   ============================================================ */
.main-wrapper {
    background: #fff;
    padding: 40px 0 60px;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

/* ============================================================
   LEFT COLUMN
   ============================================================ */
.main-left section {
    margin-bottom: 40px;
}

.main-left h2 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #222;
    margin-bottom: 16px;
    border: none;
    text-align: left;
}

.main-left p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: #444;
    margin-bottom: 12px;
}

.main-left p a {
    color: #1a5fa8;
    text-decoration: none;
}

.main-left p a:hover {
    text-decoration: underline;
}

/* Contact list */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #333;
}

.contact-row i {
    color: #555;
    width: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 0.9rem;
}

.contact-row a {
    color: #1a5fa8;
    text-decoration: none;
}

.contact-row a:hover {
    text-decoration: underline;
}

/* ============================================================
   RIGHT COLUMN
   ============================================================ */
.main-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.right-logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    min-height: 100px;
}

.right-logo-img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    display: block;
}

/* Service image cards */
.service-img-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    line-height: 0;
}

.service-img-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    filter: brightness(0.7);
}


/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: #f5f5f5;
    border-top: 1px solid #ddd;
    padding: 14px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #555;
}

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

.footer-links a {
    color: #1a5fa8;
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ============================================================
   TERMS & PRIVACY PAGES
   ============================================================ */
#terms, #privacy {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

#terms h2, #privacy h2 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #222;
    margin-bottom: 24px;
}

#terms h3, #privacy h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 28px 0 10px;
    color: #222;
}

#terms p, #privacy p {
    line-height: 1.8;
    margin-bottom: 14px;
    color: #444;
    font-size: 0.9rem;
}

#terms p a, #privacy p a {
    color: #1a5fa8;
    text-decoration: none;
}

#terms p a:hover, #privacy p a:hover {
    text-decoration: underline;
}

#terms ul, #privacy ol {
    margin: 14px 0 14px 28px;
}

#terms li, #privacy li {
    margin-bottom: 10px;
    color: #444;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 768px) {
    .main-container {
        grid-template-columns: 1fr;
    }

    .main-right {
        order: -1;
    }

    .hero-img {
        height: 140px;
    }

    .header-contact-lines span:last-child {
        display: none;
    }

    .footer-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
