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

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

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

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

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

/* Header */
header {
    background-color: #1a2332;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

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

nav a {
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #4a9eff;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8c 100%);
    color: #ffffff;
    padding: 5rem 0;
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: #4a9eff;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.text-link {
    color: #4a9eff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: #2d5a8c;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a2332;
}

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

.feature-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d5a8c;
}

.feature-card p {
    color: #5a6c7d;
}

/* About Preview Section */
.about-preview {
    padding: 5rem 0;
}

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

.about-content img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: #1a2332;
}

.about-text p {
    margin-bottom: 1rem;
    color: #5a6c7d;
    font-size: 1.1rem;
}

/* Services Preview */
.services-preview {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.services-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a2332;
}

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

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d5a8c;
}

.service-card p {
    color: #5a6c7d;
}

.center-link {
    text-align: center;
    margin-top: 2rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2d5a8c 0%, #1e3a5f 100%);
    color: #ffffff;
}

.cta-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-section img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8c 100%);
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Content Sections */
.content-section {
    padding: 5rem 0;
}

.content-section.alt {
    background-color: #f8f9fa;
}

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

.content-layout.reverse {
    direction: rtl;
}

.content-layout.reverse > * {
    direction: ltr;
}

.content-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: #1a2332;
}

.content-text p {
    margin-bottom: 1rem;
    color: #5a6c7d;
    font-size: 1.1rem;
}

.content-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Values Section */
.values-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a2332;
}

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

.value-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d5a8c;
}

.value-card p {
    color: #5a6c7d;
}

/* Team Section */
.team-section {
    padding: 5rem 0;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a2332;
}

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

.expertise-content img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.expertise-text p {
    margin-bottom: 1.5rem;
    color: #5a6c7d;
    font-size: 1.1rem;
}

/* Services Detail */
.services-detail {
    padding: 3rem 0;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 3rem 0;
}

.service-detail-card.reverse {
    direction: rtl;
}

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

.service-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a2332;
}

.service-detail-content p {
    margin-bottom: 1.5rem;
    color: #5a6c7d;
    font-size: 1.1rem;
}

.service-detail-content ul {
    list-style: none;
    padding-left: 0;
}

.service-detail-content ul li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #5a6c7d;
}

.service-detail-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4a9eff;
    font-weight: bold;
}

.service-detail-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.process-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a2332;
}

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

.process-step {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #4a9eff;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d5a8c;
}

.process-step p {
    color: #5a6c7d;
}

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

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

.contact-info h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: #1a2332;
}

.contact-info p {
    margin-bottom: 2rem;
    color: #5a6c7d;
    font-size: 1.1rem;
}

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

.contact-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #2d5a8c;
}

.contact-item p {
    color: #5a6c7d;
    margin-bottom: 0;
}

/* Contact Form */
.contact-form-wrapper h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: #1a2332;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a9eff;
}

/* Services Reminder */
.services-reminder {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.services-reminder h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a2332;
}

.services-reminder > .container > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #5a6c7d;
}

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

.service-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d5a8c;
}

.service-item p {
    color: #5a6c7d;
}

/* Location Section */
.location-section {
    padding: 5rem 0;
}

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

.location-content img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.location-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: #1a2332;
}

.location-text p {
    margin-bottom: 1rem;
    color: #5a6c7d;
    font-size: 1.1rem;
}

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

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

.legal-text h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #1a2332;
}

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

.legal-text h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #2d5a8c;
}

.legal-text p {
    margin-bottom: 1rem;
    color: #5a6c7d;
    font-size: 1.05rem;
    line-height: 1.7;
}

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

.legal-text ul li {
    margin-bottom: 0.5rem;
    color: #5a6c7d;
    line-height: 1.7;
}

/* Footer */
footer {
    background-color: #1a2332;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #4a9eff;
}

.footer-section p {
    color: #b8c5d3;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #b8c5d3;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4a9eff;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container,
    .about-content,
    .content-layout,
    .expertise-content,
    .service-detail-card,
    .contact-layout,
    .location-content,
    .cta-section .container {
        grid-template-columns: 1fr;
    }

    .content-layout.reverse,
    .service-detail-card.reverse {
        direction: ltr;
    }

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

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

    nav {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .features h2,
    .services-preview h2,
    .values-section h2,
    .team-section h2,
    .process-section h2,
    .services-reminder h2 {
        font-size: 2rem;
    }

    .features-grid,
    .services-grid,
    .values-grid,
    .process-grid,
    .services-list {
        grid-template-columns: 1fr;
    }

    .cta-section img {
        order: -1;
    }
}
