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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.65;
    color: #2d3748;
    background-color: #f0f4f8;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1a202c;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
}

h2 {
    font-size: 1.875rem;
    color: #2d3748;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: #4a5568;
}

a {
    color: #2c7a7b;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #234e52;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
}

.logo {
    max-width: 130px;
    height: auto;
    margin: 0 auto 1rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.site-title {
    text-align: center;
    font-size: 1.875rem;
    margin-bottom: 1.75rem;
    font-weight: 700;
    color: #1a202c;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

nav a:hover {
    background-color: #e6f7f7;
    color: #234e52;
}

/* Main Content */
main {
    padding: 3rem 0;
    min-height: 70vh;
}

section {
    margin-bottom: 3rem;
}

section.text-center p {
    font-size: 1.25rem;
    color: #2d3748;
    font-weight: 500;
}

main > .container > h1 {
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #2c7a7b;
    margin-bottom: 2rem;
}

main > .container > section > h2 {
    color: #2d3748;
    margin-bottom: 1.5rem;
}

main > .container > section > p {
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2.5rem;
    align-items: center;
    justify-items: center;
    padding: 3rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.cert-grid img {
    max-height: 90px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.cert-grid img:hover {
    opacity: 1;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    text-align: center;
    margin: 3rem 0;
}

.feature-item {
    padding: 2rem 1.5rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2c7a7b;
}

.feature-item h1 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #1a202c;
}

.feature-item p {
    color: #4a5568;
    font-size: 0.95rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.service-item {
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.service-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.service-item h3,
.service-item h4 {
    margin-bottom: 0.5rem;
    color: #2c7a7b;
}

/* SEO Section */
.seo-section {
    background-color: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-top: 3rem;
    border-left: 4px solid #2c7a7b;
}

.seo-section h2 {
    margin-bottom: 1.5rem;
    color: #1a202c;
}

/* Footer */
footer {
    background-color: #2d3748;
    padding: 2.5rem 0;
    margin-top: 5rem;
    text-align: center;
    color: #cbd5e0;
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 0.5rem;
}

footer strong {
    color: #e6f7f7;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    nav a {
        padding: 0.5rem 1rem;
        width: 100%;
        text-align: center;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cert-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .seo-section {
        padding: 2rem 1.5rem;
    }

    main > .container > h1 {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .logo {
        max-width: 100px;
    }

    main {
        padding: 2rem 0;
    }

    .feature-item,
    .service-item {
        padding: 1.5rem;
    }

    .seo-section {
        padding: 1.5rem;
    }
}
