/* -----------------------------------
   RESET & BASE STYLES
----------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* -----------------------------------
   HEADER STYLES
----------------------------------- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 2rem;
  background: #1a237e;
  /* Dark blue background */
  color: #fff;
  position: sticky;
  /* Sticks to top when scrolling */
  top: 0;
  z-index: 999;
}

header .logo {
  font-size: 1.7rem;
  font-weight: bold;
}

#siteTitle span {
  text-transform: capitalize;
}

/* -----------------------------------
   NAVIGATION MENU
----------------------------------- */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 20px;
  position: relative;
}

.nav-menu a:hover {
  color: #43a047;
  background: rgba(67, 160, 71, 0.1);
  transform: translateY(-2px);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #43a047;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-menu a:hover::after {
  width: 80%;
}

/* -----------------------------------
   HAMBURGER MENU FOR MOBILE
----------------------------------- */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1000;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Animation for hamburger to cross */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* -----------------------------------
   HERO SECTION
----------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(135deg,
      rgba(26, 35, 126, 0.9),
      rgba(67, 160, 71, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

/* Animated floating background effect */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,...");
  animation: float 30s ease-in-out infinite;
}

.hero-overlay {
  padding: 2rem;
  position: relative;
  z-index: 2;
}

/* Animated badge in hero */
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 25px;
  box-shadow: 0 3px 10px rgba(231, 76, 60, 0.2);
  animation: pulse 3s ease-in-out infinite;
}



/* Hero heading */
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Highlighted word in heading */
.hero-content h1 span {
  color: #f39c12;
  font-weight: 800;
  background: linear-gradient(135deg, #f39c12, #e67e22);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  line-height: 1.6;
}

/* List of hero features (icons or points) */
.hero-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* Individual feature style */
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  text-decoration:none;

}

.feature-item:hover {
  background: rgba(67, 160, 71, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Feature icon bounce effect */
.feature-icon {
  font-size: 1.5rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* -----------------------------------
   CALL-TO-ACTION BUTTONS
----------------------------------- */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn.primary {
  background: linear-gradient(135deg, #43a047, #388e3c);
  color: #fff;
  box-shadow: 0 4px 15px rgba(67, 160, 71, 0.4);
}

.cta-btn.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

/* Hover effects for buttons */
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-btn.primary:hover {
  background: linear-gradient(135deg, #388e3c, #2e7d32);
}

.cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Scroll down indicator arrow */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border-right: 3px solid white;
  border-bottom: 3px solid white;
  transform: rotate(45deg);
  opacity: 0.7;
}

/* labs sy opr tk responsive */
@media (max-width: 992px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 10%;
    width: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
  }

  .nav-menu a {
    padding: 10px;
    border-bottom: 1px solid #eee;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .hero-features {
    flex-direction: column;
    align-items: center;
  }
}

/* -----------------------------------
   SLIDER
----------------------------------- */
.slider {
  width: 90%;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.slides {
  position: relative;
  aspect-ratio: 16 / 9;
  /* Instead of fixed height */
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  /* use 'contain' if you want full image shown without crop */
}

.slide.active {
  display: block;
}

/* Sections */
section {
  padding: 50px 20px;
  text-align: center;
}

/* Courses */
.courses-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.courses-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23e9ecef" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.5;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.course-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-icon {
  text-align: center;
  margin-bottom: 20px;
}

.course-icon span {
  font-size: 3rem;
  display: inline-block;
  animation: bounce 2s ease-in-out infinite;
}

.course-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  text-align: center;
}

.course-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

.course-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 25px;
}

.feature {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 8px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  color: #495057;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.course-btn {
  display: inline-block;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.course-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #5a6fd8, #6a4c93);
}

/* Form */
form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input,
form select,
form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  padding: 12px;
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: #0052a3;
}

/* Gallery & Posters */
.images,
.poster-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.images img,
.poster-gallery img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.poster-gallery img:hover,
.images img:hover {
  transform: scale(1.03);
}

/* Footer */
footer {
  background: #222;
  color: white;
  padding: 20px;
  text-align: center;
}

.read-more-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #1976d2;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.read-more-btn:hover {
  background-color: #1565c0;
}

.course-detail {
  max-width: 750px;
  margin: 60px auto;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.course-detail h2 {
  font-size: 2rem;
  color: #00b894;
}

.course-detail p {
  margin: 15px 0;
  font-size: 1.1rem;
  color: #333;
}

.cta-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 28px;
  background-color: #00b894;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background-color: #019879;
}

/* Enhanced Stats Section */
.stats-section {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 100%);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.stats-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.floating-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg,
      rgba(67, 160, 71, 0.1),
      rgba(25, 118, 210, 0.1));
  animation: float 4s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 60px;
  height: 60px;
  top: 20%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.shape-4 {
  width: 50px;
  height: 50px;
  bottom: 10%;
  right: 10%;
  animation-delay: 1s;
}

.stats-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  cursor: pointer;
}

.stats-header {
  text-align: center;
  margin-bottom: 60px;
}

.stats-header h2 {
  font-size: 2.5rem;
  color: #1a237e;
  margin-bottom: 15px;
  font-weight: 700;
}

.stats-header p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(26, 35, 126, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(67, 160, 71, 0.1);
  backdrop-filter: blur(10px);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #43a047, #1976d2, #1a237e);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(26, 35, 126, 0.15);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

.icon {
  font-size: 3rem;
  color: #43a047;
  position: relative;
  z-index: 2;
  animation: iconFloat 3s ease-in-out infinite;
}

.icon-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg,
      rgba(67, 160, 71, 0.1),
      rgba(25, 118, 210, 0.1));
  border-radius: 50%;
  z-index: 1;
  animation: iconBgPulse 2s ease-in-out infinite;
}

@keyframes iconFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes iconBgPulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
}

.stat-content {
  text-align: center;
}

.stat-content h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 5px;
  display: inline-block;
}

.stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: #43a047;
  margin-left: 5px;
}

.stat-content h4 {
  font-size: 1.3rem;
  color: #1976d2;
  margin-bottom: 10px;
  font-weight: 600;
}

.stat-content p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.stat-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(67, 160, 71, 0.1);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #43a047, #1976d2);
  width: 0%;
  transition: width 2s ease-in-out;
  animation: progressFill 2s ease-in-out forwards;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(10px, -15px) rotate(10deg);
  }

  50% {
    transform: translate(-10px, 10px) rotate(-10deg);
  }

  75% {
    transform: translate(15px, 5px) rotate(5deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

/* Modern Slider Styles */
.slider {
  position: relative;
  max-width: 100%;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 10px;
}

.slider-wrapper {
  position: relative;
}

.slide {
  display: none;
  width: 100%;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  display: block;
}

/* Arrows */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 35, 126, 0.7);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 10;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.prev:hover,
.next:hover {
  background: #1976d2;
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

/* Dots */
.dots {
  text-align: center;
  position: absolute;
  bottom: 15px;
  width: 100%;
}

.dot {
  display: inline-block;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active,
.dot:hover {
  background: #1976d2;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-features {
    gap: 15px;
  }

  .feature-item {
    padding: 10px 15px;
    font-size: 0.9rem;
    cursor: pointer;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    padding: 14px 30px;
    font-size: 1rem;
    width: 200px;
    text-align: center;
  }

  .stats-header h2 {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-card {
    padding: 30px 20px;
  }

  .stat-content h3 {
    font-size: 2rem;
  }

  .icon {
    font-size: 2.5rem;
  }
}

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

  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 15px;
  }

  .hero-features {
    flex-direction: column;
    gap: 10px;
  }

  .feature-item {
    width: 100%;
    justify-content: center;
  }

  .stats-header h2 {
    font-size: 1.8rem;
  }

  .stat-card {
    padding: 25px 15px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    font-size: 1.2rem;
    padding: 15px 30px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 200px;
    text-align: center;
  }

  .nav-menu a:hover {
    background: rgba(67, 160, 71, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .hamburger {
    display: flex;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .course-card {
    padding: 25px;
  }

  .course-content h3 {
    font-size: 1.3rem;
  }

  .course-icon span {
    font-size: 2.5rem;
  }

  .images,
  .poster-gallery {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 0.8rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .nav-menu a {
    font-size: 1.1rem;
    padding: 12px 25px;
    min-width: 180px;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: inline-block;
  background: #43a047;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 40px;
  height: 40px;
}

/* AOS Animation Classes */
[data-aos] {
  opacity: 0;
  transition: all 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

[data-aos="zoom-in"] {
  transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}

@media (max-width: 480px) {
  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }

  .author-avatar {
    margin-bottom: 10px;
  }
}

/* Gallery Section Styles */
.gallery-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}



.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.gallery-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(26, 35, 126, 0.9),
      rgba(67, 160, 71, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  text-align: center;
  color: white;
  padding: 20px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-info {
  transform: translateY(0);
}

.gallery-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.gallery-info p {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.5;
}

/* Poster Section Styles */
.poster-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  position: relative;
}

.poster-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20c0 11.046-8.954 20-20 20s-20-8.954-20-20 8.954-20 20-20 20 8.954 20 20zm0-20c-11.046 0-20 8.954-20 20s8.954 20 20 20 20-8.954 20-20-8.954-20-20-20z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.poster-card {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  background: white;
}

.poster-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.25);
}

.poster-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.poster-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.poster-card:hover .poster-image img {
  transform: scale(1.05);
}

.poster-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(240, 147, 251, 0.95),
      rgba(245, 87, 108, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.poster-card:hover .poster-overlay {
  opacity: 1;
}

.poster-info {
  text-align: center;
  color: white;
  padding: 30px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.poster-card:hover .poster-info {
  transform: translateY(0);
}

.poster-info h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.poster-info p {
  font-size: 1rem;
  margin-bottom: 25px;
  opacity: 0.9;
  line-height: 1.6;
}

.poster-btn {
  display: inline-block;
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.poster-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* location section */

.location-section {
  background-color: #f8f9fa;
  padding: 50px 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  max-width: 1000px;
  margin: 60px auto;
}

.location-section h2 {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.location-section p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
}

.map-container {
  position: relative;
  overflow: hidden;
  padding-bottom: 56.25%;
  /* 16:9 ratio */
  height: 0;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/* Admission Section Styles */
.admission-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
}

.admission-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.admission-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 50px;
  align-items: start;
}

.admission-info {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 25px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.admission-info h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(10px);
}

.info-icon {
  font-size: 2rem;
  min-width: 50px;
  text-align: center;
}

.info-content h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.info-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
}

.admission-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h3 {
  color: #333;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.form-header p {
  color: #666;
  font-size: 0.9rem;
}

.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e1e5e9;
  border-radius: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group label {
  position: absolute;
  top: 15px;
  left: 20px;
  color: #999;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  pointer-events: none;
  background: white;
  padding: 0 5px;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group select:focus+label,
.form-group select:not([value=""])+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
  top: -10px;
  font-size: 0.8rem;
  color: #667eea;
  font-weight: 600;
}

.submit-btn {
  width: 100%;
  padding: 15px 30px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
}

.btn-icon {
  transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
  transform: translateX(5px);
}

/* Responsive Styles for New Sections */

/* Form Success Message Styles */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-content {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(76, 175, 80, 0.3);
}

.success-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 20px;
  animation: bounce 1s ease-in-out;
}

.success-content h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.success-content p {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
}





.gallery-item,
.poster-card,
.course-card,
.testimonial-card {
  will-change: transform;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-particles {
    animation: none !important;
  }

  .floating-shapes .shape {
    animation: none !important;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .poster-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .admission-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .admission-info {
    padding: 30px;
  }

  .admission-form {
    padding: 30px;
  }

  .info-item {
    padding: 15px;
  }

  .info-icon {
    font-size: 1.5rem;
    min-width: 40px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-info h3 {
    font-size: 1.3rem;
  }

  .poster-info h3 {
    font-size: 1.5rem;
  }

  .admission-info h3 {
    font-size: 1.5rem;
  }

  .form-header h3 {
    font-size: 1.5rem;
  }
}

/* 
footer */

.content {
  flex: 1;
  padding: 50px 20px;
  text-align: center;
  color: #666;
}

/* Enhanced Professional Footer */
footer {
  background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="medical-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><path d="M25 15v20M15 25h20" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/><circle cx="10" cy="10" r="0.5" fill="%2343a047" opacity="0.2"/><circle cx="40" cy="40" r="0.5" fill="%2343a047" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23medical-pattern)"/></svg>');
  opacity: 0.3;
}

.footer-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-section {
  text-align: left;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.logo-icon {
  width: auto;
  height: 50px;
  background: linear-gradient(135deg, #43a047, #388e3c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(67, 160, 71, 0.3);
  animation: pulse 3s ease-in-out infinite;
  position: relative;
  right: 20px;
  bottom: 10px;
}

.logo-icon img{
   height: 50px;
   width: auto;
   border-radius: 50%;
   position: absolute;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

.logo-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 5px;
}

.footer-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #43a047;
  position: relative;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #43a047, #1976d2);
  border-radius: 1px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  border-radius: 5px;
}

.footer-links li a:hover {
  color: #43a047;
  padding-left: 10px;
  background: rgba(67, 160, 71, 0.1);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(67, 160, 71, 0.1);
  transform: translateX(5px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #43a047, #1976d2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.contact-text {
  flex: 1;
}

.contact-text strong {
  display: block;
  color: white;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-text span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: #43a047;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(67, 160, 71, 0.3);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  margin: 40px 0 30px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 20px;
}

.copyright {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.heart {
  color: #e74c3c;
  animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.footer-links-bottom {
  display: flex;
  gap: 25px;
  list-style: none;
}

.footer-links-bottom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  padding-right: 20px;
}

.footer-links-bottom a:hover {
  color: #43a047;
}

.footer-links-bottom a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #43a047;
  transition: width 0.3s ease;
}

.footer-links-bottom a:hover::after {
  width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    padding: 40px 15px 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-section {
    text-align: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-links-bottom {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.5rem;
  }

  .footer-section h3 {
    font-size: 1.2rem;
  }

  .contact-item {
    padding: 8px;
  }

  .contact-icon {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}