/* ============================================================
   RESET & BASE
============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a { text-decoration: none; }

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* ============================================================
   GREEN THEME
============================================================ */
.bg-green {
  background-color: #008000 !important;
}

/* ============================================================
   TOPBAR (contact bar)
============================================================ */
.topbar .contact-list a { color: #fff; }
.topbar .contact-list a:hover { text-decoration: underline; }

/* ============================================================
   LOGO & COMPANY NAME
============================================================ */
.logo-header {
  max-height: 80px;
  width: auto;
}

.company-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #008000;
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar { font-size: 1rem; }

.navbar .nav-link {
  color: #fff !important;
  margin: 0 8px;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #00cc66 !important;
}

/* ============================================================
   FOOTER
============================================================ */
.footer-section {
  background-color: #008000;
  color: #fff;
  padding: 50px 20px 30px;
  text-align: center;
}

.footer-content p {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  color: #eee;
  font-weight: 600;
}

.seperator-in-footer {
  display: block;
  width: 80px;
  height: 3px;
  background-color: #00b894;
  margin: 30px auto;
}

.social-icon ul {
  padding-left: 0;
  list-style: none;
  display: inline-flex;
  gap: 15px;
  margin: 0 auto;
}

.social-icon a {
  font-size: 20px;
  color: #fff;
  background: #333;
  padding: 10px;
  border-radius: 50%;
  display: inline-block;
  transition: 0.3s ease;
}

.social-icon a:hover { background: #00b894; }

.footer-section .copyright {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 20px;
}

.footer-section .copyright a { color: #00b894; }
.footer-section .copyright a:hover { text-decoration: underline; }

/* ============================================================
   NEWS TICKER
============================================================ */
.news-ticker {
  width: 100%;
  background: #000;
  color: #fff;
  overflow: hidden;
  height: 50px;
  display: flex;
  align-items: center;
  font-weight: bold;
}

.news-text {
  white-space: nowrap;
  padding-left: 100%;
  animation: ticker 20s linear infinite;
  font-size: 18px;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ============================================================
   SECTION TITLE  (about + services)
============================================================ */
.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 30px;
  color: #111;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #00cc66;
  margin: 10px auto 0;
}

/* ============================================================
   HOME – CAROUSEL
============================================================ */
.carousel-inner img {
  height: 500px;
  object-fit: cover;
}

/* ============================================================
   HOME – CONTACT BANNER
============================================================ */
.contact-banner {
  background-color: #008000;
  padding: 2rem;
  border-radius: 12px;
}

/* ============================================================
   HOME – MENTOR SECTION
============================================================ */
.mentor-section {
  background-size: cover;
  background-position: center;
  padding: 2rem;
  color: #fff;
}

.mentor-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 12px;
}

.mentor-bio  { flex: 2; text-align: justify;}

.mentor-profile {
  flex: 1;
  text-align: center;
}

.mentor-profile a{
  color: #fff;
}

.mentor-image {
  max-width: 200px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* ============================================================
   HOME – DIRECTOR MESSAGE
============================================================ */
.cmd-section { padding: 2rem; }

.cmd-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.cmd-image {
  flex: 1;
  text-align: center;
}

.cmd-image img {
  max-width: 200px;
  border-radius: 12px;
}

.cmd-details { margin-top: 1rem; }

.cmd-message { flex: 2; text-align: justify;}

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-section {
  background-color: #f4fdf4;
  padding: 60px 20px;
}

.about-content p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-content h3 {
  margin-top: 30px;
  font-size: 22px;
  color: #005522;
}

.approach-list {
  margin-top: 15px;
  padding-left: 20px;
  list-style-type: disc;
  color: #222;
}

.approach-list li {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.6;
}

.mission-vision {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}

.mission,
.vision {
  flex: 1 1 300px;
  background-color: #008000;
  padding: 25px;
  border-radius: 10px;
  color: #eee;
}

.mission h3,
.vision h3 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 22px;
}

/* ============================================================
   CONTACT PAGE
============================================================ */
.moto {
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
}

.moto h4 { font-size: 36px; font-weight: bold; }

.contact-header { padding: 50px 20px; }

.single-widget h4 { font-size: 18px; margin-top: 10px; }
.single-widget small { font-size: 14px; color: #666; }

.contact-section {
  background-size: cover;
  background-position: center;
}

.contact-form .form-control { padding: 12px; }

/* ============================================================
   GALLERY PAGE
============================================================ */
.hero {
  background-image: url('../assets/moto1.jpg');
  background-size: cover;
  background-position: center;
  min-height: 260px;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content { position: relative; z-index: 2; }
.hero .display-5 { color: #fff; }
.hero p.lead    { color: #e6f7ef; }

.gallery-card { overflow: hidden; border-radius: 8px; }

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.gallery-card .card-body { background: transparent; }

/* ============================================================
   OUR TEAM PAGE
============================================================ */
.team-container {
  padding: 50px 20px;
  background-size: cover;
  background-position: center;
}

.team-row {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.team-member {
  background: #fff;
  padding: 20px;
  width: 320px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.team-member img {
  width: 100%;
  height: 260px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
}

.team-member h4 {
  margin: 10px 0 6px;
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.team-member .title {
  font-size: 15px;
  font-weight: 600;
  color: #666;
  margin-bottom: 12px;
}

.team-member p {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

.team-member p:last-child { flex-grow: 1; }

/* ============================================================
   SERVICES PAGE
============================================================ */
.services-section {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

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

.service-card i {
  font-size: 30px;
  margin-bottom: 15px;
  color: #00ff99;
}

.service-card h4 { font-size: 16px; font-weight: 600; }

.service-card:hover {
  background-color: #00994d;
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 255, 153, 0.3);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  .company-name {
    font-size: 1.2rem;
    text-align: center;
    margin-top: 0.5rem;
  }

  .logo-header {
    max-width: 100%;
   }

  .mentor-container,
  .cmd-container {
    flex-direction: column;
    text-align: center;
  }

  .mission-vision { flex-direction: column; }

  .section-title { font-size: 1.8rem; }

  .about-content p,
  .approach-list li { font-size: 16px; }

  .team-member {
    width: 100%;
    max-width: 400px;
  }

  .footer-content p {
    font-size: 0.95rem;
    padding: 0 10px;
  }

  .social-icon ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .social-icon a {
    font-size: 18px;
    padding: 8px;
  }
}

@media (max-width: 576px) {
  .gallery-card img  { height: 180px; }
  .carousel-inner img { height: 250px; }
}

@media (min-width: 1200px) {
  .gallery-card img { height: 240px; }
}
