/* =========================
   BANNER SECTION
   ========================= */

.banner-section {
  padding: 20px 0;
  width: 100%;
  max-width: 100%;
  overflow: visible; /* critical */
}

/* Desktop Base */
.banner-slider {
  max-width: 100%;
  width: 100%;
  height: 25.56rem !important;
  margin: 0 auto;
  position: relative;
}

.slide {
  height: 25.56rem !important;
  width: 100%;
  overflow: visible;
  background-size: contain !important;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

.slide img {
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  display: block;
}

.slide-content {
  position: absolute;
  inset: 0;
  padding: 0 4rem;
  pointer-events: none;
}

.text-pair {
  position: absolute;
  top: 80%;
  left: 30%;
  right: 30%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  opacity: 0;
  animation: fadeInOut 8s infinite;
}

.text-left,
.text-right {
  max-width: 45%;
}

.text-left p,
.text-right p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  margin: 0;
}

.pair-1 { animation-delay: 0s; }
.pair-2 { animation-delay: 2s; }
.pair-3 { animation-delay: 4s; }
.pair-4 { animation-delay: 6s; }

/* Animation */
@keyframes fadeInOut {
  0% { opacity: 0; }
  12.5% { opacity: 1; }
  25% { opacity: 1; }
  37.5% { opacity: 0; }
  100% { opacity: 0; }
}

/* =========================
   HERO SECTION
   ========================= */

.hero {
  text-align: center;
  padding-top: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 123, 114, 0.2);
  color: #364153;
  font-size: 16px;
  padding: 10px 28px;
  border-radius: 50px;
  margin-bottom: 32px;
}

.hero h1 {
  font-family: 'Livvic', sans-serif;
  font-size: 52px;
  font-weight: 600;
  color: #1e2939;
  line-height: 1.1;
  margin-bottom: 32px;
}

.hero strong {
  position: relative;
  color: #0f3dde;
}

.hero strong::before {
  content: "";
  position: absolute;
  left: -24px;
  top: -14px;
  width: 335px;
  height: 66px;
  background: #f7ffe4;
  border-radius: 8px;
  z-index: -1;
}

.hero p {
  font-size: 18px;
  max-width: 780px;
  margin: 0 auto 40px;
  color: #4a5565;
}

.blob {
  position: absolute;
  right: 16%;
  top: 10%;
  width: 72px;
  pointer-events: none;
  opacity: 0.9;
}

/* =========================
   FOUNDERS SECTION
   ========================= */

.founders {
  padding: 80px 50px 0px;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
}

.card {
  width: 460px;
  text-align: left;
  position: relative;
}

.photo {
  width: 426px;
  height: 427px;
  border: 1px solid transparent;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(white, white) padding-box;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.tagline {
  color: #0f3dde;
  font-size: 18px;
  font-weight: 500;
}

.founder-1,
.founder-2 {
  position: absolute;
  left: 40%;
  transform: translateX(-4%);
  bottom: 310px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  border: 0.67px solid rgba(255, 123, 114, 0.2);
  padding: 10px 20px;
  width: fit-content;
  min-width: 260px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 18px;
}

.icon31 {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.content {
  position: relative;
  padding-left: 28px;
}

.content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 260px;
  background: #f9c74f;
  border-radius: 2px;
}

.header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.pooja .icon {
  background: #0f3dde;
}

.venkat .icon {
  background: #ff6900;
}

.name {
  font-family: 'Livvic', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #0a0a0a;
}

.role {
  font-size: 14px;
  font-weight: 500;
  margin-top: 4px;
}

.pooja .role {
  color: #0f3dde;
}

.venkat .role {
  color: #ff6900;
}

.desc {
  font-size: 16px;
  line-height: 1.65;
  margin-top: 12px;
  max-width: 430px;
  text-align: justify;
}

/* =========================
   MENTOR SECTION
   ========================= */

.mentor-section {
  padding: 0px 20px;
  text-align: center;
  background: #ffffff;
}

.top {
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.mentor-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 105, 0, 0.1);
  color: #ff6900;
  font-size: 14px;
  padding: 8px 22px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.mentor-title {
  font-family: 'Livvic', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #0a0a0a;
  margin: 0;
}

.leaf {
  width: 48px;
  position: absolute;
  right: -48px;
  top: 18px;
}

/* Card Container */
.cards {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 1060px;
  margin: 0 auto;
}

/* Mentor Card */
.mentor-card {
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr;
}

/* Photo Side */
.photo-side {
  display: grid;
  place-items: center;
  padding: 30px 0;
  border-bottom: 1px solid #f1f5f9;
}

.mentor-photo {
  width: 240px;
  height: 240px;
  overflow: hidden;
}

.mentor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content Side */
.mentor-content {
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mentor-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #0f3dde, #ff6900);
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.mentor-name {
  font-size: 24px;
  font-weight: 600;
  color: #0a0a0a;
  margin-bottom: 6px;
}

.mentor-role {
  font-size: 14px;
  font-weight: 600;
  color: #0f3dde;
  margin-bottom: 16px;
}

.mentor-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #374151;
  margin-bottom: 22px;
  max-width: 100%;
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tag {
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 500;
}

.tag.blue {
  background: rgba(15, 61, 222, 0.1);
  color: #0f3dde;
}

.tag.orange {
  background: rgba(255, 105, 0, 0.1);
  color: #ff6900;
}

/* =========================
   SERVICES SECTION
   ========================= */

.services-wrapper {
  position: relative;
  margin-top: 20px;
  padding: 0px 16px 10px;
  background: #fffaf5;
  overflow: hidden;
}

.service-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 40px;
}

.mesh-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.9;
}

/* Title Area */
.title-area {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1000px;
  margin: 0px auto 48px;
}

.title-area .badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 105, 0, 0.12);
  color: #0f3dde;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.title-area h2 {
  font-family: 'Livvic', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 14px;
}

.subtitle {
  font-size: 15px;
  color: #64748b;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Services Content (Mobile) */
.our-services-content {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

/* Hide decorative background elements on mobile */
.services-bg,
.ellipse-53,
.image-26,
.polygon-7 {
  display: none;
}

/* Service Card (Mobile) */
.service-card {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #f9fafb, #eff6ff);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.service-card .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: 'Livvic', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #0a0a0a;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #4a5565;
}

/* Icon Colors */
#card1 .icon-box {
  background: linear-gradient(180deg, #0f3dde, #4169e1);
}

#card2 .icon-box {
  background: linear-gradient(180deg, #0f3dde, #ff6900);
}

#card3 .icon-box {
  background: linear-gradient(180deg, #ff6900, #ff8534);
}

#card4 .icon-box {
  background: linear-gradient(180deg, #4169e1, #ff6900);
}

/* =========================
   NEWSLETTER SECTION
   ========================= */

.newsletter {
  padding: 20px 50px 20px;
  background: #fff;
  position: relative;
}

.newsletter .title-area {
  margin-bottom: 100px;
}

.newsletter-title-area {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 0px;
}

.newsletter-title-area .badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,105,0,0.12);
  color: #ff6900;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 26px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.newsletter-title-area h2 {
  font-family: 'Livvic', sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 20px;
}

/* Content Area */
.newsletter-content {
  position: relative;
  height: 680px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Backgrounds */
.bg-left {
  background: #faffef;
  width: 98.5%;
  height: 100%;
  position: absolute;
  left: 0;
}

.bg-top {
  background: #ff6900;
  width: 98.5%;
  height: 14.55%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 14px;
}

.bg-bottom {
  background: #ff6900;
  width: 100%;
  height: 29.62%;
  position: absolute;
  bottom: 0;
  border-radius: 18px;
  z-index: 20;
}

/* Event Card (Base) */
.event-card {
  position: absolute;
  background: #fff;
  border-radius: 24px;
  border: 1px solid #f3f4f6;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 340px;
  padding: 20px;
  transition:
    transform 0.7s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.7s ease;
  z-index: 10;
}

.event-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 16px;
}

.event-card h3 {
  font-family: 'Livvic', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #0a0a0a;
  margin: 16px 0 12px;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #64748b;
}

.meta-item img {
  width: 18px;
  height: 18px;
}

.event-card .button {
  background: #0f3dde;
  color: #fff;
  padding: 12px;
  border-radius: 50px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* Desktop Card Positions */
#event1 {
  left: 4%;
  bottom: 14%;
  transform: rotate(-15deg);
}

#event2 {
  right: 5%;
  top: 25%;
  transform: rotate(15deg);
}

#event3 {
  left: 50%;
  top: 50%;
  width: 360px;
  transform: translate(-50%, -50%);
  z-index: 5;
}

/* Desktop Hover Effects */
#event3:hover {
  transform: translate(-50%, -50%) translateY(-80px) scale(1.15);
  box-shadow: 0 40px 80px rgba(0,0,0,0.35);
  z-index: 100;
}

#event1:hover,
#event2:hover {
  transform: translateY(-80px) scale(1.15) rotate(0deg);
  z-index: 100;
}

/* =========================
   CTA SECTION
   ========================= */

.cta {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
  box-sizing: border-box;
}

.cta img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */

/* Banner Mobile & Tablet */
@media (max-width: 768px) {
  .banner-slider {
    width: 100%;
    height: auto !important;
    padding-left: 12px;
    padding-right: 12px;
  }

  .slide {
    height: auto !important;
    aspect-ratio: 30 / 10;
    min-height: 220px;
  }

  .slide-content {
    padding: 0 1.25rem;
  }

  .text-pair {
    top: 80%;
    left: 1.25rem;
    right: 1.25rem;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
  }

  .text-left,
  .text-right {
    max-width: 100%;
  }

  .text-left p,
  .text-right p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .slide {
    min-height: 180px;
  }

  .text-left p,
  .text-right p {
    font-size: 0.75rem;
  }
}

/* Hero Responsive */
@media (max-width: 1200px) {
  .hero {
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero strong::before {
    width: 280px;
    height: 55px;
    left: -20px;
    top: -12px;
  }

  .blob {
    right: 10%;
    width: 60px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 20px;
    text-align: center;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero strong::before {
    display: none;
  }

  .hero p {
    font-size: 16px;
    padding: 0 10px;
  }

  .blob {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }
}

/* Founders Responsive */
@media (max-width: 1200px) {
  .founders {
    padding: 60px 20px 0px;
    gap: 60px;
  }

  .card {
    width: 100%;
    max-width: 400px;
  }

  .photo {
    width: 100%;
    max-width: 350px;
    height: 350px;
  }

  .founder-1,
  .founder-2 {
    bottom: 250px;
    min-width: 240px;
    font-size: 16px;
  }

  .content::before {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .founders {
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px 10px;
  }

  .card {
    width: 100%;
  }

  .photo {
    width: 100%;
    max-width: 280px;
    height: 280px;
    margin: 0 auto 20px;
  }

  .founder-1,
  .founder-2 {
    position: static;
    transform: none;
    margin: 20px auto 30px;
    min-width: 280px;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .content {
    padding-left: 0;
  }

  .content::before {
    display: none;
  }

  .header {
    justify-content: left;
    text-align: left;
  }

  .name {
    font-size: 20px;
  }

  .desc {
    font-size: 15px;
    max-width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .photo {
    max-width: 240px;
    height: 240px;
  }

  .founder-1,
  .founder-2 {
    min-width: 240px;
    font-size: 15px;
    padding: 8px 16px;
  }

  .name {
    font-size: 18px;
  }

  .desc {
    font-size: 14px;
  }
}

/* Founders Tablet Fix (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .founders {
    flex-direction: column;
    align-items: center;
    gap: 56px;
    padding: 60px 24px 20px;
  }

  .card {
    width: 100%;
    max-width: 520px;
    text-align: center;
  }

  .photo {
    margin: 0 auto 24px;
    width: 320px;
    height: 320px;
  }

  .founder-1,
  .founder-2 {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 16px auto 24px;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .content {
    padding-left: 0;
  }

  .content::before {
    display: none;
  }

  .header {
    justify-content: left;
    text-align: left;
  }

  .desc {
    max-width: 100%;
    text-align: center;
  }
}

/* Mentor Responsive */
@media (min-width: 768px) {
  .mentor-section {
    padding: 50px 24px;
  }

  .mentor-card {
    grid-template-columns: 35% 65%;
    min-height: 460px;
  }

  .photo-side {
    padding: 0;
    border-bottom: none;
  }

  .mentor-photo {
    width: 100%;
    height: 100%;
  }

  .mentor-content {
    padding: 44px 40px;
    align-items: flex-start;
    text-align: left;
  }

  .mentor-name {
    font-size: 28px;
  }

  .mentor-desc {
    max-width: 520px;
  }

  .tags {
    justify-content: flex-start;
  }
}

@media (min-width: 1200px) {
  .mentor-card {
    grid-template-columns: 420px 1fr;
    min-height: 520px;
  }

  .mentor-content {
    padding: 56px 64px;
  }

  .mentor-title {
    font-size: 36px;
  }

  .mentor-desc {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .leaf {
    display: none;
  }

  .cards {
    gap: 48px;
  }
}

/* Services Responsive */
@media (max-width: 767px) {
  .our-services-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    height: auto !important;
  }

  .service-card {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
  }

  #card1,
  #card2,
  #card3,
  #card4 {
    position: relative !important;
    left: auto !important;
    top: auto !important;
  }

  .services-bg,
  .ellipse-53,
  .image-26,
  .polygon-7 {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .services-wrapper {
    padding: 2px 50px 0px;
  }

  .title-area {
    margin: 0px auto 80px;
  }

  .title-area h2 {
    font-size: 48px;
  }

  .subtitle {
    font-size: 18px;
  }

  .our-services-content {
    position: relative;
    height: 1000px;
    display: block;
  }

  .services-bg,
  .ellipse-53,
  .image-26,
  .polygon-7 {
    display: block;
    position: absolute;
  }

  .services-bg {
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 1300px;
    height: 750px;
    pointer-events: none;
    z-index: 1;
  }

  .ellipse-53 {
    width: 584px;
    height: 584px;
    left: -19px;
    top: 336px;
    background: linear-gradient(139.22deg, #0f3dde 0%, #ff6900 100%);
    opacity: 0.12;
    border-radius: 50%;
    transform: rotate(9.354deg) scaleY(-1);
  }

  .image-26 {
    left: -127px;
    top: -103px;
    width: 684px;
    height: 546px;
    border-radius: 188px;
    object-fit: cover;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
    z-index: 2;
  }

  .polygon-7 {
    left: 457px;
    top: 71px;
    width: 100px;
    z-index: 3;
  }

  .service-card {
    position: absolute;
    width: 461px;
    height: 244px;
    padding: 32px;
  }

  #card1 { left: 120px; top: 305px; }
  #card2 { left: 120px; top: 563px; }
  #card3 { left: 589px; top: 451px; }
  #card4 { left: 589px; top: 711px; }

  .service-card h3 {
    font-size: 20px;
  }

  .service-card p {
    font-size: 16px;
    line-height: 26px;
  }
}

/* Services Tablet Layout Fix (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .our-services-content {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "image image"
      "card1 card2"
      "card3 card4";
    gap: 32px;
    height: auto !important;
    align-items: start;
  }

  .service-image-wrapper {
    grid-area: image;
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
  }

  .service-image-wrapper img {
    max-width: 420px;
    width: 100%;
    height: auto;
  }

  #card1 { grid-area: card1; }
  #card2 { grid-area: card2; }
  #card3 { grid-area: card3; }
  #card4 { grid-area: card4; }

  .service-card {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
  }

  .services-bg,
  .ellipse-53,
  .image-26,
  .polygon-7 {
    display: none !important;
  }
}

/* Newsletter Responsive */
@media (max-width: 768px) {
  .newsletter {
    padding: 10px 20px 10px;
  }

  .newsletter-title-area h2 {
    font-size: 32px;
    line-height: 1.2;
  }

  .newsletter-content {
    height: auto !important;
    padding-bottom: 60px;
  }

  .bg-left,
  .bg-top,
  .bg-bottom {
    width: 100% !important;
  }

  .bg-bottom {
    height: 10% !important;
  }

  .event-card {
    position: relative !important;
    inset: unset !important;
    transform: none !important;
    width: 100% !important;
    max-width: 360px;
    margin: 0 auto 32px;
    z-index: 10;
  }

  #event1,
  #event2,
  #event3 {
    transform: none !important;
  }

  #event1:hover,
  #event2:hover,
  #event3:hover {
    transform: none !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  }
}

/* CTA Responsive */
@media (max-width: 1024px) {
  .cta {
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  .cta {
    padding: 0 16px;
  }

  .cta img {
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .cta {
    padding: 0 12px;
  }
}