/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

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

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

main {
    flex: 1;
}

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

/* Header Styles */
header {
    background-color: #1a3c6e;
    color: #fff;
    padding: 20px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    font-size: 1.8rem;
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
}

.contact-button {
    color: #fff;
    text-decoration: none;
    background-color: #2e5eaa;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.contact-button:hover {
    background-color: #3a7bd5;
}

/* Hero Section */
#hero {
    background-color: #e6f0ff;
    padding: 60px 0;
    text-align: center;
}

#hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #1a3c6e;
}

#hero h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #1a3c6e;
}

#hero p {
    font-size: 1.2rem;
    color: #444;
}

/* Section Styles */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1a3c6e;
    text-align: center;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1a3c6e;
}

/* Contact Section */
#contact {
    background-color: #f9f9f9;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.contact-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1a3c6e;
}

.contact-item p {
    margin-bottom: 5px;
}

/* Footer */
footer {
    background-color: #1a3c6e;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: center;
    }
    
    nav {
        margin-top: 15px;
    }
    
    .services-grid,
    .contact-details {
        grid-template-columns: 1fr;
    }
}