/* ===================== COLOR THEME ===================== */
:root{
  --outer-yellow:#FAD773;
  --inner-cream:#F8E7BC;
  --orange:#EF8122;
  --dark-green:#679145;
  --light-green:#8EAD3E;
  --sun-yellow:#F4B01D;
  --blue-text:#24298A;
  --navy:#202473;
}

body{
  font-family: Arial, sans-serif;
}

/* ===================== TOP BAR ===================== */
.top-bar{
  background:linear-gradient(90deg,var(--navy),var(--orange));
  color:#fff;
  padding:6px 10px;
  font-size:14px;
}
 /* ===================== BANNER SECTION ===================== */
.banner-box{
  background:var(--inner-cream);
  border:2px solid var(--outer-yellow);
  padding:12px;
  border-radius:8px;
}

/* LOGO */
.banner-logo{
  max-height:90px;
  transition:all 0.4s ease;
}
.logo-link:hover .banner-logo{
  filter: drop-shadow(0 0 10px var(--sun-yellow));
  transform: scale(1.05);
}

/* TEXT */
.banner-text{
  font-size:28px;
  font-weight:bold;
  color:var(--blue-text);
  transition:all 0.4s ease;
}
.banner-text span{
  font-size:22px;
  color:var(--navy);
}
.banner-text-link{
  text-decoration:none;
}
.banner-text-link:hover .banner-text{
  text-shadow:0 0 12px var(--sun-yellow);
  transform:scale(1.03);
}

/* ===================== MENU ===================== */
/* ===================== NAV MENU STYLING ===================== */
.navbar{
  background:var(--sun-yellow);
}

.nav-link{
  color:var(--navy);
  padding:10px 14px;
}

.nav-link:hover{
  color:var(--orange);
}

.dropdown-menu{
  border:none;
  background:var(--inner-cream);
  box-shadow:0 8px 25px rgba(0,0,0,0.15);
}

.dropdown-item{
  font-weight:600;
  color:var(--navy);
}

.dropdown-item:hover{
  background:var(--outer-yellow);
  color:#000;
}

/* Hover open */
.nav-item.dropdown:hover > .dropdown-menu{
  display:block;
}
/* Sub dropdown support */
.dropdown-submenu{
  position:relative;
}

.dropdown-submenu > .dropdown-menu{
  top:0;
  left:100%;
  margin-left:1px;
}

.dropdown-submenu:hover > .dropdown-menu{
  display:block;
}
/* ===================== NAV WRAP FIX ===================== */
.navbar-nav{
  display:flex;
  flex-wrap:wrap;          /* ⭐ allow multi-row */
  justify-content:center;
  max-width:100%;
}

/* Each nav item compact */
.navbar-nav > .nav-item{
  white-space:nowrap;
}

/* Visual separation between rows */
.navbar{
  border-bottom:2px solid rgba(0,0,0,0.15);
}

/* Optional: spacing between rows */
.navbar-nav{
  row-gap:6px;
}

/* Prevent horizontal scroll */
body{
  overflow-x:hidden;
}
/* ===================== MORE MENU SUBMENU FIX ===================== */

/* Default submenu position */
.dropdown-submenu {
  position: relative;
}

/* Open submenu to LEFT instead of right */
.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: auto;

  margin-right: 2px;
  margin-left: 0;
}

/* Smooth appearance */
.dropdown-submenu > .dropdown-menu {
  transform-origin: right top;
  animation: fadeInSub 0.2s ease-in-out;
}

@keyframes fadeInSub {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Mobile friendly (Bootstrap collapse mode) */
@media (max-width: 991px) {
  .dropdown-submenu > .dropdown-menu {
    right: auto;
    left: 0;
    margin: 0;
  }
}
/* ===================== DEFAULT SUBMENU (RIGHT SIDE) ===================== */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  right: auto;
  margin-left: 2px;
}

/* ===================== ONLY MORE MENU → LEFT SIDE ===================== */
.more-menu .dropdown-submenu > .dropdown-menu {
  left: auto;
  right: 100%;
  margin-right: 2px;
  margin-left: 0;
}

/* Smooth animation */
.dropdown-submenu > .dropdown-menu {
  animation: submenuFade 0.2s ease-in-out;
}

@keyframes submenuFade {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===================== MOBILE FIX ===================== */
@media (max-width: 991px) {
  .dropdown-submenu > .dropdown-menu,
  .more-menu .dropdown-submenu > .dropdown-menu {
    left: 0;
    right: auto;
    margin: 0;
  }
}



/* CONTENT SECTION */
    .content-section img {
        width: 120px;
        height: 120px;
        object-fit: cover;
        border-radius: 8px;
    }

/* ===================== SCHEME CARD ===================== */
.scheme-card .card-header{
  background:var(--inner-cream);
  border-left:5px solid var(--orange);
  color:var(--navy);
  font-weight:bold;
}
.scroll-box{
  max-height:220px;
  overflow-y:auto;
}

/* ===================== VIDEO ===================== */
.video-title{
  color:var(--blue-text);
}

/* ===================== FOOTER ===================== */

/* ================= FOOTER ================= */
.afdc-footer{
  background:#202473;
  color:#ffffff;
  padding:60px 30px 20px;
  margin-top:80px;
}

.footer-container{
  max-width:1400px;
  margin:auto;
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr 1.2fr;
  gap:40px;
}

.footer-col h5{
  color:#F4B01D;
  font-size:16px;
  margin-bottom:14px;
  text-transform:uppercase;
}

.footer-col ul{
  list-style:none;
  padding:0;
}

.footer-col ul li{
  margin-bottom:8px;
}

.footer-col ul li a{
  color:#ffffff;
  text-decoration:none;
  font-size:14px;
  transition:all .3s ease;
}

.footer-col ul li a:hover{
  color:#F4B01D;
  padding-left:6px;
}

/* LOGO */
.footer-logo{
  max-width:140px;
  margin-bottom:15px;
  filter:drop-shadow(0 0 12px rgba(244,176,29,0.6));
}

.footer-brand p{
  font-size:14px;
  line-height:1.6;
  opacity:0.9;
}

/* ================= BOTTOM ================= */
.footer-bottom{
  margin-top:40px;
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,0.25);
  text-align:center;
  font-size:14px;
}

/* SHUKLA COMPUTERS GLOW */
.shukla-link{
  color:#F4B01D;
  font-weight:600;
  text-decoration:none;
  margin:0 6px;
  transition:all .3s ease;
}

.shukla-link:hover{
  text-shadow:
    0 0 8px #F4B01D,
    0 0 18px #EF8122;
  color:#fff;
}

/* RESPONSIVE */
@media(max-width:992px){
  .footer-container{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:576px){
  .footer-container{
    grid-template-columns:1fr;
  }
}


/* ===================== FLOATING BUTTONS ===================== */
#scrollTop{
  position:fixed;
  bottom:80px;
  right:20px;
  display:none;
  background:var(--sun-yellow);
  border:none;
  padding:10px 14px;
  border-radius:6px;
}

#whatsappBtn{
  position:fixed;
  right:15px;
  bottom:15px;
  z-index:999;
}

/* ===================== FINAL CENTERED 3D SLIDER ===================== */
.frame-slider{
  position:relative;
  overflow:hidden;
  perspective:1600px;
  transform:scale(0.98);
}

.frame-track{
  display:flex;
  align-items:center;
  transition:transform 1s ease-in-out;
  will-change: transform;
}

.frame-slide{
  flex:0 0 auto;
  width:60%;
  margin:0 5%;
  display:flex;
  justify-content:center;

  transform:scale(0.75) translateZ(-140px);
  filter:blur(5px);
  opacity:0.45;
  transition:all 1s ease-in-out;
}

.frame-slide img{
  width:100%;
  border-radius:18px;
  background:transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border:3px solid transparent;
  box-shadow:0 18px 50px rgba(0,0,0,0.25);
  transition:all .4s ease;
}

/* CENTER ACTIVE */
.frame-slide.active{
  transform:scale(1) translateZ(180px);
  filter:blur(0);
  opacity:1;
  z-index:10;
}

.frame-slide.active img{
  border:3px solid var(--sun-yellow);
  box-shadow:
    0 0 18px var(--sun-yellow),
    0 35px 90px rgba(0,0,0,0.35);
}

/* HOVER NEON */
.frame-slide.active img:hover{
  border-color:var(--orange);
  box-shadow:
    0 0 25px var(--orange),
    0 0 45px var(--sun-yellow),
    0 40px 100px rgba(0,0,0,0.45);
}
/* ===================== TYPEWRITER CONTENT ===================== */
.typewriter-text{
  font-size:20px;
  font-weight:bold;
  color:var(--dark-green);
  line-height:1.8;
  text-align:justify;
  min-height:120px;
}

.typewriter-wrapper{
  display:flex;
  justify-content:center;
  padding:30px;
}

.typewriter-frame{
  max-width:1200px;
  width:100%;
  padding:25px;
  border:3px solid #679145;
  border-radius:15px;
  background:rgba(255,255,255,0.15);
  backdrop-filter:blur(10px);
  transition:0.4s;
  box-shadow:0 0 18px rgba(103,145,69,0.5);
}

.typewriter-frame:hover{
  box-shadow:0 0 35px rgba(142,173,62,1);
  border-color:#8EAD3E;
}

/* HEADING */
.marquee-heading{
  width:100%;
  overflow:hidden;
  border:2px solid #EF8122;
  border-radius:10px;
  padding:10px;
  margin-bottom:20px;
  background:rgba(244,176,29,0.15);
  box-shadow:0 0 15px rgba(239,129,34,0.9);
}

.marquee-heading span{
  display:inline-block;
  font-size:18px;
  font-weight:900;
  color:#24298A;
  white-space:nowrap;
  animation:marq 12s linear infinite;
  text-shadow:0 0 8px rgba(36,41,138,0.7);
}

@keyframes marq{
  0%{transform:translateX(100%);}
  100%{transform:translateX(-100%);}
}

/* GRID */
.typewriter-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:25px;
}

/* TEXT BOX */
.type-box{
  min-height:450px;
  font-weight:700;
  font-size:15px;
  color:#202473;
  line-height:1.75;
  white-space:pre-wrap;
  border-left:4px solid #EF8122;
  padding-left:15px;
}

/* MOBILE */
@media(max-width:768px){
  .typewriter-grid{
    grid-template-columns:1fr;
  }
}

/* page main jo paragraph aur bullets and numberinbg ka simple text laga hua hai frame  */
.simple-wrapper{
  display:flex;
  justify-content:center;
  padding:12px;
}

.simple-frame{
  max-width:1200px;
  width:100%;
  padding:16px;
  border:3px solid #679145;
  border-radius:12px;
  background:rgba(255,255,255,0.15);
  backdrop-filter:blur(6px);
  transition:0.4s;
  box-shadow:0 0 12px rgba(103,145,69,0.5);
}

/* Hover only for desktop */
@media (hover:hover){
  .simple-frame:hover{
    box-shadow:0 0 30px rgba(142,173,62,1);
    border-color:#8EAD3E;
  }
}

.simple-heading{
  text-align:center;
  font-size:18px;
  font-weight:900;
  color:#24298A;
  border:2px solid #EF8122;
  border-radius:8px;
  padding:10px;
  margin-bottom:14px;
  background:rgba(244,176,29,0.15);
  box-shadow:0 0 10px rgba(239,129,34,0.9);
  line-height:1.4;
}

.simple-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

/* MAIN TEXT */
.simple-box{
  font-size:14px;
  font-weight:600;
  color:#202473;
  line-height:1.75;
  border-left:4px solid #EF8122;
  padding-left:12px;
  word-wrap:break-word;
}

/* HEADINGS */
.simple-box h4{
  font-size:15px;
  color:#24298A;
  margin-top:10px;
  font-weight:800;
}

.simple-box h5{
  font-size:14px;
  color:#24298A;
  margin-top:6px;
  font-weight:700;
}

/* LIST */
.simple-box ul{
  padding-left:18px;
  margin-top:6px;
}

.simple-box ul li{
  margin-bottom:5px;
}

/* ================= MOBILE FIX ================= */

@media(max-width:768px){

  .simple-wrapper{
    padding:8px;
  }

  .simple-frame{
    padding:12px;
  }

  .simple-heading{
    font-size:16px;
    padding:8px;
  }

  .simple-grid{
    grid-template-columns:1fr;
  }

  .simple-box{
    font-size:13.5px;
    padding-left:10px;
  }

  .simple-box h4{
    font-size:14px;
  }

  .simple-box h5{
    font-size:13.5px;
  }

}

/* ================= SMALL MOBILE ================= */

@media(max-width:480px){

  .simple-heading{
    font-size:15px;
  }

  .simple-box{
    font-size:13px;
    line-height:1.7;
  }

}

.data-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  border:2px solid #202473;   /* Outer strong border */
}

.data-table th{
  background:#679145;
  color:#fff;
  padding:8px;
  text-align:center;
  border:1.5px solid #202473;
}

.data-table td{
  padding:7px;
  border:1.5px solid #202473;
  text-align:center;
  background:rgba(255,255,255,0.95);
}

.data-table tr:nth-child(even){
  background:#F8E7BC;
}

.total-row td{
  font-weight:800;
  background:#FAD773;
  border:2px solid #202473;
}
.data-table tr:hover td{
  background:#8EAD3E;
  color:#000;
  transition:0.3s;
}
/* ================= CTA SECTION pehla content box ka code ================= */

.cta-wrapper{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  padding:30px 15px;
  box-sizing:border-box;
}

.cta-frame{
  width:100%;
  max-width:900px;
  box-sizing:border-box;

  background:linear-gradient(135deg,#fff6d8,#ffffff);
  border-radius:18px;
  padding:30px 25px;
  text-align:center;

  border:2px solid #f4b01d;

  /* SAFE GLOW (no overflow) */
  box-shadow:
    0 0 20px rgba(244,176,29,0.35);

  animation:glowPulse 3s infinite alternate;
}

/* Controlled glow */
@keyframes glowPulse{
  from{
    box-shadow:0 0 15px rgba(244,176,29,0.3);
  }
  to{
    box-shadow:0 0 28px rgba(244,176,29,0.55);
  }
}

.cta-title{
  color:#202473;
  font-weight:800;
  margin-bottom:6px;
}

.cta-subtitle{
  color:#ef8122;
  font-weight:700;
  margin-bottom:10px;
}

.cta-tags{
  font-size:14px;
  color:#444;
  margin-bottom:18px;
}

.cta-highlight{
  background:#ffffff;
  border-left:5px solid #679145;
  padding:12px;
  border-radius:10px;
  margin-bottom:18px;
  font-weight:600;
}

.cta-offer{
  font-size:17px;
  color:#24298a;
  margin-bottom:8px;
}

.cta-offer span{
  color:#ef8122;
  font-weight:800;
}

.cta-note{
  font-size:14px;
  color:#444;
  margin-bottom:22px;
}

/* ================= BUTTONS ================= */

.cta-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  justify-content:center;
}

.cta-btn{
  text-decoration:none;
  padding:11px 22px;
  border-radius:30px;
  font-weight:700;
  transition:all 0.3s ease;
  box-shadow:0 5px 12px rgba(0,0,0,0.15);
  white-space:nowrap;
}

/* Primary */
.cta-btn.primary{
  background:#ef8122;
  color:#fff;
}

.cta-btn.primary:hover{
  background:#d96c12;
  transform:translateY(-2px);
}

/* Secondary */
.cta-btn.secondary{
  background:#202473;
  color:#fff;
}

.cta-btn.secondary:hover{
  background:#15185a;
  transform:translateY(-2px);
}

/* Outline */
.cta-btn.outline{
  background:#fff;
  color:#202473;
  border:2px solid #202473;
}

.cta-btn.outline:hover{
  background:#202473;
  color:#fff;
  transform:translateY(-2px);
}

/* ================= 2nd content box jisko frame me design kiya gaya hai  FRAME audio with content================= */


/* =====================================================
   AFDC MAIN FRAME – STRONG GLOW + PULSE
===================================================== */

.afdc-glow-frame{
  position:relative;
  width:100%;
  max-width:1400px;
  margin:40px auto;
  padding:35px 30px;
  box-sizing:border-box;

  background:linear-gradient(135deg,#fff6d8,#ffffff);
  border-radius:20px;
  border:2px solid #f4b01d;

  overflow:visible;

  box-shadow:
    0 0 25px rgba(244,176,29,0.45),
    0 0 45px rgba(244,176,29,0.25);

  animation:afdcGlowPulse 2.5s infinite alternate;
}

@keyframes afdcGlowPulse{
  from{
    box-shadow:
      0 0 18px rgba(244,176,29,0.35),
      0 0 30px rgba(244,176,29,0.20);
  }
  to{
    box-shadow:
      0 0 35px rgba(244,176,29,0.65),
      0 0 60px rgba(244,176,29,0.35);
  }
}

/* =====================================================
   TITLES
===================================================== */

.main-title{
  text-align:center;
  color:#202473;
  font-weight:800;
  margin-bottom:25px;
}

.section-title{
  color:#ef8122;
  font-weight:800;
  margin:25px 0 12px;
}

/* =====================================================
   CONTENT LAYOUT
===================================================== */

.split-container{
  display:flex;
  gap:30px;
  flex-wrap:wrap;
}

.content-block{
  flex:1;
  min-width:280px;
}

/* =====================================================
   TEXT / POINT BOXES
===================================================== */

.point{
  background:#ffffff;
  border-left:5px solid #679145;
  padding:12px 14px;
  border-radius:10px;
  margin-bottom:14px;
  font-weight:600;
  box-shadow:0 5px 10px rgba(0,0,0,0.08);
}

/* =====================================================
   GRAPH BOX – FRAME GLOW
===================================================== */

.graph-box{
  margin-top:35px;
  padding:22px;
  background:#ffffff;
  border-radius:16px;
  border:2px solid #202473;
  text-align:center;

  overflow:visible;

  box-shadow:
    0 0 20px rgba(32,36,115,0.35),
    0 0 40px rgba(32,36,115,0.20);
}

.graph-box h3{
  color:#202473;
  margin-bottom:20px;
}

/* =====================================================
   GRAPH CONTAINER – HEIGHT + LABEL SPACE FIX
===================================================== */

.graph{
  display:flex;
  gap:14px;
  justify-content:center;
  align-items:flex-end;

  height:200px;
  padding-bottom:55px; /* IMPORTANT: subtitle cut fix */
}

/* =====================================================
   GRAPH BARS – GLOW + ANIMATION
===================================================== */

.graph .bar{
  width:50px;
  border-radius:10px 10px 0 0;
  position:relative;

  filter:drop-shadow(0 0 8px rgba(0,0,0,0.35));
  animation:barGlow 2s infinite alternate;
}

@keyframes barGlow{
  from{
    filter:drop-shadow(0 0 6px rgba(255,255,255,0.4));
  }
  to{
    filter:drop-shadow(0 0 14px rgba(255,255,255,0.85));
  }
}

/* =====================================================
   MULTI-COLOR INDIVIDUAL BARS
===================================================== */

.b1{
  height:60%;
  background:linear-gradient(180deg,#ff9800,#ffc107);
}

.b2{
  height:75%;
  background:linear-gradient(180deg,#4caf50,#8bc34a);
}

.b3{
  height:85%;
  background:linear-gradient(180deg,#2196f3,#03a9f4);
}

.b4{
  height:65%;
  background:linear-gradient(180deg,#9c27b0,#e040fb);
}

.b5{
  height:90%;
  background:linear-gradient(180deg,#f44336,#ff7961);
}

/* =====================================================
   GRAPH SUBTITLE / LABEL – ERROR FIX
===================================================== */

.graph .bar span{
  position:absolute;
  bottom:-42px;          /* enough space */
  left:50%;
  transform:translateX(-50%);

  font-size:13px;
  font-weight:700;
  color:#202473;
  white-space:nowrap;
}

/* =====================================================
   SOUND BUTTON – HOVER GLOW FIX
===================================================== */

.sound-btn{
  margin:30px auto 0;
  display:block;
  padding:12px 26px;
  border-radius:30px;
  border:none;
  cursor:pointer;

  background:#202473;
  color:#ffffff;
  font-weight:800;

  box-shadow:
    0 6px 14px rgba(0,0,0,0.25),
    0 0 0 rgba(32,36,115,0);

  transition:all 0.3s ease;
}

.sound-btn:hover{
  transform:translateY(-2px);
  box-shadow:
    0 0 20px rgba(32,36,115,0.85),
    0 0 40px rgba(32,36,115,0.55);
}

/* =====================================================
   RESPONSIVE FIX
===================================================== */

@media(max-width:768px){
  .afdc-glow-frame{
    padding:25px 18px;
  }

  .graph{
    height:180px;
  }
}

/* =====================================================
  content 3rd ka style hai  MAIN SPLIT FRAME – SAME AFDC THEME
===================================================== */



@keyframes afdcGlow{
  from{
    box-shadow:
      0 0 18px rgba(244,176,29,0.35),
      0 0 30px rgba(244,176,29,0.20);
  }
  to{
    box-shadow:
      0 0 35px rgba(244,176,29,0.65),
      0 0 60px rgba(244,176,29,0.35);
  }
}

/* =====================================================
   TITLE + INTRO (BLACK GLOW TEXT)
===================================================== */

.afdc-title{
  text-align:center;
  color:#0f172a;
  font-weight:800;
  margin-bottom:10px;

  text-shadow:
    0 0 1px rgba(0,0,0,0.35),
    0 0 3px rgba(0,0,0,0.25);
}

.afdc-title span{
  color:#202473;
}

.afdc-intro{
  text-align:center;
  font-weight:600;
  margin-bottom:30px;

  text-shadow:
    0 0 1px rgba(0,0,0,0.25),
    0 0 3px rgba(0,0,0,0.20);
}

/* =====================================================
   SPLIT FRAME (2 PARTS)
===================================================== */

.afdc-split{
  display:flex;
  gap:30px;
  flex-wrap:wrap;
}

.afdc-part{
  flex:1;
  min-width:300px;

  background:#ffffff;
  border-radius:16px;
  padding:22px;

  border:1.5px solid #202473;
  box-shadow:0 8px 18px rgba(0,0,0,0.08);
}

/* =====================================================
   HEADINGS INSIDE PARTS
===================================================== */

.afdc-part h3{
  color:#ef8122;
  margin-bottom:12px;

  text-shadow:
    0 0 1px rgba(0,0,0,0.35),
    0 0 3px rgba(0,0,0,0.25);
}

/* =====================================================
   BULLETS / POINTS (BLACK GLOW)
===================================================== */

.afdc-part ul{
  padding-left:20px;
  margin-bottom:20px;
}

.afdc-part li{
  margin-bottom:10px;
  font-weight:600;
  color:#0f172a;

  text-shadow:
    0 0 1px rgba(0,0,0,0.35),
    0 0 3px rgba(0,0,0,0.25);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width:768px){
  .afdc-split-frame{
    padding:25px 18px;
  }
}

/* ===================== 3rd  frame content index page ka pie chart ka bhi ===================== */
.afdc-machinery-frame{
  max-width:1400px;
  margin:40px auto;
  padding:35px 30px;
  background:linear-gradient(135deg,#fff6d8,#ffffff);
  border:2px solid #f4b01d;
  border-radius:20px;
  box-shadow:0 0 30px rgba(244,176,29,.45);
}
.afdc-pie-frame{
  max-width:1300px;
  margin:40px auto;
  padding:30px;
  display:flex;
  gap:30px;
  flex-wrap:wrap;

  background:linear-gradient(135deg,#fff6d8,#ffffff);
  border:2px solid #f4b01d;
  border-radius:22px;
  box-shadow:0 0 40px rgba(244,176,29,.45);
}
.afdc-pie-frame .afdc-left,
.afdc-pie-frame .afdc-right{
  flex:1;
  min-width:300px;
}

/* LEFT CONTENT */
.afdc-left{
  flex:1;
  min-width:300px;
}
.afdc-left h2,
.afdc-left h3,
.afdc-left p,
.afdc-left li{
  color:#0f172a;
  text-shadow:0 0 3px rgba(0,0,0,.35);
  font-weight:700;
}
.afdc-left ul{padding-left:22px;}

/* RIGHT SIDE */
.afdc-right{
  flex:1;
  min-width:320px;
}

/* TABLE */
.afdc-data-table{
  width:100%;
  border-collapse:collapse;
  margin-bottom:25px;
}
.afdc-data-table th{
  background:#202473;
  color:#fff;
  padding:12px;
}
.afdc-data-table td{
  padding:12px;
  font-weight:800;
}
.afdc-data-table tr{
  transition:.3s;
  cursor:pointer;
}
.afdc-data-table tr:hover{
  box-shadow:0 0 20px rgba(32,36,115,.6);
  transform:scale(1.02);
}

/* PIE */
.pie-chart{
  width:260px;
  height:260px;
  margin:auto;
  border-radius:50%;
  box-shadow:0 0 35px rgba(0,0,0,.4);
}

/* Pdf viewer page  */



  /* =============================
   BASIC RESET
============================= */


/* =============================
   PDF SECTION
============================= */
.afdc-pdf-section{
  width:100%;
  padding:40px 15px;
}

/* =============================
   MARQUEE (SAFE VERSION)
============================= */
.pdf-marquee{
  width:100%;
  background:#0f172a;
  border-radius:8px;
  overflow:hidden;
  padding:10px 0;
  margin-bottom:25px;
}

.pdf-marquee span{
  display:inline-block;
  white-space:nowrap;
  padding-left:100%;
  color:#38bdf8;
  font-weight:600;
  animation:pdfMarquee 14s linear infinite;
}

@keyframes pdfMarquee{
  0%{transform:translateX(0)}
  100%{transform:translateX(-100%)}
}

/* =============================
   FRAME
============================= */
.afdc-pdf-frame{
  max-width:1200px;
  margin:auto;
  background:#0f172a;
  border:2px solid #38bdf8;
  border-radius:16px;
  padding:30px;
  box-shadow:0 0 28px rgba(56,189,248,0.6);
}

/* =============================
   TITLE
============================= */
.pdf-title{
  text-align:center;
  font-size:24px;
  color:#facc15;
  margin-bottom:25px;
}

/* =============================
   PDF TABS
============================= */
.pdf-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin-bottom:20px;
}

.pdf-tab{
  background:#1e293b;
  color:#e5e7eb;
  border:none;
  padding:10px 16px;
  border-radius:8px;
  cursor:pointer;
  font-weight:600;
}

.pdf-tab:hover{
  color:#38bdf8;
  box-shadow:0 0 12px rgba(56,189,248,0.8);
}

.pdf-tab.active{
  background:#38bdf8;
  color:#020617;
}

/* =============================
   ACTION BUTTONS
============================= */
.pdf-actions{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:20px;
}

.pdf-btn{
  padding:10px 22px;
  border-radius:10px;
  font-weight:700;
  text-decoration:none;
  display:inline-block;
}

.pdf-btn.view{
  background:#22c55e;
  color:#052e16;
}

.pdf-btn.download{
  background:#f97316;
  color:#431407;
}

.pdf-btn:hover{
  box-shadow:0 0 18px rgba(255,255,255,0.4);
  transform:translateY(-2px);
}

/* =============================
   PDF VIEWER
============================= */
.pdf-viewer{
  width:100%;
  height:500px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid #334155;
}

.pdf-viewer iframe{
  width:100%;
  height:100%;
  border:0;
}

/* =============================
   MOBILE FIX
============================= */
@media(max-width:768px){
  .pdf-viewer{
    height:380px;
  }

  .pdf-tab{
    width:100%;
    text-align:center;
  }
}

/* ===========================
POPUP OVERLAY
=========================== */
.dpa-popup-overlay{

  position:fixed;
  top:0;
  left:0;

  width:100%;
  height:100%;

  background:rgba(2,6,23,0.85);

  display:flex;
  align-items:center;
  justify-content:center;

  padding:20px;

  z-index:99999;

  overflow:auto;
}


/* ===========================
POPUP BOX
=========================== */
.dpa-popup-box{

  position:relative;

  width:95%;
  max-width:700px;

  max-height:90vh;

  background:#0f172a;

  border-radius:16px;

  padding:20px;

  border:2px solid #38bdf8;

  box-shadow:
    0 0 25px rgba(56,189,248,0.6),
    0 0 45px rgba(56,189,248,0.4);

  overflow:auto;
}


/* ===========================
TITLE
=========================== */
.dpa-popup-title{

  text-align:center;

  color:#facc15;

  font-size:22px;

  margin-bottom:15px;
}


/* ===========================
CLOSE BUTTON
=========================== */
.dpa-close{

  position:absolute;

  top:8px;
  right:12px;

  font-size:20px;

  color:#f87171;

  cursor:pointer;

  z-index:10;
}


/* ===========================
VIDEO CONTAINER
=========================== */
.dpa-video-container{

  width:100%;

  max-height:70vh;

  display:flex;

  justify-content:center;

  align-items:center;

  overflow:hidden;
}


/* ===========================
VIDEO AUTO FIT
=========================== */
.dpa-video{

  width:auto;

  height:auto;

  max-width:100%;

  max-height:70vh;

  border-radius:10px;

  background:black;

}


/* ===========================
PORTRAIT VIDEO FIX
=========================== */
@media(min-width:768px){

  .dpa-video{

    max-height:65vh;

  }

}


/* ===========================
MOBILE FIX
=========================== */
@media(max-width:768px){

  .dpa-popup-box{

    max-height:85vh;

  }

  .dpa-video{

    max-height:60vh;

  }

}
/* Glow animation */
@keyframes popupFade{
  from{
    transform:scale(0.8);
    opacity:0;
  }
  to{
    transform:scale(1);
    opacity:1;
  }
}


.dpa-close:hover{

  color:#ef4444;

  transform:scale(1.2);

  text-shadow:0 0 10px red;
}



/* ===========================
VIDEO PLAYER
=========================== */
.dpa-video{

  width:100%;

  height:auto;

  background:black;

  outline:none;

  border-radius:10px;
}

/* ===========================
RESPONSIVE
=========================== */
@media(max-width:768px){

  .dpa-popup-title{
    font-size:18px;
  }

}







