/* HelpDada.live - Global Styles (Common for all pages) */

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

:root{
  --bg1:#eef2ff;
  --bg2:#f0f9ff;
  --text:#1f2937;
  --muted:#475569;
  --brand:#4f46e5;
  --brand2:#1e3a8a;
  --card:#ffffff;
  --shadow:0 10px 25px rgba(0,0,0,0.06);
  --shadow2:0 15px 35px rgba(0,0,0,0.1);
  --radius:14px;
}

body{
  font-family:'Segoe UI',system-ui,-apple-system,Arial,sans-serif;
  background:linear-gradient(135deg,var(--bg1),var(--bg2));
  color:var(--text);
}

/* HEADER */
header{
  padding:20px 8%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:rgba(255,255,255,0.9);
  backdrop-filter:blur(10px);
  box-shadow:0 2px 15px rgba(0,0,0,0.05);
}

header h2{
  font-size:22px;
  font-weight:700;
  color:var(--brand2);
}

nav a{
  text-decoration:none;
  margin-left:25px;
  font-size:14px;
  color:#334155;
  transition:.3s;
}

nav a:hover{color:var(--brand);}

/* HERO */
.hero{
  text-align:center;
  padding:120px 20px 100px;
}

.hero h1{
  font-size:44px;
  font-weight:700;
  margin-bottom:20px;
  color:#1e293b;
}

.hero p{
  font-size:18px;
  color:var(--muted);
  max-width:750px;
  margin:auto;
  line-height:1.7;
}

.hero-btn{
  display:inline-block;
  margin-top:40px;
  padding:15px 40px;
  background:linear-gradient(90deg,#6366f1,#3b82f6);
  color:#ffffff;
  text-decoration:none;
  border-radius:8px;
  font-weight:600;
  transition:.3s;
  box-shadow:0 8px 20px rgba(99,102,241,0.25);
}

.hero-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(99,102,241,0.35);
}

/* SECTION */
.section{
  padding:80px 8%;
}

.section h2{
  text-align:center;
  font-size:30px;
  margin-bottom:60px;
  color:#1e293b;
}

/* GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
}

.card{
  background:var(--card);
  padding:35px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:.3s;
}

.card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow2);
}

.card h3{
  font-size:20px;
  margin-bottom:15px;
  color:var(--brand);
}

.card p{
  font-size:15px;
  line-height:1.6;
  color:var(--muted);
}

.card a{
  display:inline-block;
  margin-top:18px;
  padding:10px 24px;
  background:var(--brand);
  color:#ffffff;
  text-decoration:none;
  border-radius:6px;
  font-size:14px;
  transition:.3s;
}

.card a:hover{background:#3730a3;}

/* FOOTER */
footer{
  margin-top:80px;
  padding:60px 8% 30px;
  background:linear-gradient(90deg,var(--brand2),var(--brand));
  color:#e0e7ff;
}

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

footer h4{
  margin-bottom:18px;
  font-size:16px;
  color:#ffffff;
}

footer a{
  display:block;
  text-decoration:none;
  color:#c7d2fe;
  margin-bottom:10px;
  font-size:14px;
}

footer a:hover{color:#ffffff;}

.footer-bottom{
  text-align:center;
  font-size:14px;
  border-top:1px solid rgba(255,255,255,0.2);
  padding-top:20px;
}

.footer-bottom span{
  display:block;
  margin-top:8px;
  font-size:13px;
  opacity:.9;
}

/* Small screens */
@media (max-width: 640px){
  header{padding:16px 5%;}
  nav a{margin-left:14px;}
  .hero{padding:90px 16px 70px;}
  .hero h1{font-size:32px;}
  .section{padding:60px 5%;}
}

/* code for pdf-ocr.html page */

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

body{
font-family:'Segoe UI',sans-serif;
background:linear-gradient(135deg,#eef2ff,#f0f9ff);
color:#1f2937;
}

/* HEADER */
header{
padding:20px 8%;
display:flex;
justify-content:space-between;
align-items:center;
background:rgba(255,255,255,0.9);
backdrop-filter:blur(10px);
box-shadow:0 2px 15px rgba(0,0,0,0.05);
}

header h2{
font-size:22px;
font-weight:700;
color:#1e3a8a;
}

nav a{
text-decoration:none;
margin-left:25px;
font-size:14px;
color:#334155;
transition:.3s;
}

nav a:hover{
color:#4f46e5;
}

/* HERO STYLE */
.hero-section{
text-align:center;
padding:80px 20px 40px;
}

.hero-section h1{
font-size:34px;
margin-bottom:10px;
color:#1e293b;
}

.hero-section p{
color:#475569;
}

/* CONTAINER */
.container{
max-width:850px;
margin:40px auto;
background:#ffffff;
padding:40px;
border-radius:14px;
box-shadow:0 10px 25px rgba(0,0,0,0.06);
}

/* UPLOAD BOX */
.upload-box{
border:2px dashed #6366f1;
padding:40px;
text-align:center;
border-radius:12px;
background:#f9fbff;
transition:.3s;
}

.upload-box:hover{
background:#eef2ff;
}

.upload-box input{
margin-top:15px;
}

/* SELECT */
select{
padding:12px;
width:100%;
border-radius:8px;
border:1px solid #cbd5e1;
margin-top:10px;
}

/* BUTTON */
button{
margin-top:30px;
padding:15px;
width:100%;
font-size:16px;
background:linear-gradient(90deg,#6366f1,#3b82f6);
color:#fff;
border:none;
border-radius:8px;
cursor:pointer;
transition:.3s;
}

button:hover{
transform:translateY(-2px);
box-shadow:0 8px 20px rgba(99,102,241,0.3);
}

.loader{
display:none;
text-align:center;
margin-top:20px;
font-weight:600;
color:#4f46e5;
}

/* FOOTER */
footer{
margin-top:80px;
padding:60px 8% 30px;
background:linear-gradient(90deg,#1e3a8a,#4f46e5);
color:#e0e7ff;
}

.footer-bottom{
text-align:center;
font-size:14px;
}

/* code for lega-ldraft.html page */

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

body{
font-family:'Segoe UI',sans-serif;
background:linear-gradient(135deg,#eef2ff,#f0f9ff);
color:#1f2937;
}

/* HEADER */
header{
padding:20px 8%;
display:flex;
justify-content:space-between;
align-items:center;
background:rgba(255,255,255,0.9);
backdrop-filter:blur(10px);
box-shadow:0 2px 15px rgba(0,0,0,0.05);
}

header h2{
font-size:22px;
font-weight:700;
color:#1e3a8a;
}

nav a{
text-decoration:none;
margin-left:25px;
font-size:14px;
color:#334155;
transition:.3s;
}

nav a:hover{
color:#4f46e5;
}

/* PAGE HEADER */
.page-header{
text-align:center;
padding:80px 20px 40px;
}

.page-header h1{
font-size:38px;
margin-bottom:10px;
color:#1e293b;
}

.page-header p{
color:#475569;
font-size:16px;
}

/* SECTION */
.section{
padding:60px 8%;
}

.section h2{
text-align:center;
font-size:26px;
margin-bottom:40px;
color:#1e293b;
}

/* GRID */
.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

/* CARD */
.card{
background:#ffffff;
padding:30px;
border-radius:14px;
box-shadow:0 10px 25px rgba(0,0,0,0.06);
transition:.3s;
}

.card:hover{
transform:translateY(-8px);
box-shadow:0 15px 35px rgba(0,0,0,0.1);
}

.card h3{
font-size:18px;
margin-bottom:12px;
color:#4f46e5;
}

.card p{
font-size:14px;
color:#475569;
margin-bottom:15px;
line-height:1.6;
}

.card a{
display:inline-block;
padding:10px 22px;
background:#4f46e5;
color:#ffffff;
text-decoration:none;
border-radius:6px;
font-size:14px;
transition:.3s;
}

.card a:hover{
background:#3730a3;
}

/* BADGE */
.badge{
display:inline-block;
font-size:11px;
background:#e0e7ff;
padding:4px 8px;
border-radius:6px;
margin-bottom:8px;
color:#4338ca;
font-weight:600;
}

/* FOOTER */
footer{
margin-top:80px;
padding:60px 8% 30px;
background:linear-gradient(90deg,#1e3a8a,#4f46e5);
color:#e0e7ff;
text-align:center;
}

.footer-bottom{
font-size:14px;
}
