/* ===== PREMIUM FOOTER ===== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: 'Segoe UI', sans-serif;
}
body{
  background:#0f172a;
  color:white;
  text-align:center;
}
section{
  padding:40px 20px !important;
  margin:0 !important;
}

/* ================= NAVBAR ================= */

/* NAVBAR */
.navbar{
  position:fixed;
  top:0;
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 40px;
  background:rgba(10,20,40,0.85);
  backdrop-filter:blur(15px);
  border-bottom:1px solid rgba(255,255,255,0.08);
  z-index:999;
}

/* LEFT */
.nav-left{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo{
  width:45px;
  height:45px;
  border-radius:50%;
}

.nav-title{
  font-size:18px;
  color:#fff;
  font-weight:600;
  letter-spacing:0.5px;
}
/* MOBILE */
@media (max-width:768px){

  .nav-title{
    text-align:left;
    margin-left:8px;   
    flex:1;
  }
}

/* LINKS */
.nav-links{
  display:flex;
  gap:30px;
  list-style:none;
}

.nav-links a{
  text-decoration:none;
  color:#fff;
  font-size:14px;
  transition:0.3s;
}

.nav-links a:hover{
  color:#3b82f6;
}

/* HAMBURGER */
.hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.hamburger span{
  width:25px;
  height:3px;
  background:#fff;
  border-radius:5px;
  transition:0.3s;
}

/* MOBILE  */
@media(max-width:900px){

  .nav-links{
    position:absolute;
    top:70px;
    right:-100%;
    width:250px;
    height:100vh;
    background:rgba(10,20,40,0.95);
    backdrop-filter:blur(15px);
    flex-direction:column;
    align-items:center;
    padding-top:50px;
    gap:25px;
    transition:0.4s ease;
  }

  .nav-links.active{
    right:0;
  }

  .hamburger{
    display:flex;
  }

  .nav-title{
    font-size:14px;
    max-width:180px;
  }
}

/* BODY OFFSET */
body{
  padding-top:80px;
}

/* Animate to X */
.hamburger.active span:nth-child(1){
  transform:rotate(45deg) translate(5px,5px);
}

.hamburger.active span:nth-child(2){
  opacity:0;
}

.hamburger.active span:nth-child(3){
  transform:rotate(-45deg) translate(6px,-6px);
}


/* MOBILE */
@media (max-width:768px){

  .nav-links{
    position:fixed;
    top:0;
    right:-100%;
    width:250px;
    height:100vh;
    background:#111827;
    flex-direction:column;
    padding-top:80px;
    gap:30px;
    align-items:center;
    transition:0.4s ease;
  }

  .nav-links.active{
    right:0;
  }

  .hamburger{
    display:flex;
  }

}


/* Center Title */
.nav-center{
  font-weight:600;
  font-size:16px;
  background:linear-gradient(90deg,#3b82f6,#8b5cf6);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.nav-right img:hover{
  transform:scale(1.1);
}

.search-section{
  padding:80px 20px;
  display:flex;
  justify-content:center;
}

/* SEARCH BOX WRAPPER */
.search-box{
  position:relative;
  width:60%;
  max-width:650px;
}

/* INPUT */
.search-box input{
  width:100%;
  padding:16px 20px 16px 55px;
  border-radius:50px;
  border:none;
  outline:none;
  font-size:16px;
  color:#fff;
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.1);
  transition:0.4s ease;
}

/* ICON  */
.search-icon{
  position:absolute;
  left:20px;
  top:50%;
  transform:translateY(-50%);
  font-size:18px;
  opacity:0.8;
  z-index:2;
  pointer-events:none;
}

/* HOVER EFFECT */
.search-box input:hover{
  border:1px solid rgba(255,255,255,0.25);
}

/* FOCUS PREMIUM GLOW */
.search-box input:focus{
  border:1px solid #3b82f6;
  box-shadow:
    0 0 15px rgba(59,130,246,0.5),
    0 0 30px rgba(139,92,246,0.3);
  background:rgba(255,255,255,0.12);
}

/* MOBILE RESPONSIVE */
@media(max-width:768px){
  .search-box{
    width:90%;
  }

  .search-box input{
    font-size:14px;
    padding:14px 18px 14px 50px;
  }
}

/* ===== PREMIUM CUSTOM SCROLLBAR ===== */

::-webkit-scrollbar{
  width:5px;
}

::-webkit-scrollbar-track{
  background:#0f172a; /* match background */
}

::-webkit-scrollbar-thumb{
  background:linear-gradient(
    180deg,
    #3b82f6,
    #8b5cf6
  );
  border-radius:10px;
}

::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(
    180deg,
    #06b6d4,
    #3b82f6
  );
}

/* Desktop Only Popup */
#mobileBlock{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:black;
  color:white;
  display:none;
  align-items:center;
  justify-content:center;
  font-size:24px;
  z-index:999;
}

header{
  padding:40px 20px;
}

.container{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:20px;
  padding:30px;
}

/* ===== PREMIUM GLASS BRANCH CARDS ===== */

.card {
  position: relative;
  padding: 40px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 18px;
  transition: all 0.4s ease;
  overflow: hidden;
}
.card-link {
  text-decoration: none;
  color: inherit;
}
/* Hover Effects */
.card{
  position:relative;
  padding:30px;
  border-radius:20px;
  background:#0f172a;   /* Clean solid dark background */
  overflow:hidden;
  z-index:0;
  transition:0.4s ease;
}

/* Animated Border Layer */
.card::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:22px;
  background:conic-gradient(
    from 0deg,
    #3b82f6,
    #8b5cf6,
    #06b6d4,
    #8b5cf6,
    #3b82f6
  );
  animation:rotateBorder 4s linear infinite;
  z-index:-2;
}

/* Inner Mask Layer (Keeps Only Border Visible) */
.card::after{
  content:"";
  position:absolute;
  inset:2px;
  border-radius:18px;
  background:#0f172a;
  z-index:-1;
}

/* Hover Effect */
.card:hover{
  transform:rotateY(-6deg) translateY(-8px);
  box-shadow:0 25px 50px rgba(139,92,246,0.3);
}

/* Animation */
@keyframes rotateBorder{
  0%{
    transform:rotate(0deg);
  }
  100%{
    transform:rotate(360deg);
  }
}
/* ===== ULTRA PREMIUM GLASS FOOTER ===== */

.premium-footer{
  margin-top:100px;
  padding:80px 20px 40px;
  background:linear-gradient(135deg,#070b1467,#0b1120);
  position:relative;
  overflow:hidden;
}

/* Background Glow Orbs */
.premium-footer::before,
.premium-footer::after{
  content:"";
  position:absolute;
  width:400px;
  height:400px;
  border-radius:50%;
  filter:blur(120px);
  opacity:0.4;
  z-index:0;
}

.premium-footer::before{
  background:#3b82f6;
  top:-150px;
  right:-150px;
}

.premium-footer::after{
  background:#8b5cf6;
  bottom:-150px;
  left:-150px;
}

.footer-content{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:40px;
  max-width:1200px;
  margin:auto;
  position:relative;
  z-index:2;
}

/* GLASS BOX STYLE */
.footer-brand,
.footer-links,
.footer-social{
  flex:1;
  min-width:250px;
  padding:30px;
  border-radius:20px;
  background:rgba(31, 30, 30, 0.048);
  backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,0.1);
  transition:all 0.4s ease;
  position:relative;
  overflow:hidden;
}

/* Premium Hover Lift + Glow */
.footer-brand:hover,
.footer-links:hover,
.footer-social:hover{
  transform:translateY(-10px);
  box-shadow:0 25px 50px rgba(59,130,246,0.25);
  border:1px solid rgba(59,130,246,0.4);
}

/* Animated Border Shine */
.footer-brand::before,
.footer-links::before,
.footer-social::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:20px;
  padding:1px;
  background:linear-gradient(120deg,#3b82f6,#8b5cf6,#06b6d4);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:0;
  transition:0.4s;
}

.footer-brand:hover::before,
.footer-links:hover::before,
.footer-social:hover::before{
  opacity:1;
}

/* Typography */
.footer-brand h2{
  font-size:28px;
}

.footer-brand span{
  background:linear-gradient(90deg,#3b82f6,#8b5cf6);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.footer-brand p{
  margin-top:10px;
  color:#fdfdfdb9;
  font-size:14px;
}

.footer-links h3,
.footer-social h3{
  margin-bottom:15px;
  color:white;
}

/* Premium Link Hover */
.premium-footer a{
  display:inline-block;
  text-decoration:none;
  color:#eff1f3;
  margin-bottom:8px;
  transition:all 0.4s ease;
  position:relative;
}

.premium-footer a:hover{
  background:linear-gradient(90deg,#3b82f6,#8b5cf6,#06b6d4);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  transform:translateX(6px);
}

/* Social Icons */
.social-icons{
  display:flex;
  gap:15px;
}

.social-icons a{
  padding:12px 16px;
  border-radius:12px;
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(10px);
  transition:all 0.4s ease;
}

.social-icons a:hover{
  transform:translateY(-6px) scale(1.15);
  box-shadow:0 15px 25px rgba(139,92,246,0.4);
  background:linear-gradient(45deg,#3b82f6,#8b5cf6);
  color:white;
}

/* Footer Bottom */
.footer-bottom{
  text-align:center;
  margin-top:60px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,0.1);
  font-size:14px;
  color:#64748b;
  position:relative;
  z-index:2;
}

.core-divider{
  height:3px;
  width:80%;
  margin:80px auto;
  border-radius:20px;
  position:relative;
  overflow:hidden;
}

/* Animated Line */
.core-divider::before{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:200%;
  height:100%;
  background:linear-gradient(
    90deg,
    transparent,
    #3b82f6,
    #8b5cf6,
    #06b6d4,
    #8b5cf6,
    #3b82f6,
    transparent
  );
  animation:moveLine 4s linear infinite;
}

/* Glow Effect */
.core-divider::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    #3b82f6,
    #8b5cf6
  );
  filter:blur(8px);
  opacity:0.4;
}

/* Animation */
@keyframes moveLine{
  0%{
    left:-100%;
  }
  100%{
    left:0%;
  }
}

.stats-section{
  padding:80px 20px;
  background:linear-gradient(135deg,#0f172a,#111827);
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:30px;
  max-width:1000px;
  margin:auto;
  text-align:center;
}

.stat-card{
  padding:30px;
  border-radius:18px;
  background:rgba(0, 0, 0, 0.055);
  backdrop-filter:blur(15px);
  border:1px solid rgba(255,255,255,0.1);
  transition:0.4s ease;
}

.stat-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(139,92,246,0.3);
}

.stat-card h3{
  font-size:32px;
  background:linear-gradient(90deg,#3b82f6,#8b5cf6);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* ================= FEATURED SECTION ================= */

.featured-section{
  padding:80px 20px;
  text-align:center;
}

.section-title{
  font-size:28px;
  margin-bottom:50px;
  background:linear-gradient(90deg,#3b82f6,#8b5cf6);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.featured-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:40px;
  max-width:1100px;
  margin:auto;
}

.featured-card{
  padding:40px 30px;
  border-radius:22px;
  background:rgba(0, 0, 0, 0.05);
  backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,0.1);
  transition:all 0.4s ease;
  text-align:center;
}

.featured-card:hover{
  transform:translateY(-12px) scale(1.04);
  box-shadow:0 30px 60px rgba(139,92,246,0.4);
  border:1px solid #8b5cf6;
}

.featured-card h3{
  margin-bottom:15px;
  font-size:20px;
}

.featured-card p{
  font-size:14px;
  color:#cbd5e1;
  margin-bottom:25px;
}

.featured-btn{
  display:inline-block;
  padding:12px 25px;
  border-radius:15px;
  text-decoration:none;
  font-weight:600;
  background:linear-gradient(45deg,#3b82f6,#8b5cf6);
  color:white;
  transition:0.3s ease;
}

.featured-btn:hover{
  transform:scale(1.1);
  box-shadow:0 15px 30px rgba(139,92,246,0.6);
}

.most-downloaded{
  padding:70px 20px;
  text-align:center;
}

.section-title{
  font-size:22px;
  margin-bottom:40px;
  background:linear-gradient(90deg,#3b82f6,#8b5cf6);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.download-grid{
  display:grid;
  gap:30px;
  max-width:1200px;
  margin:0 auto;
  padding:20px;
}

/* Mobile: Single column */
@media (max-width:767px){
  .download-grid{
    grid-template-columns:1fr;
  }
}

/* Tablet: 2 columns */
@media (min-width:768px) and (max-width:1023px){
  .download-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* Desktop: 3 equal premium boxes */
@media (min-width:1024px){
  .download-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

/* Glass Card */
.download-card{
  position:relative;
  padding:25px;
  border-radius:20px;
  background:rgba(0, 0, 0, 0.103);
  backdrop-filter:blur(15px);
  border:1px solid rgba(255, 255, 255, 0.144);
  transition:0.4s ease;
  overflow:hidden;
}

/* Hover Glow */
.download-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(139,92,246,0.3);
  border:1px solid rgba(139,92,246,0.4);
}

/* Title */
.download-card h3{
  font-size:16px;
  margin-bottom:10px;
  color:#e2e8f0;
}

/* Hidden Paragraph */
.download-card p{
  font-size:13px;
  color:#94a3b8;
  opacity:0;
  transform:translateY(10px);
  transition:0.3s ease;
}

/* Reveal on Hover */
.download-card:hover p{
  opacity:1;
  transform:translateY(0);
}
/* ================= STUDY TIPS GRID ================= */

.tips-section{
  padding:100px 20px;
  text-align:center;
}

.tips-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:35px;
  max-width:1200px;
  margin:auto;
}

/* Glass Card */
.tip-card{
  padding:30px;
  border-radius:20px;
  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,0.1);
  transition:all 0.4s ease;
  transform-style:preserve-3d;
}

.tip-card{
  position:relative;
  padding:30px;
  border-radius:20px;
  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(20px);
  overflow:hidden;
  z-index:0;
}

.tip-card{
  position:relative;
  padding:30px;
  border-radius:20px;
  background:#0f172a;   /* Clean solid dark background */
  overflow:hidden;
  z-index:0;
  transition:0.4s ease;
}

/* Animated Border Layer */
.tip-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:22px;
  background:conic-gradient(
    from 0deg,
    #3b82f6,
    #8b5cf6,
    #06b6d4,
    #8b5cf6,
    #3b82f6
  );
  animation:rotateBorder 4s linear infinite;
  z-index:-2;
}

/* Inner Mask Layer (Keeps Only Border Visible) */
.tip-card::after{
  content:"";
  position:absolute;
  inset:2px;
  border-radius:18px;
  background:#0f172a;
  z-index:-1;
}

/* Hover Effect */
.tip-card:hover{
  transform:rotateY(-6deg) translateY(-8px);
  box-shadow:0 25px 50px rgba(139,92,246,0.3);
}

/* Animation */
@keyframes rotateBorder{
  0%{
    transform:rotate(0deg);
  }
  100%{
    transform:rotate(360deg);
  }
}

/*================= LECTURE SECTION ================= */

.lecture-section{
  padding:100px 20px;
  text-align:center;
}

.lecture-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:40px;
  max-width:1200px;
  margin:auto;
}

.lecture-card{
  padding:20px;
  border-radius:22px;
  background:rgba(0, 0, 0, 0.151);
  backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,0.1);
  transition:0.4s ease;
}

.lecture-card:hover{
  transform:translateY(-10px);
  box-shadow:0 25px 50px rgba(139,92,246,0.4);
}

.lecture-card iframe{
  width:100%;
  height:220px;
  border-radius:15px;
  border:none;
}

.lecture-card h3{
  margin-top:15px;
  font-size:18px;
}
/* ================= DISCLAIMER ================= */

.disclaimer-section{
  padding:80px 20px;
  display:flex;
  justify-content:center;
}

.disclaimer-card{
  position:relative;
  padding:50px;
  border-radius:25px;
  background:#0f172a;
  overflow:hidden;
  z-index:1;
}

/* Animated Border Layer */
.disclaimer-card::before{
  content:"";
  position:absolute;
  inset:-3px;
  border-radius:28px;
  background:conic-gradient(
    from 0deg,
    #3b82f6,
    #8b5cf6,
    #06b6d4,
    #3b82f6
  );
  animation:spinBorder 4s linear infinite;
  z-index:-2;
}

/* Inner Background Mask */
.disclaimer-card::after{
  content:"";
  position:absolute;
  inset:3px;
  border-radius:22px;
  background:#0f172a;
  z-index:-1;
}

/* Animation */
@keyframes spinBorder{
  0%{
    transform:rotate(0deg);
  }
  100%{
    transform:rotate(360deg);
  }
}

.disclaimer-card h3{
  margin-bottom:20px;
  font-size:20px;
  letter-spacing:1px;
  background:linear-gradient(90deg,#3b82f6,#8b5cf6);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.disclaimer-card p{
  margin-bottom:5px;
  font-size:14px;
}

.disclaimer-card .license{
  margin-top:20px;
  font-size:15px;
  font-weight:600;
  color:#a5b4fc;
}
/* ================= GALLERY ================= */

.gallery-section{
  padding:100px 0;
  text-align:center;
  overflow:hidden;
}

.gallery-wrapper{
  position:relative;
  width:100%;
  overflow:hidden;
}

/* Blur edges */
.gallery-wrapper::before,
.gallery-wrapper::after{
  content:"";
  position:absolute;
  top:0;
  width:450px;
  height:100%;
  z-index:2;
  pointer-events:none;
}

/* Left Blur */
.gallery-wrapper::before{
  left:0;
  background:linear-gradient(
    to right,
    rgba(15,23,42,1) 0%,
    rgba(15,23,42,0.9) 30%,
    rgba(15,23,42,0.6) 60%,
    transparent 100%
  );
}

/* Right Blur */
.gallery-wrapper::after{
  right:0;
  background:linear-gradient(
    to left,
    rgba(15,23,42,1) 0%,
    rgba(15,23,42,0.9) 30%,
    rgba(15,23,42,0.6) 60%,
    transparent 100%
  );
}


/* Track */
.gallery-track{
  display:flex;
  gap:30px;
  width:max-content;
  animation:scrollGallery 25s linear infinite;
}

.gallery-track img{
  width:300px;
  height:200px;
  object-fit:cover;
  border-radius:20px;
  transition:0.4s ease;
  border:1px solid rgba(255,255,255,0.1);
}

.gallery-track img:hover{
  transform:scale(1.08);
  box-shadow:0 25px 50px rgba(139,92,246,0.4);
}

/* Animation */
@keyframes scrollGallery{
  0%{
    transform:translateX(-50%);
  }
  100%{
    transform:translateX(0%);
  }
}
.gallery-section{
  padding:60px 15px;
}

.gallery-wrapper{
  min-height:160px;   /* prevent collapse */
}
@media (max-width:768px){

  .gallery-track img{
    width:220px;      /* bigger */
    height:150px;
  }

}
@media (max-width:768px){

  .gallery-wrapper::before,
  .gallery-wrapper::after{
    width:80px;   /* reduce blur width */
  }

}


.visitor-counter{
  margin-top:40px;
  text-align:center;
  font-size:18px;
  font-weight:600;
  color:#a5b4fc;
  padding:15px 25px;
  border-radius:15px;
  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(10px);
  display:inline-block;
}

/* Chatbot Container */
.chatbot-container{
  position:fixed;
  bottom:20px;
  right:20px;
  z-index:9999;
}

/* Floating Button */
.chat-button{
  width:65px;
  height:65px;
  border-radius:50%;
  background:linear-gradient(135deg,#3b82f6,#8b5cf6);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 8px 25px rgba(0,0,0,0.3);
  transition:0.3s;
}

.chat-button img{
  width:35px;
}

.chat-button:hover{
  transform:scale(1.1);
}

/* WINDOW */
.chat-window{
  position:fixed;
  bottom:90px;
  right:20px;
  width:320px;
  height:420px;
  background:#0b1a30;
  border-radius:18px;
  display:none;
  flex-direction:column;
  overflow:hidden;
  box-shadow:0 20px 50px rgba(0,0,0,.5);
  backdrop-filter:blur(15px);
  z-index:9999;
}

/* HEADER */
.chat-header{
  padding:14px 16px;
  font-weight:600;
  background:linear-gradient(90deg,#3b82f6,#8b5cf6);
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* BODY */
.chat-body{
  flex:1;
  padding:15px;
  overflow-y:auto;
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* MESSAGE BASE */
.msg{
  max-width:75%;
  padding:10px 14px;
  border-radius:16px;
  font-size:14px;
  line-height:1.4;
  word-wrap:break-word;
  position:relative;
}

/* BOT MESSAGE (LEFT) */
.msg.bot{
  background:rgba(255,255,255,0.08);
  align-self:flex-start;
  border-bottom-left-radius:4px;
}

/* USER MESSAGE (RIGHT) */
.msg.user{
  background:linear-gradient(135deg,#3b82f6,#6366f1);
  align-self:flex-end;
  border-bottom-right-radius:4px;
}

/* INPUT */
.chat-input{
  display:flex;
  border-top:1px solid rgba(255, 255, 255, 0.445);
}

.chat-input input{
  flex:1;
  padding:18px;
  border:none;
  outline:none;
  background:transparent;
  color:white;
}

.chat-input button{
  background:#3b82f6;
  border:none;
  padding:18px 16px;
  color:white;
  cursor:pointer;
}
/* CLOSE BUTTON CONTAINER */
.chat-close{
  position:relative;
  width:34px;
  height:34px;
  border:none;
  cursor:pointer;
  border-radius:10px;
  background:rgba(255, 253, 253, 0.08);
  backdrop-filter:blur(10px);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.25s;
  box-shadow:inset 0 0 10px rgba(255,255,255,.08);
}

/* HOVER GLOW */
.chat-close:hover{
  background:rgba(253, 253, 253, 0.25);
  box-shadow:
    0 0 12px rgba(59,130,246,.5),
    0 0 24px rgba(139,92,246,.4);
  transform:scale(1.08);
}

/* CROSS LINES */
.chat-close span{
  position:absolute;
  width:16px;
  height:2px;
  background:linear-gradient(90deg,#f5f5f5,#ffffff);
  border-radius:2px;
  transition:.3s;
}

/* X SHAPE */
.chat-close span:first-child{
  transform:rotate(45deg);
}

.chat-close span:last-child{
  transform:rotate(-45deg);
}

/* ANIMATED ON HOVER */
.chat-close:hover span{
  width:20px;
  background:linear-gradient(90deg,#ff0000);
}

/* Mobile */
@media(max-width:768px){
  .chat-window{
    width:90vw;
    right:-0.1px;
  }
}

.privacy-btn{
  display:inline-block;
  margin-top:12px;
  padding:9px 18px;
  border-radius:30px;
  background:linear-gradient(135deg,#3b82f6,#8b5cf6);
  color:white;
  text-decoration:none;
  font-size:14px;
  transition:.25s;
}

.privacy-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 0 15px rgba(99,102,241,.6);
}
/* ================= MOBILE BRANCH LAYOUT FIX ================= */
@media (max-width:768px){

  .branch-grid{
    display:grid;
    grid-template-columns: repeat(2,1fr);
    gap:14px;
    padding:0 14px;
  }

  /* Make cards equal size */
  .branch-grid .card{
    width:100%;
    height:72px;
    font-size:16px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  /* Last single card center automatically */
  .branch-grid .card:last-child:nth-child(odd){
    grid-column:1 / -1;
    width:70%;
    margin:auto;
  }

  /* Section spacing */
  .branch-wrapper{
    padding-top:20px;
  }

  .branch-heading{
    margin-bottom:14px;
    font-size:22px;
  }
}
@media (max-width:768px){

  .branch-grid .card:active{
    transform:scale(.95);
    box-shadow:0 0 18px rgba(99,102,241,.6);
  }
}
.seo-content{
  position:absolute;
  left:-9999px;
}

.tools-section{
  padding:80px 20px;
  text-align:center;
}

/* Perfect center container */
.tools-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:28px;
  max-width:1200px;      /* SAME width as other sections */
  margin:40px auto 0 auto; /* auto centers perfectly */
  padding:0 20px;
}

.tool-card{
  background:rgba(0, 0, 0, 0.103);
  border: 1px solid rgba(255,255,255,0.1);
  padding:35px;
  border-radius:16px;
  transition:.3s;
  backdrop-filter:blur(10px);
  height:100%;           /* equal height cards */
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.tool-card:hover{
  transform:translateY(-10px);
  box-shadow:0 0 20px rgba(99,102,241,.6);
}

.tool-card button{
  margin:22px auto 0 auto;
  padding:10px 22px;
  font-size:14px;
  font-weight:600;
  letter-spacing:.5px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  position:relative;
  color:#fff;
  background:linear-gradient(90deg,#00f0ff,#7a5cff);
  transition:all .35s ease;
  width:auto;
  min-width:120px;
}

/* Glow effect */
.tool-card button::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:999px;
  background:linear-gradient(90deg,#00f0ff,#7a5cff);
  filter:blur(14px);
  opacity:.0;
  transition:opacity .35s ease;
  z-index:-1;
}

/* Hover */
.tool-card button:hover{
  transform:translateY(-3px) scale(1.04);
  box-shadow:0 10px 28px rgba(122,92,255,.35);
}

.tool-card button:hover::before{
  opacity:.7;
}

/* Click */
.tool-card button:active{
  transform:scale(.96);
}


.tool-modal{
 position:fixed;
 inset:0;
 background:rgba(0,0,0,.6);
 backdrop-filter:blur(8px);
 display:none;
 align-items:center;
 justify-content:center;
 z-index:9999;
}

.tool-box{
 background:#0f172a;
 padding:35px;
 border-radius:18px;
 width:320px;
 text-align:center;
 position:relative;
}

.closeTool{
 position:absolute;
 right:15px;
 top:10px;
 cursor:pointer;
 font-size:20px;
}

.tool-content{display:none;}

.tool-box input{
 width:100%;
 margin:8px 0;
 padding:10px;
 border-radius:8px;
 border:none;
 outline:none;
}

.tool-box button{
 margin-top:10px;
 padding:8px 18px;
 border-radius:8px;
 border:none;
 background:linear-gradient(90deg,#00f0ff,#7a5cff);
 color:white;
}

.pricing-section {
  padding: 80px 5%;
  text-align: center;
}

.section-title {
  font-size: 32px;
  margin-bottom: 50px;
  color: #4fc3ff;
  letter-spacing: 1px;
}

/* CONTAINER */
.pricing-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* CARD */
.pricing-card {
  position: relative;
  width: 280px;
  padding: 30px;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: 0.4s ease;
  overflow: hidden;
}

/* HOVER GLOW */
.pricing-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 25px rgba(79, 195, 255, 0.3);
}

/* POPULAR CARD */
.pricing-card.popular {
  border: 1px solid #4fc3ff;
  box-shadow: 0 0 30px rgba(79, 195, 255, 0.4);
}

/* BADGE */
.badge {
  position: absolute;
  top: 15px;
  right: -40px;
  background: linear-gradient(45deg, #00c6ff, #7b2cff);
  color: white;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 12px;
}

/* TEXT */
.pricing-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.price {
  font-size: 28px;
  margin-bottom: 20px;
  color: #4fc3ff;
}

.price span {
  font-size: 14px;
  color: #aaa;
}

/* FEATURES */
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.pricing-card ul li {
  margin: 10px 0;
  color: #ccc;
  font-size: 14px;
}

/* BUTTON */
.buy-btn {
  margin-top: 15px;
  padding: 10px 25px;
  border: none;
  border-radius: 20px;

  background: linear-gradient(90deg, #00c6ff, #7b2cff);
  color: white;
  cursor: pointer;

  transition: 0.3s;
}

.buy-btn:hover {
  box-shadow: 0 0 15px #4fc3ff;
}
.qr-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.qr-box {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.qr-box img {
  width: 200px;
  margin-bottom: 10px;
}

#closeQR {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #000;
  font-size: 35px;
  cursor: pointer;
}

/* ===== SECTION ===== */
.poll-section{
  padding:90px 20px;
  text-align:center;
  position:relative;
}

.section-title{
  font-size:26px;
  margin-bottom:30px;
  background:linear-gradient(90deg,#00f0ff,#7a5cff);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  font-weight:700;
  letter-spacing:.5px;
}


/* ===== BUTTON AREA ===== */
.poll{
  max-width:720px;
  margin:30px auto 20px auto;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}

/* buttons */
.poll button{
  padding:15px 10px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  backdrop-filter:blur(10px);
  color:#fff;
  font-weight:600;
  letter-spacing:.5px;
  cursor:pointer;
  transition:.35s ease;
}

/* hover */
.poll button:hover{
  transform:translateY(-4px);
  border-color:#7a5cff;
  box-shadow:0 0 18px rgba(122,92,255,.45);
}

/* active */
.poll button.active{
  background:linear-gradient(90deg,#00f0ff,#7a5cff);
  border-color:transparent;
  box-shadow:0 6px 20px rgba(0,240,255,.45);
}


/* ===== RESULT CHART ===== */
#voteResult{
  margin-top:45px;
  display:flex;
  justify-content:center;
  align-items:flex-end;
  gap:34px;
  height:300px;
  padding:40px 10px 25px;
  position:relative;
}
/* each column */
.chart-col{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:center;
  height:100%;
  width:80px;
}

/* percent */
.chart-percent{
  font-size:14px;
  margin-bottom:8px;
  color:#bdfcff;
}

/* track */
.chart-track{
  width:100%;
  height:100%;      /* critical fix */
  background:rgba(255,255,255,.05);
  border-radius:20px;
  overflow:hidden;
  display:flex;
  align-items:flex-end;  
}

/* animated bar */
.vote-bar{
  width:100%;
  height:0%;
  border-radius:20px;
  background:linear-gradient(180deg,#00f0ff,#7a5cff);
  box-shadow:0 10px 25px rgba(0,240,255,.35);
  transition:height 1s cubic-bezier(.22,1,.36,1);
}

/* label */
.chart-percent{
  margin-bottom:12px;
  font-weight:600;
}

.chart-label{
  margin-top:12px;
  font-size:14px;
  opacity:.95;
}
/* ===== MOBILE ===== */
@media (max-width:600px){

  .section-title{
    font-size:20px;
  }

  .poll{
    gap:12px;
  }

  #voteResult{
    height:200px;
    gap:16px;
  }

  .chart-col{
    width:55px;
  }

  .chart-percent{
    font-size:12px;
  }

  .chart-label{
    font-size:11px;
  }

}


/* ===== DESKTOP ===== */
@media (min-width:900px){

  #voteResult{
    height:320px;
    gap:40px;
  }

  .chart-col{
    width:90px;
  }

  .chart-label{
    font-size:14px;
  }

}

/* Hover glow */
.poll button:hover{
  transform:translateY(-4px);
  border-color:#7a5cff;
  box-shadow:0 0 18px rgba(122,92,255,.45);
}

/* Selected state */
.poll button.active{
  background:linear-gradient(90deg,#00f0ff,#7a5cff);
  border-color:transparent;
  box-shadow:0 6px 20px rgba(0,240,255,.45);
}

/* ===== RESULT CHART AREA ===== */
#voteResult{
  margin-top:45px;
  display:flex;
  justify-content:center;
  align-items:flex-end;
  gap:28px;
  height:260px;
  padding:20px 10px 10px;
}

/* Each column */
.vote-col{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  height:100%;
  width:70px;
}

/* percentage text */
.vote-percent{
  font-size:14px;
  margin-bottom:8px;
  color:#bdfcff;
}

/* bar background track */
.vote-track{
  width:100%;
  height:100%;
  background:rgba(255,255,255,.06);
  border-radius:16px;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  backdrop-filter:blur(6px);
}

/* animated bar fill */
.vote-bar{
  width:100%;
  height:0%;
  border-radius:16px;
  background:linear-gradient(180deg,#00f0ff,#7a5cff);
  box-shadow:0 0 18px rgba(0,240,255,.6);
  transition:height 1s cubic-bezier(.22,1,.36,1);
}

/* subject label */
.vote-label{
  margin-top:10px;
  font-size:13px;
  letter-spacing:.5px;
  color:#eaffff;
}


/* ===== Revision Question Section ===== */

.question-section{
  padding:100px 20px;
  text-align:center;
}

/* main glass box */
.question-box{
  max-width:700px;
  margin:40px auto 0 auto;
  padding:40px 30px;
  border-radius:20px;
  background:rgba(15, 13, 13, 0);
  backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.08);
  position:relative;
  overflow:hidden;
}

/* subtle animated glow */
.question-box::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:20px;
  background:linear-gradient(120deg,#030303bd,#000000b9,#000000);
  filter:blur(28px);
  opacity:.18;
  z-index:-1;
}

/* question text */
#questionText{
  font-size:20px;
  line-height:1.6;
  letter-spacing:.4px;
  color:#dffcff;
  margin-bottom:25px;
  min-height:60px;
  transition:.25s ease;
}

/* generate button */
.question-box button{
  padding:11px 26px;
  border:none;
  border-radius:999px;
  font-weight:600;
  letter-spacing:.5px;
  cursor:pointer;
  color:#fff;
  background:linear-gradient(90deg,#00f0ff,#7a5cff);
  transition:.35s ease;
  position:relative;
}

/* glow aura */
.question-box button::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:999px;
  background:linear-gradient(90deg,#00f0ff,#7a5cff);
  filter:blur(16px);
  opacity:0;
  transition:.35s;
  z-index:-1;
}

/* hover effect */
.question-box button:hover{
  transform:translateY(-4px) scale(1.05);
}

.question-box button:hover::before{
  opacity:.75;
}

/* click animation */
.question-box button:active{
  transform:scale(.95);
}
/* typing cursor */
#questionText::after{
  content:"|";
  margin-left:4px;
  animation:blink 1s infinite;
}

@keyframes blink{
  0%,50%,100%{opacity:1}
  25%,75%{opacity:0}
}
