:root {
    --primary-color: #f54949;
    --secondary-color: rgb(241, 227, 227);
    --text-color: #000000;
    --light-bg: #ffffff;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --item-size: 180px;
    --items-count: 5;
    --item-gap: 60px; /* New variable for gap control */
    --animation-duration: 30s;
    --x: 0;
 	  --y: 0;
 	  --xp: 0;
 	  --yp: 0;
 	  --hue: calc(0 + (var(--xp) * 500));
 	  --bg: var(--primary-color);
 	  --size: 100px;
 	  --glow: radial-gradient(50% 50% at center,
     #A07FDB,
     #6FD7FF,
     #a9fa72,
 			hsl(var(--hue) 80% 70%),
 			transparent) calc((var(--x) * 1px) - (var(--size) * 0.5)) calc((var(--y) * 1px) - (var(--size) * 0.5)) / var(--size) var(--size) no-repeat fixed;
    --glow1: radial-gradient(50% 50% at center,
      rgb(242, 158, 255),
 			rgb(120, 244, 213),
 			rgb(251, 255, 196),
 			transparent) calc((var(--x) * 1px) - (var(--size) * 0.5)) calc((var(--y) * 1px) - (var(--size) * 0.5)) / var(--size) var(--size) no-repeat fixed;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    max-width: 100%;
    overflow-x: hidden;
}

/* Navigation */
header {
    z-index: 1000;
}

/* Keep header background color on scroll */
header.scrolled {
    background-color: var(--secondary-color);
}


/* NAVIGATION --------------------------*/

/*New Hero Section ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
.hero-section {
  position: relative;
  background: linear-gradient(rgba(255, 255, 255, 0.273), rgba(0, 0, 0, 0.399)), url('../images/my-hero-image.webp');
  background-size: cover;
  background-position: top;
  min-height: 60vh;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: left;
  color: white;
  text-align: left;
  padding: 0 1rem;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 1rem;
  width: 100%;
  margin-left: 10rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  word-break: break-word;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 0rem;
  border-radius: 25px;
  background:
  linear-gradient(white, white) padding-box,
  var(--glow),
  linear-gradient(to right,white, red) border-box;
transition: background-size 0.24s;
 touch-action: none;
 position: relative;
}
.cta-button::before {
content: "";
position: absolute;
inset: 0;
box-shadow: 0 1px hsl(0 0% 100% / 0.15) inset;
background: var(--bg);
z-index: 2;
border-radius: 1rem;
}
.cta-button span {
background: var(--glow1), #ffffff;
background-clip: text;
color: transparent;
height: 100%;
width: 100%;
z-index: 5;
position: relative;
inset: 0;
}
:root:has(cta-button:active) {
--size: 300px;
}
.cta-button::after {
content: "";
position: absolute;
inset: -4px;
filter: blur(20px);
border: 4px solid transparent;
background: var(--glow);
border-radius: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .hero-section {
    height: 55vh;
    min-height: 360px;
    padding: 0 0.5rem;
  }
  .hero-content {
    margin-left: 0;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .cta-button {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .hero-section {
    height: auto;
    min-height: 320px;
    padding: 2rem 0.3rem;
  }
  .hero-content {
    padding: 0 0.2rem;
    max-width: 98vw;
    margin-left: 0;
  }
  .hero-content h1 {
    font-size: 1rem;
  }
  .hero-content p {
    font-size: 0.7rem;
  }
  .cta-button {
    font-size: 0.95rem;
    padding: 0.6rem 1.1rem;
  }
}
@media (max-width: 480px) {
  .hero-section {
    height: auto;
    min-height: 280px;
    padding: 2rem 0.3rem;
  }
  .hero-content {
    max-width: 90vw;
    padding-left: 1rem;
  }
  .hero-content p {
    font-size: 0.7rem;
  }
  .cta-button {
    font-size: 0.95rem;
    padding: 0.6rem 1.1rem;
  }
}
/* Stats Section -----------------------------------------------------------------------------------------------------------*/
/* Grid layout for stats */
.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.stats-section {
  background-color: rgb(241, 227, 227);
  padding: 4rem 0;
  margin-top: 0;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: flex;
  flex-wrap: nowrap;        /* prevent wrapping */
  gap: 3rem;
  justify-content: center;  /* center cards horizontally */
  padding: 0 1rem;
  overflow: visible;         /* hide overflow if any */
}

.stat-card {
  flex: 1 1 250px;          /* grow, shrink, base width */
  min-width: 180px;         /* prevent too small */
  max-width: 300px;         /* optional max width */
  background-color: #ececec;
  border-radius: 1.5rem;
  box-shadow: 0 10px 15px rgba(91, 50, 50, 0.1);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 12px 12px 12px rgba(0, 0, 0, 0.2), -12px -12px 12px rgb(255, 246, 246);
  cursor: pointer;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #f54949;
  transition: font-size 0.3s ease;
}

.stat-text {
  font-size: 1.25rem;
  color: #6b7280;
  margin: 0;
  transition: font-size 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .stats-grid {
    gap: 1.5rem;
  }
  .stat-card {
    flex-basis: 200px;
    min-width: 140px;
    max-width: 250px;
    padding: 1.5rem;
  }
  .stat-number {
    font-size: 2.2rem;
  }
  .stat-text {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .stats-grid {
    gap: 1rem;
  }
  .stat-card {
    flex-basis: 160px;
    min-width: 120px;
    max-width: 200px;
    padding: 1rem;
  }
  .stat-number {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
  }
  .stat-text {
    font-size: 0.9rem;
  }
}

/* Services Section -----------------------------------------------------------------------------------------------------------*/
:root {
  --primary-color: #f54949;
}


.services {
  padding-left: 1rem;
  padding-right: 1rem;
  background-color: var(--secondary-color);
  width: 100%;
  text-align: center;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem; /* ensures no edge cutoff */
}

.services h2 {
  text-align: center;
  color: var(--primary-color);
}

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

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 15px rgba(91, 50, 50, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}
.service-card h3 {
  text-align: center;

}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.services-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 0rem;
  margin-bottom: 3rem;
  border-radius: 25px;
  background:
  linear-gradient(white, white) padding-box,
  var(--glow),
  linear-gradient(to right,white, red) border-box;
  transition: background-size 0.24s;
  touch-action: none;
  position: relative;
}
.services-button::before {
content: "";
position: absolute;
inset: 0;
box-shadow: 0 1px hsl(0 0% 100% / 0.15) inset;
background: var(--bg);
z-index: 2;
border-radius: 1rem;
}
.services-button span {
background: var(--glow1), #ffffff;
background-clip: text;
color: transparent;
height: 100%;
width: 100%;
z-index: 5;
position: relative;
inset: 0;
}
:root:has(.services-button:active) {
--size: 300px;
}
.services-button::after {
content: "";
position: absolute;
inset: -4px;
filter: blur(20px);
border: 4px solid transparent;
background: var(--glow);
border-radius: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .cta-button {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .cta-button {
    font-size: 0.95rem;
    padding: 0.6rem 1.1rem;
  }
  .service-card h3 {
    font-size: 0.95rem; 
  }
}


/* Process Section ---------------------------------------------------------------------------------------------------------------------------------*/
.process-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Section styles */
.process-section {
  background-color: var(--secondary-color);
  padding: 3rem 0; /* Reduced padding for better mobile experience */
  font-family: var(--font-family);
}

/* Section title */
.section-title {
  font-size: clamp(2rem, 5vw, 2.5rem); /* Responsive font size */
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
  padding: 0 1rem; /* Added padding for small screens */
}

/* Grid layout */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem; /* Reduced gap for mobile */
  position: relative;
  padding-bottom: 2rem;
}

/* 2 columns on small tablets */
@media (min-width: 600px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem; /* Restore original gap */
  }
}

/* 4 columns on medium+ */
@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Each step */
.process-step {
  background: white;
  padding: 1.5rem 1rem 2rem; /* Reduced padding for better proportions */
  text-align: center;
  position: relative;
  border-radius: 0.75rem; /* Slightly larger radius for modern look */
  box-shadow: 0 5px 20px rgba(91, 50, 50, 0.1); /* Softer shadow */
  transition: all 0.3s ease; /* Transition all properties */
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%; /* Ensure equal height */
}

.process-step:hover {
  transform: translateY(-8px); /* Slightly more pronounced hover effect */
  box-shadow: 0 15px 30px rgba(245, 73, 73, 0.15); /* More prominent shadow on hover */
}

/* Icon circle */
.icon-circle {
  width: 5rem; /* Slightly smaller for better proportions */
  font-size: 2.5rem; /* Adjusted font size */
  color: var(--primary-color);
  height: 5rem;
  background-color: rgba(245, 73, 73, 0.1);
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.process-step:hover .icon-circle {
  transform: scale(1.1);
  background-color: rgba(245, 73, 73, 0.15);
}

/* SVG icon */
.icon {
  width: 2.5rem; /* Adjusted size */
  height: 2.5rem;
  color: #f54949;
}

/* Step title */
.process-step h3 {
  font-size: 1.125rem; /* Slightly smaller for better hierarchy */
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #111827;
}

/* Step description */
.process-step p {
  font-size: 0.95rem; /* Slightly smaller for better proportions */
  color: #4b5563;
  margin: 0;
  line-height: 1.5;
}

/* Number indicator (optional addition) */
.step-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
}

/* Arrow between steps - only on md+ */
.arrow {
  display: none;
}

@media (min-width: 768px) {
  .arrow {
    display: block;
    position: absolute;
    top: 50%;
    right: -1.25rem; /* Adjusted position */
    transform: translateY(-50%);
    font-size: 1.75rem; /* Slightly smaller */
    color: #f54949;
    user-select: none;
    z-index: 2; /* Ensure it appears above other elements */
  }

  /* Hide arrow on last step */
  .process-step:last-child .arrow {
    display: none;
  }
  
  /* Adjust process step padding for larger screens */
  .process-step {
    padding: 2rem 1rem 2.5rem;
  }
}

/* Mobile-first adjustments */
@media (max-width: 480px) {
  .process-step {
    padding: 1.25rem 0.75rem 1.75rem;
    margin: 0 0.5rem; /* Add slight horizontal margin */
  }
  
  .icon-circle {
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .icon {
    width: 2rem;
    height: 2rem;
  }
  
  .process-step h3 {
    font-size: 1.05rem;
  }
  
  .process-step p {
    font-size: 0.9rem;
  }
  
  .process-section {
    padding: 2rem 0;
  }
}

/* Animation for step appearance */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.process-step {
  animation: fadeInUp 0.5s ease forwards;
}

/* Add delay for staggered animation */
.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }

/* Focus states for accessibility */
.process-step:focus-within {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}


/*Marquee Section ---------------------------------------------------------------------------------------------------------------------------------*/
.awards h2 {
  text-align: center;
  margin-top: 1rem;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.wrapper {
  width: 90%;
  max-width: 1400px; /* Increased max-width to accommodate more gap */
  margin-inline: auto;
  position: relative;
  height: calc(var(--item-size) + 40px);
  margin-top: 2rem;
  margin-bottom: 4rem;
  overflow: hidden;
  mask-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 1) 10%,
      rgba(0, 0, 0, 1) 90%,
      rgba(0, 0, 0, 0)
  );
  padding: 1.5rem 0;
}

.scroller {
  width: calc((var(--item-size) + var(--item-gap)) * var(--items-count) * 2);
  display: flex;
  animation: scrollLeft var(--animation-duration) linear infinite;
  gap: var(--item-gap); /* Added gap between items */
}

/* Scroll animation */
@keyframes scrollLeft {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(calc(-1 * (var(--item-size) + var(--item-gap)) * var(--items-count)));
  }
}

/* Items */
.item {
  width: var(--item-size);
  height: var(--item-size);
  flex-shrink: 0;
  background-color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.item:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.1);
}

.item img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  border-radius: 50%;
}

.item a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* Decorative elements */
.conveyor-belt {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, #ff9d9d, #90c0ff, #d374ff);
  border-radius: 5px;
  opacity: 0.7;
}

/* Controls for adjusting gap */
.controls {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
  text-align: center;
  max-width: 600px;
}

.controls h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

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

/* Responsive adjustments */
@media (max-width: 900px) {
  :root {
      --item-size: 150px;
      --animation-duration: 25s;
      --item-gap: 40px;
  }
  .wrapper {
      height: calc(var(--item-size) + 30px);
  }
}

@media (max-width: 600px) {
  :root {
      --item-size: 120px;
      --animation-duration: 20s;
      --item-gap: 30px;
  }
  .wrapper {
      height: calc(var(--item-size) + 20px);
  }
  .awards h2 {
      font-size: 2rem;
  }
}

@media (max-width: 480px) {
  :root {
      --item-size: 100px;
      --animation-duration: 20s;
      --item-gap: 20px;
  }
  .wrapper {
      height: calc(var(--item-size) + 20px);
  }
}
/* About Section ----------------------------------------------------------------------------------------------------------------------------------------*/
.about-section {
  padding: 4rem 1rem;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 5rem;
  max-width: 1800px;
  margin: 0 auto;
  flex-wrap: nowrap; /* keep items in one row */
}

.about-image {
  order: 1; /* first item */
  flex: 1 1 40%;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-content {
  order: 2; /* second item */
  flex: 1 1 55%;
}

.about-content h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.about-content p {
  font-size: 20px;
  line-height: 1.6;
  font-family: var(--font-family);
  margin-bottom: 2rem;
}

.cta-button1 {
  border-radius: 1rem;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.1ch;
  background: var(--secondary-color);
  border: 4px solid transparent;
  box-shadow: 0 1px hsl(0 0% 100% / 0.15) inset;
  cursor: pointer;
  background:
    linear-gradient(rgb(255, 191, 191), rgb(255, 191, 191)) padding-box,
    var(--glow),
    linear-gradient(to right, rgb(249, 221, 221), rgb(249, 221, 221),rgb(249, 221, 221)) border-box;
  transition: background-size 0.24s;
  touch-action: none;
  position: relative;
  padding: 15px 25px;
  text-decoration: none;
}

.cta-button1::before {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: 0 1px hsl(0 0% 100% / 0.15) inset;
  background: var(--bg);
  z-index: 2;
  border-radius: 1rem;
}

.cta-button1 span {
  background: var(--glow), #ffffff;
  background-clip: text;
  color: transparent;
  height: 100%;
  width: 100%;
  font-size: 1rem;
  z-index: 5;
  position: relative;
  inset: 0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .about-container {
    gap: 3rem;
  }
  .about-content h2 {
    font-size: 1.75rem;
  }
  .about-content p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 1.5rem;
  }
  .cta-button1 {
    padding: 12px 22px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    gap: 2rem;
  }
  .about-image,
  .about-content {
    flex: 1 1 100%;
    text-align: center; /* center all inline content inside */
  }
  .about-content h2 {
    font-size: 1.5rem;
  }
  .about-content p {
    font-size: 16px;
    text-align: center;
  }
  .cta-button1 {
    margin: 0 auto;      /* center block button */
    display: inline-block; /* make sure button shrinks to content */
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 3rem 1rem;
  }
  .about-content h2 {
    font-size: 1.25rem;
  }
  .about-content p {
    font-size: 14px;
    text-align: center;
  }
  .cta-button1 {
    padding: 8px 18px;
    font-size: 0.8rem;
  }
}

/* start: Gallery Section ---------------------------------------------------------------------------------------------------------------------------------*/
.photo-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 16px;
}

.photo-section {
  overflow: hidden;
  position: relative;
}

/* Use relative width for gradient overlay */
.photo-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60vw; /* instead of fixed 940px */
  max-width: 940px;
  height: 20%;
  z-index: 1;
  pointer-events: none;
}

.photo-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20vh; /* relative height */
  max-height: 300px;
  background-image: linear-gradient(0deg, var(--primary-color), transparent);
  z-index: 1;
  pointer-events: none;
}

.photo-wrapper {
  position: relative;
}

/* Use relative width and height */
.photo-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 35vw; /* instead of 540px */
  max-width: 540px;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 1;
  padding: 1rem;
}

.photo-content span{
  background: linear-gradient(to right, red, blue);
  background-clip: text;
  color: transparent;
  font-size: 3rem;
}

.photo-content h1 {
  font-size: clamp(1.5rem, 2vw, 2.25rem); /* responsive font size */
  color: #000000;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.photo-content p {
  color: #000000;
  line-height: 1.5;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

/* Use relative padding and height */
.photo-images-box {
  padding-left: 20vw; /* instead of 300px */
  min-height: 50vh;   /* instead of 500px */
  height: 80vh;       /* instead of 100vh */
  max-height: 900px;
}

/* Flex container with rotation */
.photo-images-wrapper {
  display: flex;
  transform: rotateZ(15deg);
  gap: 2rem;
}

/* Animated images */
.photo-images {
  margin-top: -10vh; /* relative margin */
  /* margin-left: 5rem; ---------- EDIT PHOTO CAMERA*/ 
  margin-right: 2rem;
  animation: animate var(--duration, 10s) infinite linear;
}

.photo-images:hover {
  animation-play-state: paused;
}

.photo-images a {
  display: block;
  width: 10vw; /* relative width */
  max-width: 160px;
  height: 10vw;
  max-height: 160px;
  margin-bottom: 2rem;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.photo-images a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 4px var(--primary), 0 0 0 6px var(--secondary);
}

.photo-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Animation keyframes */
@keyframes animate {
  0% {
      transform: translateY(0);
  }
  100% {
      transform: translateY(-50%);
  }
}

/* Responsive adjustments */
@media (max-width: 1375px) {
  .photo-section::before {
    display: none;
  }
  .photo-section {
    height: auto;      /* let content define height */
    max-height: 80vh;  /* or a smaller fixed height */
    padding-top: 2rem; /* adjust padding if needed */
    padding-bottom: 2rem;
  }
  .photo-content{
    display:flex;
    flex-direction: column;      /* stack heading and paragraph vertically */
    align-items: flex-start;     /* align items to the left horizontally */
    justify-content: flex-start; /* align items to the top vertically */
  }
  .photo-content span{
    font-size: 2rem;
  }
}
/* Tablets and smaller desktops */
@media (max-width: 1024px) {
  .photo-section::before {
    width: 50vw;
  }
  .photo-content {
    width: 40vw;
  }
  .photo-images-box {
    padding-left: 15vw;
    min-height: 45vh;
    height: 70vh;
  }
  .photo-images a {
    width: 12vw;
    height: 12vw;
    max-width: 140px;
    max-height: 140px;
  }
  .photo-section {
    height: auto;      /* let content define height */
    max-height: 90vh;  /* or a smaller fixed height */
    padding-top: 2rem; /* adjust padding if needed */
    padding-bottom: 2rem;
  }
}

/* iPads and larger phones */
@media (max-width: 768px) {
  .photo-section::before {
    width: 60vw;
  }
  .photo-content {
    position: relative;
    width: 90%;
    height: auto;
    padding: 0 1rem 2rem;
    text-align: center;
  }
  .photo-images-box {
    padding-left: 0;
    min-height: auto;
    height: auto;
  }
  .photo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .photo-images {
    margin-top: 0;
    margin-right: 0;
    animation: animate var(--duration, 15s) infinite linear;
  }
  .photo-images a {
    width: 25vw;
    height: 25vw;
    max-width: 120px;
    max-height: 120px;
    margin-bottom: 1rem;
  }
  .photo-content h1 {
    font-size: 1.5rem;
    text-align: left;
  }
  .photo-content p {
    font-size: 1rem;
    text-align: left;
  }
  .photo-section {
    height: auto;      /* let content define height */
    max-height: 80vh;  /* or a smaller fixed height */
    padding-top: 2rem; /* adjust padding if needed */
    padding-bottom: 2rem;
  }
  .photo-content span{
    font-size: 1.5rem;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .photo-content{
    margin-bottom:5rem;
  }
  .photo-content h2 span{
    font-size: 2rem;
  }
  .photo-content p span{
    font-size: 1rem;
    text-align: left;
  }
  .photo-images a {
    width: 35vw;
    height: 35vw;
    max-width: 90px;
    max-height: 90px;
  }
  .photo-images-box {
    height: 40vh; /* reduce height from 100vh to 40vh */
    max-height: 40vh; /* remove fixed min-height */
    padding-left: 1rem; /* reduce left padding for smaller screens */
  }

  .photo-section::after {
    height: 40vh; /* reduce gradient height */
  }
  .photo-section {
    height: auto;      /* let content define height */
    max-height: 70vh;  /* or a smaller fixed height */
    padding-top: 2rem; /* adjust padding if needed */
    padding-bottom: 2rem;
  }
}

/****-------SMALLEST MOBILE PIC CHANGE IF REMOVED-------*/
.photo-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 540px;
  height: 100%;
  display: flex;
  align-items: left;
  z-index: 1;
}
/* end: Gallery Section */

/* FAQ Section --------------------------------------------------------------------------------------------------------------------------------------*/
.faq-section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1rem;
  font-family: var(--font-family);
}

.faq-title {
  font-size: 2.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, red, blue);
  background-clip: text;
  color: transparent;
}

.faq-subtitle {
  text-align: center;
  color: #6c6a8a;
  margin-bottom: 2rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(26, 23, 78, 0.07);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item.open {
  box-shadow: 0 4px 16px rgba(26, 23, 78, 0.12);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  padding: 1.5rem 2rem 1.5rem 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-family);
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover,
.faq-question:focus {
  background: #f7f7fa;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: visible;
  background: #fcfcfe;
  color: var(--text-color);
  line-height: 2;
  font-size: 1rem;
  padding: 0 2rem;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), padding 0.4s;
}

.faq-item.open .faq-answer {
  padding: 1rem 2rem 1.5rem 2rem;
  max-height: 600px; /* Adjust as needed for content */
  overflow: visible;
}

.faq-answer p {
  margin-bottom: 0.5rem;
}

.faq-answer ul {
  list-style-type: disc;
  list-style-position: inside;
  padding-left: 1.2em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  color: var(--text-color);
}

/* Gallery Section -----------------------------------------------------------------------------------------------------------------------------------*/
.container-gallery {
  width:100%;
  height:70%;
  background: var(--secondary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gallery {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  margin-top: 2rem;
  text-align: center;
  background: linear-gradient(to right, var(--primary-color), rgb(16, 68, 255) );
  background-clip: text;
  color: transparent;
}

.img-box {
  width: 100px;
  height: 480px;
  margin: 15px;
  border-radius: 50px;
  background: url('../images/staff1.webp');
  background-size: cover;
  background-position: center;
  position:relative;
  transition: width 0.5s;
  overflow: hidden; /* Ensures content stays inside */
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.img-box:nth-child(2){
  background: url('../images/Staff3.webp');
  background-size: cover;
  background-position: center;
}
.img-box:nth-child(3){
  background: url('../images/staff4.webp');
  background-size: cover;
  background-position: center;
}
.img-box:nth-child(4){
  background: url('../images/staff4.webp');
  background-size: cover;
  background-position: center;
}
.img-box:nth-child(5){
  background: url('../images/Staff5.png');
  background-size: cover;
  background-position: center;
}
.img-box:nth-child(6){
  background: url('../images/Staff6.jpg');
  background-size: cover;
  background-position: center;
}
.img-box:nth-child(7){
  background: url('../images/Staff7.png');
  background-size: cover;
  background-position: center;
}
.img-box:nth-child(8){
  background: url('../images/Staff8.png');
  background-size: cover;
  background-position: center;
}
.img-box:nth-child(9){
  background: url('../images/Staff9.png');
  background-size: cover;
  background-position: center;
}
.img-box:nth-child(10){
  background: url('../images/Staff10.png');
  background-size: cover;
  background-position: center;
}


.img-box h3 {
  background: linear-gradient(to right, rgb(239, 171, 171), rgb(159, 3, 243), rgb(239, 171, 171));
  background-clip: text;
  color: transparent;
  position:absolute;
  left: 0;
  bottom: 50%;
  padding: 10px 8px; /* Adjust as needed */
  opacity: 0;
  transition: opacity 0.5s, bottom 0.5s;
  word-break: break-word;
  white-space: normal;
  box-sizing: border-box;
}
.img-box:hover {
  width: 200px;
  cursor: pointer;
}

.img-box:hover h3 {
  opacity: 1;
  bottom: 20%;
}

@media (max-width: 768px) {
  .container-gallery {
    width: 100%;
    height: 50%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .gallery {
    display: flex;
    flex-wrap: wrap;          /* Allow wrapping to multiple rows */
    justify-content: center;
    align-items: center;
    gap: 20px;                /* Space between images */
    width: 100%;
  }

  .img-box {
    flex: 0 0 20%;            /* Approximately 2 images per row */
    max-width: 20%;
    height: 180px;
    border-radius: 30px;
    margin: 0;
    transition: width 0.5s;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
  }

  .img-box:hover {
    width: 60%;               /* Expand on hover */
    max-width: 60%;
    z-index: 10;
  }

  .gallery-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    text-align: center;
  }
  .img-box:hover h3 {
    font-size: 15px;
    text-align: left;
    bottom: 0%;
  }
}
@media (max-width: 480px) {
  .gallery {
    margin-bottom: 1rem;
  }

}

/* Contact Section ---------------------------------------------------------------------------------------------------------------------------------*/

.contact {
  background-color: var(--secondary-color);
  padding: 3rem 1rem;
}

.contact h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-box{
  text-align: center;
  width:100%;
}

.contact-container {
  display: flex;
  flex-wrap: nowrap; /* prevent wrapping */
  justify-content: space-between;
  gap: 1rem;
  max-width: 1300px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 1rem;
}

/* Each box and form */
.contact-box,
.contact-form {
  flex: 1 1 0;          /* flexible, equal width */
  min-width: 0;         /* prevent overflow */
  box-sizing: border-box;
  
}

/* Contact info styling */
.contact-info {
  background: #ffeaea;
  border-radius: 10px;
  padding: 1.2rem 1rem;
  font-family: Arial, sans-serif;
  color: #222;
  box-shadow: 0 2px 8px rgba(200,0,0,0.05);
  margin-bottom: 1rem; /* or try 1.2rem for more space */
  width:100%;
  
}

.contact-info h3 {
  color: #c0392b;
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}
.contact-info address {
  font-style: normal;
  margin-bottom: 0.7rem;
  line-height: 1.5;
  font-size: 1rem;
}
.contact-details {
  font-size: 1rem;
  line-height: 1.6;
}
.contact-details strong {
  color: #c0392b;
  font-weight: 600;
}
.contact-details a {
  color: #1044ff;
  text-decoration: none;
  word-break: break-all;
}
.contact-details a:hover {
  text-decoration: underline;
}

iframe {
  width: 100%;
  height: 250px;
  border: 0;
}

/* Make scroll margin space top for contact section */
#contact{
  scroll-margin-top: 150px;
}

/* Form styles */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-form input,
#contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

#contact-form textarea {
    height: 150px;
    resize: vertical;
}
#contact-form select {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}


.submit-button {
  border-radius: 1rem;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.1ch;
  background: var(--secondary-color);
  border: 4px solid transparent;
  box-shadow: 0 1px hsl(0 0% 100% / 0.15) inset;
  cursor: pointer;
  background:
    linear-gradient(rgb(255, 191, 191), rgb(255, 191, 191)) padding-box,
    var(--glow),
    linear-gradient(to right, rgb(249, 221, 221), rgb(249, 221, 221),rgb(249, 221, 221)) border-box;
  transition: background-size 0.24s;
  position: relative;
  padding: 15px 25px;
}
.submit-button::before {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: 0 1px hsl(0 0% 100% / 0.15) inset;
  background: var(--bg);
  z-index: 2;
  border-radius: 1rem;
}
.submit-button span {
  background: var(--glow), #ffffff;
  background-clip: text;
  color: transparent;
  height: 100%;
  width: 100%;
  font-size:1rem;
  z-index: 5;
  position: relative;
  inset: 0;
}
:root:has(submit-button:active) {
  --size: 300px;
}
.submit-button::after {
  content: "";
  position: absolute;
  inset: -4px;
  filter: blur(20px);
  border: 4px solid transparent;
  background: var(--glow);
  border-radius: 1rem;
}

@media (max-width: 480px) {
  .contact-container {
    display: flex;
    flex-wrap: nowrap;          /* single row */
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0 0.5rem;
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;         /* prevent scroll */
  }

  .contact-box,
  .contact-form {
    flex: 1 1 33.33%;           /* equal width thirds */
    max-width: 33.33%;
    min-width: 0;               /* prevent overflow */
    box-sizing: border-box;
  }

  .contact-info {
    background-color: #ffeaea;
    border-radius: 8px;
    padding: 0.8rem;
    font-size: 0.3rem;
    line-height: 1.3;
    word-break: break-word;
  }

  .contact-info h3 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
    color: #c0392b;
  }
  .contact-info address {
    font-size: 0.7rem;
    line-height: 1.3;
    word-break: break-word;
    margin-top: 0.6rem;
  }
  .contact-info address span{
    font-size: 0.7rem;
    line-height: 1.3;
    word-break: break-word;
  }
  .contact-details {
    font-size: 0.69rem;
    line-height: 1.3;
    word-break: break-word;
  }

  iframe {
    width: 100%;
    height: 140px;
    border-radius: 8px;
    border: 0;
    display: block;
    margin-top: 0.5rem;
  }

  #contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  #contact-form input,
  #contact-form textarea,
  #contact-form select {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.72rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    box-sizing: border-box;
  }

  #contact-form textarea {
    height: 80px;
    resize: vertical;
  }

  .submit-button {
    padding: 10px 0;
    font-size: 0.9rem;
    width: 100%;
    border-radius: 1rem;
    cursor: pointer;
  }

  .submit-button span {
    font-size: 0.85rem;
    line-height: 1.3;
    word-break: break-word;
  }

  .contact h2 {
    font-size: 1.3rem;
    margin: 1rem 0;
    text-align: center;
  }
}

/* Floating WhatsApp Button ------------------------------------------------------------------------------------------------------------------------------------------------*/
.whatsapp-float {
  position: fixed;          /* Stays in place on scroll */
  bottom: 30px;             /* Distance from bottom */
  right: 30px;              /* Distance from right */
  background-color: #25D366; /* WhatsApp green */
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;       /* Circular */
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;            /* Above all content */
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  animation: pulse 1s infinite alternate;
}

.whatsapp-float i {
  font-size: 32px;
}

/* Optional: Add a gentle pulse animation */
@keyframes pulse {
  from { box-shadow: 0 4px 10px rgba(37, 211, 102, 0.5); }
  to { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8); }
}

/* Responsive: Adjust for small screens */
@media (max-width: 480px) {
  .whatsapp-float {
      width: 55px;
      height: 55px;
      bottom: 20px;
      right: 20px;
  }
  .whatsapp-float i {
      font-size: 28px;
  }
}
/* Login Page Section ----------------------------------------------------------------------------------------------------------------------------*/
/* Login Page Section ----------------------------------------------------------------------------------------------------------------------------*/
/* Login Page Section ----------------------------------------------------------------------------------------------------------------------------*/
/* Login Page Section ----------------------------------------------------------------------------------------------------------------------------*/
/* Login Page Section ----------------------------------------------------------------------------------------------------------------------------*/


*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

.auth-page-wrapper {
  background-color: var(--secondary-color);
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 80vh;
  padding: 2rem 0;
}

.login-container{
  background-color: #fff;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  width: 768px;
  max-width: 100%;
  min-height: 480px;
}

.login-container p{
  font-size: 18px;
  line-height: 20px;
  letter-spacing: 0.3px;
  margin: 20px 0;
}

.login-container span{
  font-size: 16px;
}

.login-container a{
  color: #333;
  font-size: 16px;
  text-decoration: none;
  margin: 15px 0 10px;
}

/* Sign in Button left side*/
.login-container button{
  background-color: var(--primary-color);
  color: #fff;
  font-size: 12px;
  padding: 10px 45px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 10px;
  cursor: pointer;
}

.login-container button.hidden{
  background-color: transparent;
  border-color: #ffffff;
}

.login-container form{
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  height: 100%;
}

.login-container input{
  background-color: #eee;
  border: none;
  margin: 8px 0;
  padding: 10px 15px;
  font-size: 13px;
  border-radius: 8px;
  width: 100%;
  outline: none;
}

.form-container{
  position: absolute;
  top: 0;
  height: 100%;
  transition: all 0.6s ease-in-out;
}

.form-container h1{
 font-size: 2rem;
 background: linear-gradient(to right, var(--primary-color), rgb(16, 68, 255) );
 background-clip: text;
 color: transparent;
}
.form-container span{
 text-align: center;
 font-size: 13px;
}

.sign-in{
  left: 0;
  width: 50%;
  z-index: 2;
}

.login-container.active .sign-in{
  transform: translateX(100%);
}

.sign-up{
  left: 0;
  width: 50%;
  opacity: 0;
  z-index: 1;
}

.login-container.active .sign-up{
  transform: translateX(100%);
  opacity: 1;
  z-index: 5;
  animation: move 0.6s;
}


@keyframes move{
  0%, 49.99%{
      opacity: 0;
      z-index: 1;
  }
  50%, 100%{
      opacity: 1;
      z-index: 5;
  }
}

.social-icons{
  margin: 20px 0;
}

.social-icons a{
  border: 1px solid #000000;
  border-radius: 20%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 3px;
  width: 40px;
  height: 40px;
}

.toggle-container{
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: all 0.6s ease-in-out;
  border-radius: 150px 0 0 100px;
  z-index: 900;
}

.login-container.active .toggle-container{
  transform: translateX(-100%);
  border-radius: 0 150px 100px 0;
}

.toggle{
  background-color: var(--primary-color);
  height: 100%;
  background: linear-gradient(to right, #f06565, var(--primary-color));
  color: #ffffff;
  position: relative;
  left: -100%;
  height: 100%;
  width: 200%;
  transform: translateX(0);
  transition: all 0.6s ease-in-out;
}

/* Color gradient right side */
.toggle h1{
background: linear-gradient(to right, rgb(4, 159, 255) , rgb(35, 228, 186), rgb(251, 255, 20));
 background-clip: text;
 color: transparent;
}

.login-container.active .toggle{
  transform: translateX(50%);
}

.toggle-panel{
  position: absolute;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 30px;
  text-align: center;
  top: 0;
  transform: translateX(0);
  transition: all 0.6s ease-in-out;
}

.toggle-left{
  transform: translateX(-200%);
}

.login-container.active .toggle-left{
  transform: translateX(0);
}

.toggle-right{
  right: 0;
  transform: translateX(0);
}

.login-container.active .toggle-right{
  transform: translateX(200%);
}

/* Responsive adjustments for tablets and smaller screens */
@media (max-width: 768px) {
.login-container {
 width: 95%;                  /* Full width of viewport */
 min-height: 480px;
 border-radius: 20px;          /* Slightly smaller radius */
 box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.login-container form {
 padding: 0 20px;              /* Reduce horizontal padding */
}

.login-container button {
 padding: 10px 30px;
 font-size: 11px;
}

.form-container h1 {
 font-size: 1.5rem;
}
.form-container span{
 font-size: 16px;
}

.social-icons a {
 width: 35px;
 height: 35px;
 margin: 0 2px;
}

.toggle-container {
 border-radius: 100px 0 0 70px;
}

.toggle h1 {
 font-size: 1.5rem;
}
}

/* Further scaling for mobile phones */
@media (max-width: 480px) {
.login-container {
 min-height: 420px;
}
.login-container a{
  font-size: 0.8rem;
}

.login-container button {
 padding: 8px 25px;
 font-size: 10px;
}

.form-container h1 {
 font-size: 1.2rem;
}
.form-container span{
 font-size: 0.8rem;
}

.social-icons a {
 width: 30px;
 height: 30px;
 margin: 0 1px;
}

.toggle-container {
 border-radius: 80px 0 0 50px;
}

.toggle h1 {
 font-size: 1.2rem;
}


}



/* FAQ Page Styles ---------------------------------------------------------------------------------------------------------------------------------*/
/* FAQ Page Styles ---------------------------------------------------------------------------------------------------------------------------------*/
/* FAQ Page Styles ---------------------------------------------------------------------------------------------------------------------------------*/
/* FAQ Page Styles ---------------------------------------------------------------------------------------------------------------------------------*/
/* FAQ Page Styles ---------------------------------------------------------------------------------------------------------------------------------*/

/* Container to center content and add padding [For FAQ PAGE]*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    margin-top: 20px; /* Add margin to push content below navbar */
}

.faq-container {
  max-width: 100%;
  margin: 0 auto;
  margin-top: 3rem;
  margin-left: 2rem;
  margin-right: 2rem;
  justify-content: space-evenly;
}

.faq-hero {
  background: linear-gradient(180deg, var(--primary-color),#f97c6f, #fbb09a,#f3cabd  ,var(--secondary-color), white);
  padding: 50px 0 50px 0;
  text-align: center;
  margin-bottom: 0rem;
  position: relative;
  overflow: hidden;
}

.faq-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1600 400"><path fill="rgba(255,255,255,0.1)" d="M0 0L1600 0 1600 400 0 400Z"/></svg>');
}

.faq-hero h1 {
  font-size: 3.5rem;
  color: #301818;
}

.faq-hero p {
    color: #301818;
    font-size: 1.3rem;
    margin: 0 auto;
    max-width: 800px;
    line-height: 1.8;
    opacity: 0.9;
}


/* FAQ Category Grid [PAGE]*/
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 1fr;
    gap: 2rem;
    max-width: 100%;
    margin: 0 auto;
    grid-auto-flow: row;
}

.category-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.category-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    text-align:center;
    background: linear-gradient(to right, rgb(4, 182, 119), rgb(17, 28, 220) ,red);
    background-clip: text;
    color: transparent;
}

.container h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 2rem;
  text-align: left;
  background: linear-gradient(to right, var(--primary-color), rgb(16, 68, 255) );
  background-clip: text;
  color: transparent;
}

section[id="costs"], div[id="costs"] {
  scroll-margin-top: 200px; /* Adjust based on navbar height */
}

section[id="situation"], div[id="situation"] {
  scroll-margin-top: 200px; /* Adjust based on navbar height */
}

section[id="regulations"], div[id="regulations"] {
  scroll-margin-top: 200px; /* Adjust based on navbar height */
}

section[id="maid-related"], div[id="maid-related"] {
  scroll-margin-top: 200px; /* Adjust based on navbar height */
}

section[id="mom"], div[id="mom"] {
  scroll-margin-top: 200px; /* Adjust based on navbar height */
}

/* Responsive: Never fewer than 3 columns */
@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .category-card h3{
    font-size: 1.1rem;
  }
  .category-card p{
    font-size: 0.9rem;
  }
}
@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*Services PAGE Section Styles---------------------------------------------------------------------------------------------------------------------------*/
/*Services PAGE Section Styles---------------------------------------------------------------------------------------------------------------------------*/
/*Services PAGE Section Styles---------------------------------------------------------------------------------------------------------------------------*/
/*Services PAGE Section Styles---------------------------------------------------------------------------------------------------------------------------*/

.services-section1 {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem 1rem;
}

.services-heading1 {
  text-align: center;
  font-size: 2.5rem;
  color: #c0392b;
  margin-bottom: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.category-title1 {
  font-size: 2rem;
  color: #b02a1a;
  margin: 2rem 0 1.5rem 0;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.services-grid1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.service-card1 {
  background: #fff8f3;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(192, 57, 43, 0.07);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  text-align: left;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.service-card1 a{
  text-decoration: none;
}
.service-card1:hover {
  box-shadow: 0 8px 32px rgba(192, 57, 43, 0.13);
  transform: translateY(-4px) scale(1.03);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.2rem;
  color: #fff;
}

.service-icon.maid {
  background: linear-gradient(135deg, #f15140 60%, #fea28b 100%);
}

.service-icon.misc {
  background: linear-gradient(135deg, #e17055 60%, #c0392b 100%);
}

.service-card1 h4 {
  font-size: 1.2rem;
  color: #b02a1a;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.service-card1 p {
  color: #7a3b2e;
  font-size: 1rem;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 700px) {
  .services-section1 {
    padding: 1rem 0.5rem;
  }
  .services-heading1 {
    font-size: 2rem;
  }
  .category-title1 {
    font-size: 1.8rem;
    margin-left: 1rem;
  }
  .services-grid1 {
    gap: 1.2rem;
  }
  .service-card1 {
    padding: 1.2rem 1rem;
  }
}

@media (max-width: 480px) {
  .services-grid1 {
    grid-template-columns: 1fr 1fr;
  }
  .category-title1{
    margin-left: 1rem;
  }
  .service-card1 p {
    font-size: 0.85rem;
  }
}

/* Myanmar Helper Styles ---------------------------------------------------------------------------------------------------------------------------------*/
/* Myanmar Helper Styles ---------------------------------------------------------------------------------------------------------------------------------*/
.back-to-services-btn {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: #c0392b;
  border: 2px solid #c0392b;
  border-radius: 24px;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(192,57,43,0.06);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  letter-spacing: 0.01em;
}

.back-to-services-btn:hover,
.back-to-services-btn:focus {
  background: #c0392b;
  color: #fff;
  box-shadow: 0 4px 16px rgba(192,57,43,0.13);
  text-decoration: none;
}
.sidebar {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align children (button and ToC) to the left */
  max-width: 270px; /* Match or slightly exceed your ToC width */
  margin-top: 3rem;
}

.toc a {
  color: #c0392b;
  text-decoration: none;
}
.toc a:hover {
  text-decoration: underline;
}
/* Container styles */
.blog-content {
flex: 1;
max-width: 100%;
background: #fff8f3;
border-radius: 12px;
padding: 2rem;
box-shadow: 0 5px 15px rgba(192, 57, 43, 0.1);
color: #7a3b2e;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
}
.blog-content img{
  object-position: 50% 10%; /* shift image up to show face */
}
/* Headings */
.blog-content h1,
.blog-content h2,
.blog-content h3 {
color: #b02a1a;
margin-bottom: 1rem;
scroll-margin-top: 150px;
}

.blog-content h1 {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 0.5rem;
}

.blog-content h2 {
font-size: 2rem;
font-weight: 600;
}

.blog-content h3 {
font-size: 1.4rem;
font-weight: 600;
}

/* Paragraphs */
.blog-content p {
margin-bottom: 1rem;
font-size: 1rem;
}

/* Lists */
.blog-content ul {
margin-left: 1.5rem;
margin-bottom: 1rem;
}

.blog-content ul li {
margin-bottom: 0.5rem;
}

/* Tables */
.blog-content table {
width: 100%;
border-collapse: collapse;
margin: 2rem 0;
}

.blog-content table,
.blog-content th,
.blog-content td {
border: 1px solid #f0d6d5;
}

.blog-content th,
.blog-content td {
padding: 0.75rem 1rem;
text-align: left;
}

.blog-content th {
background-color: #f7d6d5;
color: #b02a1a;
}

/* Callout box */
.blog-content .callout {
background: #fcebea;
border-left: 6px solid #c0392b;
padding: 1rem 1.5rem;
margin: 2rem 0;
color: #7a3b2e;
font-style: italic;
border-radius: 6px;
}

/* Inline icons for checkmarks and crosses */
.blog-content .icon-yes::before {
content: "✅ ";
}

.blog-content .icon-no::before {
content: "❌ ";
}

/* Featured Image */
.blog-content .featured-image {
width: 100%;
max-height: 400px;
object-fit: cover;
border-radius: 12px;
margin: 1rem 0 2rem;
box-shadow: 0 4px 20px rgba(192, 57, 43, 0.2);
}

/* Links */
.blog-content a {
color: #c0392b;
text-decoration: none;
transition: color 0.2s;
}

.blog-content a:hover {
text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
.blog-content {
padding: 1rem;
}
.blog-content h1 {
font-size: 1.8rem;
}
.blog-content h2 {
font-size: 1.5rem;
}
.blog-content h3 {
font-size: 1.2rem;
}
}

/* Featured Image */
.featured-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin: 1rem 0 2rem;
  box-shadow: 0 4px 20px rgba(192, 57, 43, 0.2);
}

/* Page Layout */
.page-container {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto 5rem;
  padding: 0 1rem;
}

/* Table of Contents Sidebar */
.toc {
  flex: 0 0 250px;
  position: sticky;
  top: 220px; /* Adjust if you have a fixed header */
  height: max-content;
  background: #fff8f3;
  border: 1px solid #f0d6d5;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.1);
  font-size: 0.95rem;
  border: 2px solid red;
}
.toc h2 {
  margin-top: 0;
  color: #c0392b;
  font-weight: 700;
  margin-bottom: 1rem;
}
.toc ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.toc li {
  margin-bottom: 0.75rem;
}
.toc a {
  color: #7a3b2e;
  text-decoration: none;
  transition: color 0.2s;
}
.toc a:hover,
.toc a.active {
  color: #c0392b;
  font-weight: 600;
  text-decoration: underline;
}

/* Blog Content */
.blog-content {
  flex: 1;
  max-width: 100%;
  background: #fff8f3;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(192, 57, 43, 0.1);
}

/* Responsive */
@media (max-width: 900px) {
  .page-container {
    flex-direction: column;
  }
  .toc {
    display: none;
  }
  .blog-content {
    padding: 1rem;
  }
}


/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 3rem 1rem 1rem;
    width: 100%;
}

.footer-container{
	max-width: 1170px;
	margin:auto;
}
.row{
	display: flex;
	flex-wrap: wrap;
}
.footer-col ul{
	list-style: none;
}
.footer{
	background-color: var(--primary-color);
    padding: 70px 0;
}
.footer-col{
   width: 25%;
   padding: 0 15px;
}
.footer-col h4{
	font-size: 1.1rem;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}
.footer-col h4::before{
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: #ffffff; /*Color of underline*/
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}
.footer-col ul li:not(:last-child){
	margin-bottom: 10px;
}
.footer-col ul li a{
	font-size: 1rem;
	text-transform: capitalize;
	color: #ffffff;
	text-decoration: none;
	font-weight: bold;
	color: var(--secondary-color); /*Color of text*/
	display: block;
	transition: all 0.3s ease;
}
.footer-col ul li a:hover{
	color: #ffffff;
	padding-left: 8px;
}
.footer-col .social-links a{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
  text-decoration: none;
}

.footer-col .social-links a:hover{
	color: #24262b;
	background-color: #ffffff;
}

.footer-bottom {
  text-align: center;
  color: var(--secondary-color);
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--secondary-color);
}

@media (max-width: 1024px) {
  .footer-col ul li a{
    font-size: 1rem;
  }
  .footer-bottom{
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .footer-col ul li a{
    font-size: 0.8rem;
  }
  .footer-bottom{
    font-size: 0.7rem;
  }
}