*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#eef9ff;
    color:#222;
    overflow-x:hidden;
}

/* ================= HEADER ================= */

.top-bar{
    background:#340e71;
    color:#fff;
    padding:10px 5%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:14px;
}

.top-bar i{
    margin-right:8px;
    color:#fff;
}

.social-icons a{
    color:#fff;
    margin-left:15px;
    transition:0.3s;
}

.social-icons a:hover{
    color:#4cc9f0;
}

/* ================= HERO ================= */

.hero{
    width:100%;
    background:linear-gradient(rgba(0,53,102,0.82), rgba(0,53,102,0.82)),
    url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?q=80&w=1600&auto=format&fit=crop') center/cover;
    padding:90px 5%;
	min-height:45vh;
}

.hero-content{
    max-width:700px;
    color:#fff;
}

.hero-content h1{
    font-size:55px;
    margin-bottom:20px;
    line-height:1.2;
}

.hero-content p{
    font-size:18px;
    line-height:1.9;
    margin-bottom:30px;
}

.hero-btn{
    display:inline-block;
    padding:14px 35px;
    background:#00b4d8;
    color:#fff;
    text-decoration:none;
    border-radius:40px;
    font-weight:bold;
    transition:0.3s;
}

.hero-btn:hover{
    background:#0096c7;
}

/* ================= CALCULATOR ================= */

.calculator-section{
    width:90%;
    max-width:1200px;
    margin:auto;
    margin-top:-70px;
    margin-bottom:60px;
    position:relative;
    z-index:10;
}

.calculator-wrapper{
    display:flex;
    background:#fff;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,0.12);
}

/* LEFT */

.calc-left{
    width:38%;
    background:linear-gradient(135deg,#0077b6,#00b4d8);
    color:#fff;
    padding:45px;
    position:relative;
}

.calc-left h2{
    font-size:38px;
    margin-bottom:20px;
}

.calc-left p{
    line-height:1.9;
    margin-bottom:25px;
    font-size:16px;
}

.feature-box{
    margin-top:25px;
}

.feature{
    display:flex;
    align-items:center;
    margin-bottom:20px;
}

.feature i{
    width:50px;
    height:50px;
    background:rgba(255,255,255,0.2);
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    margin-right:15px;
    font-size:18px;
}

/* RIGHT */

.calc-right{
    width:62%;
    padding:45px;
}

.calc-right h3{
    font-size:32px;
    margin-bottom:30px;
    color:#340e71;
}

.input-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.input-box{
    margin-bottom:10px;
}

.input-box label{
    display:block;
    margin-bottom:8px;
    font-weight:bold;
    color:#0077b6;
}

.input-box input{
    width:100%;
    padding:15px;
    border:1px solid #cfe8f3;
    border-radius:12px;
    outline:none;
    font-size:16px;
    transition:0.3s;
}

.input-box input:focus{
    border-color:#00b4d8;
}

.calculate-btn{
    width:100%;
    margin-top:20px;
    padding:18px;
    border:none;
    border-radius:15px;
    background:linear-gradient(135deg,#0077b6,#00b4d8);
    color:#fff;
    font-size:18px;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
}

.calculate-btn:hover{
    transform:translateY(-2px);
}

/* RESULTS */

.result-section{
    margin-top:35px;
}

.result-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.result-card{
    background:#f5fcff;
    padding:25px;
    border-radius:18px;
    text-align:center;
    border:1px solid #d8f0f8;
    transition:0.3s;
}

.result-card:hover{
    transform:translateY(-5px);
}

.result-card h4{
    color:#0077b6;
    margin-bottom:12px;
    font-size:17px;
}

.result-card p{
    font-size:28px;
    font-weight:bold;
    color:#340e71;
}

/* INFO */

.info-section{
    width:90%;
    max-width:1200px;
    margin:50px auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.info-box{
    background:#fff;
    border-radius:20px;
    padding:35px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,0.06);
    transition:0.3s;
}

.info-box:hover{
    transform:translateY(-8px);
}

.info-box i{
    width:75px;
    height:75px;
    background:linear-gradient(135deg,#0077b6,#00b4d8);
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:auto;
    margin-bottom:20px;
    font-size:28px;
}

.info-box h3{
    margin-bottom:15px;
    color:#340e71;
}

.info-box p{
    line-height:1.8;
    color:#555;
}

/* FOOTER */

.footer{
    background:#340e71;
    color:#fff;
    text-align:center;
    padding:25px;
    margin-top:50px;
}

/* MOBILE */

@media(max-width:992px){

    .calculator-wrapper{
        flex-direction:column;
    }

    .calc-left,
    .calc-right{
        width:100%;
    }

    .input-grid{
        grid-template-columns:1fr;
    }

    .result-grid{
        grid-template-columns:1fr;
    }

    .info-section{
        grid-template-columns:1fr;
    }

    .hero-content h1{
        font-size:38px;
    }

    .calculator-section{
        margin-top:30px;
    }
}

@media(max-width:600px){

    .top-bar{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }

    .hero{
        padding:70px 5%;
    }

    .hero-content h1{
        font-size:32px;
    }

    .hero-content p{
        font-size:16px;
    }

    .calc-left,
    .calc-right{
        padding:30px 20px;
    }

    .calc-left h2{
        font-size:30px;
    }

    .calc-right h3{
        font-size:28px;
    }
}