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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 16px;
}

/* Mobile-first responsive container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2px;
}

/* Header and logo */
header {
    text-align: center;
    padding: 10px 0;
    background-color: #fff;
}

.logo {
    max-width: 100%;
    height: auto;
    margin-bottom: opx;
}

.hero-content {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 5px;
    color: #044c84;
}

.hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 2px;
    color: #044c84;
    font-weight: 50;
    text-align: center;
}

/* Services section */
.services-section {
    margin: 3px 0;
    text-align: center;
}

.services-section h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    line-height: 1.2;
    color: #f97d00;
    font-weight: 600;
}

.services-list {
    list-style: none;
    padding: 0;             /* no extra top padding */
    margin: 0;   
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #044c84;

}

/* Start the list immediately after the heading without a visual gap */
.services-list li {
    padding: 3px 0;       /* nearly no vertical padding */
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 5px;
    margin-top: 5px;
}

/* Avoid a visible line between heading and first item */
.services-list li:first-child {
    border-top: none;
}

.services-list li:last-child {
    border-bottom: none;
}

/* Contact section */
.contact-section {
    margin: 3px 0;
    text-align: center;
}

.contact-section h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    line-height: 1.2;
    color: #f97d00;
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    max-width: 400px;
    margin: 0 auto;
}

.contact-item {
    padding: 5px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 5px;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0px;
    margin-top: 0px;
    color: #044c84;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
}

.contact-item a {
    color: #044c84;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
    line-height: 1.4;
}

.contact-item a:hover {
    color: #044c84;
}

/* Footer */
footer {
    background-color: #f8f9fa;
    text-align: center;
    padding: 30px 20px;
    margin-top: 4px;
    border-top: 1px solid #e9ecef;
}

footer p {
    font-size: 0.9rem;
    color: #044c84;
    line-height: 1.5;
}

footer a {
    color: #044c84;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #044c84;
}

/* Responsive breakpoints */
@media (min-width: 768px) {
    .container {
        padding: 40px;
    }
    
    .hero-content {
        font-size: 1.2rem;
    }
    
    .services-section h3
    {
        font-size: 1.8rem;
    }

    .contact-section h3 {
        font-size: 1.8rem;
    }
    
    .services-list li {
        font-size: 1.1rem;
        padding: 2px 0;
    }
    
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 800px;
        gap: 10px;
    }
    
    .contact-item {
        padding: 25px;
    }
    
    .contact-item h4 {
        font-size: 1.2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 60px;
    }
    
    .hero-content {
        font-size: 1.3rem;
    }
    
    .services-section h3 {
        font-size: 2rem;
    }
    
    .contact-section h3 {
        font-size: rem;
    }
    
    .services-list {
        max-width: 700px;
    }
    
    .services-list li {
        font-size: 1.2rem;
        padding: 10px 0;
    }
}

/* Touch-friendly improvements */
@media (max-width: 767px) {
    .contact-item a {
        display: block;
        padding: 10px 0;
        min-height: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* No extra height from services list items on mobile */
    .services-list li {
        min-height: 5;
        display: list-item;
        align-items: initial;
    }
}

/* Print styles */
@media print {
    .container {
        max-width: none;
        padding: 0;
    }
    
    .contact-item {
        border: 1px solid #ccc;
    }
    
    footer {
        margin-top: 10px;
        color: #f97d00;

    }
}