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

:root {
    --primary-color: #1F3A5F;
    --secondary-color: #4A90A4;
    --accent-color: #2C5F7C;
    --text-color: #2C3E50;
    --text-light: #6C757D;
    --background: #FFFFFF;
    --background-light: #F8F9FA;
    --border-color: #E1E8ED;
    --hover-color: #163152;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--background);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #E8EEF2 100%);
}

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

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.875rem 2.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--hover-color);
}

/* Features Section */
.features {
    padding: 5rem 0;
}

.features h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background-color: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Visual Section */
.visual-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.column-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.column-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.column-text h3:first-of-type {
    margin-top: 0;
}

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

.column-text ul {
    list-style: none;
    padding-left: 0;
}

.column-text ul li {
    color: var(--text-light);
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.column-text ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 600;
}

.column-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .cta-button {
    background-color: white;
    color: var(--primary-color);
}

.cta-section .cta-button:hover {
    background-color: var(--background-light);
    transform: translateY(-2px);
}

/* Page Header */
.page-header {
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, #F8F9FA 0%, #E8EEF2 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

/* Content Section */
.content-section {
    padding: 4rem 0;
}

.values-section, .team-section, .approach-section, .services-intro, .services-detail, .process-section, .resources-section, .topics-section, .principles-section {
    padding: 4rem 0;
}

.values-section {
    background-color: var(--background-light);
}

.team-section h2, .approach-section h2, .values-section h2, .services-intro h2, .process-section h2, .resources-section h2, .topics-section h2, .principles-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.team-section p {
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
}

.team-image {
    max-width: 900px;
    margin: 0 auto;
}

.team-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Detail */
.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

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

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

.service-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

/* Contact Section */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2, .contact-form h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

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

.contact-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Form Styles */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.map-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.map-placeholder {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(31, 58, 95, 0.9) 0%, rgba(31, 58, 95, 0) 100%);
    padding: 2rem;
    color: white;
}

.map-overlay p {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Legal Content */
.legal-content {
    padding: 4rem 0;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-text ul {
    margin-bottom: 1.5rem;
}

.legal-text ul li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.legal-text a {
    color: var(--secondary-color);
    text-decoration: none;
}

.legal-text a:hover {
    text-decoration: underline;
}

/* Resources & Topics */
.intro-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

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

.intro-text p {
    font-size: 1.125rem;
    color: var(--text-light);
}

.topic-item {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.topic-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.topic-item p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Services Intro */
.services-intro .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.intro-content p {
    color: var(--text-light);
    font-size: 1.125rem;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section a {
    display: block;
    color: white;
    text-decoration: none;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .hero .container,
    .two-column,
    .contact-grid,
    .service-item,
    .services-intro .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-item.reverse {
        direction: ltr;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .feature-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    header .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    nav {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero {
        padding: 3rem 0;
    }

    .features,
    .visual-section,
    .cta-section,
    .content-section,
    .values-section,
    .team-section,
    .approach-section,
    .contact-section,
    .map-section,
    .legal-content,
    .services-intro,
    .services-detail,
    .process-section,
    .resources-section,
    .topics-section,
    .principles-section {
        padding: 2rem 0;
    }

    .service-item {
        margin-bottom: 3rem;
    }
}
