/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Cairo", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #283735;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/9;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0) 33%,
    rgba(255, 255, 255, 0.989) 96%
  );
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 90%;
  height: 80vh;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-portrait-container {
  position: relative;
  width: 75%;
  max-width: 600px;
  margin-top: -6vh;
}

.hero-portrait {
  width: 100%;
  height: auto;
  border-radius: 15px;
  /* box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4); */
  transition: transform 0.3s ease;
  position: relative;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.9) 30%,
    rgba(0, 0, 0, 0.7) 60%,
    rgba(0, 0, 0, 0.3) 80%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.9) 30%,
    rgba(0, 0, 0, 0.7) 60%,
    rgba(0, 0, 0, 0.3) 80%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero-portrait::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 60%,
    rgba(0, 0, 0, 0.2) 80%,
    rgba(255, 255, 255, 0.9) 100%
  );
  border-radius: 15px;
  pointer-events: none;
  z-index: 1;
}

.hero-portrait:hover {
  transform: scale(1.02);
}

.hero-text-overlay {
  position: absolute;
  bottom: -5vh;
  z-index: 3;
  width: 100%;
}

.hero-name {
  font-family: "Babylonica", cursive;
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 600;
  background: linear-gradient(45deg, #9a690e, #9a690e, #9a690e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin: 0;
  letter-spacing: 2px;
  position: relative;
  text-decoration: none;
}

/* Removed the decorative underline */

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-arrow {
  color: white;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-arrow:hover {
  color: #ffd700;
  transform: scale(1.2);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Statistics Section */
.statistics-section {
  background: white;
  padding: 40px 0;
  text-align: center;
}

.statistics-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 0;
  flex-wrap: wrap;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  background-color: #f9f7f4;
}

.stat-card {
  border-radius: 15px;
  padding: 25px 35px;
  min-width: 160px;
  position: relative;
  overflow: hidden;
}

.stat-label {
  font-size: 1.5rem;
  color: #bdbcba;
  text-transform: lowercase;
  margin-bottom: 8px;
  font-weight: 400;
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: #a7a6a4;
  margin: 0;
  transition: all 0.3s ease;
}

.stat-value.animate {
  animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.description {
  font-size: 1.5rem;
  color: #7c7c7c;
  margin: 0;
  font-weight: 500;
}

/* Video Section */
.video-section {
  background: white;
  padding: 80px 0;
  text-align: center;
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 900px;
}

.video-placeholder {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16/9;
  border: 2px solid #9a690e;
  border-radius: 15px;
  background: linear-gradient(to top, #f5f5f5 0%, #ffffff 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.video-text {
  font-family: "Cairo", sans-serif;
  font-size: 3rem;
  font-weight: 400;
  color: #9a690e;
  opacity: 0.7;
  text-align: center;
  direction: rtl;
}

/* Before Gift Section */
.before-gift-section {
  background: linear-gradient(180deg, #ffffff 0%, #80808061 50%, #ffffff 100%);
  padding: 67px 0;
  text-align: center;
}

.section-title h2 {
  font-family: "Cairo", sans-serif;
  font-size: 3rem;
  font-weight: 500;
  color: #2a2a28;
  margin-bottom: 50px;
}

/* Why Different Section */
.why-different-section {
  padding: 80px 0;
  text-align: center;
}

.question-container {
  margin-bottom: 60px;
}

.main-question {
  font-family: "Cairo", sans-serif;
  font-size: 4rem;
  color: #333;
  direction: rtl;
  margin: 0;
  line-height: 1.2;
}

.question-line {
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: 600;
}

.highlight-container {
  position: relative;
  display: inline-block;
  background: #ffa500;
  padding: 10px 20px;
  border-radius: 0;
  margin: 0;
}

.highlight {
  color: #333;
  direction: rtl;
  position: relative;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #333;
}

.features-image img {
  width: 90%;
  object-fit: cover;
}

/* Testimonials Section */
.testimonials-section {
  background: white;
  padding: 100px 0;
  text-align: center;
}

.testimonials-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 600px;
}

.central-portrait {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.portrait-image {
  width: 500px;
  object-fit: cover;
}

.testimonial-card {
  position: absolute;
  background: white;
  border-radius: 20px;
  padding: 25px 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  max-width: 280px;
  direction: rtl;
  text-align: center;
}

.testimonial-card.top-left {
  top: 10%;
  left: 10%;
  background: #0a5540;
  color: white;
}

.testimonial-card.top-right {
  top: 10%;
  right: 10%;
  background: #f0f2ed;
  color: #333;
}

.testimonial-card.bottom-left {
  bottom: 10%;
  left: 10%;
  background: #fee743;
  color: #333;
  z-index: 3;
}

.testimonial-card.bottom-right {
  bottom: 10%;
  right: 10%;
  background: #faf9f5;
  color: #333;
  z-index: 3;
}

.stars {
  /* margin-bottom: 15px; */
  font-size: 0.9rem;
}

.stars .fas {
  color: #ffd700;
}
.stars .fas.green {
  color: #155724;
}

.testimonial-text {
  font-family: "Cairo", sans-serif;
  font-size: 0.8rem;
  line-height: 1.6;
  font-weight: 400;
}

/* Graduation Ceremony Section */
.graduation-section {
  background: white;
  padding: 80px 0;
  text-align: center;
}

.graduation-container {
  max-width: 1200px;
  margin: 0 auto;
}

.group-photo {
  position: relative;
  margin-bottom: 40px;
  /* border-radius: 15px; */
  border-top: 8px solid #183516;
  border-bottom: 8px solid #183516;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.group-photo .graduation-arrows {
  position: absolute;
  top: -32px;
}
.group-photo.first-photo .graduation-arrows {
  right: 116px;
}
.group-photo.second-photo .graduation-arrows {
  left: 116px;
}
.photo-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.photo-image:hover {
  transform: scale(1.02);
}

.ceremony-title {
  margin: 50px 0;
  padding: 30px 0;
}

.ceremony-title h2 {
  font-family: "Cairo", sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
  direction: rtl;
  margin: 0;
  line-height: 1.4;
}

.first-photo {
  margin-bottom: 30px;
}

.second-photo {
  margin-top: 30px;
}

/* Interviews Slider Section */
.interviews-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 100px 0;
}

.interviews-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 600px;
  padding: 80px 0;
}

.interviews-swiper {
  padding: 80px 0;
  overflow: visible;
  min-height: 500px;
}

.interview-card {
  background: transparent;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 400px;
  display: flex;
  flex-direction: column;
}

.interview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.interview-image {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.interview-card:hover .card-image {
  transform: scale(1.05);
}

.interview-text {
  padding: 20px;
  background: transparent;
  direction: rtl;
  text-align: center;
}

.interview-text h3 {
  font-family: "Cairo", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.interview-text p {
  font-family: "Cairo", sans-serif;
  font-size: 1rem;
  color: #666;
  margin: 5px 0;
  line-height: 1.4;
}

/* Custom Navigation Arrows - Top Position */
.custom-nav-arrow {
  position: absolute;
  z-index: 10;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.custom-nav-arrow:hover {
  transform: scale(1.1);
}

.top-nav {
  top: -60px;
}

.nav-arrow {
  width: 100px;
  height: auto;
}

/* Active Slide Styling */
.swiper-slide-active .interview-card {
  border-radius: 15px;
  transform: scale(1.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.swiper-slide-active .interview-card:hover {
  transform: scale(1.15);
}

/* Non-active slides */
.swiper-slide:not(.swiper-slide-active) .interview-card {
  transform: scale(0.85);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.swiper-slide:not(.swiper-slide-active) .interview-card:hover {
  transform: scale(0.9);
  opacity: 0.7;
}

/* Center the swiper container */
.interviews-swiper {
  padding: 40px 0;
  overflow: visible;
  min-height: 500px;
  width: 100%;
}

.swiper-wrapper {
  align-items: center;
  padding: 40px 0;
}

/* Hide default Swiper navigation elements */
.swiper-button-next:not(.custom-nav-arrow),
.swiper-button-prev:not(.custom-nav-arrow) {
  display: none !important;
}

.swiper-button-next,
.swiper-button-prev {
  top: var(--swiper-navigation-top-offset, 18%) !important;
}
.swiper-button-next,
.swiper-rtl .swiper-button-prev {
  right: var(--swiper-navigation-sides-offset, 32%) !important;
}
.swiper-button-prev,
.swiper-rtl .swiper-button-next {
  left: var(--swiper-navigation-sides-offset, 32%) !important;
}
/* Hide any ::after pseudo-elements on navigation */
.swiper-button-next::after,
.swiper-button-prev::after {
  display: none !important;
}

/* First Lesson Section */
.first-lesson-section {
  background: white;
  padding: 100px 0;
  text-align: center;
}

.lesson-container {
  max-width: 800px;
  margin: 0 auto;
}

.lesson-title h2 {
  font-family: "Cairo", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #333;
  direction: rtl;
  margin-bottom: 60px;
  line-height: 1.3;
}

.lesson-content-box {
  width: 100%;
  min-height: 400px;
  border: 3px solid #d4af37;
  border-radius: 20px;
  background: #f8f9fa;
  padding: 40px;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Student Marks Social Media Section */
.student-marks-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.social-media-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Central Smartphone */
.central-phone {
  position: relative;
  z-index: 10;
  transform: scale(1.2);
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: #1a1a1a;
  border-radius: 30px;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #333;
  border-radius: 2px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

/* Status Bar */
.status-bar {
  height: 60px;
  background: white;
  display: flex;
  align-items: center;
  padding: 0 15px;
  border-bottom: 1px solid #eee;
}

.profile-pic {
  width: 30px;
  height: 30px;
  background: #ddd;
  border-radius: 50%;
  margin-right: 10px;
}

.stories-container {
  display: flex;
  gap: 8px;
  flex: 1;
}

.story-circle {
  width: 40px;
  height: 40px;
  background: #f0f0f0;
  border-radius: 50%;
  border: 2px solid #ddd;
}

/* Main Post */
.main-post {
  height: 300px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.marks-carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.mark-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.mark-slide.active {
  opacity: 1;
}

.post-content h3 {
  font-family: "Cairo", sans-serif;
  font-size: 1.5rem;
  color: #333;
  direction: rtl;
  text-align: center;
  margin: 0 0 20px 0;
}

.student-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.student-marks-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  /* border-radius: 8px; */
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

.student-name {
  font-family: "Cairo", sans-serif;
  font-size: 1.2rem;
  color: #333;
  direction: rtl;
}

.mark-score {
  font-family: "Cairo", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2ecc71;
  direction: rtl;
}

/* Carousel Navigation */
.carousel-nav {
  position: absolute;
  bottom: 50%;
    width:63%;
    z-index: 1000;
    justify-content: space-around;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 40px;
  /* z-index: 5; */
}

.nav-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.arrow-icon {
  width: 60px;
  /* height: 24px; */
  /* filter: brightness(0) invert(1); */
  transition: all 0.3s ease;
}

/* .nav-arrow:hover .arrow-icon {
  filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
} */

/* Engagement Section */
.engagement-section {
  padding: 15px;
  background: white;
}

.engagement-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.engagement-icons i {
  font-size: 1.2rem;
  color: #666;
  cursor: pointer;
}

.post-caption p {
  font-family: "Cairo", sans-serif;
  font-size: 0.9rem;
  color: #333;
  direction: rtl;
  margin: 5px 0;
  line-height: 1.4;
}

/* Bottom Navigation */
.bottom-nav {
  height: 50px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid #eee;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.nav-icon {
  width: 25px;
  height: 25px;
  background: #ddd;
  border-radius: 4px;
}

/* Surrounding Cards */
.surrounding-cards {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.content-card {
  position: absolute;
  width: 200px;
  height: 250px;
  background: #f8f9fa;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: rotate(-5deg);
  transition: all 0.3s ease;
}

.content-card:hover {
  transform: rotate(-3deg) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-1 {
  top: 10%;
  left: 5%;
  transform: rotate(-15deg);
}

.card-2 {
  top: 20%;
  right: 10%;
  transform: rotate(12deg);
}

.card-3 {
  bottom: 15%;
  left: 8%;
  transform: rotate(-8deg);
}

.card-4 {
  bottom: 25%;
  right: 5%;
  transform: rotate(10deg);
}

.card-5 {
  top: 50%;
  right: 2%;
  transform: rotate(5deg);
}

.card-header {
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-profile-pic {
  width: 20px;
  height: 20px;
  background: #ddd;
  border-radius: 50%;
}

.card-username {
  width: 60px;
  height: 8px;
  background: #ddd;
  border-radius: 4px;
}

.card-content {
  flex: 1;
  background: #eee;
  margin: 10px;
  border-radius: 8px;
}

.card-engagement {
  padding: 10px;
  display: flex;
  gap: 10px;
}

.card-engagement i {
  font-size: 0.9rem;
  color: #999;
}

/* Al-Full Cards Section */
.al-full-cards-section {
  background: white;
  padding: 100px 0;
  text-align: center;
}

.cards-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Title Section */
.cards-title h2 {
  font-family: "Cairo", sans-serif;
  font-size: 3rem;
  color: #333;
  direction: rtl;
  margin-bottom: 20px;
  line-height: 1.3;
}

.year-display {
  margin-bottom: 60px;
}

.year-image {
  width: 300px;
  filter: brightness(0.9);
}

/* Cards Display */
.cards-display {
  position: relative;
  height: 400px;
  margin: 60px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7rem;
}

.card-pair {
  position: relative;
  width: 45%;
}

.card {
  width: 352px;
  height: 220px;
  border: 2px solid #333;
  border-radius: 10px;
  position: absolute;
  transition: all 0.3s ease;
  cursor: pointer;
  transform: rotate(-3deg);
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Left Pair Cards */
.left-pair .card-1 {
  background: #a8e6cf;
  top: -180px;
}

.left-pair .card-2 {
  background: #f5f5dc;
  top: 0;
  right: -36px;
}

/* Right Pair Cards */
.right-pair .card-3 {
  background: white;

  top: -50px;
  left: 160px;
  z-index: 2;
}

.right-pair .card-4 {
  background: #a8e6cf;
  bottom: 0;
  right: 40px;
  z-index: 1;
}

/* WhatsApp CTA */
.whatsapp-cta {
  margin-top: 80px;
}

.whatsapp-image {
  cursor: pointer;
  width: 443px;
}
.whatsapp-image:hover {
  transform: scale(1.05);
}

/* Free Foundation Booklet Section */
.free-booklet-section {
  padding: 50px 0;
  text-align: center;
}

.press-here-image {
  max-width: 80%;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.press-here-image:hover {
  transform: scale(1.05);
}

/* Booklet Modal Styles */
.booklet-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  backdrop-filter: blur(10px);
  animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(10px);
  }
}

.booklet-modal-content {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  margin: 3% auto;
  padding: 0;
  border-radius: 25px;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25), 0 10px 30px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.booklet-modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d4af37 0%, #ffd700 50%, #b8860b 100%);
  border-radius: 25px 25px 0 0;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-80px) scale(0.85) rotateX(10deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
  }
}

.booklet-modal-header {
  padding: 25px 35px 0;
  text-align: right;
  position: relative;
}

.booklet-close {
  color: #8a8a8a;
  font-size: 32px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
}

.booklet-close:hover {
  color: #333;
  background: rgba(0, 0, 0, 0.1);
  transform: scale(1.1) rotate(90deg);
}

.booklet-modal-body {
  display: flex;
  padding: 35px;
  gap: 40px;
  align-items: center;
  position: relative;
}

.booklet-modal-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    #e0e0e0 20%,
    #e0e0e0 80%,
    transparent 100%
  );
  opacity: 0.3;
}

.booklet-left {
  flex: 1;
  display: none;
  justify-content: center;
  align-items: center;
  animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.booklet-left.verified {
  display: flex;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.booklet-file-icon {
  background: linear-gradient(145deg, #9a690e 0%, #b8860b 100%);
  color: #ffffff;
  padding: 50px 35px;
  border-radius: 20px;
  text-align: center;
  min-width: 180px;
  box-shadow: 0 15px 35px rgba(154, 105, 14, 0.4),
    0 5px 15px rgba(184, 134, 11, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.booklet-file-icon::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.booklet-file-icon:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 10px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.booklet-file-icon i {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: block;
  background: linear-gradient(45deg, #ffd700, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.booklet-file-icon span {
  font-family: "Cairo", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.booklet-right {
  flex: 1;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
  position: relative;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.booklet-right::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37 0%, #ffd700 100%);
  border-radius: 20px 20px 0 0;
}

.booklet-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group:hover {
  transform: translateY(-2px);
}

.form-input {
  width: 100%;
  padding: 18px 25px;
  border: 2px solid #e1e8ed;
  border-radius: 15px;
  font-family: "Cairo", sans-serif;
  font-size: 1.1rem;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  direction: rtl;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.form-input:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1),
    0 5px 15px rgba(212, 175, 55, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

.form-input::placeholder {
  color: #a0a0a0;
  font-family: "Cairo", sans-serif;
  font-weight: 500;
  transition: color 0.3s ease;
}

.form-input:focus::placeholder {
  color: #d4af37;
}

.send-code-btn {
  width: 100%;
  padding: 18px 25px;
  background: linear-gradient(145deg, #d4af37 0%, #ffd700 100%);
  color: #2c3e50;
  border: none;
  border-radius: 15px;
  font-family: "Cairo", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3),
    0 4px 15px rgba(255, 215, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.send-code-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.send-code-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4),
    0 6px 20px rgba(255, 215, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.send-code-btn:hover::before {
  left: 100%;
}

.send-code-btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* Verification Code Input Styles */
.verification-group {
  position: relative;
}

.code-input-hint {
  font-size: 0.8rem;
  color: #666;
  margin-top: 5px;
  text-align: center;
  font-family: "Cairo", sans-serif;
}

.verify-code-btn {
  width: 100%;
  padding: 18px 25px;
  background: linear-gradient(145deg, #b8860b 0%, #9a690e 100%);
  color: #ffffff;
  border: none;
  border-radius: 15px;
  font-family: "Cairo", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.3),
    0 4px 15px rgba(154, 105, 14, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.verify-code-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(184, 134, 11, 0.4),
    0 6px 20px rgba(154, 105, 14, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.verify-code-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.download-btn {
  width: 100%;
  padding: 18px 25px;
  background: linear-gradient(145deg, #27ae60 0%, #2ecc71 100%);
  color: #ffffff;
  border: none;
  border-radius: 15px;
  font-family: "Cairo", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3),
    0 4px 15px rgba(46, 204, 113, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.download-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(39, 174, 96, 0.4),
    0 6px 20px rgba(46, 204, 113, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.download-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.download-btn i {
  margin-left: 8px;
}

/* Success State */
.form-success .form-input {
  border-color: #27ae60;
  background: linear-gradient(145deg, #f8fff9 0%, #f0fff4 100%);
}

.form-success .code-input-hint {
  color: #27ae60;
}

/* Error State */
.form-error .form-input {
  border-color: #e74c3c;
  background: linear-gradient(145deg, #fff8f8 0%, #fff0f0 100%);
}

.form-error .code-input-hint {
  color: #e74c3c;
}

/* Loading State */
.btn-loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn-loading i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Form Messages */
.form-message {
  padding: 12px 20px;
  border-radius: 10px;
  margin: 15px 0;
  font-family: "Cairo", sans-serif;
  font-weight: 600;
  text-align: center;
  animation: messageSlideIn 0.3s ease-out;
  position: relative;
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-message {
  background: linear-gradient(145deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  border: 2px solid #c3e6cb;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.success-message i {
  color: #27ae60;
  margin-left: 8px;
}

.error-message {
  background: linear-gradient(145deg, #f8d7da 0%, #f5c6cb 100%);
  color: #721c24;
  border: 2px solid #f5c6cb;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.2);
}

.error-message i {
  color: #e74c3c;
  margin-left: 8px;
}

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Enhanced Form Focus Effects */
.form-group.focused .form-input {
  border-color: #d4af37;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1),
    0 5px 15px rgba(212, 175, 55, 0.2);
}

/* Modal Content Initial State */
.booklet-modal-content {
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced File Icon Animation */
.booklet-file-icon {
  animation: fileIconFloat 3s ease-in-out infinite;
}

@keyframes fileIconFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Input Focus Animation */
.form-input:focus {
  animation: inputFocus 0.3s ease-out;
}

@keyframes inputFocus {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

/* Success State Animation */
.send-code-btn.success {
  animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive Modal */
@media (max-width: 768px) {
  .carousel-nav {
    width: 91%;
  }
  .booklet-modal-content {
    width: 95%;
    margin: 8% auto;
    border-radius: 20px;
  }

  .booklet-modal-body {
    flex-direction: column;
    padding: 25px;
    gap: 25px;
  }

  .booklet-modal-body::before {
    display: none;
  }

  .booklet-file-icon {
    padding: 40px 25px;
    min-width: 140px;
    border-radius: 15px;
  }

  .booklet-file-icon i {
    font-size: 3rem;
  }

  .booklet-file-icon span {
    font-size: 1.1rem;
  }

  .booklet-right {
    padding: 25px;
    border-radius: 15px;
  }

  .form-input {
    padding: 15px 20px;
    font-size: 1rem;
    border-radius: 12px;
  }

  .send-code-btn {
    padding: 15px 20px;
    font-size: 1rem;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .booklet-modal-content {
    width: 98%;
    margin: 12% auto;
    border-radius: 18px;
  }

  .booklet-modal-body {
    padding: 20px;
    gap: 20px;
  }

  .booklet-left {
    display: none !important;
  }

  .booklet-right {
    flex: 1;
    padding: 20px;
    border-radius: 12px;
  }

  .form-input {
    padding: 12px 15px;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .send-code-btn {
    padding: 12px 15px;
    font-size: 0.9rem;
    border-radius: 10px;
  }
}

@media (max-width: 360px) {
  .booklet-modal-content {
    width: 99%;
    margin: 15% auto;
    border-radius: 15px;
  }

  .booklet-modal-body {
    padding: 15px;
    gap: 15px;
  }

  .booklet-left {
    display: none !important;
  }

  .booklet-right {
    flex: 1;
    padding: 15px;
    border-radius: 10px;
  }

  .form-input {
    padding: 10px 12px;
    font-size: 0.85rem;
    border-radius: 8px;
  }

  .send-code-btn {
    padding: 10px 12px;
    font-size: 0.85rem;
    border-radius: 8px;
  }
}

@media (max-width: 400px) {
  .booklet-left {
    display: none !important;
  }

  .booklet-right {
    flex: 1;
  }
}

/* Countdown Timer Section */
.countdown-section {
  background: white;
  padding: 100px 0;
  text-align: center;
}

.countdown-container {
  max-width: 800px;
  margin: 0 auto;
}

.countdown-title h2 {
  font-family: "Cairo", sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #555;
  direction: rtl;
  margin-bottom: 60px;
  line-height: 1.3;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
}

.timer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.timer-number {
  font-family: "Poppins", sans-serif;
  font-size: 4rem;
  color: #333;
  line-height: 1;
}

.timer-label {
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timer-separator {
  font-family: "Poppins", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #333;
  margin-top: -20px;
}

.cta-button {
  margin-top: 200px;
}

.offer-btn {
  background: #25d366;
  color: white;
  border: none;
  border-radius: 0px 0px 25px 25px;
  padding: 15px 40px;
  font-size: 1.7rem;
  direction: rtl;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.offer-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-50%);
}

.offer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  background: #128c7e;
}

.whatsapp-logo {
  width: 50px;
  transition: all 0.3s ease;
}

.offer-btn:hover .whatsapp-logo {
  transform: scale(1.1);
}

/* Join Us Section */
.join-us-section {
  background: white;
  padding: 100px 0;
  text-align: center;
}

.join-container {
  max-width: 600px;
  margin: 0 auto;
}

.join-title h2 {
  font-family: "Cairo", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: #333;
  direction: rtl;
  margin-bottom: 20px;
  line-height: 1.3;
}

.join-subtitle p {
  font-family: "Cairo", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  color: #333;
  direction: rtl;
  margin-bottom: 50px;
  line-height: 1.5;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.social-icon {
  width: 60px;
  height: 60px;
  border: 2px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  background: white;
}

.social-icon i {
  font-size: 1.5rem;
  color: #333;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: #666;
}

.social-icon:hover i {
  color: #666;
}

/* Social Media Brand Colors on Hover */
.facebook:hover {
  border-color: #1877f2;
}

.facebook:hover i {
  color: #1877f2;
}

.telegram:hover {
  border-color: #0088cc;
}

.telegram:hover i {
  color: #0088cc;
}
.whatsapp:hover {
  border-color: #6ee97c;
}

.whatsapp:hover i {
  color: #6ee97c;
}

.instagram:hover {
  border-color: #e4405f;
}

.instagram:hover i {
  color: #e4405f;
}

.youtube:hover {
  border-color: #ff0000;
}

.youtube:hover i {
  color: #ff0000;
}

.group-photo .graduation-arrows {
  width: 80px;
  height: auto;
}
/* Responsive Design */
@media (max-width: 991px) {
  .arrow-icon {
    width: 35px;
  }
  .hero-content-wrapper {
    max-width: 95%;
    height: 85vh;
  }

  .hero-portrait-container {
    width: 70%;
    margin-bottom: 4vh;
  }

  .statistics-section {
    padding: 60px 0;
  }

  .statistics-cards {
    gap: 20px;
  }

  .stat-card {
    padding: 25px 30px;
    min-width: 150px;
  }

  .stat-icon {
    font-size: 2rem;
  }

  .stat-value {
    font-size: 1.8rem;
  }
  /* Al-Full Cards Responsive */
  .al-full-cards-section {
    padding: 80px 0;
  }

  .cards-title h2 {
    font-size: 2.5rem;
  }

  .year-image {
    width: 250px;
  }

  .cards-display {
    height: 350px;
    margin: 50px 0;
  }

  .card {
    width: 280px;
    height: 175px;
  }

  .left-pair .card-1 {
    top: -140px;
  }

  .left-pair .card-2 {
    right: -30px;
  }

  .right-pair .card-3 {
    top: -40px;
    left: 120px;
  }

  .right-pair .card-4 {
    right: 30px;
  }

  .whatsapp-image {
    width: 280px;
  }
}

@media (max-width: 768px) {
  .press-here-image {
    max-width: 100%;
  }

  .hero-section {
    height: 71vh;
  }

  .hero-content-wrapper {
    max-width: 98%;
    height: 55vh;
  }

  .hero-portrait-container {
    width: 80%;
    margin-bottom: 3vh;
  }
  .hero-portrait {
    width: 76%;
  }
  .statistics-section {
    padding: 45px 0;
  }

  .statistics-cards {
    gap: 15px;
  }

  .stat-card {
    padding: 20px 25px;
    min-width: 140px;
  }
  /* Video Section Responsive */
  .video-section {
    padding: 60px 0;
  }

  .video-text {
    font-size: 2.5rem;
  }
  /* Why Different Section Responsive */
  .why-different-section {
    padding: 60px 0;
  }

  .main-question {
    font-size: 2rem;
  }

  .features-image img {
    width: 100%;
    object-fit: cover;
  }
  /* Testimonials Section Responsive */
  .testimonials-section {
    padding: 60px 0;
  }

  .testimonials-container {
    min-height: 500px;
    position: relative;
  }

  .portrait-image {
    width: 175px;
  }

  .testimonial-card {
    max-width: 220px;
    padding: 20px 15px;
  }

  .testimonial-card.top-left {
    top: 5%;
    left: 5%;
  }

  .testimonial-card.top-right {
    top: 5%;
    right: 5%;
  }

  .testimonial-card.bottom-left {
    bottom: 5%;
    left: 5%;
  }

  .testimonial-card.bottom-right {
    bottom: 5%;
    right: 5%;
  }

  .testimonial-text {
    font-size: 0.6rem;
  }
  /* Graduation Section Responsive */
  .graduation-section {
    padding: 60px 0;
  }

  .ceremony-title h2 {
    font-size: 2rem;
  }

  .ceremony-title {
    margin: 40px 0;
    padding: 25px 0;
  }
  .group-photo .graduation-arrows {
    width: 50px;
    height: auto;
  }
  .group-photo.first-photo .graduation-arrows {
    right: 50px;
  }
  .group-photo.second-photo .graduation-arrows {
    left: 50px;
  }
  /* Interviews Responsive */
  .interviews-section {
    padding: 60px 0;
  }

  .interview-card {
    height: 350px;
  }

  .interview-text h3 {
    font-size: 1.3rem;
  }

  .top-nav {
    top: -50px;
  }

  .nav-arrow {
    width: 80px;
  }
  .swiper-button-next,
  .swiper-rtl .swiper-button-prev {
    right: var(--swiper-navigation-sides-offset, 24%) !important;
  }
  .swiper-button-prev,
  .swiper-rtl .swiper-button-next {
    left: var(--swiper-navigation-sides-offset, 24%) !important;
  }

  /* First Lesson Responsive */
  .first-lesson-section {
    padding: 80px 0;
  }

  .lesson-title h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }

  .lesson-content-box {
    min-height: 300px;
    padding: 30px;
  }
  /* Student Marks Responsive */
  .student-marks-section {
    padding: 80px 0;
  }

  .phone-frame {
    width: 240px;
    height: 480px;
  }

  .content-card {
    width: 160px;
    height: 200px;
  }

  .card-1 {
    left: 2%;
  }
  .card-2 {
    right: 5%;
  }
  .card-3 {
    left: 5%;
  }
  .card-4 {
    right: 2%;
  }
  .card-5 {
    right: 1%;
  }

  .al-full-cards-section {
    padding: 60px 0;
  }

  .cards-title h2 {
    font-size: 2rem;
  }

  .year-image {
    width: 200px;
  }

  .cards-display {
    height: 300px;
    margin: 40px 0;
  }

  .card {
    width: 220px;
    height: 140px;
  }

  .left-pair .card-1 {
    top: -110px;
  }

  .left-pair .card-2 {
    right: -25px;
  }

  .right-pair .card-3 {
    top: -30px;
    left: 90px;
  }

  .right-pair .card-4 {
    right: 25px;
  }

  /* Countdown Responsive */
  .countdown-section {
    padding: 80px 0;
  }

  .countdown-title h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .countdown-timer {
    gap: 15px;
    margin-bottom: 40px;
  }

  .timer-number {
    font-size: 3rem;
  }

  .timer-separator {
    font-size: 2.5rem;
    margin-top: -15px;
  }

  .offer-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    gap: 8px;
  }

  .whatsapp-logo {
    width: 20px;
    height: 20px;
  }
  /* Join Us Responsive */
  .join-us-section {
    padding: 80px 0;
  }

  .join-title h2 {
    font-size: 2.5rem;
  }

  .join-subtitle p {
    font-size: 1.2rem;
  }

  .social-icons {
    gap: 25px;
  }

  .social-icon {
    width: 55px;
    height: 55px;
  }

  .social-icon i {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .carousel-nav {
    bottom: 50%;
    width: 177%;
    z-index: 1000;
    justify-content: space-around;
  }
  .hero-section {
    aspect-ratio: 2/3;
  }

  .hero-content-wrapper {
    max-width: 100%;
    padding: 0 1rem;
  }

  .hero-portrait-container {
    width: 85%;
    margin-bottom: -22vh;
  }
  .hero-text-overlay {
    margin-bottom: 10vh;
  }

  .statistics-cards {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-card {
    flex: 1;
    min-width: 120px;
    max-width: 150px;
    padding: 15px 10px;
  }

  .stat-label {
    font-size: 1rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }
  .video-section {
    padding: 40px 0;
  }

  .video-placeholder {
    border-radius: 10px;
  }

  .video-text {
    font-size: 2rem;
  }
  .why-different-section {
    padding: 40px 0;
  }

  .main-question {
    font-size: 1.8rem;
  }

  .testimonials-container {
    min-height: 400px;
    position: relative;
  }

  .testimonial-card {
    max-width: 141px;
    padding: 12px 8px;
    font-size: 0.8rem;
  }

  .testimonial-card.top-left {
    top: 2%;
    left: 2%;
  }

  .testimonial-card.top-right {
    top: 2%;
    right: 2%;
  }

  .testimonial-card.bottom-left {
    bottom: 2%;
    left: 2%;
  }

  .testimonial-card.bottom-right {
    bottom: 2%;
    right: 2%;
  }

  .testimonial-text {
    font-size: 0.8rem;
  }

  .graduation-section {
    padding: 40px 0;
  }

  .ceremony-title h2 {
    font-size: 1.8rem;
  }

  .ceremony-title {
    margin: 30px 0;
    padding: 20px 0;
  }

  .group-photo {
    margin-bottom: 25px;
  }

  .group-photo .graduation-arrows {
    width: 50px;
    height: auto;
  }
  .group-photo.first-photo .graduation-arrows {
    right: 40px;
  }
  .group-photo.second-photo .graduation-arrows {
    left: 40px;
  }

  .interviews-section {
    padding: 40px 0;
  }

  .interview-card {
    height: 300px;
  }

  .interview-text h3 {
    font-size: 1.2rem;
  }

  .top-nav {
    top: -40px;
  }

  .nav-arrow {
    width: 80px;
  }
  .swiper-button-next,
  .swiper-rtl .swiper-button-prev {
    right: var(--swiper-navigation-sides-offset, 14%) !important;
  }
  .swiper-button-prev,
  .swiper-rtl .swiper-button-next {
    left: var(--swiper-navigation-sides-offset, 14%) !important;
  }
  .first-lesson-section {
    padding: 60px 0;
  }

  .lesson-title h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .lesson-content-box {
    min-height: 250px;
    padding: 20px;
    border-radius: 15px;
  }
  .student-marks-section {
    padding: 60px 0;
  }

  .phone-frame {
    width: 200px;
    height: 400px;
  }

  .content-card {
    width: 120px;
    height: 150px;
  }

  .surrounding-cards {
    display: none;
  }
  .al-full-cards-section {
    padding: 50px 0;
  }

  .cards-title h2 {
    font-size: 1.8rem;
  }

  .year-image {
    width: 150px;
  }

  .cards-display {
    height: 250px;
    margin: 30px 0;
  }

  .card {
    width: 160px;
    height: 100px;
  }

  .left-pair .card-1 {
    top: -80px;
  }

  .left-pair .card-2 {
    right: -20px;
  }

  .right-pair .card-3 {
    top: -20px;
    left: 60px;
  }

  .right-pair .card-4 {
    right: 20px;
  }

  .countdown-section {
    padding: 60px 0;
  }

  .countdown-title h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .countdown-timer {
    gap: 10px;
    margin-bottom: 30px;
  }

  .timer-number {
    font-size: 2.5rem;
  }

  .timer-label {
    font-size: 0.8rem;
  }

  .timer-separator {
    font-size: 2rem;
    margin-top: -10px;
  }

  .offer-btn {
    padding: 10px 25px;
    font-size: 1rem;
    gap: 6px;
  }

  .whatsapp-logo {
    width: 18px;
    height: 18px;
  }
  .join-us-section {
    padding: 60px 0;
  }

  .join-title h2 {
    font-size: 2rem;
  }

  .join-subtitle p {
    font-size: 1.1rem;
  }

  .social-icons {
    gap: 20px;
  }

  .social-icon {
    width: 50px;
    height: 50px;
  }

  .social-icon i {
    font-size: 1.2rem;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  .carousel-nav {
    bottom: 50%;
    width: 177%;
    z-index: 1000;
    justify-content: space-around;
  }
  .hero-portrait-container {
    width: 40%;
    margin-bottom: 2vh;
  }

  .hero-name {
    font-size: clamp(2rem, 6vw, 3rem);
  }
}
@media (max-width: 480px) {
  /* Statistics Section */
  .statistics-cards {
    gap: 8px;
  }

  .stat-card {
    min-width: 100px;
    max-width: 120px;
    padding: 12px 8px;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .stat-value {
    font-size: 1.3rem;
  }

  /* Testimonials Section */
  .testimonials-container {
    min-height: 350px;
    position: relative;
  }

  .testimonial-card {
    max-width: 138px;
    padding: 10px 6px;
  }

  .testimonial-card.top-left {
    top: 1%;
    left: 1%;
  }

  .testimonial-card.top-right {
    top: 1%;
    right: 1%;
  }

  .testimonial-card.bottom-left {
    bottom: 1%;
    left: 1%;
  }

  .testimonial-card.bottom-right {
    bottom: 1%;
    right: 1%;
  }

  .testimonial-text {
    font-size: 0.5rem;
  }

  .group-photo .graduation-arrows {
    width: 34px;
    height: auto;
    top: -24px;
  }
  .group-photo.first-photo .graduation-arrows {
    right: 11px;
  }

  .group-photo.second-photo .graduation-arrows {
    left: 11px;
  }

  /* Al-Full Cards Section */
  .al-full-cards-section {
    padding: 40px 0;
  }

  .cards-title h2 {
    font-size: 1.5rem;
  }

  .year-image {
    width: 120px;
  }

  .cards-display {
    height: 200px;
    margin: 25px 0;
  }

  .card {
    width: 120px;
    height: 75px;
  }

  .left-pair .card-1 {
    top: -60px;
  }

  .left-pair .card-2 {
    right: -15px;
  }

  .right-pair .card-3 {
    top: -15px;
    left: 12px;
  }

  .right-pair .card-4 {
    right: 15px;
  }
}

/* WhatsApp Button Flashing Effect */
@keyframes flash {
  0%,
  50%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  }
  25%,
  75% {
    opacity: 0.8;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  }
}

#whatsapp-click-secondary,
#whatsapp-click-primary {
  animation: flash 2s ease-in-out infinite;
}

#whatsapp-click-secondary:hover,
#whatsapp-click-primary:hover {
  animation: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  background: #128c7e;
}
