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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F3F4F6;
}

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

header {
    background-color: #1E3A8A;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 60px; /* Increased minimum height to fit larger logo */
    overflow: visible; /* Allow content to show */
}

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

.logo a {
    text-decoration: none;
}

.logo img {
    height: 45px; /* Increased logo height for better visibility */
    width: auto; /* Maintain aspect ratio */
    cursor: pointer;
    transition: transform 0.3s;
    max-width: 150px; /* Allow larger logos */
}

.logo img:hover {
    transform: scale(1.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    transition: color 0.3s;
}

/* Navigation styles */
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem; /* Slightly reduced gap to show more items */
    flex-shrink: 0;
    flex-wrap: nowrap; /* Prevent wrapping to keep them visible */
}

nav a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
    font-weight: 500;
}

nav a:hover {
    color: #FBBF24;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    border-radius: 4px;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: #64748b;
    transition: 0.3s;
}

.hero {
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    color: white;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center; /* Better centering for all content */
    text-align: center; /* Center all text */
    gap: 2rem;
    flex-wrap: wrap;
    min-height: 50vh;
}

.hero-content {
    flex: 1;
    max-width: 800px; /* Increased width for better use of space */
    text-align: center; /* Ensure centered text */
    margin: 0 auto; /* Center the content */
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-visual {
    flex: 1;
    max-width: 500px;
    min-height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    text-align: center;
}

.primary {
    background-color: #10b981;
    color: white;
}

.primary:hover {
    background-color: #059669;
}

.secondary {
    background-color: #FBBF24;
    color: #1E3A8A;
    border: 2px solid #FBBF24;
}

.secondary:hover {
    background-color: #D97706;
    border-color: #D97706;
}

.overview {
    padding: 2rem 0;
    background-color: #F3F4F6;
}

main {
    min-height: calc(100vh - 120px);
}

h1 {
    color: #1e293b;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}

h2 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-align: center;
}

h3 {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-align: center;
}

h4, h5, h6 {
    color: #1e293b;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

/* Add subtle animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-content > * {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}
/* Stagger animations for hero content */
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }

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

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

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #2563eb;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    margin-top: 1rem;
}

.service-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    padding: 2rem;
    background-color: #f1f5f9;
    border-radius: 8px;
}

.contact-info h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.blog-posts {
    margin: 3rem 0;
}

.blog-post {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Enhanced Blog Styles */
.blog-intro {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.blog-post.featured {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    overflow: hidden;
}

.blog-header {
    padding: 2rem 2rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.blog-header h2 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.blog-meta span {
    display: inline-block;
    background-color: #f1f5f9;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.blog-tag {
    background-color: #dbeafe !important;
    color: #2563eb !important;
}

.blog-content {
    padding: 0 2rem 2rem;
}

.blog-image {
    margin: 2rem 0;
    text-align: center;
}

.blog-image i {
    margin-right: 0.5rem;
}

.hero-visual-ai {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #ffd2de 75%, #84fab0 100%);
    height: 350px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(103, 126, 234, 0.3);
}

.ai-visual-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-visual-ai i {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.ai-visual-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.ai-visual-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.ai-stats-overlay {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ai-stat-pill {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.ai-stat-pill:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.3);
}

.blog-intro-quote {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    position: relative;
    border-left: 4px solid #10b981;
}

.quote-mark {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    color: #10b981;
    opacity: 0.3;
    line-height: 1;
}

.quote-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #374151;
    margin: 0 0 0.5rem 3rem;
    line-height: 1.4;
}

.quote-author {
    color: #10b981;
    font-weight: 500;
    margin-left: 3rem;
    text-align: right;
    font-size: 0.9rem;
}

.section-divider {
    text-align: center;
    margin: 3rem 0;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #10b981, transparent);
}

.divider-icon {
    background: #10b981;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.featured-stats {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin: 3rem 0;
    border: 2px solid #0ea5e9;
    position: relative;
}

.featured-stats::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    border-radius: 15px;
    z-index: -1;
}

.featured-stats h4 {
    color: #0ea5e9;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.4rem;
}

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

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0f2fe;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    background: linear-gradient(135deg, #10b981, #0ea5e9);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}

.stat-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.blog-content h3 {
    border-bottom: 3px solid #10b981;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.blog-content h3 i {
    margin-right: 0.5rem;
}

.blog-content h4 {
    border-left: 4px solid #10b981;
    padding-left: 1rem;
    margin: 2.5rem 0 1rem 0;
    font-size: 1.25rem;
}

.blog-content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.blog-content strong {
    color: #1e293b;
    font-weight: 600;
}

.highlight-box {
    background-color: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.highlight-box h4 {
    margin-top: 0;
    color: #0ea5e9;
}

.cta-box {
    background: linear-gradient(135deg, #1e293b 0%, #374151 100%);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
    text-align: center;
}

.cta-box h4 {
    margin-bottom: 1rem;
    color: white;
}

.blog-footer {
    background-color: #f8fafc;
    padding: 1.5rem;
    margin: 2rem -2rem -2rem;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
}

.blog-insights {
    margin-top: 3rem;
}

.insights-header {
    text-align: center;
    margin-bottom: 2rem;
}

.insights-header h3 {
    color: #1e293b;
    font-size: 1.4rem;
}

.insights-header i {
    color: #10b981;
    margin-right: 0.5rem;
}

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

.insight-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.insight-icon {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.insight-content h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.insight-content p {
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.quote-tag {
    font-size: 0.9rem;
    color: #10b981;
    font-weight: 500;
    margin-left: 3rem;
    margin-top: 0.5rem;
}

.blog-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-size: 1rem;
}

.cta-section {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background-color: #F3F4F6;
    border-radius: 8px;
}

.map-placeholder {
    margin-top: 1rem;
    padding: 2rem;
    background-color: #e2e8f0;
    border-radius: 4px;
    text-align: center;
    color: #64748b;
}

footer {
    background-color: #1e293b;
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 20px;
}

.footer-section h4 {
    color: #10b981;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

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

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #10b981;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #374151;
    color: #cbd5e1;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: #10b981;
    color: white;
    transform: translateY(-2px);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #374151;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0.5rem 20px;
    }

    .logo img {
        height: 30px;
    }

    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    nav ul li {
        flex: 1;
        text-align: center;
        min-width: 100px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
    }

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

    .hero h2 {
        font-size: 1.25rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .service-card {
        padding: 1.5rem;
    }

    .blog-post {
        padding: 1.5rem;
    }

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

/* Tablet responsive adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    nav ul {
        gap: 1.5rem;
        flex-shrink: 1;
    }

    .logo img {
        height: 35px;
    }

    nav ul li {
        font-size: 0.9rem;
    }

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

    .hero h2 {
        font-size: 1.25rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
