* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*background-color: #27656b;*/
    background-image: url('/image/back_home1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  color: white;
  padding: 80px 50px;
  height: 102vh;
  flex-wrap: wrap;
}

.hero-content {
  max-width: 50%;
}

.hero-content h5 {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #cce6e8;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.btn {
  padding: 14px 30px;
  background-color: white;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.btn:hover {
  background-color: #ddd;
}

.hero-image img {
  max-width: 100%;
  width: 400px;
  height: auto;
}

/* Slide-in Animations */
.animate-left, .animate-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}

.animate-left.active {
  transform: translateX(0);
  opacity: 1;
}

.animate-right {
  transform: translateX(100px);
}

.animate-right.active {
  transform: translateX(0);
  opacity: 1;
}
.thrd_para_hero{
    font-size: 18px;
    line-height: 1.6;
    padding-top: 30px;
    padding-bottom: 30px;
    color: #cce6e8;
}
.first_para_hero{
    font-size: 2rem;
    line-height: 1.6;
    padding-top: 30px;
    padding-bottom: 30px;
    color: #cce6e8;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 30px;
  }

  .hero-content, .hero-image {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-image {
    margin-top: 30px;
  }
}

@media (max-width: 568px) {
    .hero {
        padding: 40px 20px;
        height: fit-content;
        display: flex;
    }
  #image_teacher_hero{
    height: 500px;
    width: 300px;

  }
}


/* Unique animation styles for learning section */


.learning-animate-left.active,
.learning-animate-right.active {
  transform: translateX(0);
  opacity: 1;
}

.learning-section {
  background-color: #1e3f50;
  color: white;
  padding: 80px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.learning-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.learning-column {
  flex: 1 1 45%;
  min-width: 280px;
}

.learning-column h3 {
  font-size: 22px;
  color: #8fbfdf;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.learning-box {
  margin-bottom: 40px;
}

.learning-box h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: white;
}

.learning-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #e0e0e0;
}

.footer-note {
  margin-top: 40px;
  font-size: 14px;
  color: #c2e0f0;
  text-align: center;
}


@media (max-width: 768px) {
  .learning-columns {
    flex-direction: column;
    gap: 60px;
  }

  .learning-column {
    flex: 1 1 100%;
  }
}

/* ✅ Improved Responsive Design */
@media (max-width: 992px) {
  .learning-columns {
    flex-direction: column;
  }

  .learning-column {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .learning-column h3 {
    text-align: center;
    font-size: 20px;
  }

  .learning-box h4 {
    font-size: 18px;
  }

  .learning-box p {
    font-size: 15px;
  }

  .footer-note {
    font-size: 13px;
    padding: 0 10px;
  }
}

.education-section {
  background-color: #22475e;
  color: #fff;
  padding: 80px 20px 60px;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 18px;
  color: #dce6ec;
  margin-bottom: 40px;
}

/* Responsive grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 0 10px;
}

.card_ind {
  background-color: #e6ebf0;
  color: #000;
  padding: 30px 20px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card_ind:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card-number {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background-color: #2c7a80;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  line-height: 60px;
}

.card_ind h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.card_ind p {
  font-size: 14px;
  color: #333;
  margin-bottom: 20px;
}

.card_ind a {
  text-decoration: none;
  color: #2c7a80;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid #2c7a80;
  padding-bottom: 2px;
}

/* On scroll animation */
.card-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-in-out;
}

.card-animate.active {
  opacity: 1;
  transform: translateY(0);
}

/* ✅ Responsive adjustments */
@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
    padding: 0 10px;
  }

  .card_ind h3 {
    font-size: 18px;
  }

  .card_ind p {
    font-size: 13px;
  }

  .card-number {
    font-size: 18px;
    width: 50px;
    height: 50px;
    line-height: 50px;
  }
}


/* Basic Styles */
body {
  font-family: 'Segoe UI', sans-serif;
}

.team-section {
  background-color: #22475e;
  padding: 60px 20px;
  color: white;
  text-align: center;
}

.team-title {
  font-size: 36px;
  font-weight: bold;
}

.team-subtitle {
  font-size: 14px;
  color: #d9e3e8;
  margin-bottom: 40px;
}

.team-subtitle a {
  color: #a8e0f0;
  text-decoration: underline;
}

/* Grid Layout */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-content: center;
}

/* Team Card */
.tram_card_index {
  background-color: white;
  color: #222;
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tram_card_index:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.tram_card_index img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.tram_card_index .role {
  font-size: 14px;
  color: #999;
  margin: 5px 0;
}

.tram_card_index h3 {
  color: #2c7a80;
  font-size: 20px;
  margin-bottom: 10px;
}

.tram_card_index .description {
  font-size: 14px;
  color: #444;
  margin-bottom: 20px;
}

.social-icons a {
  color: #2c7a80;
  margin: 0 8px;
  font-size: 16px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #1d5c60;
}

/* Scroll Animation */
.animate-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-in-out;
}

.animate-card.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Text Adjustments */
@media (max-width: 600px) {
  .team-title {
    font-size: 28px;
  }
  .tram_card_index h3 {
    font-size: 18px;
  }
  .tram_card_index .description {
    font-size: 13px;
  }
}


.support-section {
  background: #f5fafa;
  padding: 60px 20px;
}

.support-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.support_card_index {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support_card_index:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.support_card_index h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.support_card_index p {
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
}

.support_card_index input[type="email"] {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

.support_card_index button {
  background: #287a7d;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}

.support_card_index button:hover {
  background: #1f6164;
}

.icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.whatsapp-icon {
  color: #25D366;
}

.chat-icon {
  color: #5d7cff;
}

/* Animation */
.animate-support {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-in-out;
}

.animate-support.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Text */
@media (max-width: 600px) {
  .support_card_index h4 {
    font-size: 16px;
  }
  .support_card_index p {
    font-size: 13px;
  }
  .icon {
    font-size: 30px;
  }
}


.footer{
    width: 100%;
    background-color: #22475e;
    color: #cce6e8;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.header_main_all {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header_main {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

.navbar ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

.navbar ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar ul li a:hover {
  color: #007b8f;
}

/* Hamburger Menu (Hidden by Default) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 3px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .navbar {
    position: absolute;
    top: 110px;
    left: 0;
    width: 100%;
    background: #ffffff;
    display: none;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .navbar.active {
    display: flex;
  }

  .navbar ul {
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
  }

  .navbar ul li a {
    font-size: 16px;
  }
}
