/* Soft badge */
.badge {
  @apply inline-block bg-blue-100 text-blue-600 text-sm font-semibold px-4 py-1 rounded-full;
}

/* Button styles */
.btn-primary {
  @apply bg-blue-600 text-white px-6 py-3 rounded-md font-semibold shadow hover:bg-blue-700 transition;
}
.btn-outline {
  @apply border border-gray-400 text-gray-800 px-6 py-3 rounded-md font-semibold hover:bg-gray-100 transition;
}

.swiper-slide {
  @apply bg-white shadow-lg rounded-lg text-left;
}
.swiper-button-prev,
.swiper-button-next {
  @apply text-gray-600 hover:text-gray-900;
}
.swiper-pagination-bullet {
  @apply bg-gray-400;
}
.swiper-pagination-bullet-active {
  @apply bg-gray-800;
}



/* General Styles */
.home {
    font-family: "Arial", sans-serif;
    color: #ffffff;
    background: linear-gradient(135deg, #001F3F, #111825, #04182c);
    min-height: 100vh;
    padding-bottom: 60px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #003366, #02111f, #111827);
    color: white;
    text-align: center;
    padding: 100px 20px;
    animation: fadeIn 1.5s ease-in-out;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    padding: 20px;
    text-align: left;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: bold;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 25px;
    opacity: 0.9;
    font-family: "Poppins", sans-serif;
}

.long-paragraph {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #dcdcdc;
    opacity: 0.85;
    font-family: "Poppins", sans-serif;
}

.explore-button {
    background: linear-gradient(135deg, #66dbe8, #8fb297);
    color: #0a0635;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    display: inline-block;
}

.explore-button:hover {
    background: linear-gradient(135deg, #52e9ce, #0c6759);
    transform: scale(1.05);
}

/* Hero Image */
.hero-image {
    flex: 1;
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 12px;
}

/* Why Choose Us Section */
.why-choose {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #002244, #003366);
}

.why-choose h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: white;
}

.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.feature {
    background: #001F3F;
    padding: 20px;
    width: 250px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    transition: all 0.4s ease-in-out;
    color: white;
}

.feature:hover {
    transform: translateY(0);
    box-shadow: 0px 8px 15px rgba(255, 255, 255, 0.2);
}

/* Courses Section */
.courses {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #002244, #003366);
}

.courses h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: white;
}

.course-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.course-card {
    background: #001F3F;
    padding: 20px;
    width: 280px;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(238, 235, 235, 0.6);
    transition: transform 0.3s ease-in-out;
    color: white;
}

.course-card:hover {
    transform: scale(1.05);
}

/* Call to Action */
.cta {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #00509E, #111827);
    color: white;
    animation: slideUp 1.5s ease-in-out;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 20px;
}

.cta-button {
    background-color: white;
    color: #0a0a0a;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: transform 0.3s ease-in-out;
    display: inline-block;
}

.cta-button:hover {
    background-color: #647eb7;
    transform: scale(1.05);
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Text and Image Alignment Section */
.text-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    flex-wrap: wrap;
    gap: 20px;
    margin: auto;
    font-family: "Siemens Sans", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.text-image-wrapper .text-content {
    flex: 1;
    padding: 20px;
    text-align: left;
    color: white;
}

.text-image-wrapper .hero-image {
    flex: 1;
    max-width: 600px;
    width: 100%;
    height: auto;
}
/* 3D Card and Hover Effects */
.card-3d {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  transform-style: preserve-3d;
  will-change: transform;
  perspective: 1000px;
}
.card-3d:hover {
  transform: rotateY(5deg) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Smooth fade-in animation */
@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 1s ease-out forwards;
}

/* Hero image enhancements */
.hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
.hero-image:hover {
  transform: scale(1.03);
}


/* Alternate order for even/odd layout */
.text-image-wrapper:nth-child(even) .text-content {
    order: 2;
}

.text-image-wrapper:nth-child(even) .hero-image {
    order: 1;
}
