/* General */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 25%;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.3s ease;
}

/* Left Section */
.left-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  /*height: 75px;*/
  width: 50%;
 
  /*object-fit: cover;*/
}

/* Demo Link (Desktop) */
.demo-link {
  position: relative;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.demo-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #0078ff;
  transition: width 0.3s ease;
}

.demo-link:hover {
  color: #0078ff;
}

.demo-link:hover::after {
  width: 100%;
}

/* Right Section */
.nav-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Click Button */
.click-btn {
  background-color: #665EFF;
  color: #fff;
  border: none;
  padding: 15px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s ease;
}

.click-btn:hover {
  background-color: #5146e6;
  transform: translateY(-2px);
}

/* Hamburger icon */
.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.hamburger:hover {
  color: #0078ff;
}

/* Mobile Demo link */
.demo-link-mobile {
  display: none;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.demo-link-mobile:hover {
  color: #0078ff;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  header {
    padding: 12px 20px;
  }

  /* Hide desktop demo link */
  .left-section .demo-link {
    display: none;
  }

  /* Show hamburger */
  .hamburger {
    display: block;
  }

  /* Hide nav by default */
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 65px;
    right: 0;
    background: #fff;
    width: 100%;
    border-radius: 0 0 10px 10px;
   
    padding: 15px 0;
    gap: 12px;
    z-index: 999;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  /* Active menu (slide animation) */
  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  /* Demo link inside mobile menu */
  .demo-link-mobile {
    display: block;
    font-size: 16px;
  }

  /* Button inside mobile menu */
  .click-btn {
    width: 90%;
    padding: 14px 0;
  }
}




/* ===== Intro Section ===== */
.intro-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 5%;
  background-color: #fff;
  gap: 40px;
}

.intro-left {
  flex: 1;
}

.intro-left h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000;
}

.intro-left p {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Buttons */
.buttons {
  display: flex;
  gap: 15px;
}

.btn {
  text-decoration: none;
  font-size: 16px;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 500;
  transition: 0.3s ease;
}

.btn.whatsapp {
  background-color: #25D366;
  color: #fff;
}

.btn.whatsapp:hover {
  background-color: #1ebe5a;
}

.btn.website {
  border: 2px solid #0078ff;
  color: #0078ff;
}

.btn.website:hover {
  background-color: #0078ff;
  color: #fff;
}

/* Right side image */
.intro-right {
  flex: 1;
  text-align: center;
}

.intro-right img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .intro-section {
    padding: 40px 10%;
  }
}

@media (max-width: 768px) {
  .intro-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .intro-left h1 {
    font-size: 28px;
  }

  .intro-right img {
    max-width: 100%;
    margin-top: 20px;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 90%;
    text-align: center;
  }
}



/* ===== Services Section ===== */
.services-section {
  padding: 60px 5%;
  text-align: center;
}

.services-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #000;
  text-align: left;
}

.services-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;

}

.service-box {
  background-color: #fff;
  border-radius: 10px;
  padding: 25px 20px;
  flex: 1;
  min-width: 250px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  position: relative;
  height: auto; /* Auto height to fit content */
  transition: all 0.3s ease;
    background-color:#336699;
}

/* Hover effect for scaling */
.service-box:hover {
  transform: scale(1.05); /* Scale the box by 5% */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Slightly stronger shadow on hover */
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  object-fit: cover;
  position: absolute;
  top: 20px;
  left: 20px;
}

.service-box h3 {
  margin-top: 70px; /* icon ke niche heading ke liye space */
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px; /* Reduced gap */
}

.service-box p {
  font-size: 14px;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 15px; /* Reduced gap */
}

/* Responsive */
@media (max-width: 768px) {
  .services-container {
    flex-direction: column;
    align-items: center;
  }

  .service-box {
    width: 90%;
    text-align: center;
    padding: 20px; /* Reduced padding */
    margin-bottom: 15px; /* Added margin between boxes */
    height: auto;
  }

  .service-icon {
    position: static;
    margin-bottom: 10px; /* Reduced space between icon and text */
  }

  .service-box h3 {
    font-size: 18px;
    margin-top: 0; /* No extra space above heading */
    margin-bottom: 8px; /* Reduced margin */
  }

  .service-box p {
    font-size: 13px; /* Smaller text size */
    margin-bottom: 10px; /* Reduced gap */
  }
}

/* Heading above content */
.section-heading {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-bottom: 30px;
}

/* Wrapper for left and right side */
.school-management-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px; /* Left and right box ke beech me 10px gap */
  padding: 2% 10%; /* Section ke andar left-right padding */
  flex-wrap: wrap; /* Mobile me wrap ho jaye */
}

/* Left side image */
.school-management-left {
  flex: 1;
  cursor: pointer;
}

.school-management-image {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Right side text */
.school-management-right {
  flex: 1;
  text-align: left;
}

.school-management-right h2 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.school-management-right p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}

/* List of Features */
.school-features-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.school-features-list li {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.school-features-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #0078ff;
}

/* Button */
.click-btn {
  display: inline-block;
  background-color: #665EFF;
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
  margin-top: 30px;
}

.click-btn:hover {
  background-color: #5146e6;
  transform: translateY(-2px);
}

/* User Credentials */
.user-credentials {
  font-size: 14px;
  color: #333;
  margin-top: 20px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  display: block;
  border-radius: 10px;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 25px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .school-management-content {
    flex-direction: column;
    text-align: center;
  }

  .school-management-left {
    margin-bottom: 20px;
  }

  .school-management-image {
    max-width: 100%;
  }

  .school-management-right h2 {
    font-size: 28px;
  }

  .school-management-right p {
    font-size: 14px;
  }

  .school-features-list li {
    font-size: 14px;
    margin-bottom: 8px;
  }
}


/* Online Classes Section */
.online-classes-section {
  padding: 60px 5%;

}

.online-classes-section .section-heading {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #000;
  text-align: left;
}

/* Container: 3 columns layout */
.online-classes-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0px; /* Gap between items */
}

/* Each item */
.online-class-item {
  background-color: #ffffff;
  padding: 20px 15px;
  border-radius: 10px;
 
  text-align: left;
}

/* Number */
.item-number {
  font-size: 15px;
  font-weight: 700;
  color: gray;
  margin-bottom: 5px;
}

/* Title */
.item-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

/* Underline */
.item-underline {
  width: 100%;
  height: 3px;
  background-color: #0078ff;
  margin-bottom: 15px;
}

/* Paragraph */
.online-class-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .online-classes-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .online-classes-container {
    grid-template-columns: 1fr;
  }

  .online-classes-section .section-heading {
    text-align: center;
  }

  .online-class-item {
    text-align: center;
  }
}


/* Teacher Training Section */
.teacher-training-section {
  padding: 60px 5%;
  background-color: #fff;
}

.teacher-training-section .section-heading {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000;
}

.teacher-training-section .section-intro {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.8;
}

/* Container: 3 row × 2 column */
.teacher-training-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Each training item */
.training-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
 
  padding: 20px;
  border-radius: 10px;
 
}

/* Icon */
.training-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

/* Content */
.training-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #000;
}

.training-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .teacher-training-container {
    grid-template-columns: 1fr;
  }

  .training-item {
    flex-direction: row;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .teacher-training-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .training-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .training-icon {
    margin-bottom: 15px;
  }
}


/* School Mobile App Section */
.school-app-section {
  padding: 60px 8%;

}

.school-app-section .section-heading {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #000;
  text-align: left;
}

/* Container: 3 column layout */
.app-features-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

/* Each Column */
.app-feature-column h3 {
  font-size: 20px;
  font-weight: 600;
  color: #0078ff;
  margin-bottom: 15px;
}

.app-feature-column ul {
  list-style: none;
  padding: 0;
}

.app-feature-column ul li {
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.app-feature-column ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #0078ff;
}

/* App download info */
.app-download-info {
  font-size: 16px;
  color: #333;
  text-align: left;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
  .app-features-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .app-features-container {
    grid-template-columns: 1fr;
  }

  .app-feature-column h3 {
    text-align: center;
  }

  .app-feature-column ul li {
    text-align: center;
  }
}



/* ===== PSBI Affiliation Section ===== */
.psbi-affiliation-section {
  padding: 60px 8%;
  background-color: #fff;
}

.psbi-affiliation-section .section-heading {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  text-align: left; /* heading left align */
  margin-bottom: 40px;
}

.psbi-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 column layout */
  gap: 20px; /* gap between boxes */
}

.psbi-box {

  padding: 25px 20px;
  border-radius: 10px;
  text-align: left;
 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.psbi-box:hover {
  transform: translateY(-5px);
  
}

.psbi-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 15px;
}

.psbi-box h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.psbi-box p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .psbi-container {
    grid-template-columns: 1fr; /* single column on mobile */
  }
  .psbi-box {
    text-align: center;
  }
}


/* ===== Testimonials Section ===== */
.testimonials-section {
  padding: 60px 4%;
 
}

.testimonials-section .section-heading {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  text-align: left;
  margin-bottom: 40px;
}

.testimonials-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.testimonial-box {
  background-color: #fff;
  border: 2px solid #0078ff;
  border-top-left-radius: 15px;
  border-bottom-right-radius: 15px;
  padding: 25px 20px;
  flex: 1;
  min-width: 250px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-box .quote-mark {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 50px;
  color: #0078ff;
  font-weight: bold;
  line-height: 1;
}

.testimonial-box p {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  padding-left: 15px; /* space for vertical line */
  border-left: 3px solid #0078ff; /* vertical line */
  margin-top: 10px;
}

.testimonial-box span {
  display: block;
  margin-top: 15px;
  font-weight: 500;
  color: #555;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .testimonials-container {
    flex-direction: column;
  }
  .testimonial-box {
    min-width: 90%;
  }
}


/* ===== Demo Section ===== */
.demo-section {
  padding: 60px 5%;

}

.demo-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

/* Left Image */
.demo-left {
  flex: 1;
  text-align: center;
}

.demo-image {
  width: 100%;
  max-width: 480px;
  border-radius: 10px;

}

/* Right Content */
.demo-right {
  flex: 1;
}

.demo-right h2 {
  font-size: 30px;
  font-weight: 700;
  color: #000;
  text-align: left;
  margin-bottom: 20px;
}

.demo-right p {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* 4 Box Container */
.demo-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.demo-box {
  background-color: #fff;
  border: 2px solid #0078ff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.demo-box h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0078ff;
  margin-bottom: 10px;
}

.demo-box p {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 8px;
}

/* Button Reuse */
.demo-box .click-btn {
  display: inline-block;
  background-color: #665EFF;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
  margin-top: 8px;
}

.demo-box .click-btn:hover {
  background-color: #5146e6;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
  .demo-container {
    flex-direction: column;
    text-align: center;
  }

  .demo-right {
    text-align: center;
  }

  .demo-boxes {
    grid-template-columns: 1fr;
  }
}


/* ===== Digital Journey Section ===== */
.digital-journey-section {
  text-align: center;

  padding: 70px 5%;
  position: relative;
}

.digital-journey-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
  text-align: center; /* ✅ Center align heading */
}

.digital-journey-section p {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 50px auto;
  text-align: center; /* ✅ Center align paragraph */
}

/* Stats Row */
.journey-stats {
  display: flex;
  justify-content: center; /* ✅ Center align row content */
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.stat-box {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  background: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  text-align: center; /* ✅ Center align each box text */
}

.stat-box:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.stat-box h3 {
  font-size: 50px;
  color: #ff6666;
  margin-bottom: 10px;
  font-weight: 700;
}

.stat-box p {
  font-size: 18px;
  font-weight: 600;
  color: #006699;
  margin-bottom: 5px;
}

.stat-box span {
  font-size: 14px;
  color: #555;
}

/* Bottom Border */
.bottom-line {
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #0078ff, #00c3ff);
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .journey-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat-box {
    width: 90%;
  }
}


/* ===== Footer Section ===== */
.footer-section {
  background-color: #001f3f;
  color: #fff;
  padding: 60px 5%;
  font-family: 'Poppins', sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

/* Left Part */
.footer-left {
  flex: 1;
  min-width: 280px;
}

.footer-left h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #00c3ff;
}

.footer-left p {
  font-size: 16px;
  margin: 8px 0;
}

.footer-left a {
  color: #00c3ff;
  text-decoration: none;
}

.footer-left a:hover {
  text-decoration: underline;
}

/* Right Part (Now buttons in one row) */
.footer-right {
  display: flex;
  flex-direction: row; /* 👈 Changed from column to row */
  gap: 15px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  min-width: 250px;
}

/* Buttons */
.footer-btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 25px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  color: #fff;
  white-space: nowrap;
}

.whatsapp-btn {
  background-color: #25D366;
}

.whatsapp-btn:hover {
  background-color: #1ebe5a;
  transform: scale(1.05);
}

.call-btn {
  background-color: #0078ff;
}

.call-btn:hover {
  background-color: #005cd1;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-right {
    justify-content: center;
    flex-direction: column; /* 👈 On mobile, buttons stacked vertically */
    gap: 10px;
  }

  .footer-left h3 {
    text-align: center;
  }
}


/* ===== Scroll Fade-in + Slide-up Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


#back-to-top {
  display: none; /* default hidden */
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
  font-size: 24px;
 
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}

#back-to-top:hover {
  opacity: 1;
  transform: scale(1.1);
}
