/* =========================================
   Base Styles & Reset
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f8f9fa;
}

h1, h2, h3 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* =========================================
   Header Section
   ========================================= */
header {
    background: linear-gradient(135deg, #002b5e 0%, #004080 100%);
    color: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 4px solid #00a8cc;
}

.hero-img {
    border-radius: 50%;
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin-bottom: 1.5rem;
}

header h1 {
    font-size: 2.5rem;
    letter-spacing: 1px;
}

header p {
    font-size: 1.2rem;
    color: #d1e8ff;
    max-width: 600px;
    margin: 0 auto 0.5rem auto;
}

/* =========================================
   Main Container & Layout
   ========================================= */
.container {
    max-width: 1000px;
    margin: -2rem auto 3rem auto; /* Pulls content slightly up over header */
    padding: 0 2rem;
    position: relative;
}

section {
    background: #ffffff;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

section h2 {
    color: #004080;
    font-size: 1.8rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* =========================================
   Services Grid
   ========================================= */
.services {
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
}

.service-box {
    background: #fdfdfd;
    border: 1px solid #e1e4e8;
    padding: 1.5rem;
    flex: 1;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: #00a8cc;
}

.service-box h3 {
    color: #0056b3;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* =========================================
   Contact Section
   ========================================= */
#contact {
    text-align: center;
    background: #eef4f8;
    border: 1px solid #dbe4ec;
}

#contact a {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
}

#contact a:hover {
    text-decoration: underline;
}

/* =========================================
   Mobile Responsiveness
   ========================================= */
@media (max-width: 768px) {
    .services {
        flex-direction: column;
    }
    
    header {
        padding: 3rem 1rem;
    }
    
    .container {
        margin-top: 1rem;
        padding: 0 1rem;
    }
    
    section {
        padding: 1.5rem;
    }
}
