/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

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

/* Header Styles */
header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
}

header h1 {
    text-align: center;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

nav ul li a:hover {
    background: #555;
    border-radius: 5px;
}

/* Main Section Styles */
.hero {
    text-align: center;
    padding: 2rem 0;
    background: #007bff;
    color: #fff;
    margin-bottom: 2rem;
}

.hero h2 {
    font-size: 2.5rem;
}

.hero h1 {
    font-size: 2.7rem;
}
.hero p {
    margin: 1rem 0;
    font-size: 1.2rem;
}

.cta-button {
    background: #333;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #555;
}

section {
    margin-bottom: 2rem;
}







.description {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.description h1 {
    text-align: center;
    margin-bottom: 1.6rem;
}

.description h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.description p, .description ul {
    font-size: 1.1rem;
    line-height: 1.8;
}

.description ul {
    margin-top: 1rem;
}

.description li {
    margin-bottom: 0.5rem;
}













.features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.feature {
    flex: 1;
    min-width: 250px;
    background: #fff;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    margin-bottom: 1rem;
}

/* Calculator Styles */
.calculator {
    max-width: 400px;
    margin: 0 auto;
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.display {
    width: 100%;
    background: #222;
    color: #fff;
    text-align: right;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.display input {
    width: 100%;
    border: none;
    background: none;
    color: #fff;
    font-size: 2rem;
    text-align: right;
}

.buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 1rem;
    font-size: 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: #0056b3;
}

.operator {
    background: #333;
}

.operator:hover {
    background: #555;
}

.clear {
    background: #ff3b30;
}

.clear:hover {
    background: #cc2a1f;
}

.equals {
    background: #34c759;
    grid-column: span 2;
}

.equals:hover {
    background: #28a745;
}

/* Footer Styles */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}




/* Responsive Design */
@media (max-width: 560px) {

    .btn {
       font-size: 1.1rem;
       padding: 0.1rem;
    }
}