body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

.calculator-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
    
}

.calculator-section {
    width: 65%;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 150px;
}

.form-section {
    width: 35%;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 150px;
}

h1, h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

button {
    width: 100%;
    padding: 10px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

button:hover {
    background-color: #f0ad4e;
}

.error-message {
    color: red;
    display: none;
}


.result-section {
    margin-top: 20px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}


/* Header Section */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background-color: #fff;
    border-bottom: 2px solid #ddd;
}

.header-container .logo img {
    width: 120px;
    height: auto;
}

.header-container .company-name h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    text-align: center;
}

.header-container .menu {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.header-container .menu p {
    font-size: 1rem;
    font-weight: bold;
    margin-right: 10px;
}



.result-section {
    display: none;
    margin-top: 20px;
    background-color: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.result-section.active {
    display: block;
}



/* Our Company Page: Social Icons Styling */
.our-com-social-icons {
    display: flex;
    gap: 15px; /* Space between icons */
    align-items: center;
    justify-content: flex-start; /* Align to left */
    margin-left: -750px; /* Adjust if placed under the logo */
}

.our-com-social-icons i {
    font-size: 1.5rem;
    color: #333; /* Default icon color */
    cursor: pointer;
    transition: color 0.3s ease;
}

.our-com-social-icons i:hover {
    color: #f0ad4e; /* Hover color */
}


/* Menu Icon */
.menu-icon {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between the text and the icon */
    cursor: pointer;
}


/* Add hover effects for the menu icon */
.menu-icon a i:hover {
    color: #f0ad4e; /* Change color on hover */
    transform: scale(1.2); /* Slightly enlarge icon on hover */
}


/* Responsive Design */
@media (max-width: 768px) {
    .calculator-container {
        flex-direction: column; /* Stack elements vertically */
    }

    .calculator-section{
        width: 100%; /* Take full width of the screen */
        margin-top: 220px; /* Reduce top margin for mobile */

    }


    .form-section {
        width: 100%; /* Take full width of the screen */
        margin-top: 20px; /* Reduce top margin for mobile */
    }

    .header-container {
        flex-direction: column; /* Stack logo and menu vertically */
        text-align: center;
    }

    .header-container .menu {
        justify-content: center; /* Center-align menu */
    }

    .our-com-social-icons {
        justify-content: center; /* Center-align social icons */
        margin-left: 0; /* Reset left margin */
    }

    h1, h2 {
        font-size: 1.2rem; /* Reduce font size for headings */
    }

    button {
        font-size: 0.9rem; /* Adjust button font size */
    }
}

@media (max-width: 480px) {
    .header-container .logo img {
        width: 100px; /* Scale down logo */
    }

    input, select, textarea {
        font-size: 0.9rem; /* Adjust font size for form fields */
    }

    button {
        font-size: 0.8rem; /* Further adjust button font size */
    }
}


.site-footer {
    background-color: #1a1a1a;
    color: white;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.footer-section h3 {
    font-size: 18px;
    color: #f0ad4e;
    margin-bottom: 10px;
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    color: white;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-section a:hover {
    text-decoration: underline;
    color: #f0ad4e;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
}

.footer-logo h4 {
    font-size: 20px;
    margin: 5px 0;
}

.footer-logo h5 {
    font-size: 16px;
    color: #f0ad4e;
    margin: 0;
}

.footer-note {
    font-size: 12px;
    color: #ccc;
    margin: 15px 0;
}

.footer-note a {
    color: #f0ad4e;
    text-decoration: none;
}

.footer-note a:hover {
    text-decoration: underline;
}

.footer-logos img {
    width: 50px;
    margin: 0 10px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        text-align: center;
    }
}
