
/* Navbar active link */
.nav-link.active {
    font-weight: 600;
    border-bottom: 2px solid #fff;
}

/* Logos */
.logo-img {
    max-height: 40px; /* default desktop size */
    width: auto;
    margin-right: 8px;
}

/* Navbar text wrapping for small screens */
.navbar-text-wrap {
    display: flex;
    flex-direction: column; /* mobile: stack logos vertically */
    align-items: center;
    text-align: center;
}

/* Navbar title spacing */
.navbar-title {
    margin-top: 5px; /* small spacing on mobile */
}

/* Desktop: logos and text in row */
@media (min-width: 768px) {
    .navbar-text-wrap {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    .navbar-title {
        margin-top: 0;
    }
}


   /* Primary & Secondary Colors */
:root {
  --primary: #0b5134;   /* deep green */
  --secondary: #05a884; /* soft teal */
  --bg-light: #f6f9f6;  /* gentle off-white */
  --text-dark: #2b2b2b;
  --text-muted: #555;
}

/* Gradient button */
.btn-gradient {
  background: linear-gradient(90deg, #05a884, var(--secondary));
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}
.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(11,81,52,0.25);
  text-decoration: none;
  color: #fff;
}



/* ================= FEATURES SECTION ================= */
.features-section {
  background: linear-gradient(
    180deg,
    rgba(5,168,132,0.05),
    rgba(5,168,132,0.02)
  );
  padding: 60px 0;
}

/* Section Title */
.features-section .section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #058f6e;
}
.features-section .section-subtitle {
  font-size: .95rem;
  color: #6b7c75;
}

/* ================= FEATURE CARD (GLASS EFFECT) ================= */
.feature-card {
  background: rgba(5, 168, 132, 0.08); /* green transparency */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255, 215, 0, 0.25); /* yellow accent */
  border-radius: 16px;

  padding: 24px;
  min-height: 230px;

  display: flex;
  flex-direction: column;
  gap: 0.9rem;

  transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

/* Hover Effect */
.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(5, 168, 132, 0.15);
  box-shadow:
    0 15px 35px rgba(5,168,132,0.25),
    0 0 0 2px rgba(255,215,0,0.35);
}

/* ================= ICON ================= */
.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;

  display: grid;
  place-items: center;

  background: linear-gradient(
    135deg,
    rgba(255,215,0,0.35),
    rgba(5,168,132,0.25)
  );

  color: #056b54;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Icon Motion */
.feature-card:hover .feature-icon {
  transform: rotate(-5deg) scale(1.12);
  box-shadow: 0 8px 20px rgba(255,215,0,0.45);
}

/* SVG responsive */
.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
}

/* ================= TEXT ================= */
.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #045f4a;
}

.feature-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #2f4f46;
  flex-grow: 1;
}

/* ================= CTA ================= */
.feature-cta {
  align-self: flex-start;
  font-weight: 700;
  color: #b88a00;
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}

.feature-cta::after {
  content: "→";
  margin-left: 6px;
  transition: transform 0.25s ease;
}

.feature-cta:hover {
  color: #ffd700;
}
.feature-cta:hover::after {
  transform: translateX(6px);
}

/* ================= MOBILE TWEAKS ================= */
@media (max-width: 576px) {
  .feature-card {
    padding: 20px;
  }
  .feature-title {
    font-size: 1.05rem;
  }
}

@keyframes softPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.feature-card:hover .feature-icon {
  animation: softPulse 1.2s ease-in-out infinite;
}


/* SECTION */
.emotorpool-achievements {
    background: #ffffff;
    padding: 80px 20px;
}

.emotorpool-achievements .container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

/* LEFT TEXT */
.achievements-text {
    flex: 1 1 40%;
}

/* BIG H1 WITH EFFECT */
.achievements-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 900;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
}

/* subtle underline accent */
.achievements-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #000;
    margin-top: 12px;
}

/* TEXT */
.achievements-text p {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: #000;
    line-height: 1.75;
    text-align: justify;
    margin-bottom: 16px;
}

/* LEARN MORE BUTTON */
.btn-learn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    margin-top: 14px;

    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;

    color: #ffffff;
    background: #000;
    border-radius: 10px;

    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    background: #222;
    transform: translateY(-3px);
}

.btn-learn-more:active {
    transform: translateY(0);
}

/* RIGHT GALLERY */
.achievements-gallery {
    flex: 1 1 55%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}

/* CARD */
.photo-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.photo-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.photo-card:hover {
    transform: translateY(-6px);
}

/* HIDDEN DESCRIPTION */
.description {
    position: absolute;
    inset: auto 0 0 0;
    background: rgba(0,0,0,0.78);
    color: #fff;
    padding: 18px;
    transform: translateY(100%);
    transition: all 0.35s ease;
}

.photo-card:hover .description {
    transform: translateY(0);
}

.description h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.description p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* REMOVE UNDERLINES */
a {
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .emotorpool-achievements .container {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .photo-card img {
        height: 180px;
    }

    .achievements-text p {
        font-size: 1rem;
    }
}


/* ===== Location Section ===== */ 
.location-section { width: 100%; background-color: #f9f9f9; padding: 60px 5%; } 
.location-wrapper { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; max-width: 1200px; margin: auto; }
.location-gallery-side { flex: 1 1 35%; } 
.location-gallery-side h2 { color: #1b5e20; font-size: 1.6rem; margin-bottom: 8px; } 
.location-gallery-side p { color: #333; margin-bottom: 15px; font-size: 0.95rem; } 
.location-gallery { display: flex; flex-direction: column; gap: 15px; }
.location-row { display: flex; align-items: center; gap: 15px; min-height: auto; } 
.location-img img { width: 120px; height: 90px; border-radius: 8px; object-fit: cover; flex-shrink: 0; } 
.location-desc { display: flex; flex-direction: column; justify-content: center; } 
.location-desc h3 { font-size: 1rem; color: #1b5e20; margin-bottom: 3px; } 
.location-desc p { font-size: 0.85rem; color: #555; line-height: 1.3; } 
.location-map { flex: 1 1 60%; position: relative; border-radius: 10px; overflow: hidden; min-width: 300px; box-shadow: 0 2px 12px rgba(0,0,0,0.15); } 
.location-map iframe { width: 100%; height: 600px; border: 0; } 
.map-search { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.9); padding: 8px 12px; border-radius: 50px; z-index: 10; display: flex; align-items: center; font-size: 18px; color: #1b5e20; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.2); } 
#mapSearchInput { position: absolute; top: 15px; right: 60px; padding: 8px 12px; border-radius: 50px; border: 1px solid #ccc; display: none; z-index: 10; width: 250px; transition: 0.3s ease; } 
#mapSearchInput.active { display: block; } 

/* Responsive */
 @media (max-width: 900px) { 
.location-wrapper { flex-direction: column; } 
.location-map { width: 100%; height: 450px; } 
.location-gallery-side { flex: 1 1 100%; margin-bottom: 20px; } 
.location-img img { width: 120px; height: 100px; } } @media (max-width: 600px) { 
.location-row { flex-direction: row; align-items: center; } 
.location-img img { width: 100px; height: 80px; } } 


/* Contact Section */
#contact .card {
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
#contact .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(11,81,52,0.08);
}

/* Footer */
footer {
  background-color: var(--primary);
  color: #fff;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a:hover {
  color: var(--secondary);
}

/* Text tweaks */
.text-muted {
  color: var(--text-muted) !important;
}

html {
  scroll-behavior: smooth;
}


