/* =====================
   GLOBAL THEME
===================== */
:root {
  --blue-dark: #0A3D62;
  --blue-main: #1E90FF;
  --blue-light: #EAF4FF;
  --dark: #0F172A;
  --light: #F8FAFC;
  --white: #ffffff;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: var(--light);
  color: var(--dark);
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* =====================
   HEADER & NAV (Modern Sticky)
===================== */
.header {
  background: linear-gradient(90deg, var(--blue-dark), var(--blue-main));
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 0.5rem 0; /* smaller height for modern look */
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.3s ease, padding 0.3s ease;
}

.header.sticky {
  padding: 0.3rem 0;
  background: linear-gradient(90deg, #083060, var(--blue-main));
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Navigation links */
nav a {
  margin-left: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.3rem 0.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
  color: var(--blue-light);
  transform: scale(1.05);
}

/* =====================
   BRAND / LOGO
===================== */
.brand {
  display: flex;
  align-items: center;
  gap: 12px; /* space between logo image and text */
}

.brand img.logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.logo {
  font-size: 2.2rem;  
  font-weight: 700;
  letter-spacing: 1.5px;
  display: inline-block;
  color: #00cfff; /* base color for glow */
  animation: glowPulse 2s infinite alternate;
}

.slogan {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  color: #ffffff; /* keep it white */
  text-shadow: none; /* no glow for slogan */
  margin-top: 3px;
}

/* Glow pulse animation for CLYNTEC text */
@keyframes glowPulse {
  0% {
    text-shadow: 0 0 5px #00cfff, 0 0 10px #00cfff, 0 0 15px #00e0ff;
  }
  50% {
    text-shadow: 0 0 8px #00cfff, 0 0 15px #00cfff, 0 0 25px #00e0ff;
  }
  100% {
    text-shadow: 0 0 5px #00cfff, 0 0 10px #00cfff, 0 0 15px #00e0ff;
  }
}

/* Moving light effect only on CLYNTEC text */
.clyntec-light {
  display: inline-block;
  background: linear-gradient(90deg, #00cfff 20%, #ffffff 40%, #00cfff 60%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* standard property */
  color: transparent; /* fallback */
  animation: lightScan 2.5s linear infinite;
}

@keyframes lightScan {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* =====================
   CAROUSEL
===================== */
.carousel {
  position: relative;
  height: 75vh;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 1s ease, transform 1.2s ease;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 75vh;
  object-fit: cover;
  animation: zoomMove 8s linear infinite;
}

@keyframes zoomMove {
  0% { transform: scale(1) translateX(0); }
  100% { transform: scale(1.08) translateX(-30px); }
}

.slide-text {
  position: absolute;
  bottom: 22%;
  left: 8%;
  max-width: 620px;
  background: rgba(10,61,98,0.75);
  padding: 25px;
  border-left: 5px solid var(--blue-main);
  color: var(--white);
}

.slide-text h2 { font-size: 2.1rem; margin-bottom: 10px; }
.slide-text p { font-size: 1rem; line-height: 1.6; }

/* Carousel dots */
.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  background: var(--blue-main);
  transform: scale(1.3);
}

/* =====================
   SERVICES
===================== */
.services {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1.2rem;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.service-card:hover img {
  transform: scale(1.2) rotate(-5deg);
  filter: drop-shadow(0 4px 8px rgba(30,144,255,0.6));
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: var(--blue-dark);
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: var(--blue-main);
}

.service-card p { font-size: 1rem; color: #555; margin-bottom: 1.5rem; }

.featured { border-left: 5px solid var(--blue-main); }

/* Learn more toggle */
.learn-more-btn {
  border: none;
  background: var(--blue-main);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.learn-more-btn:hover { background: var(--blue-dark); transform: scale(1.05); }

.learn-more-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  padding: 0;
}

.learn-more-content.show { max-height: 500px; padding: 1rem 0; }

.learn-more-content ul { list-style: none; padding-left: 0; margin-top: 1rem; text-align: left; }

.learn-more-content li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  color: #333;
}

.learn-more-content li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--blue-main);
  font-weight: bold;
}

/* =====================
   ABOUT
===================== */
.about {
  background: #F1F5F9;
  padding: 4rem 0;
  text-align: center;
}

/* =====================
   CTA
===================== */
.cta {
  background: linear-gradient(135deg, var(--blue-main), var(--blue-light));
  color: var(--white);
  text-align: center;
  padding: 3rem 0;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  background: var(--blue-main);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.btn-dark { background: var(--blue-dark); }

/* =====================
   CONTACT
===================== */
.contact { padding: 4rem 0; text-align: center; }

/* =====================
   FOOTER
===================== */
.footer {
  background: var(--blue-dark);
  color: var(--white);
  text-align: center;
  padding: 1rem;
}

/* =====================
   SCROLL REVEAL
===================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.active { opacity: 1; transform: translateY(0); }

/* =====================
   WHATSAPP FLOAT
===================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: var(--white);
  padding: 14px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
/* =====================
   STAFF GRID
===================== */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.staff-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.staff-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid var(--blue-main);
}

.staff-card h3 {
  font-size: 1.3rem;
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.staff-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}
/* =====================
   CTA SECTION
===================== */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin: 2rem 0;
  text-align: center;
  padding: 4rem 1rem;
  z-index: 1;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-light));
  z-index: 0;
  overflow: hidden;
}

/* Animated dots/lines for tech vibe */
.cta-bg::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-image: radial-gradient(#00cfff 1px, transparent 1px);
  background-size: 40px 40px;
  animation: moveDots 10s linear infinite;
  opacity: 0.3;
}

@keyframes moveDots {
  0% { transform: translate(0,0); }
  100% { transform: translate(40px,40px); }
}

/* Container on top of background */
.cta-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
  color: var(--white);
}

/* Heading */
.cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  animation: neonPulse 2s infinite alternate;
  color: #fff;
}

/* Subtitle */
.cta-subtitle {
  font-size: 1rem;
  margin-bottom: 1.8rem;
  color: #e0f0ff;
  line-height: 1.6;
}

/* Neon glow animation for heading */
@keyframes neonPulse {
  0% {
    text-shadow: 0 0 5px #00cfff, 0 0 10px #00cfff, 0 0 20px #00e0ff, 0 0 30px #00e0ff;
  }
  50% {
    text-shadow: 0 0 10px #00cfff, 0 0 20px #00cfff, 0 0 30px #00e0ff, 0 0 45px #00e0ff;
  }
  100% {
    text-shadow: 0 0 5px #00cfff, 0 0 10px #00cfff, 0 0 20px #00e0ff, 0 0 30px #00e0ff;
  }
}

/* CTA button styling */
.btn-cta {
  background: var(--blue-dark);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 2;
  position: relative;
}

.btn-cta:hover {
  background: var(--blue-main);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
/* =====================
   TEAM SECTION
===================== */
.team-title {
  text-align: center;
  font-size: 1.8rem;
  margin: 2rem 0 1.5rem 0;
  color: var(--blue-dark);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.team-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.15);
}

.team-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid var(--blue-main);
}

.team-card h4 {
  font-size: 1.2rem;
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.team-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}
.contact {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-main));
  color: var(--white);
  text-align: center;
}

.contact p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #f0f0f0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.3s ease;
  backdrop-filter: blur(8px);
  text-align: center;
  cursor: pointer;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.25);
  background: rgba(255, 255, 255, 0.1);
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.contact-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.95rem;
  margin: 0;
  color: #f0f0f0;
}
.brands {
  padding: 4rem 0;
  background: #F8FAFC;
  text-align: center;
}

.brands p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.brands-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.brands-track {
  display: flex;
  gap: 2rem;
  /* duplicate track content is already in HTML */
  animation: scrollBrands 20s linear infinite;
}

.brand-slide {
  flex: 0 0 auto;
  padding: 1rem 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-slide img {
  max-width: 120px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-slide:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.brand-slide:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Right-to-left scroll animation */
@keyframes scrollBrands {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* move left by half the total width */
  }
}
/* GET IN TOUCH BUTTON */
.get-touch-wrapper {
  text-align: center;
  margin: 3rem 0;
}

.get-touch-btn {
  background: var(--blue-main);
  color: #fff;
  padding: 0.9rem 2.2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.get-touch-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
}

/* MODAL BACKDROP */
.contact-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

/* MODAL BOX */
.contact-modal-content {
  background: #fff;
  padding: 2.5rem;
  border-radius: 14px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  position: relative;
  animation: modalFade 0.4s ease;
}

/* CLOSE BUTTON */
.close-modal {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.6rem;
  cursor: pointer;
  color: #555;
}

/* MODAL TEXT */
.contact-modal-content h2 {
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.contact-modal-content p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
}

/* FORM */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-main);
}

/* SUBMIT BUTTON */
.submit-btn {
  width: 100%;
  background: var(--blue-main);
  color: #fff;
  padding: 0.8rem;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: var(--blue-dark);
}

/* ANIMATION */
@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.contact-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 2000;
}

.contact-modal.active {
  opacity: 1;
  visibility: visible;
}

.contact-modal-content {
  background: #fff;
  padding: 2.5rem;
  width: 90%;
  max-width: 480px;
  border-radius: 12px;
  position: relative;
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
}
/* CENTER */
.triangle-cta-wrapper {
  display: flex;
  justify-content: center;
  margin: 90px 0;
}

/* SVG BUTTON */
.triangle-cta {
  width: 300px;
  cursor: pointer;
  filter: drop-shadow(0 18px 35px rgba(0,123,255,0.45));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.triangle-cta:hover {
  transform: translateY(-6px) scale(1.03);
  filter: drop-shadow(0 28px 50px rgba(0,123,255,0.6));
}
/* GROUPMFI FLOATING CTA */
/* Centered Triangle CTA - Small, Soft Glow, Bouncing */
.triangle-cta-wrapper {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.triangle-cta {
  width: 160px;    /* smaller width */
  height: 40px;    /* smaller height */
  cursor: pointer;
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: drop-shadow(0 4px 10px rgba(30,144,255,0.25));
  animation: neonBounce 2s infinite; /* bounce + glow */
}

/* Hover lift effect */
.triangle-cta:hover {
  transform: translateY(-5px) scale(1.05);
}

/* Bounce + glow animation */
@keyframes neonBounce {
  0% {
    transform: translateY(0);
    filter: drop-shadow(0 0 4px #1E90FF)
            drop-shadow(0 0 8px #87CEFA);
  }
  25% {
    transform: translateY(-6px);
    filter: drop-shadow(0 0 6px #1E90FF)
            drop-shadow(0 0 12px #87CEFA);
  }
  50% {
    transform: translateY(0);
    filter: drop-shadow(0 0 4px #1E90FF)
            drop-shadow(0 0 8px #87CEFA);
  }
  75% {
    transform: translateY(-3px);
    filter: drop-shadow(0 0 5px #1E90FF)
            drop-shadow(0 0 10px #87CEFA);
  }
  100% {
    transform: translateY(0);
    filter: drop-shadow(0 0 4px #1E90FF)
            drop-shadow(0 0 8px #87CEFA);
  }
}

/* =====================
   NAVBAR LINK ENHANCEMENT
   (NON-DESTRUCTIVE)
===================== */

/* Base nav link style */
nav a {
  position: relative;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  transition: color 0.3s ease;
}

/* Animated underline */
nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--blue-light);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

/* Hover effect */
nav a:hover {
  color: var(--blue-light);
}

nav a:hover::after {
  width: 70%;
}

/* Active / current section */
nav a.active {
  color: var(--blue-light);
  font-weight: 600;
}

nav a.active::after {
  width: 70%;
}
/* =====================
   HAMBURGER STYLING
===================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
  z-index: 1100; /* above nav */
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* =====================
   MOBILE NAVIGATION
===================== */
@media screen and (max-width: 900px) {
  .header nav {
    position: fixed; /* slide from top */
    top: -100%; /* hidden above viewport */
    left: 0;
    width: 100%;
    background: rgba(10,61,98,0.95); /* glassmorphic feel */
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 3rem 0;
    transition: top 0.35s ease-in-out;
    z-index: 1000;
  }

  .header nav.active {
    top: 0; /* slides down */
  }

  .header nav a {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
  }

  /* Show hamburger */
  .hamburger {
    display: flex;
  }
}
/* Careers popup card */
.careers-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 2000;
  width: 90%;
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.careers-card.show {
  transform: translate(-50%, -50%) scale(1);
}

.careers-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #0a3d62;
}

.careers-card p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #333;
}

.careers-card button {
  padding: 0.5rem 1rem;
  background: #0a3d62;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease;
}

.careers-card button:hover {
  background: #065082;
}
@media screen and (max-width: 900px) {
  /* MOBILE NAV */
  .header nav {
    position: fixed;
    top: -100%; /* hidden initially */
    left: 0;
    width: 100%;
    max-height: 90vh; /* not full screen */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* stack from top */
    padding: 3rem 1rem;
    gap: 1rem; /* spacing between links */
    background: rgba(10, 61, 98, 0.6); /* semi-transparent glass */
    backdrop-filter: blur(12px);
    overflow-y: auto; /* scroll if content is taller than screen */
    transition: top 0.35s ease-in-out;
    z-index: 1000;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .header nav.active {
    top: 0; /* slide down */
  }

  .header nav a {
    display: block;
    width: 90%;
    max-width: 280px;
    padding: 1rem 1.5rem;
    margin: 0.3rem 0;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1); /* glassy look */
    backdrop-filter: blur(6px);
    transition: background 0.3s ease, transform 0.2s ease;
  }

  .header nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
  }

  .hamburger {
    display: flex;
    z-index: 1100; /* above nav */
  }
}
/* CONTACT MODAL STYLING */
.contact-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 2000;
}

.contact-modal.active {
  opacity: 1;
  visibility: visible;
}

.contact-modal-content {
  background: #fff;
  padding: 2rem;
  width: 90%;
  max-width: 420px;
  border-radius: 12px;
  position: relative;
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 1.6rem;
  cursor: pointer;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-main);
}

.submit-btn {
  width: 100%;
  background: var(--blue-main);
  color: #fff;
  padding: 0.8rem;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: var(--blue-dark);
}
/* Contact Success Card */
.form-card {
  display: none;
  background-color: #d4edda;
  color: #155724;
  padding: 15px 20px;
  border-radius: 8px;
  margin-top: 15px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  animation: slideFadeIn 0.4s ease forwards;
}

.form-card.show {
  display: block;
}

/* Optional slide fade animations */
@keyframes slideFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}
.service-hero {
  position: relative;
  height: 60vh;
}

.service-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero-text {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.service-content {
  padding: 80px 0;
}

.service-list {
  margin: 30px 0;
}

.service-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.service-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
  margin-top: 40px;
}

.service-gallery img {
  width: 100%;
  border-radius: 10px;
}
.form-card-inline {
  display: none;           /* hide by default */
  background: #0b5ed7;
  color: #fff;
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 15px;        /* space below form */
  text-align: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease;
}

/* Show with animation */
.form-card-inline.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
/* ======================
   FOOTER SOCIALS
====================== */
.footer {
  background-color: #111; /* Dark footer */
  color: #fff;
  padding: 40px 0;
  text-align: center;
  position: relative;
}

.footer p {
  margin: 0 0 20px;
  font-size: 14px;
  color: #ccc;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px; /* space between icons */
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #222; /* dark circle background */
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  transform: translateY(-3px);
  background-color: #555; /* hover effect */
}

.footer-socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ======================
   FLOATING WHATSAPP BUTTON
====================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  font-weight: bold;
  padding: 12px 16px;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
/* Success message inside contact modal */
#contactSuccessCard {
  display: none;        /* Hidden by default */
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 15px;
  margin-top: 15px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* When show class is added */
#contactSuccessCard.show {
  display: block;       /* Make it visible */
  opacity: 1;           /* Fade in */
}
/* =======================
   LEARN MORE CONTENT SLIDE
======================= */
.learn-more-content {
  max-height: 0;            /* hide initially */
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  padding: 0 0;             /* remove padding when closed */
}

.learn-more-content.show {
  max-height: 500px;        /* adjust if your content is bigger */
  padding: 10px 0;          /* add padding when opened */
}
