  body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 20px;
            line-height: 1.6;
             overflow-x: hidden; 
        }
.social{
    justify-content: center;
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
}
.social a span{
    display: none;
}
        header {
            background: linear-gradient(90deg, #ff7e5f, #feb47b);
            color: #fff;
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
        }

        header a {
            color: #fff;
            text-decoration: none;
            margin: 0 10px;
            font-size: 16px;
        }

        header a.active {
            font-weight: bold;
            border-bottom: 2px solid #fff;
        }

        header a:hover {
            text-decoration: underline;
        }
  
 .logo img {
            height: 40px;
            margin-right: 10px;
        }
        .banner {
            position: relative;
            overflow: hidden;
        }

        .banner img {
            width: 100%;
            height: 500px;
            object-fit: cover;
        }

        .banner-slider {
            position: relative;
        }

        .banner-slider img {
            display: none;
        }

        .banner-slider img.active {
            display: block;
        }

        .slider-controls {
            position: absolute;
            top: 50%;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
        }

        .slider-controls i {
            background: rgba(0, 0, 0, 0.5);
            color: #fff;
            padding: 10px;
            border-radius: 50%;
            cursor: pointer;
        }

        .slider-indicators {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
        }

        .slider-indicators span {
            width: 10px;
            height: 10px;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            margin: 0 5px;
            cursor: pointer;
        }

        .slider-indicators span.active {
            background: #fff;
        }

        section {
            padding: 20px 20px;
            text-align: center;
        }

        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 20px;
        }

        .gallery img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        footer {
            background: #333;
            color: #fff;
            padding: 10px 20px;
            text-align: center;
        }

        .ads-section {
            margin: 30px 0;
            text-align: center;
            background: #f4f4f4;
            padding: 20px;
            border: 1px dashed #aaa;
        }

        nav {
    margin-right: 100px;

            display: flex;
            justify-content: center;
        }

        nav a {
            margin: 0 6px;
            color: #fff;
            text-decoration: none;
        }

        nav a:hover {
            text-decoration: underline;
        }
   iframe {
            width: 100%;
            max-width: 560px;
            height: 315px;
        }
        @media (max-width: 768px) {
            nav a {
                font-size: 10px;
            }

            .banner img {
                height: 250px;
            }
 iframe {
                height: auto;
                aspect-ratio: 16 / 9;
            }
 .logo img {
            width: 25px;
 height: auto;
            margin-right: 10px;
        }
        }
 .page-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the top */
     width: 100%; /* Adjust based on your design */

}

/* Left and Right Ads */
.ad-left,
.ad-right {
    width: 300px; /* Adjust based on your ad size */
    margin: 0 10px; /* Add some spacing */
}

/* Main Container */
.container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
    text-align: center;
    flex-grow: 1; /* Allow container to take remaining space */
}
        h1 {
            color: #333;
            margin-bottom: 20px;
        }
        .calculator {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            flex-wrap: wrap;
        }
        .input-section, .result-section {
            flex: 1;
            margin: 10px;
            padding: 20px;
            background: #f1f1f1;
            border-radius: 8px;
        }
        .input-section h2, .result-section h2 {
            margin-bottom: 15px;
            color: #555;
        }
        .input-group {
            margin-bottom: 15px;
            text-align: left;
        }
        .input-group label {
            display: block;
            margin-bottom: 5px;
            color: #333;
        }
        .input-group input, .input-group select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 16px;
        }
        .input-group input:focus, .input-group select:focus {
            border-color: #28a745;
            outline: none;
        }
        .btn {
            width: 100%;
            padding: 10px;
            background-color: #28a745;
            color: #fff;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
        }
        .btn:hover {
            background-color: #218838;
        }
        .result-section {
            background: #e9f5ff;
        }
        .result {
            font-size: 18px;
            font-weight: bold;
            color: #333;
        }
        .graph {
            margin-top: 20px;
            width: 100%;
            text-align: center;
        }
        .ads {
            margin-top: 20px;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
        }
        .ad-block {
            width: 48%;
            height: 100px;
            background-color: #e9ecef;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            color: #6c757d;
        }
    </style>
 <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f9f9f9;
            margin: 0;
            padding: 20px;
            line-height: 1.6;
        }
        h1, h2, h3 {
            color: #333;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
        }
        table, th, td {
            border: 1px solid #ccc;
        }
        th, td {
            text-align: center;
        }
        th {
            background-color: #f1f1f1;
        }
        .chart {
            background-color: #fff;
            padding: 15px;
            border: 1px solid #ccc;
            margin: 20px 0;
        }
        .formula {
            font-size: 18px;
            font-weight: bold;
            margin: 20px 0;
        }
        .note {
            font-style: italic;
            color: #555;
        }