/*
Theme Name: Edu Digital Hub
Theme URI: https://schoolms.in
Author: Sachin
Description: School Management + Digital Signature + Biometric Devices
Version: 1.0
Text Domain: edu-digital-hub
*/

body{
    margin:0;
    padding:0;
    font-family: Arial, sans-serif;
    background:#f8fafc;
}
.customer-dashboard{
padding:50px;
max-width:1200px;
margin:auto;
}

.dashboard-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
}

.dash-card{
background:#001b52;
color:#fff;
padding:30px;
text-align:center;
font-size:22px;
text-decoration:none;
border-radius:12px;
}
.trusted-badge{
display:inline-block;
background:#fff4cc;
padding:10px 20px;
border-radius:30px;
font-weight:600;
margin-bottom:20px;
}

.hero-left h1{
font-size:65px;
line-height:1.1;
margin-bottom:20px;
color:#001b52;
}

.hero-left p{
font-size:22px;
color:#555;
line-height:1.7;
}

.feature-row{
display:flex;
gap:25px;
margin:30px 0;
flex-wrap:wrap;
}

.feature-item{
display:flex;
align-items:center;
gap:10px;
background:white;
padding:15px;
border-radius:15px;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.hero-buttons{
display:flex;
gap:15px;
margin-top:20px;
}

.premium-btn{
background:#001b52;
color:#fff;
padding:14px 25px;
border-radius:10px;
text-decoration:none;
font-weight:bold;
}

.whatsapp-btn{
background:white;
border:2px solid #001b52;
color:#001b52;
padding:14px 25px;
border-radius:10px;
text-decoration:none;
font-weight:bold;
}

.hero-right{
position:relative;
}

.hero-right img{
width:100%;
border-radius:25px;
box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.trusted-circle{
position:absolute;
right:-20px;
top:50px;
background:white;
width:120px;
height:120px;
border-radius:50%;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
font-weight:bold;
box-shadow:0 10px 30px rgba(0,0,0,.15);
text-align:center;
}
/* PREMIUM LOOK */

.school-page{
background:linear-gradient(135deg,#ffffff,#eef4ff);
padding:80px 0;
}

.hero-left h1{
font-size:70px;
font-weight:800;
line-height:1.1;
letter-spacing:-2px;
}

.hero-left p{
font-size:20px;
color:#666;
line-height:1.8;
}

.trusted-badge{
background:#fff;
padding:10px 18px;
border-radius:50px;
box-shadow:0 5px 20px rgba(0,0,0,.08);
font-weight:600;
display:inline-block;
margin-bottom:25px;
}

.feature-item{
background:#fff;
border:1px solid #eaeaea;
box-shadow:0 8px 25px rgba(0,0,0,.06);
}

.premium-btn{
background:#001b52;
padding:15px 30px;
border-radius:12px;
box-shadow:0 8px 20px rgba(0,27,82,.25);
}

.whatsapp-btn{
background:#fff;
border:2px solid #001b52;
padding:15px 30px;
border-radius:12px;
}

.hero-right img{
border-radius:25px;
box-shadow:0 20px 50px rgba(0,0,0,.15);
}

.trusted-circle{
border:8px solid rgba(255,255,255,.8);
}

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

.offer-card:hover{
transform:translateY(-10px);
box-shadow:0 25px 50px rgba(0,0,0,.15);
}

.offer-content h3{
font-size:28px;
font-weight:700;
}

.offer-btn{
width:100%;
text-align:center;
padding:14px;
font-size:16px;
}

.service-box{
border:none;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:.3s;
}

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

.services-section h2,
.about-section h2{
font-size:42px;
font-weight:800;
color:#001b52;
}

.edh-header{
position:sticky;
top:0;
z-index:999;
box-shadow:0 5px 20px rgba(0,0,0,.1);
}
/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 768px){

.container{
    width:95%;
}

.header-inner{
    flex-direction:column;
    gap:15px;
}

.main-nav ul{
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
}

.logo{
    font-size:28px;
}

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

.hero-content h1,
.hero-left h1{
    font-size:36px !important;
    line-height:1.2;
}

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

.hero-image img,
.hero-right img{
    width:100%;
    max-width:100%;
    height:auto;
}

.feature-row{
    display:flex;
    flex-direction:column;
    gap:15px;
    margin-top:20px;
}

.feature-item{
    width:100%;
}

.hero-buttons{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.hero-buttons a,
.btn,
.premium-btn,
.whatsapp-btn{
    width:100%;
    box-sizing:border-box;
    text-align:center;
}

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

.service-box{
    padding:20px;
}

.offer-card{
    width:100%;
}

.offer-image img{
    height:auto;
}

.offer-content h3{
    font-size:20px;
}

.trusted-circle{
    position:static !important;
    margin:15px auto;
}

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

h1{
    font-size:36px !important;
}

h2{
    font-size:28px !important;
}
}

/* =========================
   MOBILE RESPONSIVE FIX
========================= */

.menu-toggle{
display:none;
font-size:30px;
cursor:pointer;
color:#fff;
}

@media (max-width:768px){

.container{
width:95%;
}

.menu-toggle{
display:block;
}

.header-inner{
flex-direction:column;
align-items:center;
gap:15px;
}

.main-nav{
display:none;
width:100%;
}

.main-nav.active{
display:block;
}

.main-nav ul{
flex-direction:column;
gap:15px;
text-align:center;
padding:20px 0;
}

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

.hero-content h1,
.hero-left h1{
font-size:34px !important;
line-height:1.2;
}

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

.hero-image img,
.hero-right img{
width:100%;
height:auto;
}

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

.premium-btn,
.whatsapp-btn,
.btn{
width:100%;
display:block;
text-align:center;
box-sizing:border-box;
}

.feature-row{
flex-direction:column;
}

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

.service-box,
.offer-card{
width:100%;
}

.trusted-circle{
position:static !important;
margin:15px auto;
}

h2{
font-size:28px !important;
}

}
/* MOBILE FIX FINAL */

@media screen and (max-width:768px){

/* Header */

.header-inner{
display:flex;
flex-direction:column;
align-items:center;
}

.logo{
font-size:22px !important;
margin-bottom:10px;
}

.main-nav{
width:100%;
}

.main-nav ul{
display:flex !important;
flex-direction:column !important;
align-items:center !important;
gap:12px !important;
padding:0 !important;
margin:0 !important;
}

.main-nav li{
width:100%;
text-align:center;
}

/* Hero */

.hero-grid{
display:flex !important;
flex-direction:column !important;
}

.hero-content,
.hero-left{
width:100% !important;
}

.hero-image,
.hero-right{
width:100% !important;
text-align:center;
}

.hero-image img,
.hero-right img{
width:100% !important;
max-width:100% !important;
height:auto !important;
display:block;
margin:auto;
}

/* Text */

.hero-content h1,
.hero-left h1{
font-size:42px !important;
line-height:1.2;
}

.hero-content p,
.hero-left p{
font-size:18px !important;
}

/* Features */

.feature-row{
display:flex !important;
flex-direction:column !important;
gap:15px;
}

.feature-item{
width:100% !important;
box-sizing:border-box;
}

/* Buttons */

.hero-buttons{
display:flex;
flex-direction:column;
gap:12px;
}

.hero-buttons a,
.btn,
.premium-btn,
.whatsapp-btn{
width:100%;
text-align:center;
}

/* Services */

.service-grid{
display:grid !important;
grid-template-columns:1fr !important;
gap:20px;
}

.service-box,
.offer-card{
width:100% !important;
}

/* Trusted Circle */

.trusted-circle{
display:none;
}

}
.offer-popup{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.7);
display:flex;
justify-content:center;
align-items:center;
z-index:99999;
}

.offer-popup-box{
background:#fff;
width:90%;
max-width:450px;
padding:25px;
border-radius:20px;
text-align:center;
position:relative;
}

.offer-popup-box img{
width:100%;
height:auto;
border-radius:15px;
margin-bottom:15px;
}

.close-popup{
position:absolute;
top:10px;
right:15px;
font-size:25px;
cursor:pointer;
font-weight:bold;
}
.offer-popup{
position:fixed !important;
top:0 !important;
left:0 !important;
width:100% !important;
height:100vh !important;
background:rgba(0,0,0,0.7) !important;
display:flex !important;
justify-content:center !important;
align-items:center !important;
z-index:999999 !important;
}

.offer-popup-box{
background:#fff !important;
width:90% !important;
max-width:450px !important;
padding:25px !important;
border-radius:20px !important;
text-align:center !important;
position:relative !important;
box-shadow:0 0 30px rgba(0,0,0,.3) !important;
}

.offer-popup-box img{
width:100% !important;
height:auto !important;
border-radius:15px !important;
margin-bottom:15px !important;
}

.close-popup{
position:absolute !important;
top:10px !important;
right:15px !important;
font-size:30px !important;
cursor:pointer !important;
font-weight:bold !important;
}
@media screen and (max-width:768px){

.offer-popup{
display:flex !important;
position:fixed !important;
top:0 !important;
left:0 !important;
width:100vw !important;
height:100vh !important;
z-index:9999999 !important;
}

.offer-popup-box{
display:block !important;
width:90% !important;
max-width:350px !important;
margin:auto !important;
}

}
.offer-popup{
display:flex !important;
visibility:visible !important;
opacity:1 !important;
}
/* ===========================
   EDH Plugin Offer Cards
=========================== */

.services-section .service-grid{

display:grid !important;

grid-template-columns:repeat(auto-fit,minmax(320px,1fr)) !important;

gap:30px !important;

align-items:stretch;

}

.services-section .offer-card{

width:100% !important;

background:#fff !important;

border-radius:18px !important;

overflow:hidden !important;

box-shadow:0 10px 25px rgba(0,0,0,.10) !important;

transition:.3s;

}

.services-section .offer-card:hover{

transform:translateY(-8px);

}

.services-section .offer-image img{

width:100% !important;

height:220px !important;

object-fit:cover !important;

display:block !important;

}

.services-section .offer-content{

padding:20px !important;

}

.services-section .offer-content h3{

font-size:24px !important;

margin-bottom:10px !important;

color:#001b52;

}

.services-section .offer-content p{

font-size:15px;

line-height:1.6;

color:#666;

margin-bottom:20px;

}

.services-section .offer-btn{

display:inline-block !important;

background:#001b52 !important;

color:#fff !important;

padding:12px 22px !important;

border-radius:8px !important;

text-decoration:none !important;

font-weight:bold;

}
/* ===== EDH Plugin Cards ===== */

.services-section .service-grid{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:30px !important;
    justify-content:center !important;
}

.services-section .offer-card{
    width:340px;
    max-width:100%;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
    display:flex;
    flex-direction:column;
}

.services-section .offer-card:hover{
    transform:translateY(-8px);
}

.services-section .offer-image img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}

.services-section .offer-content{
    padding:20px;
    display:flex;
    flex-direction:column;
    gap:12px;
}
.services-section .offer-btn{
    display:block;
    width:100%;
    text-align:center;
    padding:12px;
    margin-top:10px;
}
.services-section .offer-content{
    padding:20px;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:15px;
}

.services-section .offer-content h3{
    margin:0;
    text-align:center;
    color:#001b52;
    font-size:28px;
    font-weight:700;
}

.services-section .offer-content p{
    margin:0;
    text-align:center;
    color:#555;
    line-height:1.6;
}

.services-section .offer-btn{
    display:block;
    width:100%;
    text-align:center;
    padding:14px;
    margin-top:10px;
}
/*=============================
Customer Popup
=============================*/

#edh-customer-popup{

display:none;

position:fixed;

left:0;
top:0;

width:100%;
height:100%;

background:rgba(0,0,0,.65);

z-index:99999;

justify-content:center;

align-items:center;

}

.edh-popup-box{

background:#fff;

width:500px;

max-width:92%;

padding:30px;

border-radius:15px;

box-shadow:0 20px 60px rgba(0,0,0,.25);

animation:popup .25s ease;

}

@keyframes popup{

from{

transform:scale(.8);

opacity:0;

}

to{

transform:scale(1);

opacity:1;

}

}

.edh-popup-box input,

.edh-popup-box textarea{

width:100%;

padding:12px;

border:1px solid #ddd;

border-radius:8px;

margin-top:8px;

margin-bottom:12px;

font-size:15px;

box-sizing:border-box;

}

.edh-popup-box h2{

text-align:center;

margin-bottom:20px;

}

.edh-popup-box .button{

width:100%;

padding:14px;

font-size:16px;

}
/* ==========================
   DIGITAL SIGNATURE OFFERS
========================== */

.services-section .service-grid{
    display:grid !important;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr)) !important;
    gap:25px !important;
    margin-top:40px;
}

.services-section .offer-card{
    background:#fff !important;
    border-radius:18px !important;
    overflow:hidden !important;
    box-shadow:0 8px 25px rgba(0,0,0,.08) !important;
    transition:.3s;
    display:flex !important;
    flex-direction:column;
}

.services-section .offer-card:hover{
    transform:translateY(-8px);
}

.services-section .offer-image{
    height:180px;
    overflow:hidden;
}

.services-section .offer-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    background:#fff;
}

.services-section .offer-content{
    padding:18px;
    text-align:center;
    flex:1;
    display:flex;
    flex-direction:column;
}

.services-section .offer-content h3{
    font-size:22px;
    margin:10px 0;
    color:#001b52;
}

.services-section .offer-content p{
    color:#666;
    line-height:1.6;
    flex:1;
}

.services-section .offer-btn{
    display:block;
    width:100%;
    margin-top:15px;
    background:#001b52;
    color:#fff;
    padding:14px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
}

@media(max-width:768px){

.services-section .service-grid{
    grid-template-columns:repeat(6,1fr) !important;
}

}
@media(max-width:1200px){
.services-section .service-grid{
grid-template-columns:repeat(3,1fr) !important;
}
}

@media(max-width:768px){
.services-section .service-grid{
grid-template-columns:repeat(2,1fr) !important;
}
}

@media(max-width:480px){
.services-section .service-grid{
grid-template-columns:1fr !important;
}
}
/* ===============================
   DIGITAL SIGNATURE OFFER CARDS
================================ */

.services-section .service-grid{

display:grid !important;

grid-template-columns:repeat(3,1fr) !important;

gap:25px;

}

.services-section .offer-card{

background:#fff;

border-radius:18px;

overflow:hidden;

box-shadow:0 10px 30px rgba(0,0,0,.08);

display:flex;

flex-direction:column;

transition:.3s;

}

.services-section .offer-card:hover{

transform:translateY(-8px);

}

.services-section .offer-image{

height:220px;

background:#fff;

display:flex;

justify-content:center;

align-items:center;

padding:15px;

}

.services-section .offer-image img{

max-width:100%;

max-height:100%;

width:auto;

height:auto;

object-fit:contain;

}

.services-section .offer-content{

padding:20px;

text-align:center;

display:flex;

flex-direction:column;

flex:1;

}

.services-section .offer-content h3{

font-size:26px;

color:#001b52;

margin-bottom:10px;

}

.services-section .offer-content p{

font-size:15px;

color:#666;

line-height:1.6;

flex:1;

}

.services-section .offer-btn{

display:block;

margin-top:20px;

background:#001b52;

color:#fff;

padding:14px;

border-radius:10px;

text-decoration:none;

font-weight:700;

}

@media(max-width:1024px){

.services-section .service-grid{

grid-template-columns:repeat(2,1fr)!important;

}

}

@media(max-width:768px){

.services-section .service-grid{

grid-template-columns:1fr!important;

}

}
/* Offer Card Width Increase */

.services-section .service-grid{
    display:flex !important;
    flex-wrap:wrap;
    gap:25px;
    justify-content:flex-start;
}

.services-section .offer-card{
    width:320px !important;   /* Width badhao */
    min-width:320px !important;
}
/* =====================================
   Product Popup Size Fix
===================================== */

.offer-popup-box{

    max-width:520px !important;
    width:90% !important;

    padding:20px !important;

    border-radius:16px !important;

}

/* Image */

.offer-popup-box img{

    width:100% !important;
    max-height:280px !important;

    object-fit:contain !important;

    margin-bottom:15px !important;

}

/* Title */

.offer-popup-box h2{

    font-size:22px !important;

    margin:10px 0 !important;

    line-height:1.3 !important;

}

/* Description */

.offer-popup-box p{

    font-size:15px !important;

    line-height:1.5 !important;

    margin-bottom:15px !important;

}

/* Button */

.offer-popup-box .offer-btn{

    width:100% !important;

    padding:14px !important;

    font-size:18px !important;

}
/* Popup Buy Button Fix */

.offer-popup-box .offer-btn{

    display:block !important;

    width:90% !important;

    margin:20px auto 0 !important;

    padding:14px 20px !important;

    box-sizing:border-box !important;

    border-radius:10px !important;

    text-align:center !important;

}
