:root {
  --primary: #0d1b2a;
  --secondary: #1b263b;
  --highlight: #00b4d8;
  --cream: #fdfdfd;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--cream);
  scroll-behavior: smooth;
}

/* Navbar */
/* 1. Defined variables so colors work immediately */
:root {
 
  --white: #ffffff;
}

/* ---------------- NAVBAR ---------------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 5%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  box-sizing: border-box;
}

/* ---------------- LOGO ---------------- */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.logo span {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--primary);
}

/* ---------------- NAV LINKS ---------------- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: var(--primary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--highlight);
}

/* ---------------- DROPDOWN ---------------- */
.dropdown {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* DROPDOWN CONTENT DEFAULT (HIDDEN ON BOTH) */
.dropdown-content {
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 180px;
  border-radius: 6px;
  padding: 10px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.25s ease;
}

/* Desktop hover dropdown */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-content a {
  display: block;
  width: 100%;
  padding: 10px 15px;
  white-space: nowrap;
}


/* ---------------- REGISTER BUTTON ---------------- */
.register-btn {
  background-color: var(--highlight);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.register-btn:hover {
  background-color: var(--primary);
}

/* ---------------- HAMBURGER MENU ---------------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle div {
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 5px;
}

/* ---------------- MOBILE RESPONSIVE ---------------- */
@media (max-width: 768px) {

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  /* MOBILE DROPDOWN FIX */
  .dropdown-content {
    position: static;
    background: var(--white);
    margin-left: 20px;
    box-shadow: none;
    height: 0;
    overflow: hidden;
    padding: 0;
  }

  .dropdown.active .dropdown-content {
    visibility: visible;
    opacity: 1;
    height: auto;
    padding: 10px 0 10px 20px;
    transform: translateY(0);
  }
}

/* -------------------- HERO SLIDER -------------------- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 750px;
  overflow: hidden;
}

.hero-slider img {
  width: 100%;
  height: 150%;
  object-fit: cover;        /* cover screen */
  object-position: center;  /* keep center visible */
}


.slide {
  display: none;
  position: absolute;
  inset: 0;
  transition: opacity 1s ease;
}

.slide.active {
  display: block;
  animation: fadeSlide 1s ease-in-out;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}

/* TEXT BOX */
.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  padding: 20px 30px;
  border-radius: 12px;
  z-index: 5;
}

.slide-content h1 {
  font-size: 3rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-btn {
  padding: 12px 28px;
  background: var(--highlight);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s ease;
}

/* SLIDER ARROWS */
.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 15;
}

.prev, .next {
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 50%;
  transition: 0.3s ease;
}

.prev:hover, .next:hover {
  color: var(--highlight);
}

/* -------------------- MOBILE RESPONSIVE FIX -------------------- */
@media (max-width: 768px) {

  .hero-slider img {
    object-fit: cover;
    object-position: center;
  }


  .hero-slider {
    height: 60vh;
    max-height: 450px;
  }

  .slide-content {
    width: 90%;
    padding: 15px;
  }

  .slide-content h1 {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }

  .slide-content p {
    font-size: 0.95rem;
  }

  .hero-btn {
    padding: 10px 22px;
    font-size: 0.9rem;
  }

  .prev, .next {
    font-size: 22px;
    padding: 6px 10px;
  }
}

/* Very Small Screens */
@media (max-width: 480px) {
  .slide-content h1 {
    font-size: 1.5rem;
  }
  .slide-content p {
    font-size: 0.85rem;
  }
}



/* About Modern */
.about-modern {
  position: relative;
  padding: 100px 10%;
  overflow: hidden;
  background: var(--cream);
}
.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1300px;
  margin: auto;
  flex-wrap: wrap;
}
.about-left {
  flex: 1 1 550px;
    align-items: center;
}
.about-left h5 {
  font-size: 1rem;
  color: var(--highlight);
  font-weight: 600;
  margin-bottom: 10px;
}
.about-left h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
.about-left p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}
.about-btn {
  background: var(--highlight);
  color: #fff;
  padding: 12px 32px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 20px;
}
.about-btn:hover {
  background: #0090b5;
  transform: translateY(-2px);
}

/*------------------------------------------------------------------------------*/

/* Spandan Section */
.spandan-section {
  background: var(--cream);
  padding: 100px 8%;
}

.spandan-container {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  max-width: 1300px;
  margin: auto;
}

.spandan-image {
  flex: 1 1 45%;
  text-align: center;
}

.spandan-image img {
  width: 100%;
  height: 450px;
  max-height: 500px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transition: transform 0.5s ease;
}

.spandan-image img:hover {
  transform: scale(1.03);
}

.spandan-content {
  flex: 1 1 50%;
}

.spandan-content h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 25px;
  position: relative;
}

.spandan-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 70px;
  height: 3px;
  border-radius: 2px;
  
}

.spandan-content p {
  font-size: 1.1rem;
  color: var(--secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

/* Footer Text and Button */
.spandan-footer {
  margin-top: 25px;
}

.footer-text {
  font-size: 1rem;
  color: #1b263b;
  margin-bottom: 20px;
  font-weight: 500;
}

.know-more-btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(90deg, #00b4d8, #0092b3);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,180,216,0.3);
}

.know-more-btn:hover {
  background: linear-gradient(90deg, #0092b3, #007e9b);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,180,216,0.4);
}





/*---------------------------------------------------------------------------------------*/
/* Programs Section */
.programs-section {
  position: relative;
  padding: 100px 8%;
  font-family: "Poppins", sans-serif;
  color: var(--secondary);
  text-align: center;
}

.section-header {
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
  text-align: center;
  padding: 0 10px;
}

.section-header h5 {
  font-size: 1rem;
  color: var(--highlight);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-header h2 span {
  color: var(--highlight);
}

.section-header::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #a8e063, #56ab2f);
  margin: 18px auto 0;
  border-radius: 2px;
}

/* Background Text */
.bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 7rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.03);
  z-index: 0;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* ------------------- MOBILE RESPONSIVE FIX ------------------- */
@media (max-width: 768px) {

  .programs-section {
    padding: 60px 5%;   /* reduce white space */
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 2rem;    /* fix large title */
  }

  .section-header h5 {
    font-size: 0.9rem;
  }

  .bg-text {
    font-size: 3.5rem;  /* reduce oversized background text */
    top: 45%;
  }
}

@media (max-width: 480px) {

  .programs-section {
    padding: 50px 4%;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .bg-text {
    font-size: 2.8rem;
    top: 50%;
  }
}


/*---------------------------------------------------------------------------------------*/

/* Program Grid */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-items: center;
}
.program-card {
  padding: 30px 25px;
  max-width: 350px;
  transition: all 0.3s ease;
 border-right: 1px solid grey;
}
.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}
.program-card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--primary);
}
.program-card .date {
  color: var(--highlight);
  margin-bottom: 10px;
  font-weight: 500;
}
.program-card .desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--secondary);
}

/* Register Button */
.register-btn-container .btn {
  background: var(--highlight);
  color: #fff;
  padding: 12px 32px;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 30px;
}
.register-btn-container .btn:hover {
  background: #0090b5;
  transform: translateY(-2px);
}

/* Popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}
.popup-content input,
.popup-content textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.popup-content .submit-btn {
  background: var(--highlight);
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 20px;
  cursor: pointer;
}
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Past Programs Section */
.past-programs-section {
  background: #f9f9f9;
  padding: 100px 8%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background: var(--highlight);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}
.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
}
.timeline-item .content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  position: relative;
}
.timeline-item.left {
  left: 0;
  text-align: right;
}
.timeline-item.right {
  left: 50%;
}
.timeline-item::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--highlight);
  top: 25px;
  border-radius: 50%;
  z-index: 1;
}
.timeline-item.left::before {
  right: -10px;
}
.timeline-item.right::before {
  left: -10px;
}
.timeline-item h3 {
  color: var(--primary);
  margin-bottom: 5px;
}
.timeline-item .date {
  color: var(--highlight);
  margin-bottom: 8px;
  font-weight: 600;
}
.back-btn-container {
  margin-top: 60px;
}
.back-btn {
  background: var(--primary);
  color: #fff;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s ease;
  display: inline-block;
  animation: shake 2s infinite ease-in-out;
}
.back-btn:hover {
  background: var(--highlight);
  transform: scale(1.05);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* Responsive */
@media (max-width: 768px) {
  .timeline::after { left: 31px; }
  .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
  .timeline-item.left, .timeline-item.right { left: 0; text-align: left; }
  .timeline-item::before { left: 15px; }
}

/* Popup Form */
.popup-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); justify-content: center; align-items: center; z-index: 9999;}
.popup-content { position: relative; background: #fff; padding: 30px 40px; border-radius: 16px; width: 90%; max-width: 400px; text-align: center; box-shadow: 0 4px 25px rgba(0,0,0,0.2);}
.popup-content h3 { color: var(--primary); margin-bottom: 20px; }
.popup-content input, .popup-content textarea { width: 100%; padding: 10px 12px; margin: 10px 0; border: 1px solid #ccc; border-radius: 8px; font-family: "Poppins", sans-serif; }
.popup-content .submit-btn { background: var(--highlight); color: #fff; border: none; padding: 10px 20px; border-radius: 25px; cursor: pointer; transition: background 0.3s ease; }
.popup-content .submit-btn:hover { background: #0090b5; }
.close-btn { position: absolute; top: 15px; right: 20px; font-size: 1.5rem; color: #333; cursor: pointer; }



/* Testimonials Section */
.testimonial-container {
  max-width: 900px;
  margin: auto;
  overflow: hidden;
  position: relative;
}

.testimonial-wrapper {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px;
  text-align: center;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.testimonial-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00b4d8;
}

.quote-mark {
  font-size: 35px;
  color: #00b4d8;
  margin-bottom: -30px;
}

.testimonial-text {
  font-style: italic;
  color: #444;
  line-height: 1.6;
}

.testimonial-name {
  font-weight: 600;
  margin-top: 10px;
  color: #0d1b2a;
}

.testimonial-role {
  font-size: 0.9rem;
  color: #777;
}

/* Dots */
.dots {
  text-align: center;
  margin-top: 20px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.active,
.dot:hover {
  background-color: #00b4d8;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    text-align: center;
  }
  .testimonial-img {
    margin-bottom: 15px;
  }
}





/*----------------------------------------------------*/



/* ===== FAQ Column ===== */
.faq-column {
  flex: 1;
  min-width: 320px;
  border-radius: 20px;
  padding: 40px 30px;
 
}



.faq-heading {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 25px;
  color: #0d1b2a;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 10px;
}

.faq-question {
  background: none;
  border: none;
  font-size: 1.05rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  color: #1b263b;
  font-weight: 600;
  padding: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.arrow {
  border: solid #00b4d8;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 5px;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.faq-item.active .arrow {
  transform: rotate(-135deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  padding: 0 14px;
}

.faq-answer p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 8px 0 14px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  background: #f7fcff;
  padding: 10px 14px;
}

/* ===== Form Column ===== */
.form-column {
  flex: 1;
  min-width: 320px;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.form-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}



/* ===== Animations ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .register-container {
    flex-direction: column;
  }
  .faq-column, .form-column {
    width: 100%;
  }
}


/* FOOTER */
#footer {
  background: #0d1b2a;
  padding: 80px 8% 40px;
  color: #d8d8d8;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 6rem;
  flex-wrap: wrap;
  text-align: left;
}

/* BOX STYLING */
.footer-box {
  flex: 1;
  min-width: 260px;
}

/* LOGO STYLE */
.footer-logo-box {
  text-align: center;
}

.footer-logo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(45deg, #7b2ff7, #f78c1e);
  display: block;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.footer-tagline {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #bbb;
  font-style: italic;
}

/* TITLES */
.footer-box h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 15px;
  position: relative;
}

.footer-box h3 span {
  color: #00b4d8;
}

/* ABOUT */
.footer-about p {
  line-height: 1.7;
  font-size: 0.95rem;
  color: #d2d2d2;
}

/* CONTACT */
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin: 10px 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.contact-info i {
  color: #00b4d8;
  margin-right: 8px;
}

/* SOCIAL ICONS */
.social-icons {
  margin-top: 15px;
}

.social {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.1rem;
  transition: 0.3s ease;
  text-decoration: none !important;
  border: none;
}

.social:hover {
  background: linear-gradient(45deg, #7b2ff7, #f78c1e);
  transform: translateY(-4px);
  color: #ffff;
}

/* FOOTER BOTTOM */
.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}

.footer-bottom strong {
  color: #00b4d8;
}

/* RESPONSIVE FIX */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    align-items: center;
  }

  .footer-box {
    width: 100%;
  }

  .contact-info li {
    justify-content: center;
  }

  .social-icons {
    text-align: center;
  }
}

@media (max-width: 500px) {
  #footer {
    padding: 50px 5% 30px;
  }

  .footer-logo {
    width: 130px;
    height: 130px;
  }

  .footer-box h3 {
    font-size: 1.2rem;
  }
}



/*chatbot*/
.linkedin-slider {
  position: fixed;
  bottom: 30px;
  right: 0;
  overflow: hidden;
  border-radius: 30px 0 0 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: width 0.4s ease;
  width: 50px; /* initial width shows only arrow */
  z-index: 1000;
}

.linkedin-slider:hover {
  width: 230px; /* expands to show icon + text */
}

.linkedin-slider a {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0A66C2, #0073b1);
  color: #000;
  text-decoration: none;
  padding: 10px;
}

.linkedin-slider .arrow {
  font-size: 18px;
  margin-right: 8px;
  transition: transform 0.3s ease;
  color: #fff;
}

.linkedin-slider:hover .arrow {
  transform: rotate(180deg);
}

.icon-bg {
  width: 40px;
  height: 40px;
  background: #fff; /* white background */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 12px;
  transition: transform 0.3s ease;
}

.icon-bg img {
  width: 24px;
  height: 24px;
}

.linkedin-slider:hover .icon-bg {
  transform: scale(1.1);
}

.linkedin-slider .chat-text {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
}

.linkedin-slider:hover .chat-text {
  opacity: 1;
}




/* Slider Box */
.simple-slider {
  margin-top: 79px;
  width: 100%;
  height: 450px;
  overflow: hidden;
  position: relative;
}

/* Adjust height for mobile */
/* MOBILE FULL WIDTH + SMALLER HEIGHT */
@media (max-width: 768px) {
  .simple-slider {
    height: 35vh;        /* Adjust mobile height */
  }
}
/* Images */
.simple-slider .slide {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* Active Image Visible */
.simple-slider .slide.active {
  opacity: 1;
}






/* Responsive Breakpoints */
@media(max-width:992px){
  .about-left h2, .spandan-content h2 { font-size:2.5rem; text-align:center; }
  .about-left p, .spandan-content p { font-size:1.1rem; }
  .about-btn { padding:10px 28px; font-size:0.95rem; }
  .about-right img, .spandan-image img { max-width: 300px; }
  .testimonial-card { flex-direction: column; text-align:center; }
}
@media(max-width:768px){
  .nav-links { 
    position:absolute; top:65px; left:-100%; width:100%; flex-direction:column; text-align:center; gap:20px; background: var(--secondary); padding:20px 0; transition:left 0.3s ease;
  }
  .nav-links.active { left:0; }
  .nav-links a { color: var(--cream); }
  .dropdown > a { display:none; }
  .dropdown-content { position: static; visibility: visible; opacity:1; height:auto; background:transparent; box-shadow:none; display:flex; flex-direction:column; gap:15px; }
  .dropdown-content a { padding:0; color:var(--cream); }
  .dropdown-content a:hover { color: var(--highlight); }
  .menu-toggle { display:flex; }
  .about-modern { padding:60px 5%; }
  .about-left h2 { font-size:2rem; }
  .about-left p { font-size:1rem; line-height:1.6; }
  .about-btn { padding:10px 24px; font-size:0.9rem; }
  .about-right img { max-width:220px; }
  .spandan-section { padding:60px 5%; }
  .spandan-content h2 { font-size:2rem; }
  .spandan-content p { font-size:1rem; line-height:1.6; }
}
@media(max-width:480px){
  .about-left h2 { font-size:1.7rem; }
  .about-left p { font-size:0.95rem; }
  .about-btn { padding:8px 20px; font-size:0.85rem; }
  .about-right img { max-width:160px; }
  .spandan-content h2 { font-size:1.7rem; }
  .spandan-content p { font-size:0.95rem; }
}
