/* General Styles */
:root {
    --primary-blue: #007bff;
    --light-blue: #e0f2ff;
    --dark-blue: #0056b3;
    --text-color: #333;
    --light-text-color: #666;
    --white: #fff;
    --light-gray: #f8f9fa;
    --border-color: #dee2e6;
    --gold: #ffc107;
    --light-gold: #fff8e1;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

a {
    color: var(--primary-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

h1 {
    font-size: 2.8em;
    font-weight: 700;
}

h2 {
    font-size: 2.2em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

h3 {
    font-size: 1.5em;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--dark-blue);
    text-decoration: none;
}

section {
    padding: 80px 0;
    overflow: hidden; /* Clear floats */
}

section:nth-of-type(even) {
    background-color: var(--light-gray);
}

/* Header */
header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
    text-decoration: none;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    background-color: var(--light-blue);
    padding: 100px 0;
    text-align: center;
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero-content h1 {
    color: var(--dark-blue);
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3em;
    color: var(--light-text-color);
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background-color: var(--light-gold);
    text-align: center;
}

.reviews-header {
    margin-bottom: 50px;
}

.rating-overview {
    display: inline-block;
    text-align: center;
}

.rating-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.stars {
    display: flex;
    gap: 3px;
}

.star {
    font-size: 2em;
    color: #ddd;
}

.star.filled {
    color: var(--gold);
}

.star.partial {
    color: var(--gold);
    position: relative;
}

.star.partial::after {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 70%;
    overflow: hidden;
    color: var(--gold);
}

.rating-number {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--dark-blue);
    margin-left: 15px;
}

.total-reviews {
    font-size: 1.1em;
    color: var(--light-text-color);
    margin: 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.review-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-name {
    font-weight: 600;
    color: var(--dark-blue);
    font-size: 1.1em;
}

.review-stars .star {
    font-size: 1.2em;
    color: var(--gold);
}

.review-text {
    color: var(--text-color);
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.5;
}

.review-category {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

/* Quick Guide Section */
.quick-guide-section {
    padding: 80px 0;
    text-align: center;
}

.guide-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.guide-steps .step {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-steps .step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: 700;
    margin: 0 auto 20px auto;
}

.guide-steps .step h3 {
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.guide-steps .step p {
    color: var(--light-text-color);
    font-size: 0.95em;
}

/* For Example Section */
.for-example-section {
    padding: 80px 0;
    background-color: var(--light-blue);
}

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

.example-header {
    text-align: center;
    margin-bottom: 40px;
}

.example-header h2 {
    margin-bottom: 20px;
}

.example-header h3 {
    color: var(--primary-blue);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.example-header p {
    color: var(--light-text-color);
    font-size: 1.1em;
}

.example-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.example-step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.example-step-letter {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: 700;
    flex-shrink: 0;
}

.example-step-content {
    flex: 1;
}

.example-step-content h4 {
    color: var(--dark-blue);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.example-step-content p {
    color: var(--light-text-color);
    margin: 0;
}

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

.example-btn {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 8px;
}

/* About Us Section */
.about-us-section .container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-content {
    flex: 2;
    min-width: 300px;
}

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

.about-content h2::after {
    left: 0;
    transform: translateX(0);
}

.about-content h3 {
    margin-top: 30px;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.about-content p {
    color: var(--light-text-color);
}

.about-images {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-images img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* How it Works Section */
.how-it-works-section {
    background-color: var(--light-gray);
}

.works-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 70px;
    height: 70px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2em;
    font-weight: 700;
    margin: 0 auto 25px auto;
    border: 5px solid var(--light-blue);
}

.step-item h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.step-item p {
    color: var(--light-text-color);
    font-size: 0.95em;
}

/* Why Choose Us Section */
.why-choose-us-section {
    text-align: center;
}

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

.choice-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    border-left: 5px solid var(--primary-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.choice-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.choice-item h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.choice-item p {
    color: var(--light-text-color);
    font-size: 0.95em;
}

/* What We Do Section */
.what-we-do-section {
    background-color: var(--light-gray);
    text-align: center;
}

.what-we-do-section .section-description {
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.1em;
    color: var(--light-text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--primary-blue);
}

.service-item h3 {
    font-size: 1.2em;
    color: var(--dark-blue);
}

/* Contact Us Section */
.contact-us-section {
    text-align: center;
}

.contact-us-section p {
    font-size: 1.1em;
    color: var(--light-text-color);
    max-width: 700px;
    margin: 0 auto 25px auto;
}

.contact-us-section a {
    font-weight: 600;
}

.contact-btn {
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--white);
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--light-blue);
    text-decoration: underline;
}

footer p {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* Mobile Navigation */
.nav-active .nav-links {
    transform: translateX(0%);
}

.nav-active .burger .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.nav-active .burger .line2 {
    opacity: 0;
}
.nav-active .burger .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-content h1 {
        font-size: 2.8em;
    }

    .hero-image {
        order: -1; /* Move image above content on smaller screens */
        margin-bottom: 40px;
    }

    .about-us-section .container {
        flex-direction: column;
        text-align: center;
    }

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

    .about-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .reviews-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .example-steps {
        gap: 25px;
    }

    .example-step {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

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

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.3em;
    }

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

    header .container {
        padding: 0 15px;
    }

    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 60%;
        background-color: var(--dark-blue);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 999;
    }

    .nav-links li {
        margin: 25px 0;
    }

    .nav-links a {
        color: var(--white);
        font-size: 1.2em;
    }

    .nav-links a:hover {
        color: var(--light-blue);
    }

    .burger {
        display: block;
        z-index: 1001;
    }

    .hero-section {
        padding: 80px 0;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    .guide-steps {
        flex-direction: column;
        align-items: center;
    }

    .guide-steps .step {
        max-width: 90%;
    }

    .works-steps {
        grid-template-columns: 1fr;
    }

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

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .about-images {
        margin-top: 30px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rating-stars {
        flex-direction: column;
        gap: 15px;
    }

    .rating-number {
        margin-left: 0;
    }

    .example-step {
        padding: 20px;
    }

    .example-step-content h4 {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }

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

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

    .logo a {
        font-size: 1.5em;
    }

    .footer-links a {
        margin: 0 10px;
        font-size: 0.9em;
    }

    .rating-number {
        font-size: 2em;
    }

    .stars .star {
        font-size: 1.5em;
    }

    .example-step-letter {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
}
