 
 
 :root {
      --primary: #0d6efd;
      --secondary: #0a2540;
      --accent: #20c997;
      --light: #f8f9fa;
    }

    body {
      font-family: 'Poppins', sans-serif;
      line-height: 1.7;
    }

    /* Navbar */
 .navbar {
  background-color: #0b0a2c !important; /* white background */
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* subtle modern shadow */
}

/* REMOVE overlay */
.navbar::before {
  display: none;
}

/* Keep text above */
.navbar .container,
.navbar-brand,
.nav-link {
  position: relative;
  z-index: 1;
}

/* Grey navbar text */
.navbar-brand,
.navbar .nav-link {
  color: #6c757d !important; /* grey */
}

/* Hover & active states */
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #495057 !important;
}

.navbar .nav-link.active {
  color: #212529 !important;
}
    /* Hero */
    /* Hero Section */
.hero {
  position: relative;
  background: url('resources/images/kinetic.JPG') center center / cover no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

/* Gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.75); /* dark overlay */
  z-index: 1;
}

/* Content above overlay */
.hero-content {
  position: relative;
  z-index: 2;
}

/* Headline styling */
.hero h1 {
  font-weight: 700;
  font-size: 3rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .btn-lg {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}


    /* Sections */
    section {
      padding: 80px 0;
    }
    .section-title {
      font-weight: 600;
      margin-bottom: 20px;
      color: var(--secondary);
    }

    /* Cards */
    .program-card img {
      height: 100px;
      object-fit: cover;
    }

   /* cards */
   /* ===== Standardize Program Cards ===== */

/* 1. Make all cards same height */
.program-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 2. Same image height for all cards */
.program-card img {
  height: 170px;       /* adjust: 160–180px if needed */
  object-fit: cover;
}

/* 3. Control text height (no long cards) */
.program-card .preview-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;   /* limits text to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 4. Keep button aligned at bottom */
.program-card .card-body {
  display: flex;
  flex-direction: column;
}

.program-card .btn-read-more {
  margin-top: auto;
}


    /* Footer */
   
footer {
  background: url('resources/images/footer.webp') center/cover no-repeat;
  color: #fff;
  position: relative;
  z-index: 1;
  padding: 40px 0; /* smaller than before */
  font-size: 0.9rem;
}

/* Dark overlay for readability */
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 0;
}

footer .container,
footer h5, footer h6, footer p, footer a, footer input, footer button {
  position: relative;
  z-index: 1;
}

/* Links hover effect */
footer a:hover {
  color: #20c997;
  text-decoration: underline;
}

/* Make form inputs smaller */
footer input.form-control-sm {
  font-size: 0.85rem;
}

footer button.btn-sm {
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
}
/* Footer Enhancements */
.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

footer i {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  transition: transform 0.3s ease, color 0.3s ease;
}

footer i:hover {
  color: var(--accent);
  transform: translateY(-3px);
}


/* Social Media Icons */
footer .fab {
  font-size: 0.9rem;
  transition: transform 0.2s, color 0.2s;
}
footer .fab:hover {
  color: #20c997;
  transform: scale(1.2);
}

/* Facebook feed scrolling */
.social-feed-container {
  max-height: 250px;
  overflow-y: auto;
  padding-right: 5px;
}

/* Google Map size */
.map-container iframe {
  border-radius: 8px;
  max-height: 150px; /* small and compact */
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  footer .row > div {
    margin-bottom: 1.5rem;
  }
}

    /* Testimonials Styling & Animation */
#testimonials .testimonial-card {
  max-width: 720px;
  margin: auto;
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  animation: testimonialFade 0.6s ease-in-out;
}

#testimonials img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
}

#testimonials p {
  font-size: 1.1rem;
  font-style: italic;
  color: #444;
}

#testimonials h6 {
  margin-top: 15px;
  font-weight: 600;
  color: var(--secondary);
}

/* Smooth fast transition */
.carousel-item {
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

/* Entry animation */
@keyframes testimonialFade {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* featured projects */
.featured-projects {
  background: #f8f9fa;
}

.project-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Hover effects */
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.project-card:hover img {
  transform: scale(1.1);
}

/* Overlay */
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.2),
    transparent
  );
  color: #fff;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

/* Entry animation */
.project-item {
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}

.project-item:nth-child(1) { animation-delay: 0.1s; }
.project-item:nth-child(2) { animation-delay: 0.2s; }
.project-item:nth-child(3) { animation-delay: 0.3s; }
.project-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* featured projects end */


/* ===== Modern Hamburger ===== */
.navbar-toggler.modern-toggler {
  border: none;
  width: 36px;
  height: 28px;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  z-index: 1100;
}

/* Hamburger lines */
.navbar-toggler.modern-toggler span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #021928;  /*    color: #d7d6e3;GREY – visible on white */
  border-radius: 3px;
  transition: all 0.35s ease;
}

/* ===== Open State Animation ===== */
.navbar-toggler.modern-toggler:not(.collapsed) span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler.modern-toggler:not(.collapsed) span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler.modern-toggler:not(.collapsed) span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hamburger Animation when open */
.navbar-toggler.modern-toggler:not(.collapsed) span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar-toggler.modern-toggler:not(.collapsed) span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler.modern-toggler:not(.collapsed) span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Slide-in & alignment (small screens only) */
@media (max-width: 991.98px) {
  #navMenu {
    position: fixed;
    top: 70px; /* adjust for navbar height */
    right: 0;
    width: 250px;
    height: calc(100vh - 70px);
    background-color: var(--secondary);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #navMenu.show {
    transform: translateX(0);
  }

  .navbar-nav {
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav-link {
    color: #0a021c !important;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 500;
  }
}




/* About Section */
#about {
  position: relative;
  display: flex;
  min-height: 600px; /* Adjust section height as needed */
}

/* Video Column - full height, full left side */
.about-video-col {
  flex: 0 0 50%; /* Video takes left 50% of screen */
  height: 100%;
  overflow: hidden;
}

.about-video-col .about-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text Column */
.about-text-col {
  flex: 1;
  display: flex;
  align-items: center; /* vertically center the text */
  padding: 60px 30px;
}
@media (max-width: 991.98px) {
  .navbar-toggler {
    display: flex;
  }

  .dropdown-menu {
    display: none;
  }

  .dropdown-menu.show {
    display: block;
  }
}

/* Optional: responsive adjustments */
@media (max-width: 992px) {
  #about {
    flex-direction: column;
  }
  .about-video-col {
    width: 100%;
    height: 400px; /* adjust for smaller screens */
  }
  .about-text-col {
    padding: 30px 20px;
  }
}

#about {
  min-height: 90vh;
  position: relative;
  overflow: hidden;
}

.about-video {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
#about .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Make content above video */
#about .container {
  position: relative;
  z-index: 2;
}

/* Optional: Make text stand out on smaller screens */
@media (max-width: 768px) {
  #about h2, #about p, #about ul {
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
  }
}

/* humberg end*/

/* faerurde projects with canva */
.project-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay h5 {
  margin-bottom: 5px;
}

.project-overlay p {
  font-size: 0.85rem;
  margin-bottom: 10px;
}
#about {
  padding: 80px 0;
}

#about video {
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

#about ul {
  margin-top: 1rem;
}

#about ul li {
  margin-bottom: 0.5rem;
  font-weight: 500;
}
#about {
  position: relative;
  overflow: hidden;
}
/* ===== Navbar Submenus ===== */
.main-menu__item {
  position: relative;
}

/* Desktop hover dropdown */
@media (min-width: 992px) {
  .main-menu__item:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Dropdown styling */
.dropdown-menu {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border-radius: 12px;
  border: none;
  padding: 10px 0;
  min-width: 220px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Dropdown links */
.dropdown-menu .dropdown-item {
  padding: 10px 20px;
  font-weight: 500;
  color: #d7d6e3;
}

.dropdown-menu .dropdown-item:hover {
  background: #0b0a28; /* white background */
  color: var(--primary); /* keep text color as primary */
}


/* Mobile menu adjustments */
@media (max-width: 991.98px) {
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: transparent;
  }

  .dropdown-item {
    color: #fff;
    text-align: center;
  }

  .dropdown-item:hover {
    background: rgba(255,255,255,0.1);
  }
}
/* Enable hover dropdowns on desktop only */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* Smooth animation */
.dropdown-menu {
  transition: opacity 0.2s ease, transform 0.2s ease;
  opacity: 0;
  transform: translateY(10px);
}

.dropdown:hover .dropdown-menu,
.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
}
.more-text {
  max-height: 0;
  overflow: hidden;
  display: block;
  transition: max-height 0.5s ease;
}

.more-text.expanded {
  max-height: 500px; /* big enough to show full content */
}
/* Section */
.fw-section {
  background: #f8f9fa;
}

/* Card */
.fw-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.fw-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Image */
.fw-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.fw-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fw-card:hover img {
  transform: scale(1.1);
}

/* Gradient overlay */
.fw-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

/* Badge */
.fw-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ffb703, #fb8500);
  color: #000;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 600;
}

/* Body */
.fw-body {
  padding: 1rem;
}

.fw-body h5 {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.fw-body p {
  font-size: 0.9rem;
  color: #6c757d;
}

/* Scroll animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}




/* Section background */
.fw-section {
  background: var(--light);
}

/* Card */
.fw-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.fw-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Image wrapper */
.fw-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.fw-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* keep aspect ratio, cover card */
  display: block;
  transition: transform 0.4s ease;
}

.fw-card:hover img {
  transform: scale(1.1);
}

/* Gradient overlay */
.fw-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

/* Badge */
.fw-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ffb703, #fb8500);
  color: #000;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 600;
  z-index: 2;
}

/* Body */
.fw-body {
  padding: 1rem;
  flex: 1; /* fills remaining space */
}

.fw-body h5 {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.fw-body p {
  font-size: 0.9rem;
  color: #6c757d;
  flex: 1;
}

/* Scroll animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
/* Smooth hover scale effect */
  .hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .hover-scale:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
  }

  /* Ensure images cover the card area */
  .object-fit-cover {
    object-fit: cover;
  }