/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}



/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f1f8f7;
  --surface-color: #ffffff;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}



/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  background-color:#fff ; /*white header */
   background: linear-gradient(to bottom, #ffffff, #f9f9f9);
  color: #fefcfc; /* option to dark text */
  padding: 20px 0;
  z-index: 997;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 6px 12px rgba(0, 0, 0, 0.1),
    0 12px 24px rgba(0, 0, 0, 0.08);
  
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 70px;
  height:auto;
  width: auto;
  margin-right: 10px;
  margin-top: 2px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 4px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 20px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
   background-color: #fff;
}

.branding-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #69359C;
  z-index: 1030;
  transition: transform 0.3s ease-in-out;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1020;
  background-color: #fff; /* or match your theme */
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }
  

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
 
 .navmenu a {
  background-color: #69359C; /* Elite Jinzai purple */
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); /*soft float */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.navmenu a:hover,
.navmenu a:focus {
  transform: translateY(-2px); /* Slight lift */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); /* Deeper shadow */
}


.navmenu a:hover,
.navmenu a.active {
  background-color: #5a2d85; /* Slightly darker on hover */
}


}
.navmenu a.active::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px; /* bolder line */
  bottom: -6px;
  left: 0;
  background-color: #ffffff; /* Purple Heart color */
  border-radius: 7px;
  visibility: visible;
  transition: all 0.3s ease-in-out;
}
.header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.navmenu a:hover,
.navmenu a.active,
.navmenu a:focus,
.navmenu a:active {
  background-color: #5a2d85;
  color: #fff; /* Ensure text stays visible */
  text-decoration: none;
  outline: none;
}


/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: #1138b8; /* mobile nav color*/
    font-size: 28px;
    line-height: 1;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
  }
  /* Mobile devices nav menu color*/
@media (max-width: 991px) {
  .navmenu ul li a:hover {
    color: #fff9f9; /* or any color that works on purple */
  }
}

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

 
  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #280707;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    transition: 0.3s;

  inset: 0;
  background: #fff; /* solid white */
  color: #000; /* ensure text is readable */
  z-index: 9998; /* sits above content, below toggle */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* soft depth */
  transition: background 0.3s ease;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: #ffffff;
  background-color: #69359C;
  font-size: 14px;
  padding: 40px 0 0 0;
  position: relative;
}

.footer .icon {
  color: var(--accent-color);
  margin-right: 15px;
  font-size: 24px;
  line-height: 0;
}

.footer h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer .address p {
  margin-bottom: 0px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 5px;
  font-size: 13px;
}

.footer .social-links a {
  color: #ffffff; /* bright white icon */
  border-color: #ffffff;
}

.footer .social-links a:hover {
  background-color: rgba(255, 255, 255, 0.2); /* subtle glow */
  color: #ffcc00; /* example hover color */
  border-color: #ffcc00;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/



/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 120px 0 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: #fffff;
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 82px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 73px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 20px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 8px 20px;
  margin: 0;
  background: #69359C;
  color: #ffffff;
  display: inline-block;
  text-transform: uppercase;
  border-radius: 50px;
  font-family: var(--default-font);
}

.section-title div {
  color: var(--heading-color);
  margin: 10px 0 0 0;
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
}

.section-title div .description-title {
  color: var(--accent-color);
}

/*==========================================================================================================
# Hero Section
=============================================================================================================--*/

.hero {
  background-image: url('../img/about/home.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  padding-top: 200px;
  padding-bottom: 10px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  /* border: 5px solid red;  <-- Remove or comment out this line */
}

/* Overlay for readability */
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(40,20,60,0.35); /* Adjust opacity and color as needed */
  z-index: 1;
}

.hero .container,
.hero-content,
.carousel-wrapper,
.hero-stats {
  position: relative;
  z-index: 2;
}

.hero .hero-content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: #f9f9f9;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

@media (max-width: 992px) {
  .hero .hero-content h2 {
    font-size: 2.5rem;
  }
  .hero {
    padding: 120px 0 80px 0;
  }
  .hero .hero-content {
    margin-bottom: 3rem;
    text-align: center;
  }
  .hero .hero-content .hero-btns {
    justify-content: center;
  }
  .hero .hero-content .hero-stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero .hero-content h2 {
    font-size: 2rem;
  }
}

.hero .hero-content p {
display: inline-block; /* keeps it wrapped to text width */
  background: rgba(135, 19, 171, 0.35); /* subtle dark overlay */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px); /* Safari support */
  padding: 0.25rem 0.5rem; /* small padding so it’s not too big */
  border-radius: 6px;
  color: #fff; /* readable text */
  margin-bottom: 1.5rem; /* same spacing as before */
  line-height: 1.3; /* keep original text rhythm */

}


/* Carousel styles */


.carousel-track {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 40s linear infinite;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25); /* default shadow */
  background: rgba(0,0,0,0.2); /* optional for contrast */
  border-radius: 20px; /* optional for style */

}
.carousel-wrapper:hover .carousel-track {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.carousel-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.carousel-track:hover {
  animation-play-state: paused;
}
.carousel-track span {
  display: inline-block;
  padding: 0 2rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  margin-top: 1.5rem; /* adjust as needed */
  background: rgb(105, 53, 156);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

@keyframes scroll-left {
  0% { transform: translateX(60%); }
  100% { transform: translateX(-100%); }
}

/* Fade-in animations for hero text */
@keyframes fadeInOutLoop {
  0%, 100% { opacity: 0; transform: translateY(0);}
  50% { opacity: 1; transform: translateY(-10px);}
}
.fade-loop {
  animation: fadeInOutLoop 4s ease-in-out infinite;
}

/* Heading animations */
@keyframes leftInUpOut {
  0% { opacity: 0; transform: translateX(-100px);}
  10% { opacity: 1; transform: translateX(0);}
  70% { opacity: 1; transform: translateY(0);}
  100% { opacity: 0; transform: translateY(-100px);}
}
@keyframes rightInDownOut {
  0% { opacity: 0; transform: translateX(100px);}
  10% { opacity: 1; transform: translateX(0);}
  70% { opacity: 1; transform: translateY(0);}
  100% { opacity: 0; transform: translateY(100px);}
}
.left-in-up-out {
  display: inline-block;
  animation: leftInUpOut 6s ease-in-out infinite;
}
.right-in-down-out {
  display: inline-block;
  animation: rightInDownOut 6s ease-in-out infinite;
}

/* Stats setup */
#hero .stat-item {
  background-color: rgb(105, 53, 156);
  color: #ffffff;
  border-radius: 12px;
  padding: 30px 25px;
  min-width: 120px;
  min-height: 120px;
  text-align: center;
  font-size: 1.25rem;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.15),         /* soft neutral drop shadow */
    0 0 20px rgba(105, 53, 156, 0.35);      /* Purple Heart glow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(6px);
   animation: float 3s ease-in-out infinite;
}

@keyframes float {  /* for #hero .stat-item */
  0%, 100% {
    transform: translateY(0); /* start and end at original position */
  }
  50% {
    transform: translateY(-8px); /* move up slightly */
  }
}



#hero .stat-item:hover {
transform: translateY(-4px);
  box-shadow:
    0 6px 16px rgba(228, 224, 224, 0.2),
    0 0 28px rgba(105, 53, 156, 0.45);
}

#hero {
  scroll-margin-top: 82px;
}

.hero .hero-content .hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
}

@media (max-width: 576px) {
  .hero .hero-content .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

.hero .hero-content .hero-stats .stat-item h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  
}
.hero .hero-content .hero-stats .stat-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--default-color);
}



/*--------------------------------------------------------------------------------------------------------------
# About Section (Cleaned Up)
----------------------------------------------------------------------------------------------*/

/* Images & Cards */
.about-image,
.about-image img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image img, .founder-photo {
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.founder-photo {
  max-height: 300px;
  margin-bottom: 1rem;
}

.zipper-card {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #2c003e;
  border-radius: 12px;
  margin: 1rem;
  transition: box-shadow 0.4s, transform 0.4s, background-color 0.3s;
  animation: floatCard 6s ease-in-out infinite;
  box-shadow: 0 6px 12px rgba(106,13,173,0.4), 
              0 12px 36px rgba(186,85,211,0.3), 
              0 8px 24px rgba(0,0,0,0.2);
}
.zipper-card:hover {
  transform: translateY(-10px);
  background: #fdf6ff;
  box-shadow: 0 12px 24px rgba(0,0,0,0.2),
              0 0 12px rgba(186,85,211,0.4),
              0 12px 36px rgba(128,0,128,0.5);
}
@keyframes floatCard {
  0%,100% { transform: translateY(0px);}
  50% { transform: translateY(-15px);}
}

/* About Section Layout */
.about {
  padding: 80px 0;
  background: var(--background-color);
}
.about-image {
  position: relative;
  margin-bottom: 20px;
  perspective: 1000px;
}
.about-image .main-image {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.about-image .experience-badge {
  position: absolute;
  bottom: -40px;
  left: -20px;
  background: #69359C;
  color: var(--contrast-color);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  min-height: 120px;
}
.about-image .experience-badge .years { font-size: 2.5rem; font-weight: 700;}
.about-image .experience-badge .text { font-size: 0.9rem; text-align: center;}

@media (max-width: 768px) {
  .about-image .experience-badge { min-width: 100px; min-height: 100px; padding: 15px; right: 0;}
  .about-content h2 { font-size: 2rem;}
  .about-content { padding: 1.5rem;}
}

@media (max-width: 992px) {
  .about-content { padding-left: 1.5rem; margin-top: 30px;}
}

/* About Content */
.about-content {
  width: 100%;
  max-width: 100%;
  padding: 2rem 3rem;
  border-radius: 12px;
  background: linear-gradient(to bottom right, #fff, #f9f5ff);
  box-shadow: 0 10px 60px rgba(105,53,156,0.15);
  margin-bottom: 2rem;
  display: block;
  border: 2px solid var(--accent-color);
  transition: box-shadow 0.3s, transform 0.3s;
}
.about-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 90px rgba(105,53,156,0.35);
}
.about-content h2 {
  font-size: clamp(1rem, 1.5vw + 0.8rem, 2rem); /* smaller max size */
  font-weight: 600;
  margin-bottom: 2rem; /* more spacing below */
  color: var(--heading-color); 
  white-space: normal; /* allow wrapping */
  overflow: visible;
}
.about-content h4,
.about-content .col-md-6 h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
}




.about-content p,
.about-content .lead {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--default-color);
  text-align: justify;
  line-height: 1.5;
}
.about-content .lead { font-weight: 500; }
.about-content .features-row { margin: 2rem 0; }
.about-content .feature-item {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}
.about-content .feature-item .icon {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  color: var(--accent-color);
  transition: transform 0.3s;
}
.about-content .feature-item .icon:hover i {
  transform: translateY(-5px);
}
.about-content .feature-item p { font-size: 0.95rem; margin-bottom: 0; }
.about-content .cta-button { margin-top: 1rem; }
.about-content .cta-button .btn-primary {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s;
}
.about-content .cta-button .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), #000 10%);
  border-color: color-mix(in srgb, var(--accent-color), #000 10%);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.about-content ul, .about-content li { text-align: left; }

/* "Learn More" Button */
.btn-learn-more {
  background: #6a0dad;
  border-color: #6a0dad;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(106,13,173,0.3);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.btn-learn-more:hover {
  background: #8e44ad;
  border-color: #8e44ad;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(106,13,173,0.4);
}

/* FAQ Modal & Accordion */
.modal-faq-item { margin-bottom: 1rem; }
.modal-faq-question {
  font-weight: bold;
  color: #69359c;
  background: none;
  border: none;
  text-align: left;
  padding: 0;
  text-decoration: none;
}
.modal-faq-answer {
  padding: 0.5rem 1rem;
  background: #f8f9fa;
  border-left: 3px solid #007bff;
  margin-top: 0.5rem;
  text-align: justify;
}
.accordion-button {
  padding: 1rem;
  font-size: 1.1rem;
  transition: background 0.3s;
}
.accordion-button:hover { background: #f0f8ff; }
.accordion-button.collapsed i { transform: rotate(0deg); }
.accordion-button:not(.collapsed) i { transform: rotate(180deg); }
.modal-faq-list h5 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.5rem;
  color: #0d6efd;
}

/* Modal Headings and Layout */
/* Modal Heading Box */
.modal-heading-box {
  background: #69359c;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 0.75rem 1.5rem;
  margin: 0 0 1rem 0;
  text-align: center;
  width: 100%;
  max-width: 1000px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-heading-box h5 {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin: 0;
  word-break: break-word;
}

.modal-heading-wrapper { text-align: center; }
.heading-white { color: #fff !important; }

/* Modal Animation */
.modal.fade .modal-dialog {
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.3s;
}
.modal.show .modal-dialog {
  transform: translateY(0);
  opacity: 1;
}


/* Founder Box */
.founder-box {
  background: #f8f9fa;
  border: 2px solid #5eaaa8;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.founder-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  letter-spacing: 0.5px;
}

.founder-subtitle {
  font-size: 0.95rem;
  color: #666;
  margin-top: 4px;
  margin-bottom: 0;
  line-height: 1.4;
  text-align: center;
}

.founder-modal.modal-content {
  max-width: 1140px;
  width: 98%;
}

.founder-bio { text-align: justify; padding-left: 2rem; }

.founder-bio {
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .founder-bio {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}


/* Modal Header */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  position: relative;
}

.inline-logo { height: 60px; max-width: 250px; width: auto; }
.modal-logo { height: 40px; width: auto; margin-left: auto; }

@media (max-width: 768px) {
  .modal-header { flex-direction: column; align-items: center; }
  .modal-logo { margin-top: 0.5rem; }
}

/* Floating Logo */
.founder-modal { position: relative; }
.founder-modal .floating-logo {
  position: absolute;
  top: 1rem; right: 1rem;
  height: 40px; width: auto;
  z-index: 10;
}

/* Tagline */
#founderModal .founder-tagline,
.section-title + .founder-tagline {
  font-size: 1rem;
  color: #666;
  margin-top: 4px;
  margin-bottom: 0;
  text-align: center;
}

#founderModal .modal-header {
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .modal-heading-box {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    max-width: 100%;
  }
  .modal-heading-box h5 {
    font-size: 1.1rem; /* scale heading text */
  }
}
/* ===== Founder Bio Timeline Styles ===== */
/* ===== Full-Width Alternating Timeline ===== */

.timeline {
  position: relative;
  max-width: 100%;
  margin: 2rem auto;
}


.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background-color: #69359c;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
}

.timeline-item {
  padding: 1rem 2rem;
  position: relative;
  width: 50%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 1rem;
  height: 1rem;
  background-color: #69359c;
  border-radius: 50%;
  top: 1.2rem;
  z-index: 1;
}

/* Odd items on the left */
.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(odd)::before {
  right: -0.5rem;
}

/* Even items on the right */
.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item:nth-child(even)::before {
  left: -0.5rem;
}

.timeline-date {
  font-weight: bold;
  color: #69359c;
  margin-bottom: 0.25rem;
}

.timeline-content {
  padding: 0.75rem 1rem;
  background: #f9f5ff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Mobile view: stack items */
@media (max-width: 768px) {
  .timeline::after {
    left: 1rem;
  }
  .timeline-item {
    width: 100%;
    padding-left: 2.5rem;
    padding-right: 1rem;
    text-align: left !important;
  }
  .timeline-item::before {
    left: 0;
    right: auto;
  }
}

/* ===== Slower Timeline Animation (Modal Triggered) ===== */
@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-60px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(60px); }
  100% { opacity: 1; transform: translateX(0); }
}

 .timeline-item { opacity: 0; }

.animate-timeline .timeline-item {
  animation-duration: 1.4s;
  animation-fill-mode: forwards;
}

.animate-timeline .timeline-item:nth-child(odd) {
  animation-name: slideInLeft;
}

.animate-timeline .timeline-item:nth-child(even) {
  animation-name: slideInRight;
}

.animate-timeline .timeline-item:nth-child(1) { animation-delay: 0.2s; }
.animate-timeline .timeline-item:nth-child(2) { animation-delay: 0.6s; }
.animate-timeline .timeline-item:nth-child(3) { animation-delay: 1s; }
.animate-timeline .timeline-item:nth-child(4) { animation-delay: 1.4s; }

@media (max-width: 768px) {
  .animate-timeline .timeline-item {
    animation-name: slideInLeft !important;
  }
}
         /*=====timeline right side for small screen===*/
@media (max-width: 767px) {
  .timeline-item {
    width: 100% !important;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: left;
    opacity: 1 !important;
    animation: none !important;
  }

  .timeline-item:nth-child(even) {
    left: 0 !important;
  }
}



/* ================== Certification Badge Styles (Modified)=================================== */

.about-content {
  position: relative; /* still needed for other internal positioning */
  margin-right: 3rem; /* pushes it away from the badge */
}

/* Badge group container */
.cert-badge-group {
  position: relative;
  margin-bottom: 1.5rem;
  text-align: left;
  box-shadow: none;
  border-radius: 0;
  border: none;
  display: flex;
  flex-direction: row;       /* horizontal layout */
  align-items: center;       /* vertically align header and badges */
  gap: 0.5rem;               /* space between header and badges */
}

/* Top-right positioning for stamp effect */
.cert-badge-group.top-right {
  position: absolute;
  top: 1.5rem;
  right: 2rem; /* pulled in from edge */
  transform: translate(20%, -50%); /* less horizontal offset so it sits closer to content */
  z-index: 10;
}

/* Badge header label */
.badge-header {
  font-size: 1rem;
  font-weight: 700;
  color: #f5f3f3;
  background:#69359C ;
  padding: 0.30rem 0.80rem;
  border-radius: 15px 50px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: inline-block;
  margin-bottom: 0; /* no bottom margin in row layout */
}

/* Badge list */
.cert-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Each badge uniform size */
.cert-badge {
  width: 100px;
  height: 100px;
  perspective: 1000px; /* enables 3D flip */
  display: inline-block;
  cursor: pointer;
}

/* Badge inner flip container */
.cert-badge-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.cert-badge:hover .cert-badge-inner {
  transform: rotateY(180deg);
}

/* Badge faces */
.cert-badge-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(88, 74, 139, 0.1);
  padding: 0.30rem;
  text-align: center;
  background-color: #69359C; /* Purple Heart */
  color: #fff;               /* White text for contrast */
}

.cert-badge-face img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

.cert-badge-face span {
  font-size: 0.6rem;
  margin-top: 0.25rem;
  color: #fff;
}

.cert-badge-back {
  transform: rotateY(180deg);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .cert-badge-group.top-right {
    position: static;
    transform: none;
    align-items: flex-start; /* align to left when stacked */
    margin-bottom: 1rem;
    flex-direction: column;  /* stack header above badges */
  }
  .cert-badges {
    justify-content: center;
  }
}


/*--------------------------------------------------------------------------------------------------------------
#Job Vacancy Section
---------------------------------------------------------------------------------------------------------------*/
#services {
  background-image: url('EJMSI 090425/assets/img/resume.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.services {
  padding: 80px 0;
}
.services .service-card:hover {
  background-color:#69359C ; /* fallback color */
  transition: background-color 0.7s ease;
}
.services .service-card:hover h3,
.services .service-card:hover p {
  color: #f0f0f0;
}
.services .service-card:hover .service-features li {
  color: var(--hover-text-color, #ffffff); /* fallback to white */
}


.services .service-card:hover .read-more,
.services .service-card:active .read-more,
.services .service-card .read-more:focus,
.services .service-card .read-more:active {
  color: #ffffff; /* or use var(--hover-link-color, #ffffff) */
}


.services .service-card {
  background-color: var(--surface-color);
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.services .service-card:hover {
  transform: translateY(-6px); /*lift effect */
  box-shadow: 0 20px 500px rgba(105, 53, 156, 0.10); /* Purple glow */
  border: 1px solid rgba(255, 255, 255, 0.1);
 
}

.services .service-card:hover .icon-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.services .service-card .icon-box {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.services .service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.services .service-card p {
  margin-bottom: 20px;
  color: var(--default-color);
}

.services .service-card .service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.services .service-card .service-features li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  color: var(--default-color);
}

.services .service-card .service-features li i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 1.1rem;
}

.services .service-card .read-more {
  color: var(--accent-color);
  font-weight: 600;
  display: inline-block;
  padding: 10px 16px;
  border: 2px solid var(--accent-color);
  border-radius: 6px;
  background-color: transparent;
  align-items: center;
  transition: all 0.3s ease;
  text-decoration: none;
 
}

.services .service-card .read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

/* Hover: lift, brighten, and shadow */
.services .service-card .read-more:hover {
  background-color: color-mix(in srgb, var(--accent-color), #fff 85%);
  color: #fff;
  border-color: color-mix(in srgb, var(--accent-color), #000 20%);
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 20px 20px rgb(0, 0, 01, 0.2); /*shadow adjustments */
}

.services .service-card .read-more:hover i {
  transform: translateX(5px);
}

.services .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.services .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 10%);
  border-color: color-mix(in srgb, var(--accent-color), #000 10%);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.qr-floating {
  max-width: 410px; /* Increase size */
  height: auto;
}

.qr-floating {
  max-width: 410px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--bs-border-radius);
  box-shadow: 0 20px 40px rgba(01, 01, 01, 0.4); /* Soft lift */
  animation: floatUpDown 3s ease-in-out infinite;
  transition: transform 0.6s ease-in-out;
}

.qr-floating:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}
.service-sidebar {
  text-align: center;
  padding-top: 20px;
}
.apply-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #69359c;
  color: #fff; /* white text by default */
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-left: 10px; 
}

.apply-btn:hover {
  background-color: #661e6b; /* slightly darker purple */
  color: #fff; /* keep white on hover */
}

.faq-item a.apply-btn {
  color: #f2eaea;
  cursor: pointer;
}


/*--------------------------------------------------------------
# Why Choose Us Section
--------------------------------------------------------------*/
/*box floating shadow*/
#why-choose-us .feature-item.floating-card {
  box-shadow: 0 10px 30px rgba(128, 0, 128, 0.3); /* Example: purple shadow */
}

#why-choose-us .feature-item.floating-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(128, 0, 128, 0.5); /* Deeper purple on hover */
}

.why-choose-us {
  padding: 80px 0;
  background-color: var(--background-color);
}

.why-choose-us .features-content {
  padding-right: 30px;
}

@media (max-width: 992px) {
  .why-choose-us .features-content {
    padding-right: 0;
    margin-bottom: 50px;
  }
}

.why-choose-us .features-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .why-choose-us .features-content h2 {
    font-size: 2rem;
  }
}

.why-choose-us .features-content .lead {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--default-color);
}

.why-choose-us .features-content p {
  margin-bottom: 2rem;
  color: var(--default-color);
}

.why-choose-us .features-content .features-list .feature-item {
  display: flex;
  margin-bottom: 2rem;
}

.why-choose-us .features-content .features-list .feature-item:last-child {
  margin-bottom: 0;
}

.why-choose-us .features-content .features-list .feature-item .feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-right: 20px;
  transition: all 0.3s ease;
}

.why-choose-us .features-content .features-list .feature-item .feature-icon:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-5px);
}

.why-choose-us .features-content .features-list .feature-item .feature-text h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
}

.why-choose-us .features-content .features-list .feature-item .feature-text p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--default-color);
}

.why-choose-us .features-image {
  position: relative;
}

.why-choose-us .features-image .main-image {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.why-choose-us .features-image .stats-card {
  position: absolute;
  top: -30px;
  left: -30px;
  background-color: var(--surface-color);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  z-index: 2;
  width: 220px;
}

@media (max-width: 768px) {
  .why-choose-us .features-image .stats-card {
    width: 180px;
    padding: 15px;
    top: -20px;
    left: -10px;
  }
}

.why-choose-us .features-image .stats-card .stat-item {
  text-align: center;
}

.why-choose-us .features-image .stats-card .stat-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .why-choose-us .features-image .stats-card .stat-item h3 {
    font-size: 1.2rem;
  }
}

.why-choose-us .features-image .stats-card .stat-item p {
  font-size: 0.8rem;
  margin-bottom: 0;
  color: var(--default-color);
}

@media (max-width: 768px) {
  .why-choose-us .features-image .stats-card .stat-item p {
    font-size: 0.7rem;
  }
}

.why-choose-us .features-image .experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

@media (max-width: 768px) {
  .why-choose-us .features-image .experience-badge {
    padding: 15px;
    right: 0;
  }
}

.why-choose-us .features-image .experience-badge .badge-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.why-choose-us .features-image .experience-badge .badge-content .number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 768px) {
  .why-choose-us .features-image .experience-badge .badge-content .number {
    font-size: 2rem;
  }
}

.why-choose-us .features-image .experience-badge .badge-content .text {
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.2;
}


/* ==================================================
   TEAM SECTION STYLES
   ========================= */
/* Section container */
/* ─────────────────────────
   1. Flip-Card: fluid size with definite height
───────────────────────────────── */

.team.section .flip-card {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  margin: 0 auto 24px;
  perspective: 1200px;
  border-radius: 20px;

  /* ← Replace this old shadow… */
  /* box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08); */

  /* …with these Purple Heart shadows (rgba(78,42,132,…)): */
 box-shadow:
    0 16px 32px rgba(78, 42, 132, 0.24),
    0 32px 64px rgba(78, 42, 132, 0.16),
    0 0   24px rgba(78, 42, 132, 0.08);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
  background: transparent;
}

.team.section .flip-card:hover {
  transform: translateY(-16px) rotate(1deg);

  box-shadow:
    0 24px 48px rgba(78, 42, 132, 0.32),
    0 48px 96px rgba(78, 42, 132, 0.24),
    0 0   32px rgba(78, 42, 132, 0.16);
}

  /* your new box-shadow 
.team.section .flip-card {
  filter: drop-shadow(0 12px 20px rgba(78, 42, 132, 0.2));
}
*/


/* fill that aspect-ratio box */
.team.section .flip-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1.2s cubic-bezier(.33,1,.68,1);
  border-radius: 20px;
}

/* ────────────────────────────────
   2. Keep your hover/flip effect
─────────────────────────────────── */
.team.section .flip-card:hover .flip-card-inner,
.team.section .flip-card:focus .flip-card-inner {
  transform: rotateY(180deg) translateY(-20px);
  0 24px 48px rgba(0, 0, 0, 0.16); /* more dramatic depth */
}

/* ──────────────────────────────
   3. Faces fill 100% of card
────────────────────────────────── */
.team.section .flip-card-front,
.team.section .flip-card-back {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  backface-visibility: hidden;
  overflow: hidden;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

/* FRONT FACE sits at top */
.team.section .flip-card-front {
  z-index: 2;
  justify-content: flex-start;
  padding-top: 1rem;     /* optional breathing room */
}

/* ────────────────────────────────────────
   4. Image container & image
─────────────────────────────────────────── */
.team.section .flip-card-image {
  width: 100%;
  height: 80%;           /* 80% of the 4:5 card → ~320px */
  overflow: hidden;
  position: relative;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.team.section .flip-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;    /* show entire image, letterbox if needed */
  object-position: center;
  border-radius: 20px 20px 0 0;
  transform: translateY(-8px);  /* nudge up slightly */
}

/* ────────────────────────────────────────────────────────────────
   5. Back face (unchanged)
──────────────────────────────────────────────────────────────── */
.team.section .flip-card-back {
  transform: rotateY(180deg);
  background: #69359C;
  color: #fff;
  padding: 1.5rem;
  justify-content: flex-start;
  overflow-y: auto;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}

/* ────────────────────────────────────────────────────────────────
   6. Responsive tweaks
──────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .team.section .flip-card {
    max-width: 90vw;      /* let mobile cards stretch */
    aspect-ratio: auto;   /* fallback: title’s shorter height */
    height: 340px;        /* match your old mobile height */
  }

  .team.section .flip-card-image {
    height: 75%;          /* fine-tune your mobile crop */
  }
}

/*--new rules--*/

/* 2. Fine-tune the H5 spacing */
.team.section .flip-card-back h5 {
  margin: 1.25rem;     /* remove top margin if any, add bottom gap */
  font-size: 1.15rem;      /* keep your existing size */
  text-align: center;      /* stays centered */
}

/* 3. Justify the paragraph body */
.team.section .flip-card-back p {
  text-align: justify;     /* full-width text alignment */
  text-justify: inter-word;/* better justification in some browsers */
  margin: 0;               /* reset any extra margins */
}

/*--new CSS for Swiper--*/
.swiper-container {
  overflow: visible;   /* so card shadows aren’t clipped */
}

.swiper-slide {
  width: auto;         /* let .flip-card define its own width */
}

/* give Swiper a smooth ease curve */
.swiper-container .swiper-wrapper {
  transition-timing-function: ease-in-out !important;
}




/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq-question {
  font-weight: bold;
  cursor: pointer;
  position: relative;
  padding: 6px 10px; /*reduce top and bot padding*/
}

.faq-answer {
  font-size: 1rem;
  padding: 8px 12px; /* top/bottom 10px, left/right 20px */
  max-height: 0;
  margin-top: 4px;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  text-align: justify;
  line-height: 1.4;    /* tighter but readable */
  font-size: 0.95rem;  /* optional: slightly smaller text */
}
.faq-answer.active {
  max-height: 500px; /* or use scrollHeight in JS */
  opacity: 1;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust based on content */
  opacity: 1;
}

.faq-question {
  cursor: pointer;
}

.faq-item a {
  cursor: default;
  text-decoration: none;
  color: inherit;
}
.faq-item a:hover {
	text-decoration: none;
}
.faq-item {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); /* soft shadow */
}

box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
.faq-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.faq-item {
  transform: translateY(-10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* spacing between boxes */
}



.faq-item.active .faq-answer {
  display: block;
}

.faq-box-wrapper {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.faq-box-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.faq-card {
  position: relative;
  top: auto; /* adjust based on your section padding */
  right: auto;
  z-index: 10;
  margin-top: 60px;
  max-width: 100%
}

.col-lg-4 {
  position: relative;   /*-- Faq card */
}



.faq .faq-card {
  height: 450px;
  padding: 20px;
  max-width: 320px;
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  text-align: center;
}
.faq .faq-card {
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.faq .faq-card:hover {
  box-shadow: 0 40px 30px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.95); /* or use a brand color */
  color: #1a1a1a; /* darker text for contrast */
  font-family: sans-serif; /* or any preferred font */
  font-weight: 600;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* slightly stronger shadow */
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; 
}


.faq .faq-card i {
  font-size: 48px;
  color: var(--accent-color);
  margin-bottom: 20px;
  display: block;
}

.faq .faq-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.faq .faq-card p {
  margin-bottom: 25px;
  font-size: 15px;
  line-height: 24px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.faq .faq-card .btn-primary {
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 500;
  background-color:#69359C;
  border-color:#69359C ;
  color: #fff;
}

.faq .faq-card .btn-primary:hover {
  background-color: #512a7c; /* darker purple */
  border-color: #512a7c;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* stronger shadow */
  transform: translateY(-2px); /* slight lift */
  transition: all 0.3s ease;
}

.faq .faq-list {
  padding: 0;
}

.faq .faq-list .faq-item {
  position: relative;
  margin-bottom: 25px;
  padding: 30px;
  background-color: var(--surface-color);
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  cursor: pointer;
}

.faq .faq-list .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-list .faq-item h3 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  padding-right: 40px;
  margin-bottom: 0;
  position: relative;
  cursor: pointer;
}

.faq .faq-list .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-list .faq-item .faq-content p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 24px;
  overflow: hidden;
}



.faq .faq-list .faq-item.faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-list .faq-item.faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 15px;
}



@media (max-width: 768px) {
  .faq .faq-list .faq-item {
    padding: 20px;
  }

  .faq .faq-list .faq-item h3 {
    font-size: 16px;
    line-height: 24px;
  }

  .faq .faq-list .faq-item .faq-toggle {
    right: 20px;
    top: 20px;
    font-size: 20px;
  }
}
 /*---------- Below is for FAQ Categories setup   ----------*/

.faq-category {
  margin-bottom: 40px;
}

.category-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--default-color);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
}
 /*--Categoriestitle for boxes */
 
 .category-title {
  display: inline-block;

  background-color: #69359c; /* or #fff for contrast */
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}
.category-title:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 10.5, 0.10);
}

#faq .category-title {
  font-size: 1rem; /* or any size you prefer */
  color: #ffff;  /* example: vibrant blue */
}

/*-- faq before after hover animate --*/
#faq .faq-question:hover {
  background-color: rgba(0, 123, 255, 0.05); /* subtle highlight */
  transform: translateY(-8px);
  transition: background-color 0.10s ease, transform 0.3s ease;
}

#faq .faq-answer:hover {
  background-color: rgba(0, 123, 255, 0.03);
  transition: background-color 0.3s ease;
}

/*--Facebook link setup FAQ Answer */

.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: bold;
  color: #1877f2;
  text-decoration: none;
  margin-top: 8px;
}

.facebook-link:hover {
  text-decoration: underline;
  color: #145dbf; /* darker blue on hover */
}

.faq-item .facebook-link {
  cursor: pointer;
  color: #69359c;
  text-decoration: none;
}


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/

#contact .contact-card .social-links a {
  font-size: 24px; /* or larger if needed */
}


.contact {
  padding: 80px 0;
  overflow: hidden;
}


.contact .contact-card .social-links a {
  font-size: 24px; /* Try 28px or 32px for more impact */
}
	
/* Target only the Facebook icon inside the contact section */
.contact .social-links .bi-facebook::before {
  font-size: 32px; /* or 36px, 40px — adjust as needed */
}

/* Optional: increase the clickable circle size too */
.contact .social-links a {
  width: 48px;
  height: 48px;
  font-size: 32px; /* ensures the icon scales with the container */
}

.contact .social-links .bi-facebook::before {
  color: #4A2C7F; /* or try #5E3AA2, #3B5998 for classic FB blue */
}
.contact .social-links a {
  width: 48px;
  height: 48px;
  font-size: 32px;
  color: #4A2C7F; /* deep violet */
  background-color: rgba(105, 53, 156, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;

  /* 3D-like box shadow */
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 6px 12px rgba(105, 53, 156, 0.2);
}

.contact .social-links .bi-facebook::before {
  color: #4A2C7F;
  font-size: 32px;

  /* 3D-like text shadow */
  text-shadow:
    1px 1px 2px rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(105, 53, 156, 0.3);
}
.contact .social-links a:hover {
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.15),
    0 8px 16px rgba(105, 53, 156, 0.3);
  transform: translateY(-2px);
}


.contact .contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}

@media (max-width: 992px) {
  .contact .contact-info {
    margin-bottom: 40px;
  }
}

.contact .contact-card {
  background-color: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05); /*deeper shwdow*/
  max-width: 100; /* any 320px, 360px, etc.. */
  margin: 0 auto; /* centers inside teh colum*/   
  padding: 30px;
  position: relative;
  overflow: hidden;
  transform: translateY(-20px); /* Slight lift */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact .contact-card:hover {
  transform: translateY(-25px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}


.contact .contact-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
}

.contact .contact-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.contact .contact-card h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.contact .contact-card p {
  color: var(--default-color);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.contact .contact-card .contact-details {
  margin-bottom: 25px;
}

.contact .contact-card .contact-details .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact .contact-card .contact-details .contact-item i {
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 15px;
  margin-top: 5px;
  flex-shrink: 0;
}

.contact .contact-card .contact-details .contact-item div h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
  margin: 0 0 5px;
}

.contact .contact-card .contact-details .contact-item div p {
  font-size: 14px;
  color: var(--default-color);
  margin: 0 0 5px;
  line-height: 1.5;
}

.contact .contact-card .contact-details .contact-item div p:last-child {
  margin-bottom: 0;
}

.contact .contact-card .contact-details .contact-item:last-child {
  margin-bottom: 0;
}

.contact .contact-card .social-links {
  display: flex;
  gap: 12px;
}

.contact .contact-card .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 16px;
  transition: all 0.3s ease;
}


.contact .contact-card .social-links a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

.contact .contact-form-wrapper {
  background-color: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05); /*deeper shadow */
  padding: 35px;
  position: relative;
  overflow: hidden;
  transform: translateY(-50px); /* Slight lift */
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
.contact .contact-form-wrapper:hover {
  transform: translateY(-25px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}



.contact .contact-form-wrapper:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
}

.contact .contact-form-wrapper .php-email-form .form-group {
  margin-bottom: 15px;
}

.contact .contact-form-wrapper .php-email-form .form-group label {
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 8px;
  font-size: 14px;
  display: block;
}

.contact .contact-form-wrapper .php-email-form .form-group .form-control {
  height: auto;
  border-radius: 8px;
  padding: 12px 20px;
  border: 1px solid #ccc; /* ✅ Light gray visible border */
  color: var(--default-color);
  background-color: var(--surface-color, #fff); /* ✅ Ensure white/light background */
  font-size: 14px;
}

.contact .contact-form-wrapper .php-email-form .form-group .form-control:focus {
  border-color: var(--accent-color); /* ✅ Highlight border on focus */
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(105, 53, 156, 0.25); /* Optional: subtle glow */
}


.contact .contact-form-wrapper .php-email-form .form-group textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact .contact-form-wrapper .php-email-form .form-check {
  margin-bottom: 20px;
}

.contact .contact-form-wrapper .php-email-form .form-check .form-check-input {
  margin-top: 0.3em;
}

.contact .contact-form-wrapper .php-email-form .form-check .form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.contact .contact-form-wrapper .php-email-form .form-check .form-check-input:focus {
  box-shadow: none;
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
}

.contact .contact-form-wrapper .php-email-form .form-check .form-check-label {
  color: var(--default-color);
  font-size: 14px;
  padding-left: 5px;
}

.contact .contact-form-wrapper .php-email-form button {
  background-color:#69359C ; /* Slightly darker on hover */; /*EJMSI Color */
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact .contact-form-wrapper .php-email-form button:hover {
  background-color:#69359C; /* Slightly darker on hover */ 
  transform: translateY(-3px);
}

@media (max-width: 992px) {

  .contact .contact-card,
  .contact .newsletter-card,
  .contact .contact-form-wrapper {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .contact {
    padding: 60px 0;
  }

  .contact .contact-card h3 {
    font-size: 20px;
  }

  .contact .newsletter-card h3 {
    font-size: 18px;
  }
}

.map-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px; /* Optional: adds a nice rounded edge */
}


.map-wrapper {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); /* Soft elevation */
  padding: 10px;
  margin-top: 40px;
  position: relative;
  transform: translateY(-20px); /* Slight lift */
  transition: transform 0.10s ease, box-shadow 0.30s ease;
}

.map-wrapper:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25); /* Deeper on hover */
}


.map-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.contact-section, .location-wrapper {
  min-height: 400px;
}

#mapDiv {
  height: 400px; /* or 500px */
  width: 100%;
}

#mapDiv {
  height: 400px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}



/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/

.floating-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.50);
}



.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a strong {
  font-size: 20px; /* or try 20px */
  font-weight: bold;
}



.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}
.icon-box .custom-icon {
  width: 40px; /* adjust as needed */
  height: 40px;
  object-fit: contain;
}
  #service-details {
  padding-top: 220px; /* Match or exceed your header height */
}


