/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  overflow-x: hidden;
}

/* Loading Animation */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  text-align: center;
  color: white;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Navigation Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.8rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.navbar-brand:hover {
  transform: scale(1.05);
  text-decoration: none;
}

.navbar-logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand:hover .navbar-logo {
  border-color: #667eea;
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.brand-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-nav .nav-link {
  color: #333;
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-nav .nav-link:hover {
  color: #667eea;
  transform: translateY(-2px);
}

/* Mobile Navigation */
.navbar-toggler {
  border: none;
  padding: 4px 8px;
  position: relative;
  z-index: 1001;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Navigation Collapse */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-top: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .navbar-nav {
    text-align: center;
  }

  .navbar-nav .nav-link {
    padding: 12px 0;
    margin: 5px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .navbar-nav .nav-link:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: none;
  }

  .navbar-nav .nav-link.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    margin: 10px 20px;
    border-radius: 25px;
    padding: 12px 25px;
  }

  .navbar-nav .nav-link.btn:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
  }
}

/* Section Spacing */
.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.section-title p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Section */
.home {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%),
              url('https://media.istockphoto.com/id/1263424631/photo/e-learning-online-education-or-internet-encyclopedia-concept-open-laptop-and-book-compilation.jpg?s=612x612&w=0&k=20&c=2xih46TXLwHnvgU5FaY9FRRc3F62MpzL__S8O6v2jRU=') no-repeat center center/cover;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.home h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

.home p {
  font-size: 1.3rem;
  color: #f8f9fa;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-image {
  position: relative;
  animation: fadeInRight 1s ease 0.4s both;
}

/* Enhanced Logo Container */
.logo-container {
  text-align: center;
  position: relative;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.main-logo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.main-logo:hover {
  transform: scale(1.08) rotate(5deg);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.logo-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, #667eea, #764ba2, #667eea);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: rotate 3s linear infinite;
  z-index: 1;
}

.logo-wrapper:hover .logo-glow {
  opacity: 0.7;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-text {
  color: white;
  text-align: center;
}

.logo-text h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 500;
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  width: 40px;
  height: 40px;
  top: 80%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Course Cards */
.courses {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
}

.course-card {
  background: #fff;
  padding: 40px 30px;
  margin-bottom: 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
  transition: left 0.5s ease;
}

.course-card:hover::before {
  left: 100%;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
  border-color: #667eea;
}

.course-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
  position: relative;
  z-index: 2;
}

.course-card p {
  margin-bottom: 25px;
  color: #666;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.course-card .btn {
  position: relative;
  z-index: 2;
  border-radius: 25px;
  padding: 10px 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

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

.course-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.course-card:hover .course-icon {
  transform: scale(1.1) rotate(10deg);
}

.course-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.course-features li {
  padding: 5px 0;
  color: #666;
}

.course-features i {
  color: #667eea;
  margin-right: 10px;
}

.course-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #667eea;
  margin: 20px 0;
}

/* Stats Section */
.stats {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0;
}

.stat-item {
  text-align: center;
  margin-bottom: 30px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Testimonials */
.testimonials {
  background: #f8f9fa;
  padding: 100px 0;
}

.testimonial-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 20px;
  text-align: center;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: #667eea;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: serif;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: #666;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 600;
  color: #333;
}

.testimonial-role {
  color: #999;
  font-size: 0.9rem;
}

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

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.gallery-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-text {
  color: white;
}

.gallery-text h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.gallery-text p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Swiper Gallery Styles */
.swiper-container {
  width: 100%;
  height: 500px;
  margin: 50px 0;
  border-radius: 20px;
  overflow: hidden;
}

.swiper-slide {
  position: relative;
  background: #000;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-slide-content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  color: white;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.swiper-slide-content h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.swiper-slide-content p {
  font-size: 1rem;
  opacity: 0.9;
}

.swiper-pagination-bullet {
  background: white;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #667eea;
}

.swiper-button-next,
.swiper-button-prev {
  color: white;
  background: rgba(102, 126, 234, 0.8);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-top: -25px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10000;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 15px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.lightbox-nav:hover {
  background: rgba(102, 126, 234, 0.8);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 100px 0;
}

.contact-info {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: white;
  font-size: 1.2rem;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Buttons */
.btn {
  border-radius: 25px;
  padding: 12px 30px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.btn-outline-primary {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-outline-primary:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-success {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  border: none;
}

.btn-success:hover {
  background: linear-gradient(135deg, #20b358 0%, #0f7a6b 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #fff;
  padding: 60px 0 30px;
  position: relative;
}

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

.footer-section h4 {
  margin-bottom: 20px;
  color: #fff;
  font-weight: 600;
}

.footer-section p,
.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #667eea;
}

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

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #667eea;
  transform: translateY(-3px);
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  color: #bdc3c7;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
  }

  .home h1 {
    font-size: 3rem;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 992px) {
  .navbar-nav {
    text-align: center;
    padding: 20px 0;
  }

  .navbar-nav .nav-link {
    margin: 5px 0;
  }

  .home {
    text-align: center;
    padding: 120px 0 60px;
  }

  .home h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }

  .home p {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }

  .hero-image {
    margin-top: 40px;
  }

  .section {
    padding: 80px 0;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .course-card {
    margin-bottom: 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
  }

  .swiper-container {
    height: 400px;
  }

  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
  }
}

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

  .navbar-brand {
    font-size: 1.5rem;
    gap: 8px;
  }

  .navbar-logo {
    width: 35px;
    height: 35px;
  }

  .brand-text {
    font-size: 1.5rem;
  }

  /* Mobile Hero Logo Adjustments */
  .main-logo {
    width: 220px;
    height: 220px;
    border-width: 3px;
  }

  .logo-text h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .logo-text p {
    font-size: 1rem;
  }

  .logo-wrapper {
    margin-bottom: 25px;
  }

  /* Mobile Leadership Cards in Hero */
  .leader-card {
    padding: 15px;
    margin-bottom: 10px;
    flex-direction: row;
    gap: 12px;
  }

  .leader-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .leader-info h5 {
    font-size: 1rem;
    margin-bottom: 3px;
  }

  .leader-title {
    font-size: 0.8rem;
  }

  /* Mobile Footer Logo */
  .footer-logo {
    gap: 12px;
  }

  .footer-logo-img {
    width: 40px;
    height: 40px;
  }

  .footer-logo h4 {
    font-size: 1.3rem;
  }

  .home {
    min-height: 80vh;
    padding: 100px 0 40px;
  }

  .home h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

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

  .section {
    padding: 60px 0;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

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

  .stat-number {
    font-size: 2.5rem;
  }

  .testimonial-card {
    padding: 30px 20px;
    margin: 10px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 200px;
  }

  .swiper-container {
    height: 300px;
  }

  .contact-info,
  .contact-form {
    padding: 30px 20px;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    margin-bottom: 30px;
  }

  .contact-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .lightbox-nav {
    font-size: 1.5rem;
    padding: 8px 12px;
  }

  .lightbox-prev {
    left: 15px;
  }

  .lightbox-next {
    right: 15px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }

  .navbar-brand {
    font-size: 1.3rem;
    gap: 6px;
  }

  .navbar-logo {
    width: 30px;
    height: 30px;
  }

  .brand-text {
    font-size: 1.3rem;
  }

  /* Small Mobile Hero Logo */
  .main-logo {
    width: 180px;
    height: 180px;
    border-width: 2px;
  }

  .logo-text h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
  }

  .logo-text p {
    font-size: 0.9rem;
  }

  .logo-wrapper {
    margin-bottom: 20px;
  }

  /* Small Mobile Leadership Cards */
  .leader-card {
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 12px;
  }

  .leader-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .leader-info h5 {
    font-size: 0.95rem;
  }

  .leader-title {
    font-size: 0.75rem;
  }

  /* Small Mobile Footer Logo */
  .footer-logo {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .footer-logo-img {
    width: 35px;
    height: 35px;
  }

  .footer-logo h4 {
    font-size: 1.2rem;
  }

  .home h1 {
    font-size: 1.8rem;
  }

  .home p {
    font-size: 0.95rem;
  }

  .section {
    padding: 50px 0;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }

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

  .stat-number {
    font-size: 2rem;
  }

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

  .gallery-item img {
    height: 180px;
  }

  .swiper-container {
    height: 250px;
  }

  .contact-info,
  .contact-form {
    padding: 25px 15px;
  }

  .form-control {
    padding: 12px;
  }

  .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

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

@media (max-width: 400px) {
  .home h1 {
    font-size: 1.6rem;
  }

  .section-title h2 {
    font-size: 1.4rem;
  }

  .course-card {
    padding: 20px 10px;
  }

  .gallery-item img {
    height: 150px;
  }

  .swiper-container {
    height: 200px;
  }

  .lightbox-close {
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
  }

  .lightbox-nav {
    font-size: 1.2rem;
    padding: 6px 10px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  /* Extra Small Mobile Logo Styles */
  .navbar-brand {
    font-size: 1.1rem;
    gap: 4px;
  }

  .navbar-logo {
    width: 25px;
    height: 25px;
  }

  .brand-text {
    font-size: 1.1rem;
  }

  /* Extra Small Hero Logo */
  .main-logo {
    width: 150px;
    height: 150px;
    border-width: 2px;
  }

  .logo-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
  }

  .logo-text p {
    font-size: 0.8rem;
  }

  .logo-wrapper {
    margin-bottom: 15px;
  }

  /* Extra Small Leadership Cards */
  .leader-card {
    padding: 10px;
    margin-bottom: 6px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .leader-icon {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
    margin: 0 auto;
  }

  .leader-info h5 {
    font-size: 0.9rem;
  }

  .leader-title {
    font-size: 0.7rem;
  }

  /* Extra Small Footer Logo */
  .footer-logo-img {
    width: 30px;
    height: 30px;
  }

  .footer-logo h4 {
    font-size: 1.1rem;
  }
}

/* Mobile-Specific Touch Optimizations */
@media (max-width: 768px) and (hover: none) and (pointer: coarse) {
  /* Disable hover effects on touch devices */
  .navbar-brand:hover .navbar-logo {
    transform: none;
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .main-logo:hover {
    transform: none;
  }

  .logo-wrapper:hover .logo-glow {
    opacity: 0;
  }

  .footer-logo:hover .footer-logo-img {
    transform: none;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
  }

  .leader-card:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: none;
  }

  /* Add tap highlight for better mobile UX */
  .navbar-brand,
  .main-logo,
  .footer-logo-img,
  .leader-card {
    -webkit-tap-highlight-color: rgba(102, 126, 234, 0.2);
  }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
  .main-logo {
    width: 160px;
    height: 160px;
  }

  .logo-text h3 {
    font-size: 1.3rem;
  }

  .logo-text p {
    font-size: 0.9rem;
  }

  .logo-wrapper {
    margin-bottom: 20px;
  }

  .leadership-highlight {
    margin-top: 25px;
  }

  .leader-card {
    padding: 12px;
    margin-bottom: 8px;
  }
}

/* High DPI Mobile Screens */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
  .navbar-logo,
  .main-logo,
  .footer-logo-img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .back-to-top,
  .floating-elements {
    display: none !important;
  }

  .section {
    padding: 20px 0;
  }

  .home {
    background: none !important;
    color: #333 !important;
  }
}

/* Leadership Styles */
.leadership {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;
}

.leadership::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(102,126,234,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.leadership-card {
  background: #fff;
  border-radius: 25px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.leadership-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
  transition: left 0.6s ease;
}

.leadership-card:hover::before {
  left: 100%;
}

.leadership-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2);
  border-color: #667eea;
}

.leadership-image {
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.leadership-avatar {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  font-size: 3rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.leadership-avatar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.leadership-card:hover .leadership-avatar::before {
  transform: translateX(100%);
}

.leadership-card:hover .leadership-avatar {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.leadership-content {
  position: relative;
  z-index: 2;
}

.leadership-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.leadership-position {
  font-size: 1.2rem;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.leadership-description {
  color: #666;
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 1rem;
}

.leadership-achievements {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.achievement-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 15px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 20px;
  color: #667eea;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.achievement-item:hover {
  background: rgba(102, 126, 234, 0.2);
  transform: translateX(5px);
}

.achievement-item i {
  font-size: 1.1rem;
}

/* Leadership Highlight in Hero Section */
.leadership-highlight {
  margin-top: 40px;
}

.leader-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.leader-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.leader-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.leader-info h5 {
  color: white;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.leader-title {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer Leadership Styles */
.leadership-footer {
  margin: 15px 0;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leadership-footer p {
  margin: 5px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.leadership-footer strong {
  color: #fff;
  font-weight: 600;
}

/* Footer Logo Styles */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.footer-logo h4 {
  margin: 0;
  color: white;
  font-size: 1.5rem;
}

/* Responsive Leadership Styles */
@media (max-width: 768px) {
  .leadership-card {
    padding: 30px 20px;
    margin-bottom: 30px;
  }

  .leadership-avatar {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }

  .leadership-content h3 {
    font-size: 1.5rem;
  }

  .leadership-position {
    font-size: 1rem;
  }

  .leadership-description {
    font-size: 0.95rem;
  }

  .achievement-item {
    font-size: 0.85rem;
    padding: 6px 12px;
  }

  .leader-card {
    padding: 15px;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .leader-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .leadership-highlight .row {
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .leadership-card {
    padding: 25px 15px;
  }

  .leadership-avatar {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

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

  .achievement-item {
    font-size: 0.8rem;
  }

  /* Responsive Logo Styles */
  .main-logo {
    width: 200px;
    height: 200px;
  }

  .logo-text h3 {
    font-size: 1.4rem;
  }

  .logo-text p {
    font-size: 1rem;
  }

  .navbar-brand {
    font-size: 1.5rem;
  }

  .navbar-logo {
    width: 35px;
    height: 35px;
  }

  .footer-logo {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .main-logo {
    width: 150px;
    height: 150px;
  }

  .logo-text h3 {
    font-size: 1.2rem;
  }

  .navbar-brand {
    font-size: 1.3rem;
  }

  .navbar-logo {
    width: 30px;
    height: 30px;
  }
}

/* Additional Leadership Animations */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.leadership-card {
  animation: fadeInScale 0.6s ease forwards;
}

.leadership-card:nth-child(1) {
  animation-delay: 0.1s;
}

.leadership-card:nth-child(2) {
  animation-delay: 0.3s;
}

.leadership-avatar {
  animation: pulse 3s ease-in-out infinite;
}

.leadership-card:hover .leadership-avatar {
  animation: none;
}

/* Text Gradient Effect */
.text-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Leadership Section Background Pattern */
.leadership::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
  pointer-events: none;
}