/* Reset and Base Styles */
/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f5f6f5;
} */

/* Header */
/* header {
    background: #d81c38;
    color: white;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav {
    display: none;
}

nav.active {
    display: block;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #d81c38;
    padding: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0.5rem 1rem;
    display: block;
    font-size: 1rem;
} */

.hamburger {
    font-size: 1.5rem;
    cursor: pointer;
    display: block;
}

.cta-btn {
    background: #f58220;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Checker Section */
.checker {
    padding: 2rem 1rem;
    background: #ffffff;
    margin: 50px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.checker-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.checker h1 {
    font-size: 2rem;
    color: #d81c38;
    margin-bottom: 1rem;
}

.checker p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.input-section {
    margin-bottom: 1.5rem;
}

.input-section label {
    display: block;
    font-size: 1.1rem;
    color: #d81c38;
    margin-bottom: 0.5rem;
    text-align: left;
}

textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
    margin-bottom: 1rem;
}

#checkBtn {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

/* Progress Bar Animation */
.animation {
    margin-top: 2rem;
}

.animation.hidden {
    display: none;
}

#animationText {
    font-size: 1.3rem;
    color: #d81c38;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeText 1s infinite alternate;
}

@keyframes fadeText {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.progress-bar {
    width: 100%;
    max-width: 600px;
    height: 20px;
    background: #f5f6f5;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.progress {
    width: 0;
    height: 100%;
    background: #f58220;
    transition: width 0.1s linear;
}

/* Confetti Animation */
.confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confetti 2s linear infinite;
}

@keyframes confetti {
    0% { transform: translateY(0) rotate(0); }
    100% { transform: translateY(100vh) rotate(360deg); }
}

/* Results */
.results {
    margin-top: 2rem;
    text-align: left;
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.results.hidden {
    display: none;
}

.results h2 {
    font-size: 1.8rem;
    color: #d81c38;
    margin-bottom: 1rem;
}

.results p {
    font-size: 1rem;
    margin: 0.5rem 0;
}

/* Footer */
footer {
    background: #d81c38;
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
}

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

footer a {
    color: #f58220;
    text-decoration: none;
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* Media Queries */
@media (min-width: 768px) {
    nav {
        display: flex;
        position: static;
        background: none;
        padding: 0;
    }

    nav a {
        margin: 0 1rem;
        display: inline;
    }

    .hamburger {
        display: none;
    }

    .checker h1 {
        font-size: 2.5rem;
    }
}

/* Media Queries for Scaling Down */
 /* Mobile styles */
@media (max-width: 480px) {
    .checker {
        padding: 2rem 1rem;
        background: rgb(255, 255, 255);
        margin: 22px;
        width: 350px;
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.checker h1 {
    font-size: 1.5rem;
}}

/* Introduction */

/* IELTS Writing Checker Section */
.writing-checker {
    background: #ffffff;
    padding: 2rem 1rem;
}

.writing-checker-container {
    max-width: 1200px;
    margin: 0 auto;
}

.writing-checker h1 {
    font-size: 2rem;
    color: #d81c38;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.writing-checker p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.writing-checker .disclaimer {
    font-size: 0.95rem;
    color: #333;
    background: #f5f6f5;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 2rem;
}

.writing-why, .writing-how-to-use, .writing-features, .writing-sample, .writing-trends, .writing-tips, .writing-cta {
    margin-bottom: 2rem;
}

.writing-checker h2 {
    font-size: 1.6rem;
    color: #d81c38;
    margin-bottom: 1rem;
    text-align: center;
}

.features-list, .steps-list, .feedback-list {
    list-style: none;
    padding-left: 0;
}

.features-list li, .steps-list li, .feedback-list li {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.features-list li:before, .feedback-list li:before {
    content: '\f058'; /* FontAwesome check-circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #f58220;
    position: absolute;
    left: 0;
    top: 2px;
}

.steps-list li:before {
    content: counter(step) '.'; /* Numbered list */
    counter-increment: step;
    color: #f58220;
    position: absolute;
    left: 0;
    font-weight: 700;
}

.steps-list {
    counter-reset: step;
}

.writing-sample blockquote {
    font-size: 1rem;
    color: #333;
    background: #f5f6f5;
    padding: 1rem;
    border-left: 4px solid #f58220;
    margin: 1rem 0;
    border-radius: 5px;
}

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

.writing-cta p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.writing-cta .cta-btn {
    background: #f58220;
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .writing-checker h1 {
        font-size: 2.5rem;
    }

    .writing-checker h2 {
        font-size: 1.8rem;
    }

    .features-list, .feedback-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .steps-list {
        max-width: 600px;
        margin: 0 auto;
    }

    .writing-cta .cta-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

@media (min-width: 1024px) {
    .writing-checker {
        padding: 3rem 1rem;
    }

    .writing-checker h1 {
        font-size: 3rem;
    }
}