/* ===========================================================
GOOGLE FONT & RESET
=========================================================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

:root{

--primary:#00C853;
--secondary:#009245;
--dark:#111111;
--white:#ffffff;
--light:#f8f9fa;
--border:#e5e7eb;
--text:#666666;

}

body{

background:var(--light);
color:var(--dark);
overflow-x:hidden;

}

.container{

width:90%;
max-width:1350px;
margin:auto;

}

/* ===========================================================
TOP BAR
=========================================================== */

.top-bar{

background:linear-gradient(90deg,#00C853,#009245);
color:#fff;
padding:10px 0;
font-size:15px;

}

.top-bar p{

display:flex;
justify-content:center;
align-items:center;
gap:18px;

}

/* ===========================================================
HEADER
=========================================================== */

header{

position:sticky;
top:0;
z-index:999;
background:#fff;
box-shadow:0 5px 20px rgba(0,0,0,.08);

}

header .container{

height:90px;
display:flex;
justify-content:space-between;
align-items:center;

}

.logo img{

height:80px;
transition:.3s;

}

.logo img:hover{

transform:scale(1.05);

}

nav ul{

display:flex;
gap:35px;
list-style:none;

}

nav ul li a{

text-decoration:none;
font-weight:600;
color:#111;
transition:.3s;

}

nav ul li a:hover,
nav ul li a.active{

color:var(--primary);

}

.login-btn{

background:var(--primary);
color:#fff;
padding:13px 28px;
border-radius:40px;
text-decoration:none;
font-weight:600;
transition:.3s;

}

.login-btn:hover{

background:#009245;

}

/* ===========================================================
HERO
=========================================================== */

.course-hero{

padding:80px 0;
background:linear-gradient(135deg,#ffffff,#e9fff2);

}

.course-hero h1{

font-size:55px;
text-align:center;
margin-bottom:20px;

}

.course-hero h1 span{

color:var(--primary);

}

.course-hero p{

text-align:center;
font-size:18px;
max-width:800px;
margin:auto;
line-height:1.8;
color:#666;

}

.search-box{

margin:45px auto 0;
display:flex;
max-width:700px;
background:#fff;
border-radius:60px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.search-box input{

flex:1;
padding:18px;
border:none;
outline:none;
font-size:16px;

}

.search-box button{

padding:18px 35px;
border:none;
background:var(--primary);
color:#fff;
cursor:pointer;
font-size:16px;

}

/* ===========================================================
SECTION TITLE
=========================================================== */

.section-title{

text-align:center;
margin:80px 0 50px;

}

.section-title h2{

font-size:42px;
margin-bottom:15px;

}

.section-title p{

color:#666;
font-size:17px;

}

/* ===========================================================
COURSE GRID
=========================================================== */

.course-grid{

display:grid;
grid-template-columns:repeat(2,1fr);
gap:35px;
align-items:start;

}
/* ===========================================================
COURSE CARD
=========================================================== */

.course-card{

background:#fff;
border-radius:22px;
overflow:hidden;
box-shadow:0 15px 40px rgba(0,0,0,.08);
transition:.35s;
display:flex;
flex-direction:column;
height:100%;

}

.course-card:hover{

transform:translateY(-10px);
box-shadow:0 25px 60px rgba(0,200,83,.18);

}

/* ===========================================================
COURSE IMAGE
=========================================================== */

.course-image{

position:relative;
overflow:hidden;

}

.course-image img{

width:100%;
height:240px;
object-fit:cover;
display:block;
transition:.5s;

}

.course-card:hover .course-image img{

transform:scale(1.08);

}

/* ===========================================================
DISCOUNT BADGE
=========================================================== */

.offer{

position:absolute;
top:18px;
right:18px;

background:#ff3b30;
color:#fff;

padding:8px 16px;

border-radius:30px;

font-size:13px;
font-weight:700;

box-shadow:0 8px 20px rgba(0,0,0,.15);

}

/* ===========================================================
COURSE BODY
=========================================================== */

.course-body{

padding:30px;
display:flex;
flex-direction:column;
flex:1;

}

.category{

display:inline-block;

background:#e9fff2;

color:#00C853;

padding:8px 18px;

border-radius:30px;

font-size:13px;

font-weight:700;

margin-bottom:18px;

width:max-content;

}

.course-body h3{

font-size:28px;

margin-bottom:15px;

line-height:1.3;

}

.course-body p{

color:#666;

line-height:1.8;

font-size:15px;

margin-bottom:25px;

}

/* ===========================================================
COURSE INFO
=========================================================== */

.course-info{

display:flex;

justify-content:space-between;

margin-bottom:25px;

padding:18px 0;

border-top:1px solid #eee;

border-bottom:1px solid #eee;

}

.course-info span{

display:flex;

align-items:center;

gap:8px;

font-size:14px;

font-weight:600;

}

.course-info i{

color:#00C853;

}

/* ===========================================================
PRICE
=========================================================== */

.price{

margin-top:auto;

}

.price h2{

font-size:36px;

color:#00C853;

margin-bottom:8px;

}

.price p{

font-size:15px;

margin-bottom:25px;

}

.price del{

color:#999;

margin-right:12px;

}

/* ===========================================================
BUTTONS
=========================================================== */

.buttons{

display:flex;

gap:15px;

}

.buttons button,
.buttons a{

flex:1;

padding:15px;

border:none;

border-radius:12px;

font-size:15px;

font-weight:600;

cursor:pointer;

text-align:center;

text-decoration:none;

transition:.35s;

}

.buttons button{

background:#fff;

border:2px solid #00C853;

color:#00C853;

}

.buttons button:hover{

background:#00C853;

color:#fff;

}

.buttons a{

background:#00C853;

color:#fff;

}

.buttons a:hover{

background:#009245;

}
/* ===========================================================
RIGHT SIDE DESCRIPTION PANEL
=========================================================== */

.description-panel{

position:fixed;

top:0;

right:-520px;

width:500px;

height:100vh;

background:#ffffff;

box-shadow:-10px 0 40px rgba(0,0,0,.15);

z-index:9999;

padding:35px;

overflow-y:auto;

transition:.4s ease;

}

.description-panel.active{

right:0;

}

.close-panel{

width:100%;

padding:15px;

border:none;

background:#00C853;

color:#fff;

font-size:16px;

font-weight:600;

border-radius:12px;

cursor:pointer;

margin-bottom:30px;

transition:.3s;

}

.close-panel:hover{

background:#009245;

}

#panelContent h2{

font-size:30px;

margin-bottom:20px;

color:#111;

}

#panelContent h3{

margin:25px 0 15px;

color:#00C853;

}

#panelContent p{

line-height:1.8;

color:#666;

margin-bottom:20px;

}

#panelContent ul{

padding-left:22px;

}

#panelContent ul li{

margin-bottom:12px;

line-height:1.7;

color:#444;

}

/* ===========================================================
FOOTER
=========================================================== */

footer{

margin-top:100px;

background:#111;

color:#fff;

padding:70px 0 20px;

}

.footer-container{

display:grid;

grid-template-columns:2fr 1fr 1fr 1fr;

gap:40px;

}

.footer-box img{

height:80px;

margin-bottom:20px;

background:#fff;

padding:8px;

border-radius:10px;

}

.footer-box h3{

margin-bottom:20px;

font-size:22px;

}

.footer-box p{

color:#ccc;

line-height:1.8;

margin-bottom:12px;

}

.footer-box ul{

list-style:none;

}

.footer-box ul li{

margin-bottom:12px;

}

.footer-box ul li a{

text-decoration:none;

color:#ccc;

transition:.3s;

}

.footer-box ul li a:hover{

color:#00C853;

}

.social-icons{

display:flex;

gap:15px;

margin-top:20px;

}

.social-icons a{

width:45px;

height:45px;

display:flex;

justify-content:center;

align-items:center;

background:#00C853;

color:#fff;

border-radius:50%;

text-decoration:none;

transition:.3s;

}

.social-icons a:hover{

transform:translateY(-5px);

}

.copyright{

margin-top:50px;

padding-top:20px;

text-align:center;

border-top:1px solid rgba(255,255,255,.1);

color:#bbb;

}

/* ===========================================================
WHATSAPP BUTTON
=========================================================== */

.live-chat{

position:fixed;

bottom:90px;

right:25px;

width:65px;

height:65px;

background:#25D366;

color:#fff;

display:flex;

justify-content:center;

align-items:center;

border-radius:50%;

font-size:30px;

text-decoration:none;

box-shadow:0 10px 25px rgba(0,0,0,.2);

transition:.3s;

z-index:999;

}

.live-chat:hover{

transform:scale(1.1);

}

/* ===========================================================
SCROLL TOP
=========================================================== */

.scroll-top{

position:fixed;

bottom:15px;

right:25px;

width:55px;

height:55px;

background:#111;

color:#fff;

display:flex;

justify-content:center;

align-items:center;

border-radius:50%;

text-decoration:none;

font-size:22px;

transition:.3s;

z-index:999;

}

.scroll-top:hover{

background:#00C853;

}

/* ===========================================================
RESPONSIVE
=========================================================== */

@media(max-width:1100px){

.course-grid{

grid-template-columns:1fr;

}

.footer-container{

grid-template-columns:1fr 1fr;

}

.description-panel{

width:100%;

right:-100%;

}

}

@media(max-width:768px){

.course-hero h1{

font-size:38px;

}

.search-box{

flex-direction:column;

border-radius:15px;

}

.search-box input{

width:100%;

}

.search-box button{

width:100%;

}

.buttons{

flex-direction:column;

}

.course-info{

flex-direction:column;

gap:12px;

}

.footer-container{

grid-template-columns:1fr;

text-align:center;

}

.social-icons{

justify-content:center;

}

.logo img{

height:65px;

}

nav{

display:none;

}

.login-btn{

display:none;

}

.top-bar p{

font-size:13px;

flex-direction:column;

gap:6px;

}

.description-panel{

padding:20px;

}

}
/* ===========================================================
COURSE REGISTRATION FORM
=========================================================== */

.registration-section{

padding:80px 0;
background:#f5f7fb;

}

.registration-card{

max-width:1100px;
margin:auto;
background:#fff;
padding:50px;
border-radius:20px;
box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.registration-card h1{

font-size:40px;
text-align:center;
margin-bottom:15px;
color:#111;

}

.registration-card>p{

text-align:center;
color:#666;
margin-bottom:45px;
font-size:17px;

}

/* ===========================================================
FORM GRID
=========================================================== */

.form-grid{

display:grid;
grid-template-columns:repeat(2,1fr);
gap:25px;

}

.form-grid div{

display:flex;
flex-direction:column;

}

.form-grid label{

font-weight:600;
margin-bottom:10px;
color:#222;

}

.form-grid input,
.form-grid select,
.form-grid textarea{

padding:15px;
border:1px solid #dcdcdc;
border-radius:10px;
font-size:15px;
outline:none;
transition:.3s;
background:#fff;

}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus{

border-color:#00C853;
box-shadow:0 0 0 4px rgba(0,200,83,.12);

}

.form-grid textarea{

resize:vertical;

}

/* ===========================================================
PAYMENT SUMMARY
=========================================================== */

.payment-summary{

margin-top:45px;
padding:30px;
background:#f8f9fa;
border-radius:15px;
border:1px solid #e5e7eb;

}

.payment-summary h2{

margin-bottom:25px;
font-size:28px;

}

.summary-row{

display:flex;
justify-content:space-between;
align-items:center;
padding:15px 0;
border-bottom:1px solid #ddd;
font-size:17px;

}

.summary-row:last-child{

border-bottom:none;

}

.total{

font-size:22px;
font-weight:700;
color:#00C853;

}

/* ===========================================================
TERMS
=========================================================== */

.terms{

margin-top:30px;
font-size:15px;

}

.terms label{

display:flex;
align-items:center;
gap:10px;
cursor:pointer;

}

.terms input{

width:18px;
height:18px;

}

/* ===========================================================
BUY BUTTON
=========================================================== */

.buy-section{

margin-top:35px;
text-align:center;

}

.buy-btn{

background:linear-gradient(135deg,#00C853,#009245);
color:#fff;
border:none;
padding:18px 60px;
font-size:18px;
font-weight:600;
border-radius:50px;
cursor:pointer;
transition:.35s;

}

.buy-btn:hover{

transform:translateY(-4px);
box-shadow:0 15px 35px rgba(0,200,83,.35);

}

.buy-btn i{

margin-left:10px;

}

/* ===========================================================
RESPONSIVE
=========================================================== */

@media(max-width:768px){

.registration-card{

padding:30px 20px;

}

.registration-card h1{

font-size:30px;

}

.form-grid{

grid-template-columns:1fr;

}

.payment-summary{

padding:20px;

}

.summary-row{

font-size:15px;

}

.buy-btn{

width:100%;

}

}






.description-panel.active{

right:0;

}


.close-panel{

background:#111;

color:white;

border:none;

padding:12px 20px;

border-radius:8px;

cursor:pointer;

margin-bottom:30px;

}


#panelContent h2{

color:#111;

margin-bottom:15px;

}


#panelContent h3{

margin-top:25px;

}


#panelContent li{

margin:10px 0;

}
.buy-btn{

display:inline-block;
margin-top:30px;
padding:14px 35px;
background:#00C853;
color:#fff;
text-decoration:none;
border-radius:10px;
font-weight:600;
transition:.3s;

}

.buy-btn:hover{

background:#009245;
transform:translateY(-3px);

}
/* ===========================================
POPUP BUY NOW BUTTON
=========================================== */

.popup-buy-btn{

display:inline-block;
padding:15px 40px;
background:#00C853;
color:#fff;
text-decoration:none;
font-size:17px;
font-weight:600;
border-radius:10px;
transition:0.3s;

}

.popup-buy-btn:hover{

background:#009245;
transform:translateY(-3px);

}