/* ===========================
   TruNet Landing Page
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f6f8fc;
    color:#222;
    line-height:1.7;
}

img{
    max-width:100%;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* HEADER */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#fff;
    z-index:999;
    box-shadow:0 3px 15px rgba(0,0,0,.08);
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo h2{
    color:#0d6efd;
    font-weight:700;
}

nav ul{
    display:flex;
    gap:30px;
}

nav a{
    color:#333;
    font-weight:500;
    transition:.3s;
}

nav a:hover{
    color:#0d6efd;
}

.call-btn{
    background:#0d6efd;
    color:#fff;
    padding:12px 22px;
    border-radius:50px;
    font-weight:600;
    transition:.3s;
}

.call-btn:hover{
    background:#0047d6;
}

/* HERO */

.hero{
    padding:150px 0 90px;
    background:linear-gradient(135deg,#0057ff,#00b4ff);
    color:#fff;
}

.hero-grid{
    display:grid;
    grid-template-columns:1fr 420px;
    gap:60px;
    align-items:center;
}

.badge{
    display:inline-block;
    background:rgba(255,255,255,.18);
    padding:8px 18px;
    border-radius:50px;
    margin-bottom:20px;
}

.hero h1{
    font-size:52px;
    line-height:1.2;
    margin-bottom:25px;
}

.hero p{
    font-size:18px;
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    gap:20px;
    margin-bottom:40px;
}

.primary-btn{
    background:#00d084;
    color:#fff;
    padding:16px 34px;
    border-radius:50px;
    font-weight:600;
    display:inline-block;
    transition:.3s;
}

.primary-btn:hover{
    transform:translateY(-3px);
}

.secondary-btn{
    border:2px solid #fff;
    color:#fff;
    padding:16px 34px;
    border-radius:50px;
}

.hero-features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

.hero-card{
    background:#fff;
    color:#222;
    border-radius:20px;
    padding:40px;
    box-shadow:0 15px 45px rgba(0,0,0,.15);
}

.hero-card h3{
    margin-bottom:20px;
}

.hero-card p{
    color:#666;
}

.call-large{
    display:block;
    margin-top:25px;
    background:#0d6efd;
    color:#fff;
    text-align:center;
    padding:18px;
    border-radius:12px;
    font-weight:bold;
}

/* SECTIONS */

section{
    padding:90px 0;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:40px;
    margin-bottom:15px;
}

.section-title p{
    color:#666;
}

/* SERVICES */

.service-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.card{
    background:#fff;
    border-radius:20px;
    padding:40px;
    text-align:center;
    transition:.35s;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}

.card:hover{
    transform:translateY(-10px);
}

.icon{
    font-size:55px;
    margin-bottom:20px;
}

.card h3{
    margin-bottom:15px;
}

.card p{
    color:#666;
}

/* BILL PAY */

.billpay{
    background:#0057ff;
    color:#fff;
}

.bill-box{
    display:flex;
    justify-content:space-between;
    gap:60px;
    align-items:center;
}

.bill-box h2{
    font-size:38px;
    margin-bottom:20px;
}

.bill-box p{
    margin-bottom:20px;
}

.bill-box ul li{
    margin-bottom:12px;
}

/* WHY US */

.why-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.why-grid div{
    background:#fff;
    padding:35px;
    border-radius:18px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}

.why-grid h3{
    margin-bottom:15px;
}

/* FAQ */

.faq-container{
    max-width:900px;
    margin:auto;
}

.faq-item{
    background:#fff;
    margin-bottom:20px;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
}

.faq-question{
    width:100%;
    border:none;
    background:#fff;
    padding:22px;
    text-align:left;
    cursor:pointer;
    font-size:18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-weight:600;
}

.faq-answer{
    display:none;
    padding:0 22px 22px;
    color:#666;
}

/* TESTIMONIALS */

.testimonials{
    background:#eef4ff;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.testimonial{
    background:#fff;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}

.testimonial p{
    margin:20px 0;
    color:#666;
}

/* CONTACT */

.contact-wrapper{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

form{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}

input,
textarea{
    width:100%;
    padding:16px;
    border:1px solid #ddd;
    border-radius:10px;
    margin-bottom:18px;
    font-family:inherit;
}

button{
    width:100%;
    padding:16px;
    border:none;
    background:#0057ff;
    color:#fff;
    border-radius:10px;
    font-size:17px;
    cursor:pointer;
}

/* CTA */

.cta{
    background:linear-gradient(135deg,#0057ff,#00b4ff);
    color:#fff;
    text-align:center;
}

.cta h2{
    font-size:42px;
    margin-bottom:20px;
}

.cta p{
    margin-bottom:30px;
}

/* FOOTER */

footer{
    background:#111827;
    color:#ddd;
    padding:70px 0 30px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:40px;
    margin-bottom:40px;
}

footer h3{
    color:#fff;
    margin-bottom:20px;
}

footer a{
    color:#ddd;
}

footer li{
    margin-bottom:10px;
}

.footer-disclaimer{
    margin-top:25px;
    font-size:14px;
    color:#bbb;
    line-height:1.8;
}

copyright{
    margin-top:20px;
}

/* ===========================
   Floating Call Button
=========================== */

.floating-call{
    position:fixed;
    right:20px;
    bottom:20px;
    background:#00c853;
    color:#fff;
    padding:16px 22px;
    border-radius:50px;
    font-weight:600;
    box-shadow:0 15px 35px rgba(0,0,0,.25);
    z-index:999;
    transition:.3s;
    animation:pulse 2s infinite;
}

.floating-call:hover{
    transform:translateY(-5px);
    background:#00a844;
}

/* Mobile Menu */

.menu-toggle{
    display:none;
    cursor:pointer;
}

.menu-toggle span{
    display:block;
    width:28px;
    height:3px;
    margin:6px 0;
    background:#222;
    transition:.3s;
}

/* Header Scroll */

header.scrolled{
    box-shadow:0 10px 35px rgba(0,0,0,.12);
    background:#fff;
}

/* Hover Effects */

.card,
.testimonial,
.why-grid div{
    transition:all .35s ease;
}

.card:hover,
.testimonial:hover,
.why-grid div:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 45px rgba(0,0,0,.15);
}

/* Smooth Fade Animation */

.fade-up{
    opacity:0;
    transform:translateY(50px);
    transition:all .8s ease;
}

.fade-up.active{
    opacity:1;
    transform:translateY(0);
}

/* Pulse Animation */

@keyframes pulse{

0%{
box-shadow:0 0 0 0 rgba(0,208,132,.7);
}

70%{
box-shadow:0 0 0 18px rgba(0,208,132,0);
}

100%{
box-shadow:0 0 0 0 rgba(0,208,132,0);
}

}

/* Tablet */

@media(max-width:992px){

.hero-grid{
grid-template-columns:1fr;
text-align:center;
}

.hero-card{
margin-top:30px;
}

.service-grid{
grid-template-columns:1fr 1fr;
}

.testimonial-grid{
grid-template-columns:1fr;
}

.why-grid{
grid-template-columns:1fr;
}

.contact-wrapper{
grid-template-columns:1fr;
}

.footer-grid{
grid-template-columns:1fr 1fr;
}

.bill-box{
flex-direction:column;
text-align:center;
}

}

/* Mobile */

@media(max-width:768px){

header .container{
padding:16px;
}

.menu-toggle{
display:block;
}

nav{
display:none;
position:absolute;
left:0;
top:75px;
width:100%;
background:#fff;
box-shadow:0 15px 35px rgba(0,0,0,.08);
}

nav.active{
display:block;
}

nav ul{
display:block;
padding:20px;
}

nav li{
margin-bottom:18px;
}

.call-btn{
display:none;
}

.hero{
padding-top:120px;
}

.hero h1{
font-size:36px;
}

.hero p{
font-size:16px;
}

.hero-buttons{
flex-direction:column;
}

.hero-features{
grid-template-columns:1fr;
}

.service-grid{
grid-template-columns:1fr;
}

.footer-grid{
grid-template-columns:1fr;
}

.section-title h2{
font-size:30px;
}

.bill-box h2{
font-size:30px;
}

.cta h2{
font-size:32px;
}

.floating-call{
left:15px;
right:15px;
bottom:15px;
text-align:center;
padding:18px;
}

}

/* Small Phones */

@media(max-width:480px){

.container{
width:92%;
}

.hero h1{
font-size:30px;
}

.section-title h2{
font-size:28px;
}

.hero-card{
padding:25px;
}

.card{
padding:28px;
}

.testimonial{
padding:25px;
}

form{
padding:25px;
}

.primary-btn,
.secondary-btn{
width:100%;
text-align:center;
}

button{
font-size:16px;
}

}

/* Scrollbar */

::-webkit-scrollbar{
width:10px;
}

::-webkit-scrollbar-thumb{
background:#0057ff;
border-radius:20px;
}

::-webkit-scrollbar-track{
background:#f2f2f2;
}

/* Selection */

::selection{
background:#0057ff;
color:#fff;
}

/* Utility */

.text-center{
text-align:center;
}

.mt-20{
margin-top:20px;
}

.mt-40{
margin-top:40px;
}

.mb-20{
margin-bottom:20px;
}

.shadow{
box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.rounded{
border-radius:20px;
}