/* =========================================================
   D BROS MEDIA - TAMIL & ENGLISH YOUTUBE SCRIPTS
   Scoped to .ys-page. Header and footer remain unchanged.
========================================================= */

.ys-page,
.ys-page *{
  box-sizing:border-box;
}

.ys-page{
  width:100%;
  overflow:hidden;
  background:#f8f9fb;
  color:#111;
  padding:115px 20px 80px;
}

.ys-container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
}

.ys-back{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 24px;
  color:#0207f6 !important;
  font-size:14px;
  font-weight:600;
  text-decoration:none !important;
}

.ys-back:hover{
  color:#0000c8 !important;
}

/* HERO */

.ys-hero{
  display:grid;
  grid-template-columns:48% 52%;
  min-height:475px;
  overflow:hidden;
  background:#fff;
  border:1px solid #e4e6eb;
  border-radius:15px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.ys-hero-image,
.ys-hero-image img{
  width:100%;
  height:100%;
  min-height:475px;
}

.ys-hero-image{
  overflow:hidden;
}

.ys-hero-image img{
  display:block;
  object-fit:cover;
}

.ys-hero-content{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:50px 55px;
}

.ys-kicker,
.ys-label{
  color:#0207f6;
  font-size:11px;
  font-weight:700;
  letter-spacing:1.5px;
}

.ys-hero-content h1{
  margin:10px 0 18px;
  color:#111;
  font-size:43px;
  line-height:1.15;
  font-weight:700;
}

.ys-hero-content p{
  max-width:570px;
  margin:0;
  color:#5e6269;
  font-size:16px;
  line-height:1.8;
}

.ys-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:max-content;
  margin-top:27px;
  min-height:45px;
  padding:0 21px;
  background:#0207f6;
  color:#fff !important;
  border-radius:5px;
  font-size:13px;
  font-weight:700;
  text-decoration:none !important;
  transition:.25s ease;
}

.ys-btn:hover{
  background:#0000c8;
  transform:translateY(-2px);
}

/* INTRO */

.ys-intro{
  max-width:900px;
  margin:65px auto 55px;
  text-align:center;
}

.ys-intro h2{
  margin:9px 0 15px;
  color:#111;
  font-size:31px;
  line-height:1.3;
}

.ys-intro p{
  margin:0 auto 12px;
  color:#666;
  font-size:15px;
  line-height:1.85;
}

/* SECTIONS */

.ys-section{
  margin-top:60px;
}

.ys-heading{
  margin-bottom:26px;
}

.ys-heading span{
  color:#0207f6;
  font-size:11px;
  font-weight:700;
  letter-spacing:1.5px;
}

.ys-heading h2{
  margin:7px 0 0;
  color:#111;
  font-size:29px;
  line-height:1.3;
}

/* SCRIPT TYPES */

.ys-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.ys-card{
  display:flex;
  gap:17px;
  min-width:0;
  padding:23px;
  background:#fff;
  border:1px solid #e3e5e9;
  border-radius:10px;
  box-shadow:0 4px 14px rgba(0,0,0,.03);
  transition:.25s ease;
}

.ys-card:hover{
  transform:translateY(-3px);
  border-color:rgba(2,7,246,.3);
  box-shadow:0 10px 24px rgba(0,0,0,.06);
}

.ys-icon{
  flex:0 0 42px;
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eef0ff;
  color:#0207f6;
  border-radius:50%;
  font-size:16px;
}

.ys-card h3{
  margin:0 0 7px;
  color:#111;
  font-size:16px;
  line-height:1.35;
}

.ys-card p{
  margin:0;
  color:#666;
  font-size:13px;
  line-height:1.7;
}

/* LANGUAGE */

.ys-language{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:45px;
  align-items:center;
  margin-top:60px;
  padding:42px;
  background:#fff;
  border:1px solid #e3e5e9;
  border-radius:12px;
}

.ys-language h2{
  margin:8px 0 14px;
  color:#111;
  font-size:28px;
  line-height:1.3;
}

.ys-language p{
  margin:0 0 12px;
  color:#666;
  font-size:14px;
  line-height:1.8;
}

.ys-language-list{
  display:grid;
  gap:12px;
}

.ys-language-item{
  display:flex;
  gap:11px;
  align-items:flex-start;
  padding:15px;
  background:#f8f9fb;
  border-radius:8px;
}

.ys-language-item i{
  flex:0 0 25px;
  width:25px;
  height:25px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0207f6;
  border-radius:50%;
  color:#fff;
  font-size:10px;
}

.ys-language-item strong{
  display:block;
  margin-bottom:3px;
  color:#111;
  font-size:13px;
}

.ys-language-item span{
  display:block;
  color:#666;
  font-size:12px;
  line-height:1.55;
}

/* AUDIENCE */

.ys-audience{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.ys-audience-card{
  padding:25px 21px;
  background:#fff;
  border:1px solid #e3e5e9;
  border-radius:10px;
}

.ys-audience-card h3{
  margin:0 0 8px;
  color:#111;
  font-size:16px;
}

.ys-audience-card p{
  margin:0;
  color:#666;
  font-size:13px;
  line-height:1.7;
}

/* PROCESS */

.ys-process{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.ys-step{
  padding:23px 21px;
  background:#fff;
  border:1px solid #e3e5e9;
  border-radius:10px;
}

.ys-number{
  display:block;
  margin-bottom:14px;
  color:#0207f6;
  font-size:12px;
  font-weight:700;
}

.ys-step h3{
  margin:0 0 7px;
  color:#111;
  font-size:16px;
}

.ys-step p{
  margin:0;
  color:#666;
  font-size:13px;
  line-height:1.7;
}

/* CTA */

.ys-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  margin-top:60px;
  padding:38px 42px;
  background:#0207f6;
  border-radius:12px;
}

.ys-cta-label{
  color:#d7d9ff;
  font-size:10px;
  font-weight:700;
  letter-spacing:1.4px;
}

.ys-cta h2{
  margin:7px 0 8px;
  color:#fff;
  font-size:27px;
  line-height:1.3;
}

.ys-cta p{
  max-width:720px;
  margin:0;
  color:#e3e4ff;
  font-size:13px;
  line-height:1.7;
}

.ys-cta a{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:0 20px;
  background:#fff;
  color:#0207f6 !important;
  border-radius:5px;
  font-size:13px;
  font-weight:700;
  text-decoration:none !important;
  white-space:nowrap;
}

/* TABLET */

@media(max-width:1050px){
  .ys-audience{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .ys-process{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* MOBILE */

@media(max-width:768px){

  .ys-page{
    padding:100px 16px 60px;
  }

  .ys-hero{
    grid-template-columns:1fr;
  }

  .ys-hero-image,
  .ys-hero-image img{
    height:300px;
    min-height:300px;
  }

  .ys-hero-content{
    padding:35px 25px;
  }

  .ys-hero-content h1{
    font-size:34px;
  }

  .ys-grid,
  .ys-audience,
  .ys-process{
    grid-template-columns:1fr;
  }

  .ys-language{
    grid-template-columns:1fr;
    gap:25px;
    padding:30px 25px;
  }

  .ys-cta{
    flex-direction:column;
    align-items:flex-start;
    padding:30px 25px;
  }

  .ys-cta a{
    width:100%;
  }
}

/* SMALL MOBILE */

@media(max-width:480px){

  .ys-page{
    padding:95px 12px 50px;
  }

  .ys-hero-image,
  .ys-hero-image img{
    height:235px;
    min-height:235px;
  }

  .ys-hero-content{
    padding:28px 20px;
  }

  .ys-hero-content h1{
    font-size:29px;
  }

  .ys-hero-content p{
    font-size:14px;
  }

  .ys-btn{
    width:100%;
  }

  .ys-intro h2{
    font-size:25px;
  }

  .ys-language{
    padding:25px 20px;
  }
}