/*==========================================
FMVi PROFESSIONAL CSS v2.0
Author : Sunil Saini + ChatGPT
==========================================*/

/*======== RESET ========*/

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
font-size:16px;
}

body{
font-family:'Poppins',sans-serif;
background:#f8faf6;
color:#222;
overflow-x:hidden;
line-height:1.6;
}

img{
display:block;
max-width:100%;
height:auto;
}

a{
text-decoration:none;
color:inherit;
transition:.3s;
}

ul{
list-style:none;
}

button{
font-family:inherit;
cursor:pointer;
transition:.3s;
}

section{
width:100%;
position:relative;
}

/*======== CONTAINER ========*/

.container{

width:min(92%,1400px);

margin:auto;

}

/*======== TOPBAR ========*/

.topbar{

background:#0b4d12;

color:#fff;

padding:12px 0;

font-size:14px;

}

.topbar .container{

display:flex;

justify-content:space-between;

align-items:center;

gap:20px;

}

.topbar .left{

display:flex;

gap:25px;

flex-wrap:wrap;

}

.topbar i{

color:#ffd400;

margin-right:8px;

}

.right{

overflow:hidden;

}

/*======== HEADER ========*/

header{

background:#fff;

position:sticky;

top:0;

z-index:9999;

box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.nav{

display:flex;

justify-content:space-between;

align-items:center;

padding:18px 0;

gap:25px;

}

.logo img{

height:75px;

width:auto;

}

/*======== MENU ========*/

nav{

flex:1;

display:flex;

justify-content:center;

}

nav ul{

display:flex;

gap:32px;

align-items:center;

flex-wrap:wrap;

}

nav li{

position:relative;

}

nav a{

font-size:17px;

font-weight:600;

padding:8px 2px;

position:relative;

color:#333;

}

nav a::after{

content:"";

position:absolute;

left:0;

bottom:-6px;

width:0;

height:3px;

background:#0b6d17;

transition:.35s;

border-radius:50px;

}

nav a:hover{

color:#0b6d17;

}

nav a:hover::after,

.active::after{

width:100%;

}

/*======== ENQUIRY BUTTON ========*/

.enquiry{

position:relative;

}

.enquiry button{

background:#0b6d17;

color:#fff;

border:none;

padding:15px 30px;

border-radius:10px;

font-size:17px;

font-weight:600;

}

.enquiry button:hover{

background:#084b11;

transform:translateY(-3px);

box-shadow:0 15px 30px rgba(0,0,0,.18);

}

/*======== POPUP ========*/

.popup{

position:absolute;

top:72px;

right:0;

width:330px;

background:#fff;

padding:25px;

border-radius:18px;

box-shadow:0 20px 40px rgba(0,0,0,.18);

display:none;

z-index:999;

}

.enquiry:hover .popup{

display:block;

}

.popup h3{

color:#0b6d17;

font-size:28px;

margin-bottom:15px;

}

.popup p{

margin:10px 0;

line-height:1.8;

color:#444;

}

.popup h2{

margin-top:18px;

color:#0b6d17;

}

/*======== COMMON BUTTON ========*/

.btn,

.btn-green,

.cta-btn{

display:inline-flex;

align-items:center;

justify-content:center;

padding:15px 34px;

border-radius:10px;

font-weight:600;

transition:.35s;

}

.btn:hover,

.btn-green:hover,

.cta-btn:hover{

transform:translateY(-4px);

}

/*========================================
HERO SECTION
========================================*/

.hero{
position:relative;
padding:80px 0;
background:
linear-gradient(to bottom,#f8fff6,#eef8ee);
overflow:hidden;
}

/* Background Effects */

.hero-bg-circle{
position:absolute;
width:650px;
height:650px;
border-radius:50%;
background:#8fd56b;
top:-250px;
right:-220px;
opacity:.12;
}

.hero-bg-circle2{
position:absolute;
width:450px;
height:450px;
border-radius:50%;
background:#0b6d17;
left:-180px;
bottom:-180px;
opacity:.08;
}

.hero-bg-circle3{
position:absolute;
width:250px;
height:250px;
border-radius:50%;
background:#ffe066;
left:50%;
top:120px;
transform:translateX(-50%);
filter:blur(60px);
opacity:.18;
}

/*========================*/

.hero-grid{

display:grid;

grid-template-columns:
280px
minmax(420px,1fr)
300px;

gap:35px;

align-items:center;

position:relative;

z-index:5;

}

/*========================
LEFT CARD
========================*/

.left-card{

background:#fff;

padding:30px;

border-radius:24px;

box-shadow:0 15px 40px rgba(0,0,0,.08);

transition:.4s;

}

.left-card:hover{

transform:translateY(-8px);

box-shadow:0 25px 50px rgba(0,0,0,.15);

}

.item{

padding:18px 0;

border-bottom:1px solid #ececec;

transition:.35s;

}

.item:last-child{

border:none;

}

.item:hover{

padding-left:12px;

color:#0b6d17;

}

.item h2{

font-size:30px;

margin-bottom:8px;

color:#0b6d17;

}

.item p{

font-size:15px;

line-height:1.8;

color:#555;

}

/*========================
CENTER
========================*/

.center{

position:relative;

text-align:center;

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

}

.center h3{

font-size:clamp(26px,2.3vw,36px);

line-height:1.5;

font-weight:700;

color:#12691b;

margin-bottom:35px;

max-width:650px;

}

/* HERO IMAGE */

.zindi2{

width:100%;

max-width:520px;

height:auto;

position:relative;

z-index:2;

animation:floatImage 5s ease-in-out infinite;

}

/* LEAF GIF */

.zindi1{

position:absolute;

top:50%;

left:50%;

transform:translate(-50%,-50%);

width:620px;

max-width:120%;

pointer-events:none;

z-index:1;

opacity:.95;

}

/*========================
RIGHT PANEL
========================*/

.pillar{

background:#fff;

padding:28px;

border-radius:24px;

box-shadow:0 15px 40px rgba(0,0,0,.08);

transition:.4s;

}

.pillar:hover{

transform:translateY(-8px);

}

.pillar h2{

background:#0b6d17;

color:#fff;

padding:16px;

border-radius:12px;

text-align:center;

margin-bottom:22px;

font-size:24px;

}

.pillar a{

display:block;

padding:18px;

border:1px solid #ddd;

border-radius:12px;

margin-bottom:14px;

font-weight:600;

transition:.35s;

}

.pillar a:hover{

background:#0b6d17;

color:#fff;

padding-left:28px;

}

/*========================
ANIMATION
========================*/

@keyframes floatImage{

0%{

transform:translateY(0px);

}

50%{

transform:translateY(-16px);

}

100%{

transform:translateY(0px);

}

}

/*========================================
ABOUT SECTION
========================================*/

.about{
padding:90px 0;
background:#ffffff;
}

.about-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}

.about-image{
overflow:hidden;
border-radius:25px;
}

.about-image img{
width:100%;
height:100%;
object-fit:cover;
border-radius:25px;
box-shadow:0 20px 45px rgba(0,0,0,.12);
transition:.5s;
}

.about-image img:hover{
transform:scale(1.05);
}

.sub-title{
display:inline-block;
padding:8px 22px;
background:#eaf8eb;
color:#0b6d17;
font-weight:600;
border-radius:50px;
margin-bottom:18px;
}

.about-content h2{
font-size:clamp(30px,3vw,44px);
color:#0b6d17;
margin-bottom:20px;
line-height:1.3;
}

.about-content p{
font-size:17px;
line-height:1.9;
color:#555;
margin-bottom:20px;
}

.btn-green{
display:inline-block;
background:#0b6d17;
color:#fff;
padding:15px 35px;
border-radius:10px;
font-weight:600;
transition:.35s;
}

.btn-green:hover{
background:#084b11;
transform:translateY(-5px);
box-shadow:0 15px 30px rgba(0,0,0,.18);
}

/*========================================
COUNTER SECTION
========================================*/

.counter{
padding:90px 0;
background:linear-gradient(135deg,#0b6d17,#1ea53a);
}

.counter-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
}

.counter-box{
background:rgba(255,255,255,.10);
border:1px solid rgba(255,255,255,.18);
backdrop-filter:blur(10px);
padding:35px 20px;
border-radius:22px;
text-align:center;
color:#fff;
transition:.35s;
}

.counter-box:hover{
transform:translateY(-8px);
background:rgba(255,255,255,.18);
}

.counter-box h2{
font-size:52px;
font-weight:800;
margin-bottom:12px;
}

.counter-box h4{
font-size:20px;
font-weight:500;
line-height:1.5;
}

/*========================================
RESPONSIVE
========================================*/

@media(max-width:992px){

.about-grid{
grid-template-columns:1fr;
gap:40px;
}

.about-content{
text-align:center;
}

.counter-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:600px){

.counter-grid{
grid-template-columns:1fr;
}

.about{
padding:60px 0;
}

.counter{
padding:60px 0;
}

.about-content h2{
font-size:30px;
}

.about-content p{
font-size:16px;
}

.counter-box h2{
font-size:42px;
}

}

/*========================================
COURSES SECTION
========================================*/

.courses{
padding:100px 0;
background:#f8faf8;
}

.section-title{
text-align:center;
margin-bottom:60px;
}

.section-title span{
display:inline-block;
padding:8px 22px;
background:#eaf8eb;
color:#0b6d17;
border-radius:50px;
font-weight:600;
margin-bottom:18px;
}

.section-title h2{
font-size:clamp(30px,3vw,44px);
color:#0b6d17;
margin-bottom:15px;
}

.section-title p{
font-size:18px;
color:#666;
max-width:700px;
margin:auto;
}

.course-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:30px;
}

.course-card{
background:#fff;
padding:35px;
border-radius:22px;
text-align:center;
box-shadow:0 15px 35px rgba(0,0,0,.08);
transition:.35s;
position:relative;
overflow:hidden;
}

.course-card::before{
content:"";
position:absolute;
left:0;
top:0;
width:100%;
height:5px;
background:#0b6d17;
transform:scaleX(0);
transition:.35s;
}

.course-card:hover::before{
transform:scaleX(1);
}

.course-card:hover{
transform:translateY(-10px);
box-shadow:0 25px 55px rgba(0,0,0,.18);
}

.course-icon{
width:90px;
height:90px;
margin:auto;
margin-bottom:25px;
background:#0b6d17;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:36px;
color:#fff;
}

.course-card h3{
font-size:24px;
color:#0b6d17;
margin-bottom:15px;
}

.course-card p{
line-height:1.8;
color:#555;
margin-bottom:20px;
}

.course-card a{
font-weight:700;
color:#0b6d17;
}

/*========================================
GALLERY
========================================*/

.gallery{
padding:100px 0;
background:#fff;
}

.gallery-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
}

.gallery-item{
position:relative;
overflow:hidden;
border-radius:20px;
box-shadow:0 15px 35px rgba(0,0,0,.10);
cursor:pointer;
}

.gallery-item img{
width:100%;
height:300px;
object-fit:cover;
transition:.5s;
}

.gallery-item:hover img{
transform:scale(1.12);
}

.overlay{
position:absolute;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(11,109,23,.75);
display:flex;
align-items:center;
justify-content:center;
opacity:0;
transition:.35s;
}

.gallery-item:hover .overlay{
opacity:1;
}

.overlay h3{
font-size:28px;
color:#fff;
letter-spacing:1px;
}

/*========================================
RESPONSIVE
========================================*/

@media(max-width:992px){

.courses,
.gallery{
padding:70px 0;
}

.course-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.course-grid{
grid-template-columns:1fr;
}

.gallery-grid{
grid-template-columns:1fr;
}

.gallery-item img{
height:250px;
}

.section-title h2{
font-size:30px;
}

.section-title p{
font-size:16px;
}

}

/*========================================
TESTIMONIAL SECTION
========================================*/

.testimonial{
padding:100px 0;
background:#f8faf8;
}

.testimonial-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:30px;
}

.testimonial-card{
background:#fff;
padding:35px;
border-radius:22px;
text-align:center;
box-shadow:0 15px 35px rgba(0,0,0,.08);
transition:.35s;
}

.testimonial-card:hover{
transform:translateY(-10px);
box-shadow:0 25px 50px rgba(0,0,0,.15);
}

.testimonial-card img{
width:100px;
height:100px;
margin:auto;
border-radius:50%;
object-fit:cover;
border:5px solid #0b6d17;
margin-bottom:20px;
}

.testimonial-card h3{
color:#0b6d17;
margin-bottom:8px;
font-size:24px;
}

.testimonial-card h5{
color:#777;
margin-bottom:18px;
font-weight:500;
}

.testimonial-card p{
line-height:1.8;
color:#555;
margin-bottom:18px;
}

/*========================================
CTA
========================================*/

.cta{

padding:100px 20px;

text-align:center;

background:linear-gradient(135deg,#0b6d17,#1aa334);

color:#fff;

}

.cta h2{

font-size:clamp(34px,4vw,52px);

margin-bottom:20px;

}

.cta p{

font-size:20px;

margin-bottom:35px;

}

.cta-btn{

display:inline-block;

padding:18px 45px;

background:#fff;

color:#0b6d17;

font-weight:700;

border-radius:50px;

transition:.35s;

}

.cta-btn:hover{

transform:translateY(-5px);

box-shadow:0 20px 40px rgba(0,0,0,.25);

}

/*========================================
FOOTER
========================================*/

.footer{

background:#063b0d;

color:#fff;

padding-top:80px;

}

.footer-grid{

display:grid;

grid-template-columns:2fr 1fr 1fr 1fr;

gap:35px;

padding-bottom:60px;

}

.footer-logo{

width:170px;

margin-bottom:20px;

}

.footer-box h3{

margin-bottom:20px;

font-size:24px;

}

.footer-box p{

line-height:1.8;

color:#d5d5d5;

margin-bottom:12px;

}

.footer-box ul li{

margin-bottom:15px;

}

.footer-box ul li a{

transition:.3s;

}

.footer-box ul li a:hover{

color:#78ff9d;

padding-left:8px;

}

.social{

display:flex;

gap:15px;

margin-top:20px;

}

.social a{

width:48px;

height:48px;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

background:#0b6d17;

font-size:18px;

transition:.35s;

}

.social a:hover{

background:#fff;

color:#0b6d17;

transform:rotate(360deg);

}

.copyright{

background:#042807;

padding:20px;

text-align:center;

color:#bfbfbf;

font-size:15px;

}

/*========================================
WHATSAPP BUTTON
========================================*/

.whatsapp{

position:fixed;

right:25px;

bottom:25px;

width:70px;

height:70px;

border-radius:50%;

background:#25D366;

display:flex;

align-items:center;

justify-content:center;

box-shadow:0 12px 25px rgba(0,0,0,.25);

z-index:9999;

transition:.35s;

}

.whatsapp img{

width:38px;

}

.whatsapp:hover{

transform:scale(1.12);

}

/*========================================
RESPONSIVE
========================================*/

@media(max-width:992px){

.footer-grid{

grid-template-columns:1fr 1fr;

}

}

@media(max-width:768px){

.footer-grid{

grid-template-columns:1fr;

text-align:center;

}

.social{

justify-content:center;

}

.testimonial{

padding:70px 0;

}

.cta{

padding:70px 20px;

}

.whatsapp{

width:60px;

height:60px;

right:18px;

bottom:18px;

}

.whatsapp img{

width:32px;

}

}


/*==========================================
FMVi FINAL RESPONSIVE CSS
Paste this at the END of style.css
==========================================*/

/* Large Desktop */
@media (min-width:1600px){

.container{
max-width:1500px;
}

.hero-grid{
grid-template-columns:320px 1fr 320px;
gap:50px;
}

.zindi2{
max-width:600px;
}

.center h3{
font-size:42px;
}

}

/* Laptop */
@media (max-width:1366px){

.container{
width:95%;
}

.hero-grid{
grid-template-columns:260px 1fr 280px;
gap:25px;
}

nav ul{
gap:20px;
}

.center h3{
font-size:30px;
}

.zindi2{
max-width:460px;
}

}

/* Tablet */
@media (max-width:1024px){

.topbar{
display:none;
}

.nav{
flex-wrap:wrap;
justify-content:center;
}

nav{
order:3;
width:100%;
}

nav ul{
justify-content:center;
flex-wrap:wrap;
}

.hero{
padding:60px 0;
}

.hero-grid{
grid-template-columns:1fr;
text-align:center;
}

.left-card,
.pillar{
max-width:700px;
margin:auto;
}

.center{
order:-1;
}

.zindi1{
width:520px;
}

.zindi2{
max-width:420px;
}

.about-grid{
grid-template-columns:1fr;
}

.features .container{
grid-template-columns:repeat(2,1fr);
}

.footer-grid{
grid-template-columns:repeat(2,1fr);
}

}

/* Mobile */
@media (max-width:768px){

html{
font-size:15px;
}

.logo img{
height:60px;
}

nav ul{
flex-direction:column;
gap:12px;
}

.enquiry{
margin-top:15px;
}

.hero{
padding:40px 0;
}

.center h3{
font-size:24px;
}

.zindi2{
max-width:280px;
}

.zindi1{
width:360px;
}

.left-card,
.pillar{
padding:20px;
}

.item h2{
font-size:24px;
}

.course-grid,
.gallery-grid,
.counter-grid,
.testimonial-grid,
.features .container,
.footer-grid{
grid-template-columns:1fr;
}

.cta h2{
font-size:30px;
}

.cta p{
font-size:17px;
}

}

/* Small Mobile */
@media (max-width:480px){

.container{
width:94%;
}

.hero{
padding:30px 0;
}

.center h3{
font-size:20px;
}

.zindi2{
max-width:220px;
}

.zindi1{
width:280px;
}

.pillar h2{
font-size:20px;
}

.course-card,
.feature-box,
.counter-box,
.testimonial-card{
padding:25px;
}

.whatsapp{
width:55px;
height:55px;
}

.whatsapp img{
width:28px;
}

}

/* Smooth Images */

img{
max-width:100%;
height:auto;
}

/* Prevent Horizontal Scroll */

html,
body{
overflow-x:hidden;
}

/* Better Button Animation */

button,
.btn,
.btn-green,
.cta-btn{
transition:.3s ease;
}

/* Hover Effects */

.course-card:hover,
.feature-box:hover,
.testimonial-card:hover,
.counter-box:hover,
.left-card:hover,
.pillar:hover{
transform:translateY(-8px);
}

/* Selection */

::selection{
background:#0b6d17;
color:#fff;
}

/* Scrollbar */

::-webkit-scrollbar{
width:10px;
}

::-webkit-scrollbar-thumb{
background:#0b6d17;
border-radius:20px;
}

::-webkit-scrollbar-track{
background:#f1f1f1;
}