
/* ===============================
   EMS SKYNET ABOUT PAGE STYLES
   Advanced 3D Motion Version
   =============================== */

/* ===== Root Variables ===== */

:root {
  --primary: #00ff7f;
  --text-light: #e9f9f2;
  --bg-dark: #0a0a0a;
  --bg-darker: #080808;
  --box-bg: rgba(255, 255, 255, 0.04);
  --transition: all 0.4s ease;
  --radius: 15px;
  --shadow: 0 8px 25px rgba(0, 255, 127, 0.15);
  --glow: 0 0 25px rgba(0, 255, 127, 0.4);
}

body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at 20% 20%, #0a0a0a 0%, #000 100%);
  color: var(--text-light);
  overflow-x: hidden;
  perspective: 1200px;
  position: relative;
  animation: pageEnter 1.5s ease forwards;
}

@keyframes pageEnter {
  0% {
    opacity: 0;
    transform: rotateX(20deg) translateY(100px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
/* Prevent horizontal overflow */
body, html {
  overflow-x: hidden;
}

/* Make images responsive */
.about-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.about-text {
    overflow: hidden;
    max-height: 200px; /* initial collapsed height */
    transition: max-height 0.4s ease;
}

.about-text.expanded {
    max-height: 1000px; /* a large enough value for full text */
}

/* Container padding and box-sizing fix */
.container {
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

/* Responsive text and layout */
@media (max-width: 768px) {
  .about-highlight .row {
    flex-direction: column;
  }

  .about-highlight .col-md-5,
  .about-highlight .col-md-7 {
    max-width: 100%;
    flex: 0 0 100%;
  }

  /* Text alignment for small screens */
  .about-highlight .text-start {
    text-align: center;
  }

  /* Button and paragraph spacing */
  #moreText {
    padding-left: 0;
    padding-right: 0;
  }
}

section {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  transition: var(--transition);
}
section:hover {
  transform: translateZ(15px);
}

.about-highlight {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));
  padding: 100px 20px;
  border-bottom: 1px solid rgba(0, 255, 127, 0.1);
  box-shadow: 0 0 60px rgba(0, 255, 127, 0.1);
  transform: translateZ(0);
  transition: var(--transition);
}
.about-highlight:hover {
  transform: translateZ(25px) rotateX(4deg);
}

.section-title {
  font-size: 2.8rem;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  font-weight: 800;
  text-shadow: var(--glow);
  transform: translateZ(30px);
  transition: var(--transition);
}
.section-title:hover {
  transform: translateZ(50px) rotateY(6deg);
}
.section-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background: var(--primary);
  margin: 0.6rem auto 0;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0, 255, 127, 0.7);
}

.about-image {
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0, 255, 127, 0.15);
  transition: transform 0.8s ease, box-shadow 0.6s ease;
  transform: translateZ(0);
}
.about-image:hover {
  transform: scale(1.07) rotateY(-5deg);
  box-shadow: 0 0 60px rgba(0, 255, 127, 0.3);
}

/* More CSS for .why-choose-us, .feature-card, .about-founder etc. as you provided */

#moreText {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, padding 0.4s ease;
  padding-top: 0;
}

#moreText.show {
  max-height: 2000px; /* adjust as needed */
  padding-top: 1rem;
}

/* ... rest of your styles as given ... */



/* ===== Page Fade + Tilt Animation ===== */
body {
  animation: pageEnter 1.5s ease forwards;
}
@keyframes pageEnter {
  0% {
    opacity: 0;
    transform: rotateX(20deg) translateY(100px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

/* ===== Section Wrapper (3D Layer) ===== */
section {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  transition: var(--transition);
}
section:hover {
  transform: translateZ(15px);
}

/* ===== About Highlight ===== */
.about-highlight {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));
  padding: 100px 20px;
  border-bottom: 1px solid rgba(0, 255, 127, 0.1);
  box-shadow: 0 0 60px rgba(0, 255, 127, 0.1);
  transform: translateZ(0);
  transition: var(--transition);
}
.about-highlight:hover {
  transform: translateZ(25px) rotateX(4deg);
}

/* ===== Floating Hero Title ===== */
.section-title {
  font-size: 2.8rem;
  text-transform: uppercase;
  color:var(--primary);
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  font-weight: 800;
  text-shadow: var(--glow);
  transform: translateZ(30px);
  transition: var(--transition);
}
.section-title:hover {
  transform: translateZ(50px) rotateY(6deg);
}
.section-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background:var(--primary);
  margin: 0.6rem auto 0;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0, 255, 127, 0.7);
}

/* ===== About Image ===== */
.about-image {
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0, 255, 127, 0.15);
  transition: transform 0.8s ease, box-shadow 0.6s ease;
  transform: translateZ(0);
}
.about-image:hover {
  transform: scale(1.07) rotateY(-5deg);
  box-shadow: 0 0 60px rgba(0, 255, 127, 0.3);
}

/* ================read more sections ================ */
#moreText {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, padding 0.4s ease;
  padding-top: 0; /* start with 0 */
}

#moreText.show {
  max-height: 2000px; /* adjust if needed */
  padding-top: 1rem;
}


/* Icon inside white cards */
.feature-card .icon-style {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: transform 0.5s ease, color 0.3s ease, text-shadow 0.3s ease;
}
.feature-card:hover .icon-style {
  transform: scale(1.2) rotateY(10deg);
  color: #0a0a0a;
  text-shadow: 0 0 25px rgba(0, 255, 127, 0.6);
}

/* Headings and text */
.feature-card h5 {
  color: #111;
  font-weight: 700;
}
.feature-card p {
  color: #333;
}

/* Optional: subtle hover glow for button inside card */
.feature-btn {
  background: var(--primary);
  color: #0a0a0a;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 600;
  margin-top: 1rem;
  transition: all 0.3s ease;
  animation: greenPulse 3s infinite;
}
.feature-btn:hover {
  background: #7cffb2;
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(0, 255, 127, 0.4);
}


/* ===================whatsap ======================= */
/* .whatsapp-section {
  position: fixed;
  bottom: 90% !important;
  right: 20px;
  z-index: 1000;
}

.whatsapp-float {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  font-size: 30px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.whatsapp-float:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.4);
} */

/* ===== Horizontal Scroll Gallery ===== */
/* ===== Horizontal Scroll (White + Taller Cards) ===== */

.horizontal-gallery {
  width: 100%;
  padding: 2rem 0;
  background: #ffffff;
}

.scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
}

.scroll-wrapper::-webkit-scrollbar {
  height: 7px;
}

.scroll-wrapper::-webkit-scrollbar-thumb {
  background: #00a344;
  border-radius: 10px;
}

.scroll-wrapper::-webkit-scrollbar-track {
  background: #eeeeee;
}

/* Card Row */
.image-track {
  display: inline-flex;
  gap: 1.5rem;
}

/* Image Card */
.image-card {
  min-width: 320px;     /* wider */
  max-width: 320px;
  height: 260px;        /* TALLER HEIGHT */
  background: #ffffff;  
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid #00a344; /* green border */
  padding: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: grab;
}

.image-card:active {
  cursor: grabbing;
}

.image-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

/* Image inside card */
/* ===========================
   TITLE STYLING
=========================== */
.page-title {
  text-align: center;
  color: #00b050; /* green theme */
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0px 3px 10px rgba(0, 176, 80, 0.3);
}

/* ===========================
   HORIZONTAL SCROLLER STYLE
=========================== */
.staff-scroll-wrapper {
  display: flex;
  gap: 25px;
  padding: 0 5%;
  overflow-x: auto;
  scroll-behavior: smooth;
  align-items: center;
}


.image-scroll-wrapper::-webkit-scrollbar {
  height: 8px;
}

.image-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #00b050;
  border-radius: 5px;
}

/* ===========================
   IMAGE CARD STYLING
=========================== */
/* ===========================
   TITLE STYLING
=========================== */
.page-title {
  text-align: center;
  color: #00b050;
  font-size: 2.7rem;
  font-weight: 700;
  margin-top: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 3px 10px rgba(0, 176, 80, 0.3);
}

/* ===========================
   HORIZONTAL STAFF SCROLLER
=========================== */
.staff-scroll-wrapper {
  display: flex;
  gap: 25px;
  padding: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  align-items: center;
  justify-content: center;
}

.staff-scroll-wrapper::-webkit-scrollbar {
  height: 8px;
}

.staff-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #00b050;
  border-radius: 10px;
}

/* ===========================
   STAFF CARD DESIGN
=========================== */
.staff-card {
  background: #e0e4df;
  min-width: 260px;
  height: 330px;
  border-radius: 18px;
  padding: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  text-align: center;
  transition: 0.4s ease;
}

.staff-card {
  min-width: 260px;
  flex: 0 0 auto;
}


.staff-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

/* STAFF IMAGE */
.staff-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

/* STAFF NAME */
.staff-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  margin: 5px 0;
}

/* STAFF ROLE */
.staff-role {
  font-size: 0.95rem;
  color: #00b050;
  font-weight: 500;
}



/* ===== Why Choose Us Section ===== */
.why-choose-us {
  background: linear-gradient(180deg, #ffffff, #00ff7f) !important;
  padding: 100px 20px;
  border-top: 1px solid rgba(0, 255, 127, 0.1);
  border-bottom: 1px solid rgba(0, 255, 127, 0.05);
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  transition: var(--transition);
}

.why-choose-us:hover {
  transform: translateZ(30px);
}

/* ===== Advanced 3D Feature Cards ===== */
.feature-card {
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.95), rgba(10, 10, 10, 0.85));
  color: #eafaf1;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 255, 127, 0.15);
  transition: all 0.4s ease;
  box-shadow: 0 10px 25px rgba(0, 255, 127, 0.1);
  transform-style: preserve-3d;
  perspective: 1000px;
  cursor: pointer;
}

/* Glow sweep line */
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(0, 255, 127, 0.05) 0%,
    rgba(0, 255, 127, 0.25) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  opacity: 0;
  transition: all 0.5s ease;
}

/* Glow border */
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 255, 127, 0.25), transparent);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-card:hover {
  transform: rotateX(10deg) rotateY(-8deg) translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 255, 127, 0.35);
  border-color: rgba(0, 255, 127, 0.5);
}
.feature-card:hover::before {
  opacity: 1;
  transform: translateX(50%) skewX(-25deg);
}
.feature-card:hover::after {
  opacity: 1;
}
.feature-card {
  background: #fff;
  color: #111;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 255, 127, 0.15);
  transition: all 0.4s ease;
  box-shadow: 0 10px 25px rgba(0, 255, 127, 0.1);
  transform-style: preserve-3d;
  perspective: 1000px;
  cursor: pointer;
}


/* Card Body */
.feature-card .card-body {
  position: relative;
  z-index: 2;
  padding: 2.2rem 1.8rem;
  transition: transform 0.4s ease;
}
.feature-card:hover .card-body {
  transform: translateZ(35px);
}

/* Icons */
.feature-card .icon-style {
  font-size: 3rem;
  color: #00ff7f;
  margin-bottom: 1rem;
  transition: transform 0.6s ease, color 0.4s ease, text-shadow 0.4s ease;
}
.feature-card:hover .icon-style {
  color: #7cffb2;
  transform: scale(1.3) rotateY(15deg);
  text-shadow: 0 0 25px rgba(0, 255, 127, 0.6);
}

/* Text Animations */
.feature-card h5,
.feature-card p {
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.feature-card:hover h5 {
  transform: translateY(-5px);
}
.feature-card:hover p {
  transform: translateY(5px);
  opacity: 0.9;
}

/* ===== Founder Section ===== */
.about-founder {
  background: linear-gradient(180deg, #0a0a0a, #050505);
  padding: 100px 20px;
  border-top: 1px solid rgba(0, 255, 127, 0.1);
  text-align: center;
  box-shadow: inset 0 0 80px rgba(0, 255, 127, 0.05);
  transform: translateZ(0);
  transition: var(--transition);
}
.about-founder:hover {
  transform: translateZ(20px) rotateY(3deg);
}
