@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(to bottom right, #C96868, #FADFA1); /* Gradient background */
}

.container {
    max-width: 600px; /* Reduced width */
    width: 100%;
    background-color: #FFFFFF; /* White background for the container */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 30px; /* Reduced padding */
    border: 2px solid #7EACB5; /* Border color changed */
}

h1 {
    text-align: center;
    color: #1c0f30; /* Heading color */
}

/* Calculator Links */
.calculator-link {
    display: block;
    text-align: center;
    padding: 12px; /* Reduced padding */
    margin: 10px 0; /* Reduced margin */
    background-color: #EB8317; /* Button color */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.calculator-link:hover {
    background-color: #F3C623; /* Button hover color */
}

/* Footer Styles */
footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.footer {
    margin-top: 60px;
    background-color: #FADFA1; /* Footer background color */
    color: #000;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

.footer .footer-links {
    font-family: 'Poppins', sans-serif; /* Ensure consistent font */
    color: #e2e8f0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
}

.footer .footer-links a {
    color: #000; /* Black link color */
    text-decoration: none;
}

.footer .footer-links a:hover {
    color: #333; /* Darker shade on hover */
    text-decoration: underline;
}

.footer a {
    color: #F3C623;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0px 0px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.footer p {
    font-family: 'Poppins', sans-serif; /* Ensure consistent font */
    font-size: 1rem;
    margin-bottom: 15px;
}

/* Social Icons Container */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.social-icons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons img.social-img {
    width: 35px; /* Adjusted social icon size */
    height: 35px; /* Adjusted social icon size */
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-name {
    font-family: 'Poppins', sans-serif; /* Ensure consistent font */
    margin-top: 5px;
    font-size: 14px;
    color: #333;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
    color: #F3C623;
}

.social-icons a:hover .social-name {
    color: #EB8317;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 20px; /* Reduce padding on smaller screens */
    }
    h1 {
        font-size: 1.5rem; /* Adjust heading size */
    }
    .calculator-link {
        padding: 10px; /* Adjust button padding */
    }
    .footer p {
        font-size: 0.9rem; /* Reduce footer text size */
    }
}

