/* Tool Container */
.calculator-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    max-width: 500px; /* Matches your container philosophy, adjustable */
    margin: 2rem auto; /* Centers it like your other sections */
    transition: transform 0.3s ease;
}

/* Hover effect to match tool-card */
.calculator-container:hover {
    transform: translateY(-5px);
}

/* Heading */
.calculator-container h1 {
    font-size: 1.8rem;
    color: #d81c38; /* Matches your red theme */
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

/* Label Styling */
.calculator-container label {
    display: block;
    font-size: 1rem;
    color: #333; /* Matches body text */
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

/* Select Dropdown Styling */
.calculator-container select {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    color: #333;
    background: #f5f6f5; /* Matches your body background */
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    outline: none;
    margin-bottom: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

/* Hover and Focus Effects */
.calculator-container select:hover,
.calculator-container select:focus {
    border-color: #f58220; /* Matches your orange CTA */
}

/* Custom Dropdown Arrow */
.calculator-container select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23d81c38' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

/* Result Box */
#result {
    background: #d81c38; /* Matches header/footer */
    color: #fff;
    font-size: 1.1rem;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1.5rem;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: background 0.3s ease;
}

/* Hover Effect for Result */
#result:hover {
    background: #f58220; /* Switches to orange on hover */
}


/* mediaQuieries */

@media (max-width:600px) {
    .calculator-container{
        margin: 20px;
        width: 90vw;

    }
    
}

/* Introduction */

/* IELTS Exam Cost Calculator Section */
.cost-calculator {
    background: #ffffff;
    padding: 2rem 1rem;
}

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

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

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

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

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

.cost-calculator 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;
}

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

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

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

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

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

    .cost-calculator 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;
    }

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

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

    .cost-calculator h1 {
        font-size: 3rem;
    }
}