/* Timer Section */
.timer-section {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.timer-title {
    text-align: center;
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: #d81c38;
    margin-bottom: 1.5rem;
}

.timer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timer-box {
    text-align: center;
}

.timer-display {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 700;
    padding: 1rem;
    border-radius: 5px;
    transition: color 0.5s ease;
}

.timer-label {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #d81c38;
    margin-bottom: 1rem;
}

.time-setter {
    margin: 1rem 0;
}

.time-setter input {
    padding: 0.5rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    border-radius: 5px;
    border: 1px solid #d81c38;
    width: 80px;
}

.controls {
    margin-top: 1rem;
}

.control-btn {
    background: #d81c38;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 0.5rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: background 0.3s ease;
}

.control-btn:hover {
    background: #f58220;
}

/* Responsive Design */
@media (min-width: 768px) {
    .timer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .timer-box {
        flex: 1;
    }

    .timer-section {
        padding: 2rem;
    }

    .time-setter input {
        width: 100px;
    }
}

@media (max-width: 767px) {
    .container {
        margin: 1rem auto;
        padding: 0.5rem;
    }

    .timer-section {
        padding: 1rem;
    }

    .timer-title {
        margin-bottom: 1rem;
    }

    .controls {
        display: flex;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .time-setter input {
        width: 60px;
    }

    .control-btn {
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 600px) {
    /* Calculator Container */
    .timer-section {
        margin: 1rem;
        padding: 1rem;
        width: 90vw;
    }}

    /* Introduction */

    /* IELTS Speaking Timer Section */
.speaking-timer {
    background: #ffffff;
    padding: 2rem 1rem;
}

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

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

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

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

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

.speaking-timer 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;
}

.speaking-sample .feedback-list {
    background: #f5f6f5;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
}

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

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

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

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

    .speaking-timer 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;
    }

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

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

    .speaking-timer h1 {
        font-size: 3rem;
    }
}