/* --- Global Variables & Reset --- */
:root {
    --bg-color: #ffffff; /* White */
    --surface-color: #f9f9f9; /* Light gray for cards */
    --text-main: #222222; /* Dark text for readability */
    --text-muted: #666666; /* Gray for secondary text */
    --main-blue: #639FBE; /* Main blue from logo */
    --main-blue-hover: #4A86A6; /* Darker blue for hover */
    --accent-red: #D83134; /* Accent red from logo */
    --accent-red-hover: #B82528; /* Darker red for hover */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    color: var(--main-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--main-blue-hover);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation --- */
header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px; /* Adjust as needed */
    width: auto;
    object-fit: contain;
    margin-right: 30px; /* Spacing between logo and text */
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--main-blue);
}

.logo-text span {
    color: var(--accent-red);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-red);
}

/* --- Hero Section --- */
.hero {
    padding: 100px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.btn {
    display: inline-block;
    background-color: var(--accent-red);
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--accent-red-hover);
    color: #fff;
}

/* --- Services Section --- */
.services {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.services h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--surface-color);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-red);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Contact Section --- */
.contact {
    padding: 80px 0;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-info {
    background-color: var(--surface-color);
    display: inline-block;
    padding: 30px 50px;
    border-radius: 8px;
    border: 1px solid #eee;
    text-align: left;
}

.contact-info p {
    margin-bottom: 10px;
    color: var(--text-main);
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* --- Footer --- */
footer {
    background-color: var(--surface-color);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-img {
        margin-right: 0;
        margin-bottom: 10px;
        height: 55px; /* slightly smaller or adjusted if needed */
    }
    
    .logo-text {
        font-size: 1.3rem;
        white-space: normal; /* ensures the text can wrap if still tight */
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .services h2, .contact h2 {
        font-size: 1.6rem;
    }
}
