/* Base styles */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #1f2937;
}

/*========================== Navbar ==========================*/
.main-header {
  position: fixed;   /* Keeps it fixed on top */
  top: 0;            /* Stick to the top */
  left: 0;           /* Align to the left edge */
  width: 100%;       /* Full width */
  background-color: #040054;  /* Optional: background so content underneath doesn’t show through */
  z-index: 1000;     /* Make sure it stays above other content */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optional: subtle shadow */
}

.container {
  max-width: 1280px;
  margin: auto;
  padding: 0 1rem;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 80px;
}

/* Desktop Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  text-decoration: none;
}

.nav-link {
  text-decoration: none;
  font-weight: 500;
  color: #fcf489;
  text-decoration: none; /* No underline */
}

.nav-link:hover {
  color: #4e6eff;
  font-weight: 700;
}

.nav-btn {
  background-color: #264db8;
  color: #ffee00;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.nav-btn:hover {
  background-color: #c9930c;
  color: #ffffff;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #ffee00;
  cursor: pointer;
}

/*===================== Mobile Styles =====================*/
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  /* Hide menu by default */
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: black;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    width: 200px;
    display: none; /* hidden by default */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
  }

  /* Show menu when .show class is added */
  .nav-links.show {
    display: flex;
    max-height: 500px; /* enough to fit all links */
    opacity: 1;
  }
}

/* ================= Fix Navbar Extra Space on Mobile ================= */


/*============================================================================================*/





/*==================================Hero section split layout=================================*/
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: auto;
  padding: 4rem 1rem;
  gap: 2rem;
}

.hero-left {
  flex: 1;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-right img {
  max-width: 100%;
  max-height: 500px;
  border-radius: 1rem;
}

/* Typing animation text */
.typing-text {
  font-size: 2rem;
  font-weight: 700;
  white-space: pre-wrap; /* Allows line breaks */
  overflow: hidden;
  border-right: 3px solid #1e40af;
  animation: blink 0.7s step-end infinite;
  color: #000;
  padding: 20px 0;
}

@keyframes blink {
  from, to { border-color: transparent; }
  50% { border-color: #1e40af; }
}

/* Glowing button animation */
.glow-button {
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  color: white;
  background-color: #1e40af;
  border: none;
  border-radius: 0.5rem;
  text-decoration: none; /* No underline */
  cursor: pointer;
  animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 0 5px #1e40af, 0 0 10px #1e40af;
  }
  to {
    box-shadow: 0 0 20px #2563eb, 0 0 40px #2563eb;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
}




/* ======================= "How It Works" Section ========================== */
/* Section Background */
.how-it-works-section {
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.how-it-works-section h2 {
  font-size: 2.5em;
  color: #333;
  margin: 0;
  font-weight: normal;
}


/* Optional floating pattern effect */
.how-it-works-section::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}
.how-it-works-section::after {
    content: "";
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(251,191,36,0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Ensure content stays above effects */
.how-it-works-section .container {
    position: relative;
    z-index: 1;
}

.carousel-item {
    min-width: 280px; /* Ensures a consistent width for carousel items */
    transition: transform 0.5s ease-in-out;
    scroll-snap-align: start; /* Helps with smooth scrolling */
}

.carousel-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.carousel-container::-webkit-scrollbar {
    display: none; /* Hides the scrollbar */
}

/*  Parallax  */
.how-it-works-section {
    position: relative;
    background: url('images/how_para.jpg') center / cover no-repeat fixed; /* Replace with your background */
    z-index: 0;
    padding: 4rem 0;
}

.how-it-works-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85); /* Overlay for readability */
    z-index: -1;
}

/* Layout */
.how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

/* Left Image */
.how-image img {
    width: 80%;
    border-radius: 1rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.how-image img:hover {
    transform: scale(1.03);
}

/* Steps Container */
.how-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 0.75rem;
    background: #fffffc;
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(15px);
}

.step-number {
    background: linear-gradient(145deg, #ffffff, #e5e7eb);
    color: #2563eb;
    font-weight: bold;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-size: 1.25rem;
}

.step-title {
    font-weight: 600;
    font-size: 1.125rem;
}

/* Highlighted Step */
.step-container.active {
    background: #ffeea3;
    border-color: #ffbc05;
    transform: scale(1.02);
}

/* Hover Effect */
.step-container:hover {
    background: #f0f9ff;
    transform: translateY(-3px);
}

/* Animation for entry */
@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.how-steps .step-container {
    animation: fadeSlideIn 0.6s ease forwards;
}
.how-steps .step-container:nth-child(1) { animation-delay: 0.2s; }
.how-steps .step-container:nth-child(2) { animation-delay: 0.4s; }
.how-steps .step-container:nth-child(3) { animation-delay: 0.6s; }

/* Mobile */
@media (max-width: 768px) {
    .how-it-works-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .how-image img {
        width: 100%;
    }
}

/*==================================================================================================*/
        


/* ====================================== SERVICES SECTION ============================ */
.services-section {
  font-family: 'Inter', sans-serif;
  background-color: #a1ccfd;
  padding: 80px 0;
  text-align: center;
}

.services-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5em;
  color: #333;
  margin: 0;
  font-weight: normal;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background-color: #333;
  margin: 10px auto 0;
}

.section-header p {
  font-size: 1.2em;
  color: #666;
  margin-top: 10px;
}

/* HORIZONTAL SCROLL WRAPPER */
.scroll-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  padding: 20px 0;
}

.services-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 20px;
  will-change: transform;
  transition: none !important;
  min-width: max-content; /* Ensures all cards line up horizontally */
}

.service-card {
  flex: 0 0 auto;
  flex-shrink: 0;
  width: 280px;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column; /* stack elements vertically */
  align-items: center;
  text-align: center;
  margin-right: 20px;
  position: relative; /* needed if we use absolute positioning for the button */
  font-size: 12px;
}


.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #e6f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 50px;
  height: 50px;
  fill: #fbff00;
}

.service-card h3 {
  font-size: 1.5em;
  color: #333;
  margin: 0 0 10px 0;
  font-weight: normal;
}

.service-card p {
  font-size: 1em;
  color: #666;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.find-out-more-link {
  background: #007bff;
  padding: 8px 16px;
  border-radius: 8px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
  
  /* Make it stick to bottom */
  margin-top: auto; /* pushes it to bottom in flex layout */
}

.find-out-more-link:hover {
  background: #0056b3;
  color: #fff;
}

/* Modal background */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* dark overlay */
}

/* Modal box */
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -45%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

/* DESKTOP STYLES */
@media (min-width: 992px) {
  .scroll-wrapper {
    overflow: hidden; /* hide overflow, but show multiple cards */
  }
  .service-card {
    width: 300px;
  }
}
.service-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}


/*======================================================================================*/

/* ========================================Testimonials Section ==================================== */
.testimonials {
    background: url('images/testi_back.jpg') center / cover no-repeat fixed;
    padding: 0.75rem 0; /* Very tight vertical space */
    position: relative;
    z-index: 0;
    max-height: 7in; /* Limit height to ~7 inches */
    overflow-y: auto; /* Scroll if more testimonials overflow */
}

/* Overlay */
.testimonials::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(233, 225, 118, 0.575);
    z-index: -1;
}

/* Title */
.section-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

/* Grid */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* More per row */
    gap: 0.5rem; /* Tight gaps */

}

/* Card */
.testimonial-card {
    background: #fff;
    padding: 0.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px -2px rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    text-align: justify; /* Justified text */
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: scale(1.05); /* smaller scale, so it doesn’t break layout */
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
/* Quote icon */
.quote-icon {
    position: absolute;
    top: 0.15rem;
    left: 0.15rem;
}
.quote-icon::before {
    content: "“";
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--gray-300);
}

/* Photo */
.user-photo {
    border-radius: 50%;
    width: 28px;
    height: 28px;
    object-fit: cover;
    margin-bottom: 0.15rem;
}

/* Name */
.name {
    font-weight: 700;
    font-size: 0.7rem;
    color: #1a202c;
    margin-bottom: 0.1rem;
}

/* Role */
.role {
    font-size: 0.55rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

/* Stars */
.stars {
    color: var(--primary-color);
    font-size: 0.6rem;
    margin-bottom: 0.25rem;
    color: #c9930c;
}

/* Quote text */
.quote {
    font-size: 0.65rem;
    line-height: 1.15;
    color: #4a5568;
    margin: 0;
}

/* Variations */
.testimonial-card.large-quote {
    grid-column: span 2;
    text-align: justify;
    padding: 0.6rem;
}
.testimonial-card.large-quote .quote {
    font-size: 0.7rem;
    line-height: 1.2;
}
.testimonial-card.large-quote .quote-icon::before {
    content: none;
}

.testimonial-card.quote-and-author {
    flex-direction: row;
    gap: 0.4rem;
    padding: 0.5rem;
}
.quote-and-author .user-photo {
    order: 2;
    margin: 0;
    flex-shrink: 0;
}
.quote-and-author .quote {
    font-size: 0.65rem;
    flex: 1;
}

/* Minimalist card */
.testimonial-card.minimal {
    padding: 0.4rem;
    gap: 0.4rem;
    box-shadow: none;
    background: transparent;
}
.minimal .user-photo {
    width: 24px;
    height: 24px;
}
.minimal .name {
    font-size: 0.65rem;
}
.minimal .role {
    font-size: 0.5rem;
}

/* Center image card */
.testimonial-card.center-image {
    padding: 0.5rem;
}
.center-image .user-photo {
    width: 36px;
    height: 36px;
    margin-bottom: 0.25rem;
}
.center-image .quote-icon {
    top: 0.15rem;
    right: 0.15rem;
    left: auto;
}
.center-image .quote-icon::before {
    content: '”';
}

/* Responsive: convert testimonials to slider */
/* Responsive: convert testimonials to slider */
@media (max-width: 768px) {

  .testimonial-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
  }

  .testimonial-card {
    flex: 0 0 90%;   /* Cover almost full screen */
    max-width: none; /* Remove fixed width */
    margin: 0 5%;    /* Equal spacing on both sides */
    box-sizing: border-box;
    scroll-snap-align: center;
  }

  /* Remove large-quote effect on small screens */
  .testimonial-card .large-quote {
    display: none;
  }

  /* Hide default scrollbar */
  .testimonial-grid::-webkit-scrollbar {
    display: none;
  }

  /* Slider navigation buttons */
  .testimonial-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
  }

  .testimonial-slider-btn.left {
    left: 10px;
  }

  .testimonial-slider-btn.right {
    right: 10px;
  }
}



/*===========================================================================================*/


/*========================================Blog Section Styling============================*/
.blog-section {
  font-family: 'Inter', sans-serif;
  padding: 50px 0;
  background-color: #f9f9f9;
}

.blog-section h2 {
  font-size: 2.5em;
  color: #333;
  margin-bottom: 20px;
}

/* Featured Post Styling */
.featured-post {
  display: flex;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 50px;
}

.featured-post-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-post-content .post-date {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 10px;
}

.featured-post-content h3 {
  font-size: 2em;
  color: #333;
  margin: 0 0 15px 0;
}

.featured-post-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

.read-more-btn {
  display: inline-block;
  padding: 10px 25px;
  background-color: #555;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.read-more-btn:hover {
  background-color: #333;
}

.featured-post-image {
  flex: 1;
}

.featured-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Latest Posts Styling */
.latest-posts-section h3 {
  font-size: 1.8em;
  color: #333;
  margin-bottom: 20px;
}

.latest-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.latest-post-card {
  background-color: #ffeeaa;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.latest-post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.latest-post-card h4 {
  font-size: 1.1em;
  color: #333;
  padding: 15px 15px 5px;
  margin: 0;
}

.latest-post-card .post-date {
  font-size: 0.8em;
  color: #888;
  padding: 0 15px 15px;
  display: block;
}



.latest-post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Option 1: Zoom the whole card */
.latest-post-card:hover {
  transform: scale(1.05); /* smaller scale, so it doesn’t break layout */
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}



/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .featured-post {
    flex-direction: column;
  }
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}

.mySlides img {
  width: 500px;       /* Set fixed width */
  height: 250px;      /* Set fixed height */
  object-fit: cover;  /* Ensure image covers the box without distortion */
  display: block;     /* Remove extra space below image */
  margin: auto;       /* Center the image in the container */
}

/* Optional: adjust slideshow container for small images */
.slideshow-container {
  max-width: 500px;   /* Match the image width */
  margin: auto;
  overflow: hidden;
}

/*=====================================================================================*/



/* =================================== WHY CHOOSE US ======================================== */
.why-choose-us {
  padding: 4rem 0;
  background-image: url('images/why_back.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  z-index: 0;
}

.wcu-shell {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
}

/* Left copy */
.wcu-left h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin: 0;
}

.wcu-left h2 span {
  color: #5d7fe7;
}

.wcu-left p {
  margin: 0.9rem 0 1.25rem;
  color: #3e444b;
}

.wcu-stats {
  display: flex;
  gap: clamp(1.5rem, 5vw, 3rem);
  margin: 0.75rem 0 1rem;
}

.wcu-stats strong {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: #5d7fe7;
}

.wcu-stats p {
  margin: 0.25rem 0 0;
  color: #555c65;
}

/* Slider */
.wcu-slider {
  --gap: 1rem;
  position: relative;
  overflow: hidden; /* This keeps the marquee effect contained on desktop */
  margin-top: 1.25rem;
  padding-block: 0.25rem;
  max-width: 80%;
}

.wcu-slider::before,
.wcu-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  pointer-events: none;
  z-index: 1;
}

.wcu-slider::before {
  left: 0;
}

.wcu-slider::after {
  right: 0;
}

.wcu-track {
  display: flex;
  gap: var(--gap);
  animation: wcu-marquee 24s linear infinite;
}

.wcu-slider:hover .wcu-track {
  animation-play-state: paused;
}

@keyframes wcu-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-80%);
  }
}

.wcu-card {
  flex: 0 0 clamp(200px, 28vw, 300px);
  padding: 1.6rem;
  border-radius: 1rem;
  text-align: center;
  color: #ffffff;
}

.wcu-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.wcu-card p {
  margin: 0;
  color: #f1f2f3;
  opacity: 0.95;
}

/* Card colors */
.wcu-card.purple {
  background: linear-gradient(135deg, #f8dd7b, #f0dd98);
  color: #1a1a1a;
}

.wcu-card.purple p {
  color: #333333;
}

.wcu-card.blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.wcu-card.teal {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.wcu-card.white {
  color: #ffffff;
  background: #f72440b9;
  box-shadow: 0 12px 20px rgba(17, 24, 39, 0.07);
}

.wcu-card.white p {
  color: #ffffff;
}

.wcu-card.gray {
  background: #6b7280;
}

/* Right image */
.wcu-figure {
  position: relative;
  height: auto;
}

.wcu-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 0.5rem;
}
/* Mobile view */
@media (max-width: 768px) {
  .wcu-shell {
    display: block;
    max-width: 100%;
    padding: 0 1rem;
  }

  /* Left copy */
  .wcu-left h2 {
    font-size: clamp(1.5rem, 6vw, 2.25rem);
  }

  .wcu-left p {
    font-size: 0.95rem;
  }

  .wcu-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .wcu-stats strong {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .wcu-slider {
    max-width: 100%;
    padding-block: 0.5rem;
  }

  .wcu-track {
    gap: 0.75rem;
  }

  .wcu-card {
    flex: 0 0 90%;
    padding: 1rem;
  }

  .wcu-card h3 {
    font-size: 1rem;
  }

  .wcu-card p {
    font-size: 0.875rem;
  }

  /* Right image */
  .wcu-figure {
    margin-top: 2rem;
  }

  .wcu-figure img {
    border-radius: 0.75rem;
  }
}
/* Hide right image on mobile */
@media (max-width: 1500px) {
  .wcu-right {
    display: none;
  }

  /* Optional: make the left side take full width */
  .wcu-shell {
    grid-template-columns: 1fr;
  }
}
/*======================================================================================*/


/*========================================Contact Us Section=======================================*/
.contact-container {
    display: flex;
    width: 90%;
    max-width: 1400px;
    background-color: #baefff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    align-items: stretch;
    margin-left: auto;
    margin-right: auto;
}

/* Column widths */
.image-panel {
    flex: 0.8;
    background-color: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.image-panel img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.left-panel {
    flex: 1.2;
    padding: 50px;
    background-color: #f0f4f8;
    color: #1a237e;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.right-panel {
    flex: 1;
    background-color: #1a227e91;
    padding: 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Remove extra space under submit */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 0;
    max-width: 600px;
    width: 90%;
    padding: 30px;
    background-color: #f9f9f900;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
}

form input,
form textarea,
form select {
    padding: 15px 20px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

form input:focus,
form textarea:focus,
form select:focus {
    outline: none;
    border-color: #ffffff;
}

form textarea {
    resize: vertical;
    min-height: 120px;
}



form button:hover {
    background-color: #00b579;
    box-shadow: 0 4px 15px rgba(0, 91, 181, 0.3);
}

form label {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 5px;
    color: #ffffff;
}

.contact_button {
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  color: white;
  background-color: #ffbb00;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  animation: glow 1.5s ease-in-out infinite alternate;
}

/* Responsive layout */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }
    .image-panel, .left-panel, .right-panel {
        flex: none;
        width: 100%;
    }
}


/* The Modal (background) */
.career-modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 9999; /* higher to stay above all content */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent background */
}

/* Modal content */
.career-modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

/* Close button */
.career-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.modal {
  display: none; /* hide modal by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5); /* semi-transparent overlay */
}


/*============================================================================================*/




/*========================================About Us Section=====================================*/
.about {
    padding: 80px 40px;
    font-family: 'Inter', sans-serif;
    color: #000;
    background: url('images/about_back.webp') no-repeat center center; /* Replace with your background image */
    background-size: cover;
    background-attachment: fixed; /* Parallax effect */
    position: relative;
    z-index: 1;
}

.about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(97, 168, 190, 0.534); /* Optional overlay for readability */
    z-index: -1;
}

.about .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-header {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
    align-items: flex-start;
}

.main-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    flex-shrink: 0;
    text-align: center;
}

.mission-vission-section {
    background-color: rgba(255,255,255,0.9);
    padding: 60px 40px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.mission-vission-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.mission-vission-card, .mission-vission-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mission-vission-image img {
    width: 100%;
    height: auto;
    max-width: 250px;
    display: block;
    margin: 0 auto 20px;
}

.mission-vission-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 5px;
}

.mission-vission-info .role {
    font-size: 12px;
    letter-spacing: 1px;
    margin: 0;
}

.mission-vission-description {
    background-color: #e7e4e4;
    color: #090909;
    padding: 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    text-align: center;
    border-radius: 8px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* Responsive Design */
@media (max-width: 992px) {
    .mission-vission-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .main-title {
        font-size: 50px;
    }

    .mission-vission-section {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 40px;
    }
}

@media (max-width: 576px) {
    .about {
        padding: 40px 20px;
    }

    .main-title {
        font-size: 32px;
    }

    .mission-vission-info h3 {
        font-size: 20px;
    }

    .mission-vission-info .role {
        font-size: 10px;
    }

    .mission-vission-description p {
        font-size: 13px;
    }
}

/*=============================================================================================*/



/*======================================== Footer Section =======================================*/
.footer-container {
    background-color: #040054;
    color: #ffffff;
    font-size: 14px;
    padding: 60px 0 0 0;
    width: 100%;
}

/* Footer main content */
.footer-content {
    background-color: #040054;
    max-width: 1700px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* left and right aligned */
    align-items: flex-start;
    padding: 0 60px;
    gap: 40px;
    flex-wrap: wrap; /* allows stacking on small screens */
}

/* Left section: logo + contact + address */
.footer-logo-section {
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
}

.footer-logo img {
    max-width: 200px;
    margin-right: 20px;
}

.footer-logo-text p {
    margin: 0;
    font-size: 12px;
    color: #ffffff;
}

.footer-contact,
.footer-address {
    margin-top: 15px;
}

.footer-contact p,
.footer-address p {
    margin: 5px 0;
    color: #fff;
}

/* Right section: links + social */
.footer-right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 250px;
    text-align: center;
}

/* Links section */
.footer-links-section {
    margin-top: 10px;
    /* text-align: right; */
}

.footer-links-section h3 {
    font-size: 15px;
    margin-bottom: 10px;
    color: #14b8a6;
}

.footer-links-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-section ul li {
    margin-bottom: 8px;
}

.footer-links-section a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links-section a:hover {
    color: #ffa500;
}

/* Social icons */
.footer-social-icons {
    margin-top: 15px;
}

.footer-social-icons img {
    width: 35px;
    height: 35px;
    margin-left: 8px;
    display: inline-block;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-logo-section {
        margin-left: 0;
        text-align: center;
    }

    .footer-right-section {
        align-items: center;
    }

    .footer-links-section {
        text-align: center;
    }

    .footer-social-icons img {
        margin: 0 8px;
    }
}


/* Back-to-top button */
.back-to-top {
    position: absolute;
    right: 20px;
    bottom: 15px;
    background-color: #007bff;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.back-to-top:hover {
    background-color: #0056b3;
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    padding: 10px 0;
    background-color: #000000; /* slightly darker footer bottom */
    color: #ffffff;
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        flex-direction: column;
        align-items: center;
    }

    .footer-logo img {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .footer-right-section {
        align-items: center;
        text-align: center;
        margin-top: 20px;
    }

    .footer-social-icons img {
        margin: 0 10px;
    }

    .back-to-top {
        right: 10px;
    }
}

/*=============================================================================================*/