@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600&family=Playfair+Display:wght@700&family=Vollkorn:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;700&family=Lora:wght@400;600&family=Vollkorn:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;700&family=Lora:wght@400;600&family=Vollkorn:wght@400;600&family=Inter:wght@400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

/* =========================
   Base Styles & Variables
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

:root {
  --primary: #09254C;
  --dark: #000; /* Example value; adjust as needed */
}

body {
  line-height: 1.6;
  color: var(--dark);
}

/* =========================
 Header & Navigation
=========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #09254C; /* Change to your desired color */
  color: #fff8de; /* Ensures text is visible on a dark background */
  transition: transform 0.3s ease-in-out, background-color 0.3s;
  z-index: 1500;
}

.nav {
  max-width: 100%;
  margin: 5px auto;
  margin-left: 25px;
  margin-right: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-hidden {
  transform: translateY(-100%);
}

.logo img {
  max-height: 70px; /* Adjust as needed */
  width: auto;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #fff8de; /* Adjust as needed */
  padding: 5px 10px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #03C988; /* Underline color */
  transition: all 0.3s ease;
}

.nav-links a:hover::after {
  left: 0;
  width: 100%;
}

.nav-links a.active {
  color: #03C988; /* Highlight color */
  font-weight: bold;
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #03C988;
}

.hamburger {
  display: none; /* Hidden on larger screens */
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
  color: #fff8de;
}

/* =========================
 Hero Section
=========================== */
.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #09254C, #09254C);
  overflow: hidden;
  padding: 2rem;
  color: white;
  text-align: center;
  z-index: 100;
}

/* Main title animation */
.hero h1 {
  font-size: 6rem;
  font-family: 'Fredoka', sans-serif;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(50px) scale(0.8);
  animation: heroTitleAnimation 1.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
  z-index: 5;
  font-weight: 800;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  background: linear-gradient(to right, #ffffff, #f0f8ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: 2px;
}

/* Subtitle animation */
.hero h2 {
  font-size: 2rem;
  font-family: 'Inter', sans-serif;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease forwards 1s;
  z-index: 5;
  font-weight: 500;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Glowing effect for subtitle */
.hero h2 i {
  position: relative;
  display: inline-block;
  animation: glowPulse 3s ease-in-out infinite 2s;
}

/* Animated background patterns */
.animated-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.15;
  background-image: 
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 8%),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.3) 0%, transparent 8%),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 8%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 8%);
  animation: patternMovement 20s linear infinite;
}

/* Floating icons container */
.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
}

/* Individual icon styling */
.icon {
  position: absolute;
  color: rgba(255, 255, 255, 0.4);
  animation: float 15s linear infinite;
  z-index: 2;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

/* Interactive highlight bubble */
.highlight-bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: bubbleExpand 3s ease-in-out infinite;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/* Skip button for fixed hero section */
.skip-hero {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  padding: clamp(8px, 2vw, 12px) clamp(16px, 3vw, 24px);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  cursor: pointer;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  z-index: 5;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards 3s;
  white-space: nowrap;
}

.skip-hero:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(-50%) translateY(-2px);
}
/* Content wrapper to position other sections below the fixed hero */
.content-wrapper {
  position: relative;
  margin-top: 100vh;
  background: white;
  z-index: 200;
  border-radius: 25px 25px 0 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

/* Animation keyframes */
@keyframes heroTitleAnimation {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    letter-spacing: -5px;
  }
  60% {
    letter-spacing: 8px;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    letter-spacing: 2px;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  }
  50% {
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.5);
  }
}

@keyframes float {
  0% {
    transform: translate(0, 100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translate(calc(var(--rand-x) * 100px), -20vh) rotate(360deg);
    opacity: 0;
  }
}

@keyframes patternMovement {
  0% {
    background-position: 0% 0%;
  }
  25% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

@keyframes bubbleExpand {
  0%, 100% {
    transform: scale(1);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.25;
  }
}

@keyframes scrollDown {
  0% {
    opacity: 1;
    top: 10px;
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    top: 40px;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* =========================
 Section Titles & General Sections
=========================== */
.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.typing-text{
  font-size: 18px;
  font-style: italic;
}

.section h2{
  font-size: 40px;
}

.section-title {
  font-family: 'Inter', sans-serif;
  text-align: center;
  margin-bottom: 3rem;
}

.section-divider {
  width: 100%;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  cursor: pointer;
}

.divider-line {
  height: 2px;
  width: 80%; /* Set width permanently */
  background: linear-gradient(
      90deg,
      transparent 0%,
      #09254C 50%,
      transparent 100%
  );
  position: relative;
}

.divider-line::before,
.divider-line::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%; /* Set width permanently */
  height: 2px;
}

/* =========================
 Features & Feature Cards
=========================== */
.features {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.feature-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 30%;
  min-width: 250px;
  transition: transform 0.3s ease-in-out;
}

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

.feature-card h3 {
  font-family: 'Inter', sans-serif;
  color: #3d50b9;
}

/* =========================
 Features Carousel
=========================== */
.features-carousel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 700px;  /* Increased height to accommodate larger images */
  overflow: hidden;
  padding: 20px 0;
}

.carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}

.feature-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 650px;  /* Slightly increased from 600px */
  text-align: center;
  transition: all 0.5s ease;
  transform: translate(-50%, -50%) scale(0.8);
  filter: blur(4px);
  opacity: 0.5;
  z-index: 1;
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 15px;
}

.feature-slide.active {
  transform: translate(-50%, -50%) scale(1);
  filter: none;
  opacity: 1;
  z-index: 3;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-slide.next {
  transform: translate(calc(-50% + 120px), -50%) scale(0.8);
  filter: blur(3px);
  opacity: 0.5;
  z-index: 2;
}

.feature-slide.prev {
  transform: translate(calc(-50% - 120px), -50%) scale(0.8);
  filter: blur(3px);
  opacity: 0.5;
  z-index: 2;
}

.slide-content {
  text-align: center;
  padding: 15px;
}

.feature-image {
  width: auto;
  height: 320px; 
  max-width: 100%;
  object-fit: contain;
  border-radius: 10px;
  margin: 0 auto;
  display: block;
}

.slide-text {
  padding: 20px 15px 10px;
}

.slide-text h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  color: #3d50b9;
  font-weight: 600;
}

.slide-text p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.carousel-buttons {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 4;
  padding: 0 30px;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #eee;
  color: #09254C;
  font-size: 20px;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
  background: #09254C;
  color: #fff;
  transform: scale(1.1);
}

.section-title {
  text-align: center;
  color: #09254C;
  font-size: 2rem;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #09254C;
  border-radius: 2px;
}

/* =========================
 Team Section
=========================== */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.team-member {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.avatar {
  width: 150px;
  height: 150px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, #13005A, #03C988);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: bold;
  color: #fff;
}

.team-member a {
  display: inline-block;
  margin-top: 10px;
  font-size: 24px;
  color: #0077b5;
  text-decoration: none;
  transition: color 0.3s;
}

.team-member a:hover {
  color: #005582;
}

/* =========================
 FAQ Section
=========================== */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background: #fff;
  transition: background 0.3s ease;
}

.faq-question h3 {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: #09254C;
  font-weight: 600;
}

.faq-toggle {
  color: #09254C;
  transition: all 0.3s ease;
}

.faq-toggle i {
  font-size: 16px;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer p {
  margin: 0;
  padding-bottom: 20px;
  color: #555;
  line-height: 1.6;
}

.faq-item.active .faq-question {
  background: #f7f9fc;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
  color: #03C988;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* Responsive adjustments for FAQ section */
@media (max-width: 768px) {
  .faq-question h3 {
    font-size: 1rem;
  }
  
  .faq-toggle i {
    font-size: 14px;
  }
  
  .faq-answer p {
    font-size: 0.95rem;
  }
}

/* =========================
 Footer Section
=========================== */
.footer-section {
  background-color: #09254C;
  color: #fff8de;
  padding: 40px 20px;
  font-family: 'Inter', sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-find-us {
  display: flex;
  flex: 1 1 650px;
  flex-wrap: wrap;
  gap: 30px;
}

.find-us {
  flex: 1 1 300px;
}

.find-us-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon-container {
  background: #e6f7ed;
  border-radius: 50%;
  padding: 10px;
  color: #13005A;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
}

.contact-info p {
  margin: 0;
}

.green-text a {
  color: #03C988;
  text-decoration: none;
  transition: color 0.3s;
}

.green-text a:hover {
  text-decoration: underline;
}

.social-media {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-media a {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #fff;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.facebook { color: #262df9; }
.facebook:hover { background: #262df9; color: #fff; }

.instagram { color: #c9037d; }
.instagram:hover { background: #c9037d; color: #fff; }

.linkedin { color: #2a5797; }
.linkedin:hover { background: #2a5797; color: #fff; }

.contact-container {
  flex: 1 1 300px;
}

.contact-container h2 {
  margin-bottom: 20px;
}

.input-group {
  margin-bottom: 15px;
}

.input-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.send-button {
  width: 100%;
  background: #03C988;
  color: #000;
  padding: 10px;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.send-button:hover {
  background: #028a68;
}

.quick-links {
  flex: 1 1 250px;
}

.quick-links h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.quick-links ul {
  list-style: none;
  padding: 0;
}

.quick-links li {
  margin-bottom: 8px;
}

.quick-links a {
  color: #fff8de;
  text-decoration: none;
  transition: color 0.3s;
}

.quick-links a:hover {
  color: #03C988;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  border-top: 1px solid #fff8de;
  padding-top: 20px;
}

.footer-bottom a {
  color: #03C988;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Style for the new links in Quick Links */
.quick-links ul li a {
  color: #fff8de;
  transition: color 0.3s;
}

.quick-links ul li a:hover {
  color: #03C988;
}

/* =========================
 Back To Top Button
=========================== */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  z-index: 999;
  cursor: pointer;
  padding: 10px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
  display: block;
  opacity: 1;
}

.back-to-top:hover {
  background: #03C988;
  transform: translateY(-3px);
}

.back-to-top img {
  width: 30px;
  height: 30px;
}

/* =========================
 Responsive Adjustments
=========================== */
@media (max-width: 768px) {
  /* Navigation */
  .nav {
      flex-direction: column;
  }
  .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--primary);
      flex-direction: column;
      padding: 1rem;
      text-align: center;
  }
  .nav-links.active {
      display: flex;
  }
  .hamburger {
      display: block;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero h2 {
    font-size: 1.6rem;
  }
  /* Features */
  .features {
      flex-direction: column;
  }
  .features-carousel {
      max-width: 100%;
      margin: 0 10px;
  }
  .feature-slide {
      padding: 10px;
  }
  .feature-image {
      max-width: 100%;
  }
  .carousel-btn {
      font-size: 20px;
      padding: 8px;
  }
  /* Team */
  .team {
      grid-template-columns: 1fr;
  }
  /* Footer */
  .footer-content {
      flex-direction: column;
      align-items: center;
  }
  .contact-find-us, .quick-links {
      flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .feature-slide {
      padding: 5px;
  }
  .carousel-btn {
      font-size: 18px;
      padding: 6px;
  }
  .dot {
      width: 8px;
      height: 8px;
      margin: 3px;
  }
  .faq-question {
    padding: 15px;
  }
  
  .faq-question h3 {
    font-size: 0.9rem;
  }
  
  .faq-answer {
    padding: 0 15px;
  }
  
  .faq-answer p {
    padding-bottom: 15px;
    font-size: 0.9rem;
  }
}
