@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #f5f7fa, #e4e8f0);
  padding: 0px;
  overflow-x: hidden;
}

.header-container {
  background: linear-gradient(to right, #2a4d8f, #3a6cca);
  color: #fff;
  border-radius: 12px;
  padding: 30px 20px 30px;
  margin-bottom: 25px;
  text-align: center;
}

.form-container {
  background: linear-gradient(
      rgba(255, 255, 255, 0.91),
      rgba(255, 255, 255, 0.9)
    ),
    url("telangana_logo.png") #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 450px;
}

.form-label {
  margin-bottom: 5px !important;
  font-weight: 500 !important;
}
.form-control:focus {
  box-shadow: none !important;
  outline: none !important;
}
.form-control {
  border-radius: 6px;
  padding: 12px 15px;
  background-color: #ffffffc2;
}

.emoji-rating {
  display: inline-flex;
  justify-content: space-between;
  margin-top: 7px 0;
}

.emoji-option {
  flex: 1;
  margin: 0 5px;
  text-align: center;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: 0.3s;
  min-width: 140px;
}

.emoji {
  font-size: 2rem;
}

.emoji-option.selected.excellent {
  background: #d4edda;
}

.emoji-option.selected.good {
  background: #cce5ff;
}

.emoji-option.selected.average {
  background: #fff3cd;
}

.emoji-option.selected.poor {
  background: #f8d7da;
}

.captcha-container {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha-question {
  font-weight: 600;
  color: #2a4d8f;
}

.cus-in {
  position: absolute;
  z-index: -1;
  visibility: hidden;
}

.error {
  color: rgb(235, 8, 8);
  font-size: 13px;
}

.cus-h5 {
  margin-top: 10px;
  margin-bottom: 0px;
}
.logs {
  max-height: 130px;
}
.d-cont {
  max-width: 900px;
  margin: 0 auto;
  font-weight: 500;
  line-height: 26px;
}
.cusmodal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.cusmodal-content {
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  /* animation: zoomIn 0.3s ease;  */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.cusmodal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #333;
  font-size: 25px;
  font-weight: bold;
  cursor: pointer;
}
body.modal-open {
  overflow: hidden; /* disables background scroll */
}

.cusmodal h4 {
  margin-bottom: 15px;
  font-weight: 600;
}

.cusmodal p {
  font-size: 14px;
  margin-bottom: 20px;
}
.icon-rating {
  display: flex;
  gap: 20px;
}

.icon-option {
  text-align: center;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: transform 0.2s ease, background 0.3s;
  min-width: 140px;
}

.icon-option i {
  font-size: 28px;
  display: block;
  margin-bottom: 6px;
}

.icon-option:hover {
  /* transform: scale(1.01); */
}

/* Selected State Colors */
.icon-option.selected.excellent {
  background: #d4edda; /* greenish */
}

.icon-option.selected.good {
  background: #cce5ff; /* blueish */
}

.icon-option.selected.average {
  background: #fff3cd; /* yellowish */
}

.icon-option.selected.poor {
  background: #f8d7da; /* reddish */
}

.main_title_bg {
  margin-block: 20px;
  text-align: center;
}
.main_title_bg h3.form_title.one {
  font-size: 40px;
  background: linear-gradient(90deg, #000, #000);
  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
}
.main_title_bg h3.form_title {
  margin-bottom: 0;
  font-size: 36px;
  background: linear-gradient(90deg, #000, #000);
  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
}

@media (max-width: 576px) {
  h5 b em {
    font-size: 15px;
  }
}
@media (max-width: 767px) {

  .form-container {
    background-size: 300px;
  }
  .header-container {
    padding: 30px 15px;
  }
  .emoji-option,
  .icon-option {
    min-width: auto;
  }
  .logs {
    max-height: 80px;
  }
  .form-container {
    padding: 10px 10px 25px;
  }
  .section-title {
    font-size: 15px;
  }
  body {
    font-size: 14px;
  }
  .cus-h5 {
    font-size: 16px;
  }
  .btn-primary {
    width: 100% !important;
    padding: 12px;
  }
  .form-control {
    border-radius: 6px;
    padding: 9px 10px;
  }
  .d-cont {
    font-weight: 400;
    margin-top: 15px;
  }
  button.py-3 {
    padding-top: 13px !important;
    padding-bottom: 13px !important;
  }

  .main_title_bg h3.form_title {
    font-size: 17px;
    font-weight: 500;
  }
  .main_title_bg h3.form_title.one {
    font-size: 17px;
    margin-bottom: 6px;
    font-weight: 700;
  }
}

.ribbon-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(270deg, #2a4d8f, #3a6cca, #2a4d8f);
  background-size: 300% 300%;
  /* animation: gradientShift 6s ease infinite, pulse 2s infinite; */

  color: #fff;
  font-weight: 600;
  font-size: 22px;
  padding: 8px 20px;
  border-radius: 3px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  text-align: center;
  white-space: nowrap;
  width: 100%;
  line-height: 36px;
}

.ribbon-text span {
  font-size: 30px;
  color: #ffeb3b; /* highlight "you" */
  animation: glow 1.5s ease-in-out infinite alternate;
}

/* Gradient shifting animation */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Subtle pulse */
@keyframes pulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.05);
  }
}

/* Glow effect for "you" */
@keyframes glow {
  from {
    text-shadow: 0 0 5px #ffeb3b, 0 0 10px #ffeb3b;
  }
  to {
    text-shadow: 0 0 15px #ffc107, 0 0 25px #ffc107;
  }
}

.scroll-title {
  position: absolute;
  top: 8%;
  left: 40%;
  width: 33%;
  overflow: hidden;
  white-space: nowrap;
  color: #fff;
  font-size: 40px;
}

.scroll-title span {
  display: inline-block;
  padding-left: 100%;
  animation: scrollText 10s linear infinite;
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 768px) {
  .scroll-title {
    font-size: 15px;
    top: 7%;
    left: 34%;
    width: 38%;
  }
}

:root {
  --primary: #0c4da2;
  --secondary: #ff6b35;
  --light: #f8f9fa;
  --dark: #212529;
  --success: #28a745;
  --gradient-primary: linear-gradient(135deg, #0c4da2 0%, #1a73e8 100%);
  --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #ff9a3d 100%);
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
  font-family: "Poppins", sans-serif;
  color: #444;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
.navbar-toggler{
    border: 0px !important;
}
.navbar-toggler:focus{
    box-shadow: none !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

/* Navbar */
.navbar {
  padding: 0px 0;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 1) !important;
  box-shadow: var(--shadow);
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
}

.navbar-brand img {
  margin-right: 10px;
  height: 80px;
}
.navbar-brand {
    padding: 0px;
}

.nav-link {
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  color: var(--dark) !important;
}

.nav-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

.navbar .btn-primary {
  background: var(--gradient-primary);
  border: none;
  border-radius: 50px;
  padding: 8px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navbar .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Hero Section */
.hero {
  background: var(--gradient-primary);
  color: white;
  padding: 80px 0 80px;
  position: relative;
  overflow: hidden;
}
.g-a-img {
  justify-content: center;
  gap: 30px;
  align-items: center;
}
.g-a-img img {
  height: 150px;
  /* height: 150px; */
  transform: scaleX(-1);
  border-radius: 10px;

  /* object-fit: cover; */
  /* border-radius: 50%; */
}

.hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48ZyBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMC41IiBzdHJva2Utb3BhY2l0eT0iMC4yIj48cGF0aCBkPSJNIDAgMCBMIDYwIDYwIE0gNjAgMCBMIDAgNjAiLz48L2c+PC9zdmc+");
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

.btn-light {
  background: white;
  color: var(--primary);
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-right: 15px;
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
  border-radius: 50px;
  padding: 10px 28px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Section Styles */
.section-title {
  position: relative;
  margin-bottom: 40px;
  font-weight: 700;
  color: var(--primary);
}

.section-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 70px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

.section-title.center:after {
  left: 50%;
  transform: translateX(-50%);
}

.section-padding {
  padding: 80px 0;
}

/* About Section */
.about {
  background: var(--light);
}

.role-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
}

.role-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.role-icon img {
  width: 70px;
  height: 70px;
  /* background: var(--gradient-primary); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 28px;
}

/* Collector Section */
.collector-profile {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.collector-profile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.collector-img {
  height: 300px;
  overflow: hidden;
  position: relative;
}

/* .collector-img:before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 50%;
            background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
            z-index: 1;
        } */

.collector-img .img-placeholder {
  height: 100%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 5rem;
}

.collector-details {
  padding: 25px;
}

.badge-history {
  background: var(--gradient-secondary);
  color: white;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Initiatives Section */
.initiatives {
  background: var(--light);
}

.initiative-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
}

.initiative-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.initiative-icon {
  background: var(--gradient-primary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  margin-bottom: 20px;
  overflow: hidden;
}
.initiative-icon img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}
.l-img img {
  height: 60px;
  margin-bottom: 10px;
}
/* Sections Grid */
.section-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  border-left: 4px solid var(--primary);
}

.section-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-left: 4px solid var(--secondary);
}

.section-card h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 15px;
}

/* Contact Section */
.contact {
  background: var(--gradient-primary);
  color: white;
}

.contact-info {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.contact-info:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background: #0a3a7a;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
}

.footer-links h5 {
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h5:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  margin-right: 10px;
  transition: all 0.3s ease;
}
a{
    text-decoration: none !important;
}
.social-icons a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.banner-sec {
  position: relative;
}

.scroll-title {
  position: absolute;
  top: 8%;
  left: 40%;
  width: 33%;
  overflow: hidden;
  white-space: nowrap;
  color: #fff;
  font-size: 40px;
}

.scroll-title span {
  display: inline-block;
  padding-left: 100%;
  animation: scrollText 10s linear infinite;
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .section-padding {
    padding: 45px 0;
  }
}

@media (max-width: 768px) {
  .scroll-title {
    font-size: 15px;
    top: 7%;
    left: 34%;
    width: 38%;
  }
  .role-card h3 {
    font-size: 20px;
  }
  .navbar-brand {
    font-size: 16px;
  }
  .hero h1 {
    font-size: 2.3rem;
  }

  .hero {
    padding: 60px 0 60px;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 30px 0 30px;
  }
  .section-card {
    padding: 17px;
  }
  .role-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }
  .img-placeholder img {
    height: 100%;
    object-fit: cover;
  }
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 35px;
  }
  .section-card h3 {
    font-size: 1.2rem;
  }
  .footer {
    padding: 40px 0 20px;
  }
  .navbar-toggler-icon {
    padding: 4px 7px;
    display: inline-block;
    width: 1.2em !important;
    height: 1.2em !important;
  }
  .lead {
    font-size: 1rem;
    line-height: 1.7rem;
  }
  .role-card {
    padding: 18px;
  }
  .collector-details {
    padding: 25px 18px;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: 1.5;
  }
  .hero h1 {
    font-size: 1.7rem;
    margin-bottom: 10px !important;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn-light,
  .btn-outline-light {
    display: block;
    width: 100%;
    margin: 10px 0;
  }
}

/* form css */

.header-container {
  background: linear-gradient(to right, #2a4d8f, #3a6cca);
  color: #fff;
  border-radius: 12px;
  padding: 30px 20px 30px;
  margin-bottom: 25px;
  text-align: center;
}

.form-container {
  background: linear-gradient(
      rgba(255, 255, 255, 0.91),
      rgba(255, 255, 255, 0.9)
    ),
    url("telangana_logo.png") #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 450px;
}

.section-title2 {
  background: #d4ebf8b8;
  padding: 12px;
  border-radius: 8px;
  margin: 10px 0;
  font-weight: 600;
  color: #2a4d8f;
  border-left: 4px solid #2a4d8f;
}
.form-label {
  margin-bottom: 5px !important;
  font-weight: 500 !important;
}
.form-control:focus {
  box-shadow: none !important;
  outline: none !important;
}
.form-control {
  border-radius: 6px;
  padding: 12px 15px;
  background-color: #ffffffc2;
}

.emoji-rating {
  display: inline-flex;
  justify-content: space-between;
  margin-top: 7px 0;
}

.emoji-option {
  flex: 1;
  margin: 0 5px;
  text-align: center;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: 0.3s;
  min-width: 140px;
}

.emoji {
  font-size: 2rem;
}

.emoji-option.selected.excellent {
  background: #d4edda;
}

.emoji-option.selected.good {
  background: #cce5ff;
}

.emoji-option.selected.average {
  background: #fff3cd;
}

.emoji-option.selected.poor {
  background: #f8d7da;
}

.captcha-container {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha-question {
  font-weight: 600;
  color: #2a4d8f;
}

.cus-in {
  position: absolute;
  z-index: -1;
  visibility: hidden;
}

.error {
  color: rgb(235, 8, 8);
  font-size: 13px;
}

.cus-h5 {
  margin-top: 10px;
  margin-bottom: 0px;
}
.logs {
  max-height: 130px;
}
.d-cont {
  max-width: 900px;
  margin: 0 auto;
  font-weight: 500;
  line-height: 26px;
}
.cusmodal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.cusmodal-content {
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  /* animation: zoomIn 0.3s ease;  */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.cusmodal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #333;
  font-size: 25px;
  font-weight: bold;
  cursor: pointer;
}
body.modal-open {
  overflow: hidden; /* disables background scroll */
}

.cusmodal h4 {
  margin-bottom: 15px;
  font-weight: 600;
}

.cusmodal p {
  font-size: 14px;
  margin-bottom: 20px;
}
.icon-rating {
  display: flex;
  gap: 20px;
}

.icon-option {
  text-align: center;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: transform 0.2s ease, background 0.3s;
  min-width: 140px;
}

.icon-option i {
  font-size: 28px;
  display: block;
  margin-bottom: 6px;
}

.icon-option:hover {
  /* transform: scale(1.01); */
}

/* Selected State Colors */
.icon-option.selected.excellent {
  background: #d4edda; /* greenish */
}

.icon-option.selected.good {
  background: #cce5ff; /* blueish */
}

.icon-option.selected.average {
  background: #fff3cd; /* yellowish */
}

.icon-option.selected.poor {
  background: #f8d7da; /* reddish */
}

.main_title_bg {
  margin-block: 20px;
  text-align: center;
}
.main_title_bg h3.form_title.one {
  font-size: 40px;
  background: linear-gradient(90deg, #000, #000);
  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
}
.main_title_bg h3.form_title {
  margin-bottom: 0;
  font-size: 36px;
  /* background:  linear-gradient(90deg, #000, #000);
    background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; */
  font-weight: bold;
}

@media (max-width: 576px) {
  h5 b em {
    font-size: 15px;
  }
}
@media (max-width: 767px) {
        .navbar-brand img{
        height: 52px;
    }
  .form-container {
    background-size: 300px;
  }
  .header-container {
    padding: 30px 15px;
  }
  .emoji-option,
  .icon-option {
    min-width: auto;
  }
  .logs {
    max-height: 80px;
  }
  .form-container {
    padding: 10px 10px 25px;
  }
  .section-title2 {
    font-size: 15px;
  }
  body {
    font-size: 14px;
  }
  .cus-h5 {
    font-size: 16px;
  }
  .btn-primary {
    width: 100% !important;
    padding: 12px;
  }
  .form-control {
    border-radius: 6px;
    padding: 9px 10px;
  }
  .d-cont {
    font-weight: 400;
    margin-top: 15px;
  }
  button.py-3 {
    padding-top: 13px !important;
    padding-bottom: 13px !important;
  }

  .main_title_bg h3.form_title {
    font-size: 17px;
    font-weight: 500;
  }
  .main_title_bg h3.form_title.one {
    font-size: 23px;
    margin-bottom: 6px;
    font-weight: 700;
  }
  .main_title_bg .my-3.text-black {
    font-size: 17px;
  }
}
/* form css end */

.ribbon-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(270deg, #2a4d8f, #3a6cca, #2a4d8f);
  background-size: 300% 300%;
  /* animation: gradientShift 6s ease infinite, pulse 2s infinite; */

  color: #fff;
  font-weight: 600;
  font-size: 22px;
  padding: 8px 20px;
  border-radius: 3px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  text-align: center;
  white-space: nowrap;
  width: 100%;
  line-height: 36px;
}

.ribbon-text span {
  font-size: 30px;
  color: #ffeb3b; /* highlight "you" */
  animation: glow 1.5s ease-in-out infinite alternate;
}

/* Gradient shifting animation */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Subtle pulse */
@keyframes pulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.05);
  }
}

/* Glow effect for "you" */
@keyframes glow {
  from {
    text-shadow: 0 0 5px #ffeb3b, 0 0 10px #ffeb3b;
  }
  to {
    text-shadow: 0 0 15px #ffc107, 0 0 25px #ffc107;
  }
}

/* Past MDs Page Specific Styles */
.current-md {
  background: var(--gradient-primary);
  color: white;
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.current-md:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(50px, -50px);
}

.current-md-content {
  position: relative;
  z-index: 1;
}

.current-md-badge {
  background: var(--secondary);
  color: white;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
}

.current-md-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  /* margin-bottom: 20px; */
}

.current-md-image img {
  width: 100%;
  height: auto;
}

.past-mds-list {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: var(--shadow);
}

.past-md-item {
  display: flex;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.past-md-item:last-child {
  border-bottom: none;
}

.past-md-item:hover {
  background: #f8f9fa;
  border-radius: 10px;
}

.past-md-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  flex-shrink: 0;
  border: 3px solid var(--light);
}

.past-md-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.past-md-info {
  flex-grow: 1;
}

.past-md-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
}

.past-md-tenure {
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 8px;
}

.past-md-about {
  color: #666;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 992px) {
    #navbarNav ul
    {
        padding-top: 20px !important;
    }
    #navbarNav  a.btn-primary
    {
        margin-bottom: 20px !important;
    }

  .past-md-image {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 768px) {
  .current-md {
    padding: 25px;
  }

  .past-md-item {
    flex-direction: column;
    text-align: center;
    padding: 25px 15px;
  }

  .past-md-image {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .current-md {
    padding: 20px;
  }

  .past-mds-list {
    padding: 20px 15px;
  }

  .past-md-name {
    font-size: 1.1rem;
  }
}

.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.video-item {
  flex: 1 1 calc(33.333% - 20px);
}
.video-item iframe {
  width: 100%;
  height: 250px;
  border-radius: 8px;
}
@media (max-width: 992px) {
  .video-item {
    flex: 1 1 calc(50% - 20px);
  }
  .video-item iframe {
    height: 220px;
  }
}
@media (max-width: 576px) {
  .video-item {
    flex: 1 1 100%;
  }
  .video-item iframe {
    height: 200px;
  }
}

.past-md-social .social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
  font-size: 14px;
  /* margin-right: 8px; */
}
.past-md-social{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.past-md-social .social-btn:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

/* Facebook color */
.past-md-social .facebook {
  background-color: #1877f2;
}
.past-md-social .linktree {
  background-color: #45e55f;
  color: #000;
}

/* X / Twitter color */
.past-md-social .twitter {
  background-color: #000;
  color: #fff;
}

/* Instagram gradient */
.past-md-social .instagram {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}
/* YouTube color */
.past-md-social .youtube {
  background-color: #ff0000;
}


   .video-thumb {
      position: relative;
      display: inline-block;
      cursor: pointer;
    }

    .video-thumb img {
      height: 280px;
      border-radius: 8px;
      display: block;
      max-width: 100%;
      object-fit: cover;
    }

    .play-icon {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 20px;
      width: 50px;
      height: 50px;
      align-items: center;
      display: flex;
      justify-content: center;
      color: white;
      background: rgb(255 0 0 / 60%);
      border-radius: 50%;
      padding: 10px 18px;
      pointer-events: none;
    }