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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Homepage-specific spacing for brand name */
.home .nav-logo h2 {
    word-spacing: 0.25em;
    letter-spacing: 0.02em;
}

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

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #2c5282;
    font-size: 1.8rem;
    font-weight: 700;
}

/* Optional logo image next to brand name */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img.brand-logo {
    height: 36px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2c5282;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2c5282;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c5282;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    padding: 80px 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #4299e1, #2c5282);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #2c5282;
    color: white;
}

.btn-primary:hover {
    background: #2a4a7c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 82, 130, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #2c5282;
    border: 2px solid #2c5282;
}

.btn-secondary:hover {
    background: #2c5282;
    color: white;
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #fff;
}

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

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #f7fafc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    margin-bottom: 1rem;
}

.icon-placeholder {
    width: 60px;
    height: 60px;
    background: #2c5282;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #4a5568;
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
    background: #f7fafc;
}

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

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.4rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.service-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.service-link {
    color: #2c5282;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #2a4a7c;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c5282, #4299e1);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

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

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

/* Page Header */
.page-header {
    margin-top: 70px;
    padding: 60px 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #4a5568;
}

/* Services Detailed */
.services-detailed {
    padding: 80px 0;
}

.service-detail {
    margin-bottom: 4rem;
}

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

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

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

.service-text h2 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.service-text p {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #4a5568;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

.service-pricing {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #2c5282;
}

.service-pricing p {
    margin: 0;
    font-size: 1.1rem;
    color: #4a5568;
}

.service-pricing p strong {
    color: inherit;
}

.service-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #4299e1, #2c5282);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Process Steps */
.service-process {
    padding: 80px 0;
    background: #f7fafc;
}

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

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

.step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.step h3 {
    font-size: 1.3rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.step p {
    color: #4a5568;
}

/* About Page Styles */
.about-story {
    padding: 80px 0;
}

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

.story-text h2 {
    font-size: 2.2rem;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.story-text p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.story-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #4299e1, #2c5282);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Values Section */
.values {
    padding: 80px 0;
    background: #f7fafc;
}

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

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.value-card h3 {
    font-size: 1.3rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.value-card p {
    color: #4a5568;
}

/* Team Section */
.team {
    padding: 80px 0;
}

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

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

.team-member {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.member-photo {
    margin-bottom: 1.5rem;
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #4299e1, #2c5282);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-weight: 600;
}

.member-info h3 {
    font-size: 1.4rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.member-title {
    color: #2c5282;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-info p {
    color: #4a5568;
}

/* Certifications */
.certifications {
    padding: 80px 0;
    background: #f7fafc;
}

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

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

.cert-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cert-item h3 {
    font-size: 1.3rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.cert-item p {
    color: #4a5568;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

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

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

.testimonial {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #2c5282;
}

.testimonial p {
    color: #4a5568;
    font-style: italic;
    margin-bottom: 1rem;
}

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

/* Contact Form */
.contact-section {
    padding: 80px 0;
}

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

.contact-form-container h2 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 2rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    color: #1a202c;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-helper {
    font-size: 0.9rem;
    color: #718096;
    margin-top: 0.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5282;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Legal notes / consent language */
.legal-note {
    background: #f7fafc;
    border-left: 4px solid #2c5282;
    padding: 1rem;
    border-radius: 8px;
    color: #4a5568;
}

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

.contact-card {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
}

.contact-card h3 {
    font-size: 1.3rem;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 1rem;
}

.contact-item strong {
    color: #2c5282;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #4a5568;
    margin: 0;
}

.response-times {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.response-item {
    color: #4a5568;
    font-size: 0.9rem;
}

.next-steps {
    color: #4a5568;
    padding-left: 1rem;
}

.next-steps li {
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f7fafc;
}

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

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    font-size: 1.2rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #4a5568;
}

/* Resources Page */
.resources-content {
    padding: 80px 0;
}

.resource-category {
    margin-bottom: 4rem;
}

.resource-category h2 {
    font-size: 2.2rem;
    color: #1a202c;
    margin-bottom: 2rem;
    border-bottom: 3px solid #2c5282;
    padding-bottom: 0.5rem;
}

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

.resource-card {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #2c5282;
}

.resource-card h3 {
    font-size: 1.3rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

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

.resource-list {
    list-style: none;
    color: #4a5568;
}

.resource-list li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.resource-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2c5282;
    font-weight: bold;
}

.resource-cta {
    background: linear-gradient(135deg, #2c5282, #4299e1);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

.resource-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

/* Legal Pages */
.legal-content {
    padding: 80px 0;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-text h2 {
    font-size: 1.8rem;
    color: #1a202c;
    margin: 2rem 0 1rem 0;
}

.legal-text h3 {
    font-size: 1.3rem;
    color: #2c5282;
    margin: 1.5rem 0 0.5rem 0;
}

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

.legal-text ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-text li {
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.contact-info {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4299e1;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.footer-section p {
    color: #cbd5e0;
    margin-bottom: 0.5rem;
}

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

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

.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4299e1;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #cbd5e0;
    margin: 0;
}

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

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

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

    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

    .features h2,
    .services-preview h2,
    .cta-content h2 {
        font-size: 2rem;
    }
}

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

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .features h2,
    .services-preview h2 {
        font-size: 1.8rem;
    }

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

    .container {
        padding: 0 15px;
    }
}
