/* General Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color-dark: #1f2937;
    --text-color-light: #4b5563;
    --background-light: #f9fafb;
    --background-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --radius: 0.5rem;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.6;
    color: var(--text-color-light);
    background-color: var(--background-light);
    scroll-behavior: smooth;
}

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

section {
    padding: 100px 0;
    position: relative;
}

h1, h2, h3 {
    color: var(--text-color-dark);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

h1 span {
    color: var(--primary-color);
}

h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-color-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--background-white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px var(--shadow-medium);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--background-white);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px var(--shadow-medium);
}

/* Header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-white);
    box-shadow: 0 2px 10px var(--shadow-light);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 15px 0;
}

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

.fixed-header .logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.fixed-header .main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.fixed-header .main-nav ul li a {
    color: var(--text-color-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.fixed-header .main-nav ul li a:hover {
    color: var(--primary-color);
}

.fixed-header .main-nav ul li a.btn-primary {
    color: var(--background-white);
    padding: 10px 20px;
    border-radius: var(--radius);
    background-color: var(--primary-color);
    border: none;
}

.fixed-header .main-nav ul li a.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--background-white);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-color-dark);
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-white);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
}

.mobile-nav ul li {
    margin: 20px 0;
}

.mobile-nav ul li a {
    font-size: 1.5rem;
    color: var(--text-color-dark);
    text-decoration: none;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-white) 100%);
    text-align: center;
    padding-top: 180px;
    padding-bottom: 100px;
}

.hero-section h1 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-color-light);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    background-color: var(--background-white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 5px 15px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-color-light);
}

/* Services Section */
.services-section {
    background-color: var(--background-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 5 5 5 5 auto;
    padding-bottom: 10px;
}

.service-card {
    background-color: var(--background-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 5px 15px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

.service-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 1rem;
    color: var(--text-color-light);
}

/* FAQ Section */
.faq-section {
    background-color: var(--background-light);
}

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

.faq-item {
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-light);
}


.faq-question {
    width: 100%;
    background-color: var(--background-white);
    padding: 25px 25px;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-color-dark);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

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

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #fcfdff;
    border-top: 1px solid var(--border-color);
}

.faq-answer.open {
    max-height: 1000px; /* Adjust as needed */
    padding: 20px 25px 10px;
}

.faq-answer p {
    font-size: 1rem;
    color: var(--text-color-light);
    margin-bottom: 0;
}

/* Blog Section */
.blog-section {
    background-color: var(--background-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-post-card {
    background-color: var(--background-white);
    border-radius: var(--radius);
    box-shadow: 0 5px 15px var(--shadow-light);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

.blog-post-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover img {
    transform: scale(1.05);
}

.blog-post-card .card-content {
    padding: 25px;
}

.blog-post-card .post-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.blog-post-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-post-card h3:hover {
    color: var(--primary-color);
    cursor: pointer;
}

.blog-post-card p {
    font-size: 1rem;
    color: var(--text-color-light);
    margin-bottom: 20px;
}

.blog-post-card .read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.blog-post-card .read-more:hover {
    text-decoration: underline;
}

/* About Section */
.about-section {
    background-color: var(--background-light);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.about-features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 5px;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    padding: 20px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px var(--shadow-medium);
    display: block;
}

.about-image::before {
    content: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    background-color: var(--primary-color);
    border-radius: var(--radius);
    z-index: -1;
    transform: translate(20px, 20px);
}

/* Contact Section */
.contact-section {
    background-color: var(--background-white);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-card {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 2px 8px var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.contact-info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.contact-info-card p {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-color-light);
}

.contact-form-card {
    background-color: var(--background-light);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px var(--shadow-medium);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

.contact-form-card h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group-half {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group-half .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 1rem;
    color: var(--text-color-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--text-color-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-card .btn-primary {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    border-radius: var(--radius);
}

/* Footer */
footer {
    background-color: var(--text-color-dark);
    color: var(--background-white);
    padding: 60px 0 30px 0;
    font-size: 0.95rem;
}

footer h3 {
    color: var(--background-white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

footer h4 {
    color: var(--background-white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

footer p,
footer ul li {
    color: #cbd5e1;
    margin-bottom: 10px;
}

footer ul {
    list-style: none;
}

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

footer ul li a:hover {
    color: var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
    color: #cbd5e1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .fixed-header .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn-primary, .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text h2 {
        text-align: center;
    }

    .about-image::before {
        width: 100%;
        height: 100%;
        transform: translate(0, 0);
    }

    .form-group-half {
        flex-direction: column;
        gap: 0;
    }
   
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .service-card {
        padding: 30px;
    }

    .service-card i {
        font-size: 3rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .blog-post-card .card-content {
        padding: 20px;
    }

    .blog-post-card h3 {
        font-size: 1.2rem;
    }

    .contact-form-card {
        padding: 30px;
    }

    .contact-form-card h3 {
        font-size: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h3, .footer-col h4 {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 80px 0;
    }

    .hero-section {
        padding-top: 150px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .faq-answer.open {
        padding: 15px 20px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

