*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#eef9ff;
    overflow-x:hidden;
    color:#222;
}

/* TOP BAR */

.top-bar{
    background:#340e71;
    color:#fff;
    padding:10px 5%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:14px;
}

.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-1454165804606-c3d57bc86b40?q=80&w=1600&auto=format&fit=crop') center/cover;
    padding:100px 5%;
		min-height:55vh;
}

.hero-content{
    max-width:700px;
    color:#fff;
}

.hero-content h1{
    font-size:55px;
    margin-bottom:20px;
}

.hero-content p{
    font-size:18px;
    line-height:1.9;
    margin-bottom:30px;
}

.hero-btn{
    display:inline-block;
    padding:15px 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;
    position:relative;
    z-index:10;
    margin-bottom:60px;
}

.calculator-wrapper{
    display:flex;
    background:#fff;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,0.12);
}

/* LEFT SIDE */

.calc-left{
    width:38%;
    background:linear-gradient(135deg,#0077b6,#00b4d8);
    color:#fff;
    padding:45px;
}

.calc-left h2{
    font-size:38px;
    margin-bottom:20px;
}

.calc-left p{
    line-height:1.9;
    margin-bottom:25px;
}

.feature{
    display:flex;
    align-items:center;
    margin-bottom:22px;
}

.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:20px;
}

/* RIGHT SIDE */

.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 label{
    display:block;
    margin-bottom:8px;
    font-weight:bold;
    color:#0077b6;
}

.input-box input,
.input-box select{
    width:100%;
    padding:15px;
    border:1px solid #d6edf6;
    border-radius:12px;
    outline:none;
    font-size:16px;
}

.input-box input:focus,
.input-box select:focus{
    border-color:#00b4d8;
}

.calculate-btn{
    width:100%;
    margin-top:25px;
    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);
}

/* RESULT */

.result-section{
    margin-top:35px;
}

.result-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.result-card{
    background:#f4fbff;
    border:1px solid #d7edf5;
    border-radius:18px;
    padding:25px;
    text-align:center;
    transition:0.3s;
}

.result-card:hover{
    transform:translateY(-5px);
}

.result-card h4{
    color:#0077b6;
    margin-bottom:12px;
    font-size:16px;
}

.result-card p{
    font-size:28px;
    font-weight:bold;
    color:#340e71;
}

/* ================= BENEFITS SECTION ================= */

.benefits{
    width:90%;
    max-width:1200px;
    margin:60px auto;
    display:flex;
    gap:25px;
    flex-wrap:wrap;
}

.benefit-box{
    flex:1;
    min-width:280px;
    padding:35px 25px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:0.3s;
    color:#fff;
}

/* DIFFERENT COLORS */

.benefit-box:nth-child(1){
    background:linear-gradient(135deg,#0077b6,#00b4d8);
}

.benefit-box:nth-child(2){
    background:linear-gradient(135deg,#2a9d8f,#52b788);
}

.benefit-box:nth-child(3){
    background:linear-gradient(135deg,#f77f00,#fcbf49);
}

.benefit-box:hover{
    transform:translateY(-8px);
}

.benefit-box i{
    width:75px;
    height:75px;
    background:rgba(255,255,255,0.2);
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:auto;
    margin-bottom:20px;
    font-size:28px;
    color:#fff;
}

.benefit-box h3{
    margin-bottom:15px;
    font-size:24px;
    color:#fff;
}

.benefit-box p{
    line-height:1.8;
    font-size:15px;
    color:#fff;
}

/* MOBILE */

@media(max-width:992px){

    .benefits{
        flex-direction:column;
    }

}

/* 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;
    }

    .benefits{
        grid-template-columns:1fr;
    }

    .hero-content h1{
        font-size:40px;
    }

    .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;
    }
}