@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Tamil:wght@100..900&display=swap');

body {
  overflow-x: hidden;
}

.why-choose-us,
.specialties-section,
.about {
  padding: 0 1rem;
}

.hero-title {
  font-size: 2.5rem;
}
.head1{
  font-size: 32px;
  margin-bottom: 20px;
}
.head2{
  font-size: 24px;
  margin-bottom: 10px;
}

.hero-buttons .btn,
.nav-item .btn {
  margin-right: 0rem;
  margin-bottom: 0rem;
  border-radius: 6px;
  font-size: 1rem;
}

.nav-item .btn {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.1);
  color: gold;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link {
  font-size: 0.9rem;
}

.custom-navbar.scrolled {
  /* background: rgba(0, 2, 104, 0.795) !important; */
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  color: white;
}

.custom-navbar.scrolled .nav-link {
  color: rgb(44, 43, 43);
}

.custom-navbar.scrolled h5 {
  color: rgb(44, 43, 43);
}

p {
  font-size: 0.9rem !important;
}

.footer {
  backdrop-filter: blur(10px);
  border-radius: 10px;
  margin: 1.5rem;
}

.about-row {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  /* padding: 2rem 0; */
  gap: 2rem;
}

.about-img {
  /* width: 70%;
    height: 100%; */
  object-fit: cover;
  border-radius: 10px;
}


.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.course-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.course-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.course-card.featured {
  border: 2px solid #7c3aed;
}

.course-header {
  padding: 20px 20px 15px;
  position: relative;
}

.course-level {
  display: inline-block;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: white;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 500;
  margin-bottom: 10px;
}

.popular-badge {
  position: absolute;
  top: -1px;
  right: 15px;
  background: #f59e0b;
  color: white;
  padding: 4px 10px;
  border-radius: 0 0 8px 8px;
  font-size: 9px;
  font-weight: 500;
}

.course-header h3 {
  font-size: 1rem;
  margin-bottom: 3px;
  color: #1f2937;
  font-family: "Noto Sans Tamil", sans-serif !important;
}

.course-content {
  padding: 0 20px 20px;
}

.course-duration {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #6b7280;
  font-size: 11px;
  margin-bottom: 15px;
}

.course-features h4 {
  font-size: 12px;
  margin-bottom: 8px;
  color: #1f2937;
}

.course-features ul {
  list-style: none;
  margin-bottom: 20px;
}

.course-features li {
  padding: 3px 0;
  font-size: 0.8rem;
  color: #6b7280;
  position: relative;
  padding-left: 12px;
}

.course-features li::before {
  content: "•";
  color: #7c3aed;
  position: absolute;
  left: 0;
}

.course-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 15px;
}

.price {
  font-size: 18px;
  font-weight: bold;
  color: #7c3aed;
}

.period {
  font-size: 10px;
  color: #6b7280;
}

.course-btn {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.course-btn:hover {
  background: linear-gradient(135deg, #6d28d9, #db2777);
  transform: translateY(-1px);
}

a {
  text-decoration: none;
  color: inherit;
}

.course-benefits {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.course-benefits h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 5px;
  color: #1f2937;
}

.course-benefits .tamil {
  text-align: center;
  color: #7c3aed;
  font-size: 12px;
  margin-bottom: 25px;
  display: block;
}

.featured {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.course-header {
  text-align: left;
  width: 100%;
}

.course-image {
  width: 80%;
  border-radius: 12px;
  padding: 5% 0;
}

.branch-card {
  /* width: 90%; */
  padding: 2%;
}

.branch-img {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.branch-card img {
  width: 60%;
}

.branch-info {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.branch-info a {
  text-align: center;
}

/* responsive */
@media (max-width: 576px) {
  .hero-section {
    padding: 4rem 0 !important;
    height: calc(100vh + 40%) !important;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-content {
    text-align: center;
    padding: 0 !important;
    padding-top: 15% !important;
    height: 100% !important;
  }

  p {
    font-size: 0.9rem !important;
  }

  .hero-content p {
    font-size: 0.9rem !important;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }

  .hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0rem;
    gap: 0.5rem;
    flex-direction: row;
  }

  .hero-buttons .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .collapse, #navbarNav {
    height: 100vh;
    padding: 0.9rem 1rem 2rem 1rem !important;
  }

  .navbar ul li i {
    font-size: 1.2rem;
  }

  .navbar ul li a {
    font-size: 1rem;
    /* background: rgba(255, 255, 255, 0.1); */
    /* backdrop-filter: blur(25px);
    border-radius: 10px; */
    padding: 0.5rem 1rem;
  }

  .nav-link::after {
    height: 0px;
  }

  .custom-navbar i {
    font-size: 2rem;
  }

  .custom-navbar .nav-link {
    color: rgb(255, 255, 255);
  }

  .custom-navbar.scrolled i {
    color: rgb(0, 0, 0);
    font-size: 2rem;
  }

   .custom-navbar.scrolled.navbar ul li i {
    font-size: 1.2rem;
  }

  .custom-navbar.scrolled.active {
    color: rgb(0, 0, 0);
  }

  .navbar {
    text-align: center;
  }

  .navbar ul li:last-child {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-radius: 6px;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
  }

  .navbar ul li:last-child a {
    color: white;
    background: none;
    font-weight: 500;
  }

  footer {
    padding: 1rem 0.5rem !important;
    margin: 0% !important;
  }
  }

  /* App Download Section - Stylish Enhancements */
  .app-download-section {
  padding: 60px 0;
  background: transparent;
  position: relative;
  z-index: 10;
  margin-top: -50px; /* Slight overlap with hero for a modern look */
  }

  .app-btn-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  padding: 20px;
  }

  .btn-app {
  display: flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-width: 250px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  }

  .btn-app:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  }

  .btn-app i {
  font-size: 2.8rem;
  margin-right: 18px;
  transition: all 0.3s ease;
  }

  .btn-app:hover i {
  transform: scale(1.1) rotate(-5deg);
  }

  .btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  }

  .btn-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.9;
  font-weight: 500;
  margin-bottom: 2px;
  }

  .btn-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
  font-family: 'Inter', sans-serif;
  }

  /* Color Variants using Site Palette */
  .btn-app-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white !important;
  }

  .btn-app-purple {
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  color: white !important;
  }

  /* Glossy Shine Effect */
  .btn-app::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 100%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(30deg);
  transition: 0.7s;
  }

  .btn-app:hover::before {
  left: 120%;
  }

  /* Mobile Responsiveness */
  @media (max-width: 768px) {
  .app-download-section {
    padding: 40px 0;
    margin-top: -30px;
  }

  .app-btn-container {
    gap: 15px;
    padding: 10px;
  }

  .btn-app {
    min-width: 100%;
    max-width: 320px;
    padding: 12px 20px;
  }

  .btn-app i {
    font-size: 2.2rem;
  }

  .btn-title {
    font-size: 1.1rem;
  }
  }