/*=========================================
ONEPAY OFFICIAL WEBSITE
Premium Professional CSS
Theme : Blue + White
Author : ChatGPT
==========================================*/

*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
}

:root{

--primary:#0A4DAD;
--secondary:#146CFF;
--dark:#07142C;
--light:#F5F8FF;
--white:#ffffff;
--text:#222;
--gray:#666;
--border:#e5e7eb;

--shadow:0 15px 40px rgba(0,0,0,.08);

--radius:18px;

}

body{

font-family:'Poppins',sans-serif;

background:var(--light);

color:var(--text);

line-height:1.8;

overflow-x:hidden;

}

/*==============================
CONTAINER
==============================*/

.container{

width:92%;

max-width:1250px;

margin:auto;

}

/*==============================
LINK
==============================*/

a{

text-decoration:none;

transition:.35s;

}

img{

max-width:100%;

display:block;

}

/*==============================
HEADER
==============================*/

header{

position:sticky;

top:0;

left:0;

width:100%;

z-index:999;

background:rgba(7,20,44,.96);

backdrop-filter:blur(12px);

box-shadow:0 8px 30px rgba(0,0,0,.18);

}

.header-area{

display:flex;

align-items:center;

justify-content:space-between;

padding:14px 0;

}

/*==============================
LOGO
==============================*/

.logo{

display:flex;

align-items:center;

gap:15px;

color:#fff;

}

.logo img{

width:62px;

height:62px;

border-radius:50%;

background:#fff;

padding:4px;

}

.logo h2{

font-size:26px;

font-weight:700;

line-height:1.2;

}

.logo p{

font-size:13px;

opacity:.8;

}

/*==============================
MENU
==============================*/

nav ul{

display:flex;

list-style:none;

gap:28px;

}

nav ul li a{

color:#fff;

font-size:15px;

font-weight:600;

position:relative;

}

nav ul li a::after{

content:'';

position:absolute;

left:0;

bottom:-7px;

width:0;

height:3px;

background:var(--secondary);

transition:.35s;

border-radius:50px;

}

nav ul li a:hover::after{

width:100%;

}

nav ul li a:hover{

color:#7ec3ff;

}

/*==============================
MENU BUTTON
==============================*/

.menu-btn{

display:none;

font-size:32px;

color:#fff;

cursor:pointer;

}

/*==============================
SIDE MENU
==============================*/

.side-menu{

position:fixed;

top:0;

right:-330px;

width:320px;

height:100%;

background:#08152f;

padding:35px;

transition:.4s;

z-index:9999;

box-shadow:-10px 0 30px rgba(0,0,0,.25);

}

.side-menu a{

display:block;

color:#fff;

font-size:17px;

font-weight:600;

padding:15px 0;

border-bottom:1px solid rgba(255,255,255,.08);

}

.side-menu a:hover{

padding-left:12px;

color:#5ab3ff;

}

.close-btn{

font-size:34px;

color:#fff;

text-align:right;

margin-bottom:25px;

cursor:pointer;

}

/*==============================
HERO
==============================*/

.hero{

padding:70px 0;

text-align:center;

background:linear-gradient(#f5f8ff,#eef5ff);

}

.hero img{

width:100%;

max-width:1050px;

margin:auto;

border-radius:25px;

box-shadow:0 25px 60px rgba(0,0,0,.15);

transition:.5s;

}

.hero img:hover{

transform:scale(1.02);

}

.hero h1{

font-size:48px;

margin-top:35px;

color:#0A4DAD;

font-weight:800;

}

.hero p{

margin:25px auto;

max-width:850px;

font-size:18px;

color:#555;

}
/*=========================================
BUTTONS
==========================================*/

.hero-buttons{

display:flex;

justify-content:center;

align-items:center;

gap:20px;

margin-top:35px;

flex-wrap:wrap;

}

.btn{

display:inline-block;

padding:16px 38px;

background:linear-gradient(135deg,#146CFF,#0A4DAD);

color:#fff;

font-size:17px;

font-weight:600;

border-radius:50px;

box-shadow:0 12px 30px rgba(20,108,255,.35);

transition:.35s;

}

.btn:hover{

transform:translateY(-5px);

box-shadow:0 18px 40px rgba(20,108,255,.45);

}

.btn2{

background:linear-gradient(135deg,#07142C,#0A4DAD);

}

/*=========================================
REFER SECTION
==========================================*/

.refer-section{

padding:80px 0;

background:#fff;

}

.refer-section h2{

text-align:center;

font-size:36px;

color:#0A4DAD;

margin-bottom:35px;

}

.refer-box{

max-width:650px;

margin:auto;

display:flex;

background:#fff;

border-radius:60px;

overflow:hidden;

box-shadow:var(--shadow);

border:2px solid #dbe8ff;

}

.refer-box input{

flex:1;

padding:18px 25px;

border:none;

font-size:20px;

font-weight:700;

outline:none;

color:#0A4DAD;

background:#fff;

}

.refer-box button{

padding:18px 35px;

border:none;

background:#0A4DAD;

color:#fff;

font-size:17px;

font-weight:600;

cursor:pointer;

transition:.35s;

}

.refer-box button:hover{

background:#146CFF;

}

/*=========================================
TELEGRAM
==========================================*/

.telegram{

padding:80px 0;

background:linear-gradient(135deg,#0A4DAD,#146CFF);

text-align:center;

color:#fff;

}

.telegram h2{

font-size:40px;

margin-bottom:25px;

}

.telegram-btn{

display:inline-block;

padding:18px 45px;

background:#fff;

color:#0A4DAD;

font-size:18px;

font-weight:700;

border-radius:50px;

transition:.35s;

}

.telegram-btn:hover{

transform:translateY(-5px);

}

/*=========================================
CONTENT SECTION
==========================================*/

.content-section{

padding:90px 0;

}

.bg-light{

background:#ffffff;

}

.content-section h2{

font-size:38px;

margin-bottom:25px;

color:#0A4DAD;

}

.content-section p{

font-size:17px;

color:#555;

margin-bottom:18px;

text-align:justify;

}

.content-section ul{

padding-left:25px;

margin-top:15px;

}

.content-section ol{

padding-left:25px;

margin-top:15px;

}

.content-section li{

margin-bottom:12px;

font-size:17px;

color:#444;

}

/*=========================================
FOOTER
==========================================*/

.footer{

background:#07142C;

padding:90px 0 30px;

color:#fff;

margin-top:80px;

}

.footer-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:35px;

}

.footer-logo{

width:75px;

margin-bottom:15px;

background:#fff;

border-radius:50%;

padding:4px;

}

.footer h2{

margin-bottom:15px;

}

.footer h3{

margin-bottom:20px;

color:#7ec3ff;

}

.footer p{

color:#d6d6d6;

font-size:15px;

line-height:1.8;

}

.footer ul{

list-style:none;

}

.footer ul li{

margin-bottom:12px;

}

.footer ul li a{

color:#ddd;

transition:.35s;

}

.footer ul li a:hover{

color:#56b5ff;

padding-left:8px;

}

.social-btn{

display:inline-block;

padding:10px 24px;

background:#146CFF;

color:#fff;

border-radius:40px;

margin-top:10px;

}

.social-btn:hover{

background:#0A4DAD;

}

/*=========================================
COPYRIGHT
==========================================*/

.footer hr{

margin:50px 0 30px;

border:none;

height:1px;

background:rgba(255,255,255,.15);

}

.copyright{

text-align:center;

}

.copyright p{

margin:8px 0;

font-size:14px;

color:#bbb;

}

/*=========================================
BACK TO TOP
==========================================*/

#topBtn{

position:fixed;

bottom:30px;

right:30px;

width:52px;

height:52px;

border:none;

border-radius:50%;

background:#146CFF;

color:#fff;

font-size:24px;

cursor:pointer;

display:none;

box-shadow:0 12px 25px rgba(0,0,0,.25);

transition:.35s;

}

#topBtn:hover{

transform:translateY(-5px);

}
/*=========================================
RESPONSIVE DESIGN
==========================================*/

/* Large Laptop */

@media(max-width:1200px){

.hero h1{

font-size:42px;

}

.footer-grid{

grid-template-columns:repeat(2,1fr);

}

}

/* Tablet */

@media(max-width:992px){

nav{

display:none;

}

.menu-btn{

display:block;

}

.hero{

padding:50px 0;

}

.hero h1{

font-size:36px;

}

.hero p{

font-size:16px;

}

.hero img{

border-radius:18px;

}

.content-section{

padding:70px 0;

}

.content-section h2{

font-size:32px;

}

.footer-grid{

grid-template-columns:1fr 1fr;

gap:30px;

}

}

/* Mobile */

@media(max-width:768px){

.container{

width:94%;

}

.logo img{

width:52px;

height:52px;

}

.logo h2{

font-size:20px;

}

.logo p{

font-size:12px;

}

.hero{

padding:40px 0;

}

.hero h1{

font-size:30px;

line-height:1.4;

}

.hero p{

font-size:15px;

}

.hero-buttons{

flex-direction:column;

}

.btn{

width:100%;

max-width:320px;

text-align:center;

}

.refer-section{

padding:60px 0;

}

.refer-section h2{

font-size:28px;

}

.refer-box{

flex-direction:column;

border-radius:15px;

}

.refer-box input{

text-align:center;

font-size:18px;

}

.refer-box button{

width:100%;

}

.telegram{

padding:60px 0;

}

.telegram h2{

font-size:28px;

}

.telegram-btn{

width:100%;

max-width:300px;

}

.content-section{

padding:60px 0;

}

.content-section h2{

font-size:28px;

}

.content-section p{

font-size:15px;

}

.content-section li{

font-size:15px;

}

.footer{

padding:60px 0 25px;

}

.footer-grid{

grid-template-columns:1fr;

gap:40px;

}

.footer h2{

font-size:24px;

}

.footer h3{

font-size:20px;

}

.footer-logo{

width:65px;

}

#topBtn{

width:45px;

height:45px;

font-size:20px;

right:15px;

bottom:20px;

}

}

/* Small Mobile */

@media(max-width:480px){

.hero h1{

font-size:26px;

}

.hero img{

border-radius:15px;

}

.btn{

padding:14px 20px;

font-size:15px;

}

.telegram-btn{

padding:14px 20px;

font-size:16px;

}

.content-section h2{

font-size:24px;

}

.refer-box input{

font-size:17px;

}

}

/* Prevent Horizontal Scroll */

html,body{

overflow-x:hidden;

}

img{

max-width:100%;

height:auto;

}

section{

overflow:hidden;

}

*{

word-wrap:break-word;

}
/*==============================
ACTIVE MENU
==============================*/

nav ul li a.active{

color:#7ec3ff;

}

nav ul li a.active::after{

width:100%;

}

.side-menu a.active{

color:#56b5ff;

padding-left:12px;

}

/*==============================
SCROLL ANIMATION
==============================*/

.content-section{

opacity:0;

transform:translateY(40px);

transition:all .8s ease;

}

.content-section.show{

opacity:1;

transform:translateY(0);

}
