* {
  margin: 0;
  padding: 0%;
  scroll-behavior: smooth;
}

body {
  scroll-behavior: smooth;

  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}
h1 {
  font-family: "Parkinsans", sans-serif;
}
.btn-tog {
  border: none;
}
.logo-img {
  border: none;
  background: none;
  float: left;
}

/* .header {
  background-color: #fff;
} */
.headLogo {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  letter-spacing: 1px;
  font-weight: bolder;
  color: #333;
}
.lists {
  position: relative; /* needed for :before positioning if you want */
  cursor: pointer;
  font-weight: bolder;
  color: inherit;
  border-bottom: 5px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.lists:hover {
  color: #7843e8;
}

.nav-link:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: #7843e8;
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover:before {
  transform: scaleX(1);
  transform-origin: left;
}


.custom-navbar-wrapper {
  display: flex;
  justify-content: center;
  padding: 20px;
  padding-left: auto;
  padding-left: auto;
  background: transparent;
  z-index: 1030;
}

.custom-navbar {
  max-width: 1100px;
  width: 100%;
  border-radius: 1.5rem; 
  margin-left: auto;
  margin-right: auto;
}

.navbar-light .nav-link {
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-light .nav-link:hover,
.navbar-light .nav-item.active .nav-link {
  color: #7843e8;
}


.navbar-toggler {
  border: none;
  background: transparent;
  /* background-color: #fff; */
  font-size: 1.25rem;
}
.custom-navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(5px);
}



.fSection {
  background-image: url("assets/bg-sec.png");
  background-size: cover;
  background-position: center;
  width: 100%;
  min-height: 100vh;
  margin: auto;
  padding: 0 1rem;
  font-family: "Parkinsans", sans-serif;

  display: flex;
  justify-content: center; /* Horizontal centering */
  align-items: center;     /* Vertical centering */
}

.greet {
  font-weight: 800;
  /* margin-top: 1000px; */
}
.about {
  background: white;
  width: 100%;
  margin: 0;
}
.para-h {
  text-align: center;
  width: 75%;
}
.icons-box {
  text-align: center;
}

.icons {
  display: inline-block;
  height: 50px;
  width: 50px;
  margin: 5px;
  background: #929699;
  border-radius: 50px;
  box-shadow: 0px 5px 5px;
  color: #fff;
  text-align: center;
  padding-top: 14px;
  transition-duration: 0.5s;
  z-index: 1;
  cursor: pointer;
}
.icons:hover {
  background: #fff;
  color: #929699;
}
.about-btn {
  text-decoration: none;
  border: none;
  background: #7843e8;
  color: white;
  height: 50px;
  width: 200px;
  border-radius: 50px;
  margin-left: auto;
  margin-right: auto;
  align-content: center;
  transition: 0.3s;
}
.about {
  margin-bottom: 30px;
}
.about-btn:hover {
  background: none;
  color: #7843e8;
  height: 40px;
  width: 180px;
}
.about-btna {
  text-decoration: none;
  text-align: center;
  color: #fff;
  padding: 50px;
  transition: 0.3s;
}
.about-btna:hover {
  color: #7843e8;
}
.about {
  background: white;
  width: 100%;
  margin: 0;
  margin-bottom: 30px;
  position: relative;
}

.para-h {
  text-align: center;
  width: 75%;
}

.about-btn {
  text-decoration: none;
  border: none;
  background: #7843e8;
  color: white;
  height: 50px;
  width: 200px;
  border-radius: 50px;
  margin-left: auto;
  margin-right: auto;
  align-content: center;
  transition: 0.3s;
}

.about-btn:hover {
  background: none;
  color: #7843e8;
  height: 40px;
  width: 180px;
}

.about-btna {
  text-decoration: none;
  text-align: center;
  color: #fff;
  padding: 50px;
  transition: 0.3s;
}

.about-btna:hover {
  color: #7843e8;
}

.about-me {
  width: 100%;
  height: 100%;
  background: #fff;
}

.webzio-link{
  color: #7843e8; 
  font-weight: 500;
  text-decoration: none;
}

.sec-head {
  text-align: center;
  font-weight: 700;
  margin-bottom: 20px;
}

.sec-head span {
  color: #7843e8;
}

.img-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.sanoof-sq {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: block;
  max-width: 70%;
  max-height: 90%;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.sanoof-sq:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(120, 67, 232, 0.4);
}

.img-overlay {
  position: absolute;
  bottom: 30px;
  right: 30px;
}

.experience-badge {
  background: #7843e8;
  color: white;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.exp-number {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.exp-text {
  font-size: 12px;
  text-align: center;
}

.name-san {
  font-weight: 700;
  font-style: normal;
  margin-bottom: 15px;
  position: relative;
  margin-bottom: 10px;
}

.name-san:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #7843e8;
}

.para-add {
  color: #7843e8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.para-add:hover {
  color: #5c33b8;
  text-decoration: underline;
}

/* CV Download Button */
.cv-download-container {
  margin-top: 25px;
}

.cv-download-btn {
  background: #7843e8;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(120, 67, 232, 0.3);
  border: 2px solid #7843e8;
}

.cv-download-btn:hover {
  background: white;
  color: #7843e8;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(120, 67, 232, 0.4);
}

@media (max-width: 768px) {
  .cv-download-container {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .name-san:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .img-overlay {
    bottom: 10px;
    right: 10px;
  }
}

/* Simple and Elegant Skills Section */
.skills {
  background: #f0f0f0;
  margin: 0;
  padding: 50px 0;
}

.sec-head {
  text-align: center;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.sec-head:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: #7843e8;
}

.sec-head span {
  color: #7843e8;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.skill-box {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.skill-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.skill-content {
  padding: 30px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.skill-content img {
  height: 70px;
  width: auto;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.skill-box:hover .skill-content img {
  transform: scale(1.05);
}

.skill-content h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  transition: color 0.3s ease;
}

.skill-box:hover .skill-content h5 {
  color: #7843e8;
}

.skill-box:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: #7843e8;
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.skill-box:hover:before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .skill-content {
    padding: 25px 15px;
  }

  .skill-content img {
    height: 60px;
  }
}

@media (max-width: 576px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
/* Alternative Modern Education Section Styles */
.education {
  padding: 80px 0;
  background: #f8f9fc;
  position: relative;
  overflow: hidden;
}

.education::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(120, 67, 232, 0.1) 0%, rgba(120, 67, 232, 0.05) 100%);
  border-radius: 50%;
  top: -150px;
  left: -150px;
  z-index: 0;
}

.education::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(120, 67, 232, 0.08) 0%, rgba(120, 67, 232, 0.03) 100%);
  border-radius: 50%;
  bottom: -200px;
  right: -200px;
  z-index: 0;
}

.education-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.edu-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.edu-title::after {
  content: '';
  position: absolute;
  width: 70px;
  height: 3px;
  background: #7843e8;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.edu-title span {
  color: #7843e8;
}

.edu-subtitle {
  font-size: 1.1rem;
  color: #666;
  font-style: italic;
  max-width: 700px;
  margin: 20px auto 0;
}

/* Education Cards Container */
.education-cards {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Education Card Design */
.edu-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  position: relative;
  transition: all 0.3s ease;
}

.edu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(120, 67, 232, 0.1);
}

/* Card Header with Icon */
.edu-card-header {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
}

.edu-icon {
  width: 50px;
  height: 50px;
  background: #7843e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(120, 67, 232, 0.3);
}

.edu-icon i {
  color: white;
  font-size: 1.3rem;
}

/* Card Body with Image and Content */
.edu-card-body {
  display: flex;
  padding: 25px;
}

.edu-image {
  flex: 0 0 120px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-right: 25px;
  transition: all 0.3s ease;
}

.edu-card:hover .edu-image {
  box-shadow: 0 8px 20px rgba(120, 67, 232, 0.15);
}

.edu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.edu-card:hover .edu-image img {
  transform: scale(1.1);
}

.edu-content {
  flex: 1;
}

.edu-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px 0;
  transition: color 0.3s ease;
}

.edu-card:hover .edu-content h3 {
  color: #7843e8;
}

.edu-content h4 {
  font-size: 1rem;
  color: #555;
  margin: 0 0 15px 0;
  font-weight: 500;
}

.edu-time {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.duration {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
  margin-right: 15px;
}

.status {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.completed {
  background-color: rgba(120, 67, 232, 0.1);
  color: #7843e8;
}

.ongoing {
  background-color: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .edu-card-body {
    flex-direction: column;
  }
  
  .edu-image {
    flex: 0 0 auto;
    width: 100%;
    height: 180px;
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .edu-card-header {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    padding: 15px;
    background: #f5f5ff;
    display: flex;
    justify-content: flex-end;
  }
  
  .education {
    padding: 60px 0;
  }
  
  .edu-title {
    font-size: 2rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.edu-card {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.edu-card:nth-child(1) { animation-delay: 0.1s; }
.edu-card:nth-child(2) { animation-delay: 0.3s; }
.edu-card:nth-child(3) { animation-delay: 0.5s; }

.contact {
  background-image: url("assets/bg-sec.png");

  width: 100%;
  height: auto;
  margin: 0;
}

.form-container {
  max-width: 600px;
  margin: 50px auto;
  background: #fff;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.form-container h2 {
  margin-bottom: 20px;
  font-weight: bold;
  color: #333;
}
.sub-btn {
  float: right;
  background: #7843e8;
  color: #fff;
  height: 40px;
  width: 180px;
  border-radius: 5px;
  border: none;
}
.form-in {
  border-radius: 5px;
  width: 100%;
  border: none;
  background: #f0f0f0;
}
.inp-sp {
  height: 60px;
}

/* FOOTER STYLES */
footer {
  font-family: 'Poppins', sans-serif;
  color: #f0f0f0;
}

/* Main Footer Area */
.footer-main {
  background: linear-gradient(135deg, #6e35e4 0%, #8f5af2 100%);
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.6;
}

.footer-col {
  padding: 0 20px;
  margin-bottom: 30px;
  z-index: 50;
}

/* Footer Headings */
.footer-main h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-main h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 50px;
  background: #fff;
  border-radius: 3px;
}

/* About Section */
.footer-about p {
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tagline {
  font-weight: 600;
  font-size: 1.1rem;
}

.chat-invite {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.chat-invite:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* Quick Links */
.footer-links ul {
  padding: 0;
  list-style: none;
}

.footer-links ul li {
  padding: 6px 0;
  transition: all 0.3s ease;
}

.footer-links ul li:hover {
  transform: translateX(8px);
}

.footer-links ul li a {
  color: #f0f0f0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: block;
}

.footer-links ul li a i {
  margin-right: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.footer-links ul li:hover a {
  color: #fff;
}

.footer-links ul li:hover a i {
  color: #fff;
  transform: translateX(3px);
}

/* Contact Info */
.contact-info p {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.contact-info p i {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: #fff;
  font-size: 0.9rem;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  height: 40px;
  width: 40px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: translateY(100%);
  transition: all 0.3s ease;
  z-index: -1;
}

.social-links a:hover {
  color: #7843e8;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-links a:hover::before {
  transform: translateY(0);
}

.footer-copyright {
  background: #3c1f91;
  padding: 16px 0;
  color: #f0f0f0;
  font-size: 0.9rem;
}

.footer-copyright a {
  color: #f0f0f0;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-copyright a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .footer-copyright p {
    text-align: center !important;
  }
}

/* Back to Top Button */
#myBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  background: #7843e8;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0.8;
}

#myBtn:hover {
  background: #6430db;
  transform: translateY(-5px);
  opacity: 1;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .footer-copyright .designer {
    text-align: center;
    margin-top: 10px;
  }
  
  .footer-copyright p {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 40px 0 20px;
  }
  
  .footer-col {
    padding: 0 15px;
    margin-bottom: 30px;
  }
}
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #7843e8;
}



/* ==========================================================================
   COMPACT BENTO GRID PROJECTS SECTION
   ========================================================================== */

.projects-bento-section {
  position: relative;
  background-color: #ffffff;
  padding: 60px 0 80px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tile Grid Spans */
.bento-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-medium {
  grid-column: span 2;
  grid-row: span 1;
}

.bento-small {
  grid-column: span 1;
  grid-row: span 1;
}

/* Individual Tile Styling */
.bento-tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-color: #0f172a;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: border-color 280ms ease-out, box-shadow 280ms ease-out, transform 280ms ease-out;
  cursor: pointer;
  will-change: transform, opacity;
}

.bento-tile:hover {
  border-color: #7843e8;
  box-shadow: 0 16px 36px rgba(120, 67, 232, 0.16);
  transform: translateY(-3px);
}

.bento-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

/* Media & Scrim */
.bento-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 280ms ease-out;
}

.bento-tile:hover .bento-img {
  transform: scale(1.05);
}

.bento-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.35) 0%,
    rgba(15, 23, 42, 0.75) 50%,
    rgba(15, 23, 42, 0.96) 100%
  );
  transition: background 280ms ease-out, opacity 280ms ease-out;
}

.bento-tile:hover .bento-scrim {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.48) 0%,
    rgba(15, 23, 42, 0.85) 50%,
    rgba(15, 23, 42, 0.98) 100%
  );
}

/* Content Layout */
.bento-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 24px;
  color: #ffffff;
}

.bento-small .bento-content {
  padding: 18px 20px;
}

.bento-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bento-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #a78bfa;
  text-transform: uppercase;
}

.bento-status-badge {
  background: rgba(120, 67, 232, 0.4);
  border: 1px solid rgba(167, 139, 250, 0.5);
  color: #ffffff;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.bento-body {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.bento-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.25;
}

.bento-featured .bento-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.bento-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #cbd5e1;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bento-featured .bento-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 18px;
  -webkit-line-clamp: 3;
}

.bento-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0;
}

.bento-action-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 600;
  color: #c4b5fd;
  gap: 6px;
  white-space: nowrap;
  opacity: 0.9;
  transform: translateX(0);
  transition: opacity 250ms ease-out, transform 250ms ease-out, color 250ms ease-out;
}

.bento-tile:hover .bento-action-btn {
  opacity: 1;
  color: #ffffff;
  transform: translateX(4px);
}

.bento-action-btn.icon-only {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #ffffff;
  transition: background 280ms ease-out, transform 280ms ease-out;
}

.bento-tile:hover .bento-action-btn.icon-only {
  background: #7843e8;
  transform: scale(1.1);
}

/* Tablet Breakpoint (2 Columns) */
@media (max-width: 991px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 16px;
    padding: 0 10px;
  }
  .bento-featured {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 320px;
  }
  .bento-medium {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 260px;
  }
}

/* Mobile Breakpoint (1 Column Stack) */
@media (max-width: 680px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 16px;
    padding: 0 6px;
  }
  .bento-featured,
  .bento-medium {
    grid-column: span 1;
    grid-row: auto;
    min-height: 230px;
  }
  .bento-content {
    padding: 20px 18px;
  }
  .bento-featured .bento-title {
    font-size: 1.6rem;
  }
  .bento-title {
    font-size: 1.3rem;
  }
}