:root {
    --primary: #1e3a8a;
    --primary-dark: #172554;
    --accent: #3b82f6;
    --text: #1f2937;
    --text-light: #4b5563;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --success-bg: #d1fae5;
    --success-text: #065f46;
    --error-bg: #fee2e2;
    --error-text: #991b1b;
    --max-width: 1200px;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s, transform 0.1s;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--bg-alt);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.w-100 {
    width: 100%;
}

/* Header */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.025em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
}

/* Hero */
.hero {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--bg-alt), #ffffff);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1.25rem;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Sections & Cards */
.section-pad {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3rem auto;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.card p {
    color: var(--text-light);
}

/* CTA Banner */
.cta-banner {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.cta-container {
    max-width: 700px;
}

.cta-container h2 {
    font-size: 2.25rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.cta-container p {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

/* Page Headers */
.page-header {
    background-color: var(--bg-alt);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 2.75rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.15rem;
    color: var(--text-light);
}

/* Services list */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-row.reverse {
    direction: rtl;
}

.service-row.reverse > * {
    direction: ltr;
}

.service-text h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.service-text p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.service-text ul {
    list-style-type: disc;
    padding-left: 1.25rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-img img {
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

/* About grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1.25rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.about-text .btn {
    margin-top: 1rem;
}

.about-image img {
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

/* Contact grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item a {
    color: var(--primary);
    font-weight: 600;
}

.contact-form-wrapper {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    font-family: inherit;
    font-size: 1rem;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-feedback {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.95rem;
    display: none;
}

.form-feedback.success {
    display: block;
    background-color: var(--success-bg);
    color: var(--success-text);
}

.form-feedback.error {
    display: block;
    background-color: var(--error-bg);
    color: var(--error-text);
}

/* Footer */
.site-footer {
    background-color: var(--primary-dark);
    color: #ffffff;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #cbd5e1;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links,
    .nav-btn {
        display: none;
    }

    .hero-content,
    .service-row,
    .service-row.reverse,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .section-pad {
        padding: 3rem 0;
    }
}