* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

.hero {
    width: 100%;
    height: 400px;
    background: url('/assets/calcccc.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-content {
    max-width: 700px;
    background: rgba(0, 0, 0, 0.058);
    color: black;
    padding: 30px;
    border-radius: 10px;
}

.hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    background: #ff6b00;
    color: white;
    padding: 12px 25px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #d95a00;
}

/* calculator section  */
.calculators-section {
    padding: 50px 20px;
    text-align: center;
    background: #f9f9f9;
}

.calculators-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.calculator-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: 0.3s;
    text-align: center;
}

.calculator-card:hover {
    transform: scale(1.05);
}

.calculator-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.calculator-content {
    padding: 15px;
}

.calculator-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #444;
}

.calculator-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.calculate-btn {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: 0.3s;
}

.calculate-btn:hover {
    background: #0056b3;
}

/* Info Section  */
.calculator-info-section {
    background-color: #f8f9fa;
    padding: 50px 20px;
    text-align: left;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
}

.info-container h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.info-container p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.info-container h3 {
    font-size: 1.5rem;
    color: #333;
    margin-top: 20px;
}

.info-container ul {
    padding-left: 20px;
}

.info-container ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.faq {
    margin-top: 20px;
}

.faq-title {
    margin-top: 40px;
}

.faq details {
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    border-left: 4px solid #007bff;
}

.faq details summary {
    font-weight: bold;
    color: #00336a;
    font-size: 1.2rem;
}

.faq details p {
    font-size: 1rem;
    color: #444;
    padding: 10px 0;
}


@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn {
        font-size: 16px;
        padding: 10px 20px;
    }

    /* Calc Section  */
    .calculators-section h2 {
        font-size: 28px;
    }

    /* Info section  */
    .info-container h2 {
        font-size: 24px;
    }

    .info-container h3 {
        font-size: 20px;
        margin: 10px 0;
    }

    .info-container p {
        font-size: 16px;
    }

    .info-container ul li {
        font-size: 16px;
    }

    .faq details summary {
        font-size: 18px;
    }
}