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

html {
    scroll-behavior: smooth;
}

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

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

a {
    color: #2c5f7d;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a3a4d;
}

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

/* Header and Navigation */
.header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #2c5f7d;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a.active {
    color: #1a3a4d;
    border-bottom: 2px solid #2c5f7d;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #2c5f7d;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c5f7d 0%, #4a90b8 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Page Hero */
.page-hero {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 42px;
    color: #2c5f7d;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 18px;
    color: #666;
}

/* Sections */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 36px;
    color: #2c5f7d;
    margin-bottom: 30px;
    text-align: center;
}

section h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #2c5f7d;
    color: #fff;
}

.btn-primary:hover {
    background-color: #1a3a4d;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: #2c5f7d;
    border-color: #2c5f7d;
}

.btn-outline:hover {
    background-color: #2c5f7d;
    color: #fff;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Content Sections */
.intro-section,
.content-section,
.mission-section {
    background-color: #fff;
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
}

/* Philosophy Grid */
.philosophy-section {
    background-color: #f8f9fa;
}

.philosophy-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.philosophy-item {
    flex: 1 1 calc(33.333% - 30px);
    min-width: 280px;
    text-align: center;
}

.philosophy-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.philosophy-item h3 {
    color: #2c5f7d;
    margin-bottom: 15px;
}

.philosophy-item p {
    line-height: 1.6;
    color: #666;
}

/* Services Grid */
.services-highlight {
    background-color: #fff;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    flex: 1 1 calc(33.333% - 30px);
    min-width: 280px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: #2c5f7d;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
    color: #666;
}

.link-arrow {
    color: #2c5f7d;
    font-weight: 600;
}

.link-arrow::after {
    content: ' →';
}

/* Stats Section */
.stats-section {
    background-color: #2c5f7d;
    color: #fff;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.stat-item {
    text-align: center;
    flex: 1 1 200px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* Testimonials */
.testimonials-section {
    background-color: #f8f9fa;
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    flex: 1 1 calc(33.333% - 30px);
    min-width: 280px;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    border-left: 4px solid #2c5f7d;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
    color: #333;
}

.testimonial-author {
    font-weight: 600;
    color: #2c5f7d;
}

/* Process Steps */
.process-section {
    background-color: #fff;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    flex: 1 1 calc(50% - 30px);
    min-width: 280px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #2c5f7d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.process-step h3 {
    color: #2c5f7d;
    margin-bottom: 15px;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    background-color: #f8f9fa;
}

.benefits-content {
    max-width: 900px;
    margin: 0 auto;
}

.benefits-list {
    margin-top: 40px;
}

.benefit-item {
    padding: 25px 0;
    border-bottom: 1px solid #ddd;
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-item h3 {
    color: #2c5f7d;
    font-size: 20px;
    margin-bottom: 10px;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    background-color: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background-color: #f8f9fa;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-icon {
    font-size: 24px;
    color: #2c5f7d;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 20px;
    color: #666;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2c5f7d 0%, #4a90b8 100%);
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    color: #fff;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Values Grid */
.values-section {
    background-color: #fff;
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    flex: 1 1 calc(50% - 30px);
    min-width: 280px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.value-card h3 {
    color: #2c5f7d;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    background-color: #f8f9fa;
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.team-intro p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
    color: #666;
}

.team-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.stat-card {
    flex: 1 1 250px;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    text-align: center;
}

.stat-card .stat-number {
    color: #2c5f7d;
}

/* Approach Section */
.approach-section {
    background-color: #fff;
}

.approach-content {
    max-width: 900px;
    margin: 40px auto 0;
}

.approach-item {
    padding: 25px 0;
    border-bottom: 1px solid #ddd;
}

.approach-item:last-child {
    border-bottom: none;
}

.approach-item h3 {
    color: #2c5f7d;
    margin-bottom: 15px;
}

.approach-item p {
    color: #666;
    line-height: 1.6;
}

/* Milestones / Timeline */
.milestones-section {
    background-color: #f8f9fa;
}

.timeline {
    max-width: 800px;
    margin: 40px auto 0;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ddd;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-year {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background-color: #2c5f7d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.timeline-content h3 {
    color: #2c5f7d;
    margin-bottom: 10px;
    font-size: 22px;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Community Section */
.community-section {
    background-color: #fff;
}

.community-content {
    max-width: 800px;
    margin: 0 auto;
}

.community-content p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
    color: #666;
}

/* Services Detail */
.services-section {
    background-color: #fff;
}

.services-list {
    max-width: 900px;
    margin: 0 auto;
}

.service-detail-card {
    margin-bottom: 40px;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 20px;
}

.service-header h2 {
    margin: 0;
    text-align: left;
}

.service-price {
    font-size: 32px;
    font-weight: 700;
    color: #2c5f7d;
}

.service-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
}

.service-features,
.service-ideal {
    margin-top: 25px;
}

.service-features h3,
.service-ideal h3 {
    color: #2c5f7d;
    font-size: 20px;
    margin-bottom: 15px;
}

.service-features ul {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2c5f7d;
    font-weight: 700;
}

.service-ideal p {
    color: #666;
    line-height: 1.6;
}

/* Comparison Table */
.comparison-section {
    background-color: #f8f9fa;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table thead {
    background-color: #2c5f7d;
    color: #fff;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.comparison-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Benefits Grid */
.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    flex: 1 1 calc(33.333% - 30px);
    min-width: 280px;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    border-top: 4px solid #2c5f7d;
}

.benefit-card h3 {
    color: #2c5f7d;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background-color: #fff;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 40px;
}

.contact-info,
.contact-description {
    flex: 1 1 calc(50% - 50px);
    min-width: 300px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    color: #2c5f7d;
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-item p {
    color: #666;
    line-height: 1.8;
}

.contact-item a {
    color: #2c5f7d;
    font-weight: 600;
}

/* Directions */
.directions-section {
    background-color: #f8f9fa;
}

.directions-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.direction-item {
    flex: 1 1 calc(50% - 30px);
    min-width: 280px;
    padding: 25px;
    background-color: #fff;
    border-radius: 8px;
}

.direction-item h3 {
    color: #2c5f7d;
    margin-bottom: 15px;
}

.direction-item p {
    color: #666;
    line-height: 1.6;
}

/* Company Info */
.company-info-section {
    background-color: #fff;
}

.company-details {
    max-width: 700px;
    margin: 0 auto;
}

.company-details p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.8;
}

/* Contact FAQ */
.contact-faq-section {
    background-color: #f8f9fa;
}

/* Location Advantages */
.location-advantages {
    background-color: #fff;
}

.advantages-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    flex: 1 1 calc(33.333% - 30px);
    min-width: 280px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.advantage-item h3 {
    color: #2c5f7d;
    margin-bottom: 15px;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
}

/* Thank You Page */
.thank-you-section {
    padding: 100px 0;
    text-align: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.thank-you-content h1 {
    color: #2c5f7d;
    margin-bottom: 20px;
}

.thank-you-message {
    font-size: 18px;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.thank-you-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Next Steps */
.next-steps-section {
    background-color: #f8f9fa;
}

.steps-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    flex: 1 1 calc(25% - 30px);
    min-width: 200px;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    text-align: center;
}

.step-card .step-number {
    width: 60px;
    height: 60px;
    background-color: #2c5f7d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    color: #2c5f7d;
    font-size: 18px;
    margin-bottom: 15px;
}

.step-card p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* Resources */
.resources-section {
    background-color: #fff;
}

.resources-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.resource-card {
    flex: 1 1 calc(33.333% - 30px);
    min-width: 280px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.resource-card h3 {
    color: #2c5f7d;
    margin-bottom: 15px;
}

.resource-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Legal Content */
.legal-content {
    background-color: #fff;
}

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

.legal-text h2 {
    font-size: 28px;
    color: #2c5f7d;
    margin: 40px 0 20px;
    text-align: left;
}

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

.legal-text h3 {
    font-size: 22px;
    color: #333;
    margin: 30px 0 15px;
}

.legal-text h4 {
    font-size: 18px;
    color: #333;
    margin: 20px 0 10px;
}

.legal-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #666;
}

.legal-text ul,
.legal-text ol {
    margin: 15px 0 15px 30px;
    line-height: 1.8;
    color: #666;
}

.legal-text li {
    margin-bottom: 8px;
}

.legal-text strong {
    color: #333;
}

.legal-text table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.legal-text table th,
.legal-text table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

.legal-text table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

/* Footer */
.footer {
    background-color: #1a3a4d;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1 1 250px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a3a4d;
    color: #fff;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1 1 300px;
    margin: 0;
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
}

.modal-content h3 {
    color: #2c5f7d;
    margin-bottom: 25px;
}

.cookie-options {
    margin-bottom: 30px;
}

.cookie-option {
    margin-bottom: 15px;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.cookie-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    section h2 {
        font-size: 28px;
    }

    .philosophy-item,
    .service-card,
    .testimonial-card,
    .process-step,
    .value-card,
    .benefit-card,
    .direction-item,
    .advantage-item,
    .resource-card {
        flex: 1 1 100%;
    }

    .stats-grid {
        gap: 30px;
    }

    .stat-item {
        flex: 1 1 calc(50% - 30px);
    }

    .timeline-item {
        flex-direction: column;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .comparison-table {
        font-size: 14px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }

    .contact-grid {
        flex-direction: column;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .modal-buttons .btn {
        width: 100%;
    }

    .thank-you-actions {
        flex-direction: column;
    }

    .thank-you-actions .btn {
        width: 100%;
    }

    .step-card {
        flex: 1 1 calc(50% - 30px);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    section h2 {
        font-size: 24px;
    }

    .stat-item {
        flex: 1 1 100%;
    }

    .service-detail-card {
        padding: 25px;
    }

    .service-price {
        font-size: 28px;
    }

    .step-card {
        flex: 1 1 100%;
    }
}
