#preloader {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.chakra-flag img {
  width: 80px;
  height: 80px;
  animation: rotateChakra 2s linear infinite;
  filter: drop-shadow(0 0 4px #1a237e);
}

@keyframes rotateChakra {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.preload-text {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  color: #1a237e;
  margin-top: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  animation: fadeText 2s ease-in-out infinite alternate;
}

@keyframes fadeText {
  from { opacity: 0.5; transform: translateY(2px); }
  to   { opacity: 1; transform: translateY(-2px); }
}



html {
  scroll-behavior: smooth;
}

body {
    /* font-family: 'Inter', sans-serif; */
    /* font-family: 'Poppins', sans-serif; */
    /* font-family: 'Manrope', sans-serif; */
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    /* background: linear-gradient(to right, #141E30, #243B55); */
    color: #ffffff;
    text-align: center;
    overflow-x: hidden;
}

header {
    background: url("../images/header3.jpeg");
    background-size: cover;
    background-position: center;
    height: 950px;
    /* padding: 15px 0; */
    /* position: fixed; */
    width: 100%;
    top: 0;
    left: 0;
    transition: 0.3s;
    
    z-index: 1000;
}
#WELCOME{
  margin-top:300px;
  font-size: 50px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
nav {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    /* justify-content: center;
    align-items: center; */
    
    padding: 20px 0;
}
.logo{
    margin-top: 10px;
    margin-left:  20px;
    display: flex;
    height: 100px;
    width: auto;
    border-radius: 50%;
}

nav ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    /* margin: 0; */
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 20px 20px;
    
    
    
}

nav ul li a i{
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: center;
}

nav ul li a i:hover {
    color: #f8b400;
    transform: scale(1.1);
}




/* ===== TRAINING SECTION STYLES ===== */

#training-info {
  padding: 60px 30px;
  background: linear-gradient(to bottom, #fefefe, #f0f4f8);
  color: #333;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.training-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: #00224D;
  margin-bottom: 10px;
}

.training-subtitle {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 30px;
  color: #00224D;
}

.training-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: #00224D;
}

.training-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.training-column {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 330px;
  transition: transform 0.3s;
}

.training-column:hover {
  transform: translateY(-8px);
}

.training-column h3 {
  color: #00224D;
  font-size: 1.3rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #c0a080;
  padding-bottom: 5px;
}

.training-column ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #00224D;
  line-height: 1.6;
  font-size: 0.95rem;
}

.training-special {
  /* background-color: #e0f2fe; */
  border-left: 5px solid #c0a080;
  padding: 30px;
  margin: 0 auto 40px;
  max-width: 900px;
  border-radius: 10px;
}

.training-special h3 {
  color: #00224D;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.training-special ul {
  list-style-type: disc;
  padding-left: 20px;
  line-height: 1.6;
  font-size: 0.95rem;
  color: #00224D;
}

.training-philosophy {
  font-style: italic;
  /* background-color: #c0a080; */
  color: #00224D;
  padding: 25px;
  border-left: 6px solid #c0a080;
  border-radius: 10px;
  max-width: 900px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== RESPONSIVENESS ===== */

@media (max-width: 992px) {
  .training-columns {
    flex-direction: column;
    align-items: center;
  }
}







#workshop-gallery {
  padding: 2rem;
  text-align: center;
  background-color: #f8f9fa;
}

#workshop-gallery h1 {
  margin-bottom: 2rem;
  color: #141E30;
  font-size: 2.5rem;
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  /* background-color: red; */
}

.carousel-track {
  /* background-color: green; */
  display: flex;
  overflow: hidden;
  position: relative;
  height: 500px;
  align-items: center;
  justify-content: center;
}

.carousel-slide {
  /* background-color: blue; */
  position: absolute;
  transition: all 0.5s ease;
  width: 600px;
  height: 380px;
  opacity: 0.6;
  filter: blur(2px);
  transform: scale(0.85);
  z-index: 1;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-slide.active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  z-index: 2;
  width: 800px;
  height: 500px;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #000;
  transition: transform 0.3s ease;
}

.carousel-slide.active img {
  object-fit: cover;
}

.carousel-slide .info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  text-align: center;
  font-size: 1.1rem;
}

.carousel-slide:hover .info {
  transform: translateY(0);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #000;
  color: white;
  border: none;
  cursor: pointer;
  padding: 15px;
  font-size: 1.5rem;
  border-radius: 50%;
  z-index: 3;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background-color: #00224D;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.left {
  left: 20px;
}

.carousel-btn.right {
  right: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .carousel-track {
    height: 400px;
  }
  
  .carousel-slide {
    width: 200px;
    height: 280px;
  }
  
  .carousel-slide.active {
    width: 350px;
    height: 350px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    padding: 10px;
  }
}

.workshop-gallery h1{
  color: #f8b400;
}

/* === Counseling 3 Cards Section === */
.counseling-3-section {
  background: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
}

.counseling-3-title {
  font-size: 2.5rem;
  color: #00224D;
  margin-bottom: 50px;
  position: relative;
}

.counseling-3-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: #ae9073;
  display: block;
  margin: 12px auto 0;
}

.counseling-3-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.counseling-3-card {
  background: #ffffff;
  max-width: 350px;
  flex: 1 1 300px;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(235, 7, 7, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.counseling-3-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.197);
}

.counseling-3-card h3 {
  color: #00224D;
  font-size: 1.4rem;
  margin-top: 10px;
  margin-bottom: 10px;
}

.counseling-3-card p {
  font-size: 1rem;
  color: #000000;
  line-height: 1.5;
  margin-bottom: 15px;
}

.counseling-3-card ul {
  padding-left: 18px;
  margin-bottom: 15px;
}

.counseling-3-card ul li {
  font-size: 0.95rem;
  color: #000000;
  margin-bottom: 8px;
  list-style-type: disc #ae9073;
}

.counseling-3-card .note {
  font-style: italic;
  color: #000000;
  font-size: 0.95rem;
}

.counseling-icon {
  font-size: 2rem;
  color: #ae9073;
  background-color: #00224D10;
  padding: 12px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.counseling-icon:hover{
  transform: scale(1.1);
  color: #00224D;
  background-color: #ae9073;
  transition: 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .counseling-3-container {
    flex-direction: column;
    align-items: center;
  }
}







/* ===== SERVICES SECTION STYLES ===== */

#services {
  background: linear-gradient(to bottom, #f8f9fa, #e6ecf0);
  padding: 60px 20px;
  text-align: center;
}

#servicesh1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #00224D;
  position: relative;
  display: inline-block;
}

#servicesh1::after {
  content: '';
  width: 60px;
  height: 4px;
  background: #ae9073;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.servicescontainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* ===== FLIP CARD CONTAINER ===== */
.servicecontainer {
  perspective: 1000px;
  width: 280px;
  height: 360px;
}

.thecard {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  border-radius: 12px;
}

.servicecontainer:hover .thecard {
  transform: rotateY(180deg);
}

.thefront, .theback {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  padding: 25px;
  box-sizing: border-box;
}

.thefront {
  background: #fff;
  color: #000000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background 0.3s;
}

.thefront:hover {
  background: #f0f8ff;
}

.h5thecard {
  font-size: 1.2rem;
  color: #001838;
  margin-bottom: 10px;
}

#pthefront1,
#pthefront3,
#pthefront4,
#pthefront5 {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

.theback {
    border: 2px solid #c0a080;
  background: #00224D;
  color: #fff;
  transform: rotateY(180deg);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.theback i {
  font-size: 1.5rem;
  margin-top: 10px;
  color: #fff;
}

.btn {
  margin-top: 15px;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  background: #fff;
  color: #00224D;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: #c0a080;
  color: #fff;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  .servicescontainer {
    flex-direction: column;
    align-items: center;
  }

  .servicecontainer {
    width: 90%;
    height: 380px;
  }
}





/* footer / contact */
/* ===== Footer Styles ===== */
#contact {
    background: linear-gradient(135deg, #000000d6 0%, #000000 100%);
    padding: 60px 20px 40px;
    font-size: 14px;
    border-top: 3px solid #f8b400;
}
.creator-name{
    color: #f8b400;
    font-size: 20px;
    text-decoration: none;
    text-decoration-color: #f8b400;
    text-decoration-thickness: 3px;
    position: relative;
    display: inline-block; /* Ensures pseudo-element is positioned properly */
  
    font-weight: 600;
    transition: color 0.3s ease;
    
}
.creator-name::after{
   content: "";
  position: absolute;
  bottom: -3px; /* Adds space between text and underline */
  left: 50%;
  width: 0;
  height: 3px;
  background-color: #f8b400;
  transition: all 0.4s ease;
  transform: translateX(-50%);
}
.creator-name:hover::after {
  width: 100%;
}
.creator-role{
  color: #f8b400;
  font-size: 16px;
}


/* Creators Section */
#creatorsh2 {
    font-size: 32px;
    color: #f8b400;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#creators {
    /* background-color: green; */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    margin: 30px auto;
    max-width: 1500px;
    flex-wrap: wrap;
}

#creator1, #creator2 {
    /* background-color: red; */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 600px;
    transition: transform 0.3s ease;
    padding: 20px;
    border-radius: 10px;
    
}

#creator1:hover, #creator2:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

#creator1 img, #creator2 img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

#creator1 img:hover, #creator2 img:hover {
    border: 3px solid #f8b400;
    transform: scale(1.05);
    /* animation: spin-border 1s linear infinite; */
    
    
    
}


#pcreator1, #pcreator2 {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.6;
    margin-top: 15px;
    font-weight: normal;
}

/* Contact Section */
.h2contact {
    font-size: 28px;
    color: #f8b400;
    text-align: center;
    margin: 40px 0 20px;
    position: relative;
}

.h2contact::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #f8b400;
    margin: 10px auto;
}

#contactp {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    padding: 0 20px;
}

/* Social Icons */
.social-icons {
    /* background-color: #0a66c2; */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    margin: 30px 0;
    padding: 0;
    flex-wrap: nowrap; /* Prevent wrapping to new line */
    overflow-x: auto; /* Allows horizontal scrolling if needed */
    white-space: nowrap; /* Prevents wrapping */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
}
.social-icons p {
    display: flex;
    margin: 0;
    padding: 0;
    gap: 10px; /* Consistent spacing between icons */
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 50px;
    height: 50px;
    text-decoration: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0; /* Prevent icons from shrinking */
    margin: 0 5px; /* Small margin between items */
}

.social-icons a:hover {
    background-color: #f8b400;
    transform: translateY(-5px) scale(1.1);
}

.social-icons a i {
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover i {
    color: #000000;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .social-icons {
        justify-content: flex-start; /* Align left on small screens */
        padding: 10px 0;
    }
    
    .social-icons a {
        min-width: 44px;
        height: 44px;
        margin: 0 3px;
    }
    
    .social-icons a i {
        font-size: 20px;
    }
}
/* Specific icon colors */
.social-icons .fa-youtube { color: #ff0000; }
.social-icons .fa-facebook { color: #1877f2; }
.social-icons .fa-instagram { 
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.social-icons .fa-linkedin { color: #0a66c2; }
.social-icons .fa-envelope { color: #ffffff; }
.social-icons .twitter { color: #ffffff; font-weight: bold; }

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#contact > * {
    animation: fadeIn 0.6s ease forwards;
}

#contact > *:nth-child(1) { animation-delay: 0.1s; }
#contact > *:nth-child(2) { animation-delay: 0.2s; }
#contact > *:nth-child(3) { animation-delay: 0.3s; }
#contact > *:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 768px) {
    #creators {
        flex-direction: column;
        gap: 40px;
    }
    
    .h2contact {
        font-size: 24px;
    }
    
    #contactp {
        font-size: 16px;
        padding: 0 15px;
    }
    
    .social-icons a {
        width: 45px;
        height: 45px;
    }
    
    #creator1 img, #creator2 img {
        width: 150px;
        height: 150px;
    }
    
    #creator1, #creator2 {
        width: 100%;
        padding: 15px;
    }
}

.footer-color {
  /* background-color: turquoise; */
  position: relative;
  display: inline-block; /* Ensures pseudo-element is positioned properly */
  color: #f8b400;
  text-decoration: none;
  text-decoration-color: #f8b400;
  text-decoration-thickness: 2px;
  font-size: 1.2rem;
  /* font-family: 'Nunito', sans-serif; */
  padding-bottom: 5px; /* Adds space for the underline */
  margin: 0 auto;
  cursor: pointer;
  text-transform: uppercase;  
  letter-spacing: 1px;  



  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-color::after {
  content: "";
  position: absolute;
  bottom: -1px; /* Adds space between text and underline */
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #f8b400;
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.footer-color:hover::after {
  width: 100%;
}



/* === RESPONSIVE ADDITIONS: COUNSELING PAGE (NON-LAPTOP) === */

/* ✅ Typography Scaling */
@media (max-width: 576px) {
  html { font-size: 13px; }
}
@media (max-width: 768px) {
  html { font-size: 14px; }
}
@media (min-width: 1440px) {
  html { font-size: 17px; }
}
@media (min-width: 1920px) {
  html { font-size: 19px; }
}

/* ✅ Header Typewriter Text */
@media (max-width: 768px) {
  #WELCOME {
    font-size: 1.5rem;
    margin-top: 200px;
    padding: 0 10px;
    text-align: center;
    white-space: normal;
    word-break: break-word;
  }
}
@media (max-width: 576px) {
  #WELCOME {
    font-size: 1.3rem;
    margin-top: 150px;
  }
}

/* ✅ Navbar Vertical Stack for Small Devices */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0;
  }

  nav ul li {
    width: 100%;
    text-align: center;
    margin: 5px 0;
  }

  nav ul li a i {
    font-size: 1rem;
    padding: 10px 0;
    display: inline-block;
    width: 100%;
  }

  .logo {
    height: 80px;
    margin: 10px auto;
  }
}

/* ✅ Counseling Cards Stack */
@media (max-width: 768px) {
  .counseling-3-container {
    flex-direction: column;
    align-items: center;
  }
}

/* ✅ Services Cards Flip Layout */
@media (max-width: 768px) {
  .servicescontainer {
    flex-direction: column;
    align-items: center;
  }

  .servicecontainer {
    width: 90%;
    height: 380px;
  }
}

/* ✅ Footer Contact Section Scaling */
@media (max-width: 768px) {
  #contact {
    padding: 40px 15px;
    font-size: 13px;
  }

  .h2contact {
    font-size: 1.3rem;
  }

  #contactp {
    font-size: 1rem;
    padding: 0 10px;
  }

  .social-icons {
    padding: 10px 0;
  }

  .social-icons a {
    width: 45px;
    height: 45px;
  }

  .social-icons a i {
    font-size: 20px;
  }
}
