/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f6ff;
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 1rem 2rem;
  border-bottom: 1px solid #ddd;
  position: relative;
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: #6a4fcf;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: white;
  top: 100%;
  left: 0;
  list-style: none;
  padding: 0.5rem 0;
  border: 1px solid #ccc;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0.5rem 1rem;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background-image: url(../img/back.jpg) ;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 4rem 2rem;
  align-items: center;
  
}

.hero-text {
  flex: 1;
  min-width: 280px;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin: 1rem 0;
}

.highlight {
  color: #6a4fcf;
  border-bottom: 2px solid #6a4fcf;
}

.hero-text .badge {
  background: #e1d9fc;
  padding: 0.4rem 1rem;
  border-radius: 5px;
  font-size: 0.9rem;
  color: #6a4fcf;
}

.hero-text p {
  margin: 1rem 0 1.5rem;
  /* color: #555; */
}

.btn {
  padding: 0.7rem 1.5rem;
  background: #6a4fcf;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
}

.hero-images {
  flex: 1;
  /* display: grid;
  grid-template-columns: repeat(2, 1fr); */
  gap: 1rem;
  max-width: 520px;
  margin-top: 2rem;
}

.img-card {
  border-radius: 50%;
  overflow: hidden;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-card img {
  width: 400%;
  height: auto;
  object-fit: cover;
}

.pink { background-color: #6a4fcf; }
.blue { background-color: #d7e7fc; }
.yellow { background-color: #ffeab9; }
.green { background-color: #dbf7d5; }


/* new hero  */
/* Hero Slider Styles */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slide {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 2rem;
  animation: fadeIn 1s ease;
}

.hero-slide.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 10;
}

.slider-controls button {
  background: rgba(106, 79, 207, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-controls button:hover {
  background: rgb(106, 79, 207);
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: rgb(106, 79, 207);
  transform: scale(1.2);
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .hero-slide {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1rem;
  }
  
  .hero-images {
    margin-top: 2rem;
  }
  
  .slider-controls {
    bottom: 20px;
  }
  
  .slider-controls button {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}




/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    padding: 1rem;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-images {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
  }
}
/* existing styles... */

.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-icon {
  font-size: 0.7rem;
  transition: transform 0.3s;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  background: white;
  top: 100%;
  left: 0;
  list-style: none;
  padding: 0.5rem 0;
  border: 1px solid #ccc;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0.5rem 1rem;
}

@media screen and (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    padding: 1rem;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1.5rem;
  }

  .dropdown.open .dropdown-icon {
    transform: rotate(180deg);
  }
}


@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

.hero-images .img-card {
  animation: float 4s ease-in-out infinite;
}

/* Add staggered animation delays for variety */
.hero-images .img-card:nth-child(1) {
  animation-delay: 0s;
}
.hero-images .img-card:nth-child(2) {
  animation-delay: 1s;
}
.hero-images .img-card:nth-child(3) {
  animation-delay: 2s;
}
.hero-images .img-card:nth-child(4) {
  animation-delay: 3s;
}


.services-section {
  background: linear-gradient(135deg, rgb(106, 79, 207), rgb(106, 79, 207));
  color: #fff;
  padding: 3rem 1rem;
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.left-content {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.left-content h4 {
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #d0e4ff;
  margin-bottom: 0.5rem;
}

.left-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.left-content .btn {
  background: #fff;
  color: rgb(106, 79, 207);
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.doctor-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.right-content {
  flex: 1.2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  color: #000;
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-card img {
  width: 40px;
  margin-bottom: 0.8rem;
}

.service-card h3 {
  margin-bottom: 0.4rem;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .left-content {
    order: 2;
  }

  .right-content {
    order: 1;
  }

  .doctor-img {
    margin-top: 1rem;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

.service-card {
  animation: float 4s ease-in-out infinite;
}

.service-card:nth-child(1) {
  animation-delay: 0s;
}
.service-card:nth-child(2) {
  animation-delay: 0.5s;
}
.service-card:nth-child(3) {
  animation-delay: 1s;
}
.service-card:nth-child(4) {
  animation-delay: 1.5s;
}


.subjects-section {
  margin-top: 50px;
  margin-bottom: 50px;
      text-align: center;
    }

    .subjects-section h2 {
      margin-bottom: 2rem;
      font-size: 2rem;
      color: #333;
    }

    .subjects-grid {
      display: grid;
      gap: 2rem;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      max-width: 1200px;
      margin: auto;
    }

    .subject-card {
      background: white;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
      position: relative;
      transition: transform 0.4s ease;
    }

    .subject-card:hover {
      transform: translateY(-10px);
    }

    .subject-image {
      width: 100%;
      height: 220px;
      object-fit: cover;
      clip-path: polygon(20% 0%, 100% 0%, 100% 80%, 80% 100%, 0% 100%, 0% 20%);
      transition: all 0.4s ease;
    }

    .subject-card:hover .subject-image {
      transform: scale(1.05);
      filter: brightness(0.9);
    }

    .subject-content {
      padding: 1rem;
      text-align: left;
    }

    .subject-title {
      font-size: 1.3rem;
      color: #333;
      margin-bottom: 0.5rem;
      font-weight: bold;
    }

    .subject-desc {
      color: #555;
      font-size: 0.95rem;
      line-height: 1.4;
      opacity: 0;
      transform: translateY(10px);
      transition: all 0.4s ease;
    }

    .subject-card:hover .subject-desc {
      opacity: 1;
      transform: translateY(0);
    }

    .map-section {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      padding: 2rem;
      gap: 2rem;
    }

    .text-content {
      flex: 1;
      min-width: 300px;
    }

    .text-content h2 {
      font-size: 2rem;
      color: #222;
    }

    .text-content p {
      color: #666;
      margin: 10px 0 20px;
    }

    .features {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .feature {
      display: flex;
      align-items: center;
      gap: 1rem;
      background: #f2f4f8;
      padding: 1rem;
      border-radius: 10px;
    }

    .feature-icon {
      width: 40px;
      height: 40px;
      background: rgb(106, 79, 207);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      font-weight: bold;
      font-size: 1.1rem;
    }

    .feature p {
      margin: 0;
      color: #333;
      font-size: 0.95rem;
    }

    .map-container {
      flex: 1;
      min-width: 320px;
      position: relative;
    }

    .map-container img {
      width: 100%;
      max-width: 500px;
      display: block;
    }

    .dot {
      position: absolute;
      width: 14px;
      height: 14px;
      background: rgb(106, 79, 207);
      border-radius: 50%;
      animation: pulse 1.8s infinite ease-in-out;
    }

    .profile-img {
      position: absolute;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      overflow: hidden;
      border: 2px solid white;
      animation: float 6s ease-in-out infinite;
    }

    .profile-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(0,191,255, 0.6); }
      70% { box-shadow: 0 0 0 10px rgba(0,191,255, 0); }
      100% { box-shadow: 0 0 0 0 rgba(0,191,255, 0); }
    }

    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }

    @media(max-width: 768px) {
      .map-section {
        flex-direction: column;
        text-align: center;
      }
      .text-content {
        order: 2;
      }
      .map-container {
        order: 1;
      }
    }


      footer {
      background-color: rgb(106, 79, 207);
      color: white;
      padding: 60px 20px 30px;
      position: relative;
      overflow: hidden;
    }

    footer::before {
      content: "";
      position: absolute;
      top: -40px;
      left: 0;
      width: 100%;
      height: 80px;
      background-color: white;
      border-bottom-left-radius: 50% 40px;
      border-bottom-right-radius: 50% 40px;
      z-index: 1;
    }

    .footer-content {
      position: relative;
      z-index: 2;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      max-width: 1200px;
      margin: auto;
    }

    .footer-section {
      flex: 1 1 200px;
      margin: 20px;
    }

    .footer-section h3 {
      font-size: 1.2rem;
      margin-bottom: 15px;
    }

    .footer-section ul {
      list-style: none;
      padding: 0;
    }

    .footer-section ul li {
      margin-bottom: 10px;
    }

    .footer-section ul li a {
      color: #ccc;
      text-decoration: none;
      font-size: 0.9rem;
    }

    .footer-section ul li a:hover {
      color: white;
    }

    .social-icons {
      margin-top: 20px;
    }

    .social-icons a {
      margin-right: 10px;
      color: white;
      font-size: 1.2rem;
      text-decoration: none;
    }

    .footer-bottom {
      text-align: center;
      color: #ccc;
      font-size: 0.85rem;
      margin-top: 30px;
      position: relative;
      z-index: 2;
    }

    @media (max-width: 768px) {
      .footer-content {
        flex-direction: column;
        text-align: center;
      }

      .footer-section {
        margin: 10px auto;
      }

      .social-icons {
        justify-content: center;
      }
    }


     .mba-section {
      display: flex;
      flex-wrap: wrap;
      min-height: 100vh;
    }

    .left-panel {
      background: #fff;
      flex: 1 1 50%;
      padding: 40px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .left-panel h2 {
      color: #222;
      font-size: 2.5rem;
    }

    .left-panel h2 span {
      color: rgb(106, 79, 207);
    }

    .left-panel p {
      margin: 10px 0;
      font-size: 1rem;
      color: #444;
    }

    .left-panel ul {
      margin: 20px 0;
      padding-left: 20px;
      color: #444;
    }

    .left-panel li {
      margin-bottom: 10px;
    }

    .highlightt {
      background-color: #ffe0e0;
      display: inline-block;
      padding: 5px 10px;
      border-radius: 20px;
      color: rgb(106, 79, 207);
      font-weight: 600;
      margin-top: 20px;
    }

    .footer-info {
      margin-top: 40px;
      display: flex;
      gap: 30px;
      font-size: 0.9rem;
      color: #333;
    }

    .footer-info div {
      flex: 1;
    }

    .right-panel {
      flex: 1 1 50%;
      background: url('../img/chem.jpg') center/cover no-repeat;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }
.emotion-section {
  padding: 60px 20px;
  background-color: #fff;
}

.emotion-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.emotion-left {
  flex: 1 1 45%;
}

.emotion-left h2 {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: #000;
}

.emotion-right {
  flex: 1 1 45%;
}

.emotion-right p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .emotion-content {
    flex-direction: column;
    text-align: center;
  }

  .emotion-left, .emotion-right {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }

  .emotion-left h2 {
    font-size: 32px;
  }
}

    .form-box {
      background: rgba(255, 255, 255, 0.9);
      padding: 30px;
      border-radius: 20px;
      max-width: 350px;
      width: 90%;
      backdrop-filter: blur(6px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    .form-box h3 {
      margin-bottom: 20px;
      color: #222;
    }

    .form-box input, .form-box select {
      width: 100%;
      padding: 10px;
      margin: 10px 0;
      border-radius: 10px;
      border: 1px solid #ccc;
      font-size: 1rem;
    }

    .form-box button {
      width: 100%;
      padding: 12px;
      background-color: #111;
      color: #fff;
      font-size: 1rem;
      border: none;
      border-radius: 12px;
      cursor: pointer;
      margin-top: 10px;
      transition: background 0.3s ease;
    }

    .form-box button:hover {
      background-color: #333;
    }

    .student-note {
      text-align: center;
      margin-top: 15px;
      font-size: 0.85rem;
      color: #555;
    }

    .student-note span {
      color: rgb(106, 79, 207);
      font-weight: 600;
    }

    @media (max-width: 768px) {
      .mba-section {
        flex-direction: column;
      }

      .left-panel, .right-panel {
        flex: 1 1 100%;
        padding: 30px;
      }

      .footer-info {
        flex-direction: column;
        gap: 10px;
      }
    }

    .marquee {
      background: #222;
      color: white;
      padding: 12px 0;
      font-size: 2rem;
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      position: relative;
    }

    .marquee span {
      display: inline-block;
      padding-left: 100%;
      animation: scroll 20s linear infinite;
    }

    @keyframes scroll {
      0% { transform: translateX(0); }
      100% { transform: translateX(-100%); }
    }

    .section-container {
      padding: 40px 20px;
      max-width: 1100px;
      margin: auto;
      text-align: center;
    }

    .headline {
      font-size: 2rem;
      margin-bottom: 10px;
    }

    .highlight {
      color: rgb(106, 79, 207);
    }

    .subtitle {
      max-width: 600px;
      margin: auto;
      font-size: 0.95rem;
      color: #666;
    }

    .tab-buttons {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
      margin: 30px 0;
    }

    .tab-button {
      background: white;
      padding: 12px 20px;
      border-radius: 20px;
      border: 2px solid transparent;
      cursor: pointer;
      transition: 0.3s;
      font-weight: 500;
    }

    .tab-button.active {
      border-color: rgb(106, 79, 207);
      color: rgb(106, 79, 207);
      background-color: #eafff7;
    }

    .tab-content {
      display: none;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 30px;
      margin-top: 30px;
      text-align: left;
    }

    .tab-content.active {
      display: flex;
    }

    .text-content {
      flex: 1;
      min-width: 280px;
    }

    .tab-title {
      font-size: 1.2rem;
      font-weight: bold;
      margin-bottom: 15px;
    }

    .tab-description {
      font-size: 0.95rem;
      color: #444;
    }

    .benefits {
      margin: 20px 0;
      padding-left: 18px;
      text-align: left;
    }

    .benefits li {
      margin-bottom: 10px;
      list-style: '✅ ';
    }

    .apply-btn {
      background-color: rgb(106, 79, 207);
      color: white;
      padding: 10px 20px;
      border-radius: 25px;
      border: none;
      cursor: pointer;
      font-weight: bold;
      font-size: 1rem;
    }

    .image-container {
      flex: 1;
      min-width: 260px;
    }

    .image-container img {
      max-width: 100%;
      border-radius: 20px;
    }

    @media (max-width: 768px) {
      .tab-content {
        flex-direction: column;
      }
    }

.section-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Adjust the opacity as needed */
  z-index: 2;
}
    
.section-wrapper {
  position: relative;
  background: url('../img/back2.jpg') no-repeat center center/cover;
   text-align: center;
      padding: 80px 20px 40px;
  z-index: 1;
}
.section-wrapper > * {
  position: relative;
  z-index: 3;
}
    .section-title {
      font-size: 2.8rem;
      color: rgb(202, 188, 254);
      margin-bottom: 10px;
    }

    .section-subtitle {
      font-size: 2rem;
      margin-bottom: 20px;
      color: white;
    }

    .section-description {
      max-width: 700px;
      margin: 0 auto 30px;
      font-size: 1rem;
      color: #ddd;
    }

    .button-group {
      margin: 20px 0;
    }

    .btn-primary {
      margin: 10px;
      padding: 12px 25px;
      font-size: 1rem;
      border-radius: 25px;
      border: none;
      cursor: pointer;
      background-color: rgb(106, 79, 207);
      color: #222;
    }

    .btn-secondary {
      background-color: transparent;
      border: 2px solid white;
      color: white;
      padding: 12px 25px;
      border-radius: 25px;
      cursor: pointer;
      transition: 0.3s ease;
    }

    .btn-secondary:hover {
      background-color: white;
      color: #000;
    }

    .subjects-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      margin-top: 40px;
      padding: 0 20px 60px;
    }

    .subject-box {
      background: rgba(255, 255, 255, 0.9);
      border-radius: 20px;
      padding: 20px;
      margin: 10px;
      width: 220px;
      color: #222;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
      text-align: center;
      transition: transform 0.3s ease, background 0.3s ease;
    }

    .subject-box:hover {
      transform: translateY(-8px);
      background-color: #f0f0f0;
    }

    .subject-title {
      margin: 10px 0 5px;
      font-size: 1.2rem;
    }

    .subject-info {
      font-size: 0.9rem;
    }

    @media (max-width: 768px) {
      .section-title {
        font-size: 2rem;
      }

      .section-subtitle {
        font-size: 1.4rem;
      }

      .subject-box {
        width: 90%;
      }
    }


    .motivation-section {
  padding: 40px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.motivation-section h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #1d1d1f;
}

.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.audience-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  width: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}

.audience-card:hover {
  transform: translateY(-5px);
}

.audience-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.audience-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.audience-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.audience-card a {
  font-size: 14px;
  color: #004aad;
  text-decoration: none;
  font-weight: bold;
}

.audience-card a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .audience-card {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .audience-card {
    width: 100%;
  }
}
