body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  height: 100%;
  width: 100%; /* Ensure width is 100% of the viewport */
  font-family: 'Raleway', serif; /* Apply the custom font */
}

main {
  scroll-snap-type: y proximity;
  height: 100vh;
  overflow-y: scroll;
  width: 100%; /* Ensure main does not exceed viewport width */
}

section {
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  position: relative;
  width: 100%; /* Ensure section does not exceed viewport width */
  box-sizing: border-box; /* Include padding and border in element's total width and height */
}

#section1 {
  position: relative;
  background: linear-gradient(135deg, #18072e, #2f7654);
  overflow: hidden;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#section7 {
  scroll-snap-align: none;
  height: 100vh;
}

.hero-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  height: calc(100vh - 80px);
  z-index: 2;
}

/* Background elements */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.animated-shape {
  position: absolute;
  opacity: 0.1;
  filter: blur(2px);
  background: #48bb70;
}

.animated-shape.shape1 {
  top: 15%;
  left: 10%;
  width: 400px;
  height: 400px;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph 15s linear infinite, float 20s ease-in-out infinite;
}

.animated-shape.shape2 {
  bottom: 10%;
  right: 15%;
  width: 300px;
  height: 300px;
  border-radius: 50% 50% 30% 70% / 30% 30% 70% 70%;
  animation: morph 18s linear infinite reverse, float 15s ease-in-out infinite 2s;
}

.animated-shape.shape3 {
  top: 60%;
  left: 50%;
  width: 250px;
  height: 250px;
  border-radius: 30% 70% 70% 30% / 30% 50% 50% 70%;
  animation: morph 16s linear infinite, float2 18s ease-in-out infinite 1s;
}

.animated-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(72, 187, 112, 0.15);
  filter: blur(10px);
}

.animated-circle.circle1 {
  top: -10%;
  right: 20%;
  width: 500px;
  height: 500px;
  animation: pulse 10s infinite ease-in-out;
}

.animated-circle.circle2 {
  bottom: -15%;
  left: 25%;
  width: 450px;
  height: 450px;
  animation: pulse 15s infinite ease-in-out 2s;
}

.animated-circle.circle3 {
  top: 40%;
  right: -10%;
  width: 350px;
  height: 350px;
  animation: pulse 12s infinite ease-in-out 1s;
}

@keyframes morph {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  50% {
    border-radius: 20% 60% 30% 70% / 70% 30% 50% 30%;
  }
  75% {
    border-radius: 60% 40% 70% 30% / 30% 40% 70% 60%;
  }
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(15px, -15px);
  }
  50% {
    transform: translate(5px, 20px);
  }
  75% {
    transform: translate(-15px, 10px);
  }
}

@keyframes float2 {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-20px, 10px);
  }
  50% {
    transform: translate(-5px, -15px);
  }
  75% {
    transform: translate(10px, 5px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.1;
  }
}

/* Hero Content */
.hero-content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 3;
  padding-right: 40px;
}

.hero-title {
  color: #ffffff;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-title-line {
  display: block;
}

.rotating-text {
    display: inline-block;
    position: relative;
    height: 1.2em;
    min-width: 200px;
    vertical-align: bottom;
}

.rotate-item {
    position: absolute;
    top: 0;
    left: 0;
    color: #48bb70;
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.rotate-item.active {
    opacity: 1;
    transform: translateY(0);
}

.rotate-item.fadeout {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Smaller font size for "Supported Accommodation" */
.rotate-item.smaller-text {
    font-size: 0.75em;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #e0e0e0;
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  gap: 20px;
}

.primary-button, .secondary-button {
  padding: 15px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 10;
  cursor: pointer;
  touch-action: manipulation;
}

.primary-button {
  background: #48bb70;
  color: white;
  box-shadow: 0 6px 15px rgba(72, 187, 112, 0.3);
}

.primary-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(72, 187, 112, 0.4);
}

.primary-button:hover::before {
  left: 100%;
}

.secondary-button {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* Hero Visual */
.hero-visual {
  flex: 1;
  position: relative;
  z-index: 3;
  max-width: 1500px; /* Increased from 650px */
  width: 100%; /* Increased from 95% */
  height: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container {
  width: 100%;
  max-width: 1500px;
  height: 850px; /* Increased from 650px */
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: none;
  margin-bottom: -120px;
  overflow: hidden; /* Ensure content doesn't overflow */
  margin-right: 0; /* Removed the 200px margin */
}

.image-slider {
  width: 100%;
  height: 100%;
  position: relative;
  margin-right: 0; /* Removed the 100px margin */
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
}

.slide.fadeout {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; /* Center the images */
  max-width: 100%;
  display: block;
  transition: transform 0.5s ease; /* Slower transition */
  transform: scale(1.05); /* Slightly scale up the image */
}

.slide.active img {
  transform: scale(1);
}

/* Location Bar */
.location-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  padding: 0 5%;
  z-index: 5;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.location-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 15px;
}

.location-icon img {
  width: 24px;
  height: 24px;
}

.location-text {
  flex: 1;
  padding-left: 15px;
}

.location-text p {
  color: #ffffff;
  font-size: 1rem;
  margin: 0;
}

.location-buttons {
    display: flex;
    gap: 15px;
}

.location-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(72, 187, 112, 0.2);
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-right: 100px;
}

.location-button:hover {
  background: rgba(72, 187, 112, 0.4);
}

.location-button svg {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Media Queries */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-content {
    padding-right: 20px;
  }
  
  .image-container {
    height: 750px;
  }
}

@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding-top: 80px;
    height: auto;
    min-height: calc(100vh - 80px);
  }
  
  .hero-content {
    max-width: 100%;
    padding-right: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .rotating-text {
    height: 60px;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-visual {
    max-width: 90%;
    width: 100%;
  }
  
  .image-container {
    height: 600px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  #section1 {
    padding-bottom: 80px;
  }
  
  .hero-content {
    margin-top: 60px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .rotating-text {
    height: 50px;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    z-index: 10;
    position: relative;
  }
  
  .primary-button, .secondary-button {
    width: 100%;
    padding: 12px 24px;
    font-size: 1rem;
    z-index: 15;
    position: relative;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
  }
  
  .image-container {
    height: 600px !important; /* Increased from 500px */
  }
  
  .location-bar {
    height: auto;
    padding: 15px 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .location-text {
    flex: 0 0 100%;
    margin: 10px 0;
    order: 2;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .location-text p {
    text-align: center;
    margin: 0 auto;
  }
  
  .location-icon {
    order: 1;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .location-button {
    order: 3;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .care-content {
    margin-bottom: -30px;
  }
  
  .care-image-container {
    margin-top: -20px;
  }
}

@media (max-width: 576px) {
  .hero-content {
    margin-top: 80px;
  }
  
  .hero-visual {
    max-width: 110%;
    width: 110%;
  }
  
  .image-container {
    height: 550px !important; /* Increased from 450px */
    width: 800px;
  }
  
  .slide img {
    object-position: center;
  }
  
  .care-content {
    padding: 25px;
    margin-bottom: -30px;
  }
  
  .care-image-container {
    height: 350px;
    margin-top: -20px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    margin-top: 100px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .rotating-text {
    height: 45px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    margin-bottom: -10px;
  }
  
  .hero-content {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5;
    position: relative;
  }
  
  .hero-cta {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
    z-index: 20;
    position: relative;
  }
  
  .primary-button, .secondary-button {
    min-height: 44px;
    min-width: 120px;
    z-index: 25;
    position: relative;
    pointer-events: auto;
  }
  
  .hero-title {
    text-align: center;
  }
  
  .rotating-text {
    text-align: center;
    justify-content: center;
  }
  
  .image-container {
    height: 500px !important; /* Increased from 400px */
    margin-bottom: 10px;
    margin-top: -100px;
  }
  
  .animated-shape.shape1 {
    width: 250px;
    height: 250px;
  }
  
  .animated-shape.shape2 {
    width: 200px;
    height: 200px;
  }
  
  .animated-shape.shape3 {
    width: 150px;
    height: 150px;
  }
  
  .animated-circle.circle1,
  .animated-circle.circle2,
  .animated-circle.circle3 {
    width: 300px;
    height: 300px;
  }
  
  .care-content {
    
    margin-bottom: -30px;
    margin-top: 100px;
  }
  
  .care-image-container {
    height: 300px;
    margin-top: -30px;
  }
}

.fixed-logo {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
  opacity: 1;
}


.fixed-logo img {
  width: 100px;
  height: 50px;
}

.fixed-logo.scrolling {
  opacity: 0;
}
/* Gradient backgrounds for each section */
#section1 {
  background: linear-gradient(180deg, #000000, #2f7654, #000000);
}

#section2 {
  background: linear-gradient(180deg, #000000, #2f7654, #000000);
  z-index: 3;
}

#section3 {
  background: linear-gradient(45deg, #000000, #2f7654, #000000);
}

#section4 {
  position: relative;
  overflow: hidden;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --top-left-color: rgba(124, 252, 0, 0);
  --top-right-color: rgba(0, 255, 255, 0);
  --bottom-left-color: rgba(255, 105, 180, 0);
  --bottom-right-color: rgba(255, 215, 0, 0);
  background: linear-gradient(135deg, #18072e, #2f7654);
  transition: all 0.3s ease;
  box-shadow: 
      inset -20px -20px 80px var(--top-left-color),
      inset 20px -20px 80px var(--top-right-color),
      inset -20px 20px 80px var(--bottom-left-color),
      inset 20px 20px 80px var(--bottom-right-color);
}

#section4::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at var(--mouse-x) var(--mouse-y),
      rgba(255, 255, 255, 0.15),
      transparent 50%
  );
  opacity: 1;
  mix-blend-mode: screen;
  pointer-events: none;
}

#section5 {
  width: 100%;
  height: 100vh;
  background: linear-gradient(45deg, #000000, #2f7654, #000000);
  color: #fff;
  position: relative;
  overflow: hidden;
}

#section6 {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  scroll-snap-align: start;
  background: linear-gradient(135deg, #000000, #2f7654, #000000);
  padding: 20px;
  overflow-y: hidden;
}

.modern-contact-container {
  width: 90vw;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 50px;
  overflow: hidden;
  position: relative;
  height: 85%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0 auto;
}

.modern-contact-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #3a9d5d, #48bb70, #3a9d5d);
}

.contact-header {
  text-align: center;
  margin-bottom: 15px;
}

.contact-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #48bb70;
  font-family: 'Sora', sans-serif;
}

.contact-header p {
  font-size: 0.9rem;
  max-width: 600px;
  margin: 15px auto;
  color: #ffffff;
  line-height: 1.3;
}

.modern-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  overflow-y: auto;
  padding-right: 10px;
  z-index: 5;
  margin-top: 20px;
}

.modern-contact-form::-webkit-scrollbar {
  width: 6px;
}

.modern-contact-form::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.modern-contact-form::-webkit-scrollbar-thumb {
  background: rgba(72, 187, 112, 0.3);
  border-radius: 10px;
}

.modern-contact-form::-webkit-scrollbar-thumb:hover {
  background: rgba(72, 187, 112, 0.5);
}

.input-group {
  display: flex;
  gap: 15px;
  width: 100%;
}

.form-control {
  position: relative;
  width: 100%;
  margin-bottom: 8px;
}

.form-control input,
.form-control textarea,
.form-control select {
  width: 95%;
  padding: 12px;
  font-size: 0.9rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  z-index: 5;
}

.form-control input:focus,
.form-control textarea:focus,
.form-control select:focus {
  border-color: #48bb70;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(72, 187, 112, 0.15);
}

.form-control textarea {
  min-height: 80px;
  resize: none;
}

.form-control label {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 20;
}

.form-control input:focus ~ label,
.form-control input:valid ~ label,
.form-control textarea:focus ~ label,
.form-control textarea:valid ~ label,
.form-control select:focus ~ label,
.form-control select:valid ~ label {
  top: -24px;
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 0.8rem;
  color: #48bb70;
  padding: 2px 8px;
  border-radius: 4px;
  left: 10px;
  z-index: 20;
}

.captcha-container {
  display: flex;
  justify-content: center;
  margin: 5px 0 8px;
}

.form-response {
  margin: 3px 0;
  color: #48bb70;
  font-size: 0.85rem;
  text-align: center;
}

.captcha-button-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #48bb70;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 25px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0;
  width: auto;
  min-width: 180px;
  position: relative;
  overflow: hidden;
}

.submit-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
}

.submit-button:hover {
  background: #3a9d5d;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.submit-button:hover::before {
  transform: translateX(100%);
  transition: transform 0.8s ease;
}

.submit-button svg {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.submit-button:hover svg {
  transform: translateX(5px);
}

/* Media Queries */
@media (max-width: 768px) {
  #section6 {
    overflow-y: hidden !important;
  }

  .modern-contact-container {
    padding: 30px;
    width: 95%;
    height: auto;
    max-height: 90vh;
  }
  
  .modern-contact-form {
    gap: 18px;
    overflow-y: auto;
    padding-right: 0;
  }
  
  .input-group {
    flex-direction: column;
    gap: 18px;
    width: 100%;
  }
  
  .form-control {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .form-control input,
  .form-control textarea,
  .form-control select {
    width: 95%;
    padding: 12px;
    z-index: 5;
  }
  
  .captcha-button-row {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .captcha-container {
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .submit-button {
    margin: 10px auto;
  }
}

@media (max-width: 576px) {
  #section6 {
    overflow-y: auto !important;
    height: 100vh;
  }
  
  .modern-contact-container {
    height: auto;
    max-height: 85vh;
    overflow-y: auto;
  }
  
  .modern-contact-form {
    overflow-y: visible;
  }
  
  .split-container {
    overflow: visible;
  }
  
  .contact-form {
    overflow: visible;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .modern-contact-container {
    padding: 20px;
    border-radius: 15px;
  }
  
  .contact-header h2 {
    font-size: 1.6rem;
  }
  
  .contact-header p {
    font-size: 0.85rem;
  }
  
  .input-group {
    flex-direction: column;
    gap: 15px;
  }
  
  .form-control {
    width: 100%;
  }
  
  .form-control input,
  .form-control textarea,
  .form-control select {
    width: 95%;
    padding: 10px;
  }
  
  .captcha-container {
    transform: scale(0.85);
    transform-origin: center left;
  }
  
  .submit-button {
    padding: 14px 30px;
    font-size: 1rem;
  }
}

/* Bubbles for the first section */
#section1 .bubble {
  position: absolute;
  bottom: -100px;
  width: 40px;
  height: 40px;
  background: rgba(139, 235, 182, 0.5);
  border-radius: 50%;
  animation: rise 10s infinite ease-in-out;
  z-index: 2; /* Ensure bubbles are behind the text */
}

#section1 .bubble:nth-child(2) {
  width: 60px;
  height: 60px;
  left: 25%;
  animation-duration: 12s;
}

#section1 .bubble:nth-child(3) {
  width: 80px;
  height: 80px;
  left: 50%;
  animation-duration: 14s;
}

#section1 .bubble:nth-child(4) {
  width: 100px;
  height: 100px;
  left: 75%;
  animation-duration: 16s;
}

@keyframes rise {
  0% {
      transform: translateY(0);
      opacity: 1;
  }
  100% {
      transform: translateY(-100vh);
      opacity: 0;
  }
}

/* White circle SVG for the first section */
#section1 .white-circle {
  position: absolute;
  top: -4;
  left: 0;
  width: 90%; /* Ensure the SVG does not exceed the viewport width */
  max-width: 100vw; /* Constrain the SVG to the viewport width */
  height: auto;
  z-index: 1; /* Ensure white circle is behind the text */
  
}

/* Text container for the first section */
#section1 .text-container {
  position: absolute;
  top: 25%;
  left: 10%;
  color: #fcfcfc;
  text-align: left;
  z-index: 2; /* Ensure text is in front of other elements */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 150px; /* Reduced from 200px to bring lines closer together */
}

#section1 .text-container p {
  font-size: 3.7em; /* Set the same font size for both h1 and p */
  margin: -20px; /* Increased negative margin to bring lines closer */
  font-weight: 500;
}

/* Text slide container */
.text-slide-container {
  position: absolute;
  top: 50%;
  left: 9%;
  color: #48bb70;
  width: calc(100% - 18%); /* Ensure the container does not exceed the viewport width */
  height: 400px;
  perspective: 1000px;
  z-index: 3; /* Ensure text is in front of other elements */
  overflow: hidden; /* Prevent overflow */
}

.text-slide {
  position: 0px;
  width: 100%;
  height: 100%;
}

.text-slide p {
  font-size: 3.7em;
  margin: 5px;
  font-weight: 700;
  position: absolute;
  width: 100%;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform 1s, color 1s, font-size 1s, top 1s, left 1s;
}

.text-slide .text1 {
  transform: rotateX(0deg);
  font-size: 3.4em;
}

.text-slide .text2 {
  transform: rotateX(90deg);
  margin: 15px;
  line-height: 1;
  font-size: 3em;
}

.text-slide .text3 {
  transform: rotateX(90deg);
  font-size: 3.4em;
}

/* Slideshow container - DESKTOP VERSION */
.slideshow-container {
  position: absolute;
  right: 0;
  top: 47.5%;
  transform: translateY(-50%);
  width: 100%;
  max-width: 1350px;
  margin: 0;
  z-index: 2; /* Ensure slideshow is in front of other elements */
  background: rgba(255, 255, 255, 0); /* Transparent background */
  padding: 0;
  border-radius: 0;
}

.mySlides {
  display: none;
}

.mySlides img {
  width: 100%;
  height: auto;
  max-height: 500vh; /* Ensure images do not exceed viewport height */
}

.slide-image.image3 {
  width: 100%;
  height: 100%;
  max-width: 500px;
  object-fit: contain;
  transform: scale(1.8);
  margin-left: 750px; /* Move image to the right */
  position: relative; /* Enable positioning */
  margin-bottom: 0;
}
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* Dot container */
.dot-container {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}

.dot {
  height: 15px;
  width: 15px;
  margin: 5px 0;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Gradient container */
.gradient-container {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 130px; /* Adjust height as needed */
  background: linear-gradient(to bottom, #ffffff00, #0a0a0a96); /* Gradient color */
  z-index: 3; /* Ensure gradient is behind the text */
  backdrop-filter: blur(2px); /* Add blur effect */
  border-top: 2px solid #c3bfbf; /* Add top border as outline */
}

/* Location container */
.location {
  position: absolute;
  bottom: -15px;
  left: 0px;
  width: 20%;
  background-color: rgba(255, 255, 255, 0); /* Semi-transparent background */
  display: flex;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
  z-index: 3;
  cursor: pointer;
}

.location-inner {
  display: flex;
  align-items: center;
  position: relative;
}

.location-image {
  width: 120px;
  height: 120px;
  margin-right: 20px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

/* Specific size for front image only */
.location-image.front {
  width: 70px;  /* Custom width */
  height: 70px; /* Custom height */
}

.location-image.back {
  width: 100px;  /* Custom width */
  height: 100px;
  position: absolute;
  transform: rotateY(180deg);
  backface-visibility: hidden;
}

.location:hover .location-image.front {
  transform: rotateY(90deg);
}

.location:hover .location-image.back {
  transform: rotateY(0deg);
}

.location-text {
  font-size: 0.7em;
  color: #f1f1f1;
  font-family: 'Arimo', sans-serif; /* Apply the new font */
  font-weight: 600;
  margin-left: 15px;
}

/*section 2 starts here*/

#section2 {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  scroll-snap-align: start;
  overflow: hidden;
}

/* Carousel styles */
.carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
}

.card {
  width: 250px;
  height: 350px;
  background-color: #060606;
  color: #fff;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
  position: absolute;
  opacity: 0.5;
  box-shadow: 0 0 15px 5px var(--glow-color-start, rgba(255, 0, 0, 0.5)), 
              0 0 15px 10px var(--glow-color-middle, rgba(255, 165, 0, 0.5)), 
              0 0 15px 15px var(--glow-color-end, rgba(255, 255, 0, 0.5));
}

.card.center {
  transform: scale(1.2);
  opacity: 1;
  z-index: 2;
}


.card.left {
  transform: translateX(-100%) scale(0.9);
  z-index: 1;
}

.card.right {
  transform: translateX(100%) scale(0.9);
  z-index: 1;
}

.text-container {
  width: 100%;
  top: 10px;
  left: 42%;
  position: absolute;
  font-weight: 700;
  color: #fff;
}

/* Card 1 & 3 Content Styles */
.card1 .card-content,
.card3 .card-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 10px;
}
.card2 .card-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  padding: 10px;
}

/* Card Images */


.card1-image {
  width: 105%;
  height: 500px;
  margin: -28px 0 10px 10px; /* Adjust margin as needed */
  border-radius: 10px;
  transition: transform 0.3s ease;
  object-fit: contain;
  z-index: 3;
  filter: grayscale(100%);
}

.card2-image {
  width: 90%;
  height: 400px;
  margin: 10px 0;
  border-radius: 10px;
  transition: transform 0.3s ease;
  object-fit: contain;
  z-index: 3;
  filter: grayscale(100%);
}

.card3-image {
  width: 110%;
  height: 700px;
  margin: 10px 0;
  border-radius: 10px;
  transition: transform 0.3s ease;
  object-fit: contain;
  z-index: 3;
  filter: grayscale(100%);
}

/* Card 1 & 3 Headers */
.card1 h3,
.card3 h3 {
    margin: 5px 0;
    font-size: 1em;
}
.card2 h3 {
  margin: 5px 0;
  font-size: 1em;
}

/* Card Image Hover Effects */
.card1-image:hover,
.card3-image:hover {
    transform: scale(1.05);
}
.card2-image:hover {
  transform: scale(1.05);
}

.card2.center .card-content {
  opacity: 1;
}


/* Card Buttons */
.card3-button {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 50px;
    padding: 10px 20px;
    border-radius: 15px;
    background-color: #48bb70;
    color: rgb(0, 0, 0);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.5em;
    z-index: 5;
}

.card1-button {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 50px;
  padding: 10px 20px;
  border-radius: 15px;
  background-color: #48bb70;
  color: rgb(0, 0, 0);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.5em;
  z-index: 5;
}

.card2-button {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 50px;
  padding: 10px 20px;
  border-radius: 15px;
  background-color: #48bb70;
  color: rgb(0, 0, 0);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.5em;
  z-index: 5;
}

/* Button Hover Effects */
.card1-button:hover,
.card3-button:hover {
    transform: translateX(-50%) scale(1.05);
    background-color: #3da15f;
}
.card2-button:hover {
  transform: translateX(-50%) scale(1.05);
  background-color: #3da15f;
}


/* section 2 homecare card when in Center */
.card.center .card2-image {
  filter: grayscale(0%);
}
/* Remove Grayscale When Card is Centered */
.card.center .card1-image,
.card.center .card3-image {
    filter: grayscale(0%);
}

/* Certification container and sliders */
.certifications-container {
    width: 100%;
    background-color: #020202;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

.slider {
    width: 100%;
    height: 80px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    mask-image: linear-gradient(
      to right,
      transparent,
      black 10% 90%,
      transparent
    );
}

.slider .list {
    display: flex;
    width: max-content;
    position: relative;
    animation: scroll 20s linear infinite;
    gap: 25px;
}

.slider .list .item {
    flex: 0 0 auto;
    width: calc(var(--width) * 1.5);
    height: calc(var(--height) * 1.5);
    padding: 0 25px;
}

.slider .list .item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.slider .list .item:hover img {
    filter: grayscale(0%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 12.5px));
    }
}

.slider:hover .list {
    animation-play-state: paused;
}

@media (max-width: 768px) {
  .certifications-container {
    padding: 10px;
    height: 150px;
  }

  .slider {
    height: 100px;
  }
}

/*Section 3 styles */

#section3 {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  scroll-snap-align: start;
  overflow: hidden;
}

.section3-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  max-height: 800px;
  margin: 0 auto;
  padding: 40px;
  box-sizing: border-box;
  overflow: hidden;
}

/*the gallery text and button start here */
.gallery {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
}

.gallery .image-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  width: 60%;
  height: 100%;
  flex-shrink: 0;
}

.img-box {
  width: 140px;
  height: 500px;
  border-radius: 50px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: width 0.5s ease, transform 0.5s ease;
  overflow: hidden;
  margin-bottom: 80px;
  box-shadow: none;
}

.img-box:nth-child(1) {
  transform: translateY(-30px);
}

.img-box:nth-child(2) {
  transform: translateY(30px);
}

.img-box:nth-child(3) {
  transform: translateY(-30px);
}

.gallery:hover .img-box {
  transform: translateY(0);
}

.img-box:hover {
  width: 500px;
  cursor: pointer;
}

.img-box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s ease, width 0.5s ease;
}

.img-box:hover img {
  filter: grayscale(0%);
}

.img-box h3 {
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 30px;
  opacity: 0;
  transition: bottom 0.5s, opacity 0.5s;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.img-box:hover h3 {
  opacity: 1;
  bottom: 25px;
}

.team-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  width: 40%;
  height: 100%;
  padding-left: 40px;
}

.team-content h2 {
  text-align: left;
  font-size: 2em;
  font-weight: 800;
  color: #e6e6e6;
  margin-bottom: 5px;
  line-height: 1.2;
}

.team-content p {
  text-align: left;
  color: #dadada;
  margin-bottom: 30px;
  font-size: 0.8em;
  font-weight: 500;
  line-height: 1.6;
  max-width: 400px;
}

.team-button {
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding: 15px 30px;
  border-radius: 25px;
  background-color: #070808;
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 300px;
  height: 80px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1em;
  align-self: flex-start;
}

.team-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #3da15f;
  transition: left 0.3s ease;
  z-index: -1;
}

.team-button:hover::before {
  left: 0;
}

.team-button:hover {
  transform: scale(1.05);
}

/* Section 4 styles */

.private-care-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 50px 0 50px 5%;
  position: relative;
  z-index: 2;
}

.care-content {
  flex: 1;
  max-width: 550px;
  padding: 40px;
  background:transparent;
  backdrop-filter: blur(10px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-right: 50px;
}

.care-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(to right, #ffffff, #48bb70);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.care-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e9e9e9;
  margin-bottom: 25px;
  font-weight: 400;
}

.care-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.care-features li {
  font-size: 1.1rem;
  color: #e9e9e9;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.feature-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  background: #48bb70;
  border-radius: 50%;
  margin-right: 12px;
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
}

.care-button {
  padding: 16px 38px;
  background: #48bb70;
  border: none;
  border-radius: 50px;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(72, 187, 112, 0.3);
  position: relative;
  overflow: hidden;
}

.care-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
  z-index: 1;
}

.care-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(72, 187, 112, 0.4);
}

.care-button:hover::before {
  left: 100%;
}

.care-image-container {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  margin-left: 100px;
  margin-right: 0;
}

.care-image {
  width: 100%;
  max-width: 950px;
  height: 750px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: transparent; /* Reduced shadow opacity */
  position: relative;
  z-index: 1;
  background: transparent; /* Very slight background */
  border: transparent; /* Add subtle border */
  margin-left: 10px;
}

.care-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  transition: transform 0.5s ease;
  background: transparent;
}


.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.icon-float {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  /* Change from circle to heart shape */
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: float 6s infinite ease-in-out;
  /* Heart shape using clip-path */
  clip-path: path('M40,20 C60,0 80,30 40,60 C0,30 20,0 40,20 Z');
  transform-origin: center;
  background: rgba(255, 105, 180, 0.2);
}

.icon-float img {
  /* Hide the existing images */
  opacity: 0;
  width: 75px;
  height: 75px;
}

.icon1 {
  top: 10%;
  left: 35%;
  animation-delay: 0s;
  background: rgba(220, 117, 172, 0.581);
  z-index: 2;
}

.icon2 {
  top: 17%;
  left: 50%;
  animation-delay: 2s;
  background: #c92bb794;
  transform: scale(1.2);
  z-index: 3;
}

.icon3 {
  top: 15%;
  left: 45%;
  animation-delay: 4s;
  background: rgba(227, 113, 221, 0.622);
  transform: scale(0.8);
  z-index: 3;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@media (max-width: 576px) {
  .icon-float {
    width: 60px;
    height: 60px;
    /* Adjust clip-path for smaller hearts */
    clip-path: path('M30,15 C45,0 60,22.5 30,45 C0,22.5 15,0 30,15 Z');
  }
}

@media (max-width: 480px) {
  .icon-float {
    width: 45px;
    height: 45px;
    /* Adjust clip-path for even smaller hearts */
    clip-path: path('M22.5,11.25 C33.75,0 45,16.875 22.5,33.75 C0,16.875 11.25,0 22.5,11.25 Z');
  }
}

/* Media queries for section 4 */
@media (max-width: 1200px) {
  .private-care-container {
    width: 95%;
  }
  
  .care-content {
    padding: 30px;
    margin-right: 30px;
  }
  
  .care-title {
    font-size: 2.2rem;
  }
  
  .care-description {
    font-size: 1rem;
  }
  
  .care-features li {
    font-size: 1rem;
  }
  
  .care-image {
    max-width: 400px;
    height: 400px;
  }
}

@media (max-width: 992px) {
  .private-care-container {
    flex-direction: column;
    justify-content: center;
    padding: 30px 0;
  }
  
  .care-content {
    max-width: 90%;
    margin-right: 0;
    margin-bottom: 40px;
  }
  
  .care-image-container {
    height: 400px;
  }
  
  .care-image {
    max-width: 350px;
    height: 350px;
  }
}

@media (max-width: 576px) {
  .care-content {
    padding: 25px;
  }
  
  .care-title {
    font-size: 1.8rem;
  }
  
  .care-description {
    font-size: 0.95rem;
  }
  
  .care-features li {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }
  
  .care-button {
    padding: 14px 30px;
    font-size: 1rem;
  }
  
  .care-image-container {
    height: 350px;
  }
  
  .care-image {
    max-width: 300px;
    height: 300px;
  }
  
  .icon-float {
    width: 60px;
    height: 60px;
  }
  
  .icon-float img {
    width: 35px;
    height: 35px;
  }
}

/* Section 5 starts here */

.podcast-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 5%;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Animated background circles */
.animated-circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(72, 187, 112, 0.2);
  animation: pulse 8s infinite;
}

.circle1 {
  width: 500px;
  height: 500px;
  top: -150px;
  left: -100px;
  animation-delay: 0s;
}

.circle2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  right: -50px;
  animation-delay: 2s;
}

.circle3 {
  width: 300px;
  height: 300px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.1;
  }
  100% {
    transform: scale(1);
    opacity: 0.2;
  }
}

.podcast-info {
  flex: 1;
  padding: 0 5%;
  position: relative;
  z-index: 2;
  margin-top: 40px;
}

.podcast-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  background: linear-gradient(to right, #fff, #48bb70);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-top: 30px;
}

.podcast-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 550px;
  color: #d1d1d1;
}

.spotify-button {
  display: inline-flex;
  align-items: center;
  background-color: #1DB954; /* Spotify green */
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(29, 185, 84, 0.3);
}

.spotify-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(29, 185, 84, 0.4);
  background-color: #1ed760;
}

.spotify-icon {
  display: flex;
  align-items: center;
  margin-right: 12px;
}

.spotify-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.podcast-visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 5%;
  position: relative;
  z-index: 3;
}

.podcast-artwork {
  position: relative;
  margin-bottom: 0;
  width: 100%;
  max-width: 500px;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  background: transparent;
}

.podcast-artwork.large {
  max-width: 600px;
  height: 600px;
  background: transparent;
}

.podcast-cover {
  width: 450px;
  height: 450px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 10;
  background: transparent;
}

/* Make the SVG background transparent */
.podcast-cover[src*="care in action.svg"] {
  background: transparent;
  box-shadow: none;
}

.podcast-cover:hover {
  transform: scale(1.05);
}

/* Frequency waves styling */
.frequency-container {
  position: absolute;
  width: 130%;
  height: 130%;
  top: -15%;
  left: -15%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.frequency-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: absolute;
  animation: rotate 20s linear infinite;
  z-index: 1;
}

@keyframes rotate {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

.wave-line {
  position: absolute;
  width: 2px;
  background: linear-gradient(to top, transparent, #48bb70, transparent);
  top: 0;
  bottom: 0;
  left: 50%;
  transform-origin: bottom center;
  z-index: 1;
}

.wave-line:nth-child(1) {
  height: 80%;
  transform: rotate(0deg);
  animation: wave 3s infinite ease-in-out;
}

.wave-line:nth-child(2) {
  height: 70%;
  transform: rotate(36deg);
  animation: wave 3s infinite ease-in-out 0.3s;
}

.wave-line:nth-child(3) {
  height: 60%;
  transform: rotate(72deg);
  animation: wave 3s infinite ease-in-out 0.6s;
}

.wave-line:nth-child(4) {
  height: 80%;
  transform: rotate(108deg);
  animation: wave 3s infinite ease-in-out 0.9s;
}

.wave-line:nth-child(5) {
  height: 70%;
  transform: rotate(144deg);
  animation: wave 3s infinite ease-in-out 1.2s;
}

.wave-line:nth-child(6) {
  height: 60%;
  transform: rotate(180deg);
  animation: wave 3s infinite ease-in-out 1.5s;
}

.wave-line:nth-child(7) {
  height: 80%;
  transform: rotate(216deg);
  animation: wave 3s infinite ease-in-out 1.8s;
}

.wave-line:nth-child(8) {
  height: 70%;
  transform: rotate(252deg);
  animation: wave 3s infinite ease-in-out 2.1s;
}

.wave-line:nth-child(9) {
  height: 60%;
  transform: rotate(288deg);
  animation: wave 3s infinite ease-in-out 2.4s;
}

.wave-line:nth-child(10) {
  height: 80%;
  transform: rotate(324deg);
  animation: wave 3s infinite ease-in-out 2.7s;
}

@keyframes wave {
  0%, 100% {
      height: 60%;
      opacity: 0.6;
  }
  50% {
      height: 90%;
    opacity: 1;
  }
}

/* Additional podcast section elements */
.podcast-episodes {
  display: none;
}

.episode {
  display: none;
}

/* Responsive podcast section styles */
@media (max-width: 1200px) {
  .podcast-title {
    font-size: 3rem;
  }
  
  .podcast-cover {
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 992px) {
  .podcast-container {
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 20px 0;
    align-items: center;
  }
  
  .podcast-info {
    width: 100%;
    padding: 20px 5%;
    text-align: center;
  }
  
  .podcast-description {
    margin: 0 auto 20px;
  }
  
  .podcast-visual {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  #section5 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
  }
  
  .podcast-container {
    justify-content: flex-start;
    align-items: center;
    height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    overflow: hidden;
  }
  
  .podcast-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px 0;
    margin-top: 60px;
    width: 100%;
    max-width: 300px;
  }
  
  .podcast-title {
    font-size: 2rem;
    margin-bottom: 10px;
    margin-top: 0;
  }
  
  .podcast-description {
    font-size: 1rem;
    margin-bottom: 15px;
    max-width: 100%;
    margin-top: 0;
    line-height: 1.4;
  }
  
  .spotify-button {
    margin-bottom: 25px;
    margin-top: 5px;
    font-size: 1rem;
    padding: 12px 20px;
  }
  
  .podcast-visual {
    padding: 0;
    margin: 0;
    margin-top: -20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  
  .podcast-artwork.large {
    max-width: 220px;
    height: 220px;
    background: transparent;
    margin: 0;
    overflow: hidden;
  }
  
  .podcast-cover {
    width: 190px;
    height: 190px;
    overflow: hidden;
  }
  
  .frequency-container {
    width: 200px;
    height: 200px;
    overflow: hidden;
  }
  
  .wave-line {
    margin: 0 1px;
    overflow: hidden;
  }
  
  .animated-circles .circle {
    opacity: 0.3;
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .podcast-info {
    padding: 40px 15px 0;
    max-width: 290px;
    margin-top: 50px;
  }
  
  .podcast-title {
    font-size: 2.3rem;
    margin-bottom: 8px;
    margin-top: 50px;
  }
  
  .podcast-description {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  
  .spotify-button {
    padding: 10px 18px;
    font-size: 1.2rem;
    margin-bottom: 5px;
  }
  
  .podcast-artwork.large {
    max-width: 500px;
    height: 500px;
  }
  
  .podcast-cover {
    width: 350px;
    height: 350px;
    margin-top: -20px;
  }
  
  .frequency-container {
    width: 580px;
    height: 580px;
  }
}

/* Animation for shapes */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/*SVG shape design*/
.shapes-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.shape {
  position: absolute;
  transition: transform 0.3s ease;
}

.shape1 {
  top: 18%;
  left: 36%;
  width: 70px;
  height: 70px;
  rotate: 90deg;
  animation: float 6s ease-in-out infinite;
}

.shape2 {
  top: 80%;
  left: 30%;
  width: 65px;
  height: 65px;
  animation: float 8s ease-in-out infinite;
}

/*section 6 starts here */

#section6 .left-content {
  flex: 0 0 300px;
  width: 300px;
  height: 650px;
  padding: 30px;
  background: linear-gradient(135deg, #18072e, #2f7654,#18072e);
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  box-sizing: border-box;
}


#section6 .section6-title {
  font-size: 1.5em;
  color: #e7e6e6;
  margin-bottom: 5px;
  font-weight: 800;
  text-align: left;
}

#section6 .section6-text {
  font-size: 0.5em;
  color: #e9e9e9;
  line-height: 1.8;
  margin-bottom: 10px;
  max-width: 500px;
  text-align: left;
}

#section6 .social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 200px;
}

#section6 .social-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
}

#section6 .social-item img {
  width: 40px;
  height: 40px;
}

#section6 .social-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* section 6 form*/
.contact-form {
  width: 100%;
  max-width: 700px;
  height: 100%;
  padding: 30px;
  background: linear-gradient(135deg, #18072e, #2f7654);
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.form-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.contact-form h3 {
  color: #e7e6e6;
  font-size: 2em;
  margin-left: 20px;
  margin-top: 5px;
  margin-bottom: 40px;
  text-align: left;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
  width: 80%;
  padding: 10px;
  border: none;
  border-bottom: 2px solid #e7e6e6;
  background: transparent;
  color: #e7e6e6;
  font-size: 0.6em;
  outline: none;
  position: relative;
  z-index: 1;
}

.form-group label {
  position: absolute;
  left: 10px;
  top: 10px;
  color: #e7e6e6;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

/* Update selector to handle active state better */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #48bb70;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(72, 187, 112, 0.15);
}

.form-group textarea {
  min-height: 80px;
  resize: none;
}

/* Active state animation for all form fields */
.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
  top: -24px;
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 0.8rem;
  color: #48bb70;
  padding: 2px 8px;
  border-radius: 4px;
  left: 10px;
}

.submit-button {
  width: auto;
  min-width: 150px;
  padding: 12px 25px;
  background: #48bb70;
  border: none;
  border-radius: 45px;
  color: white;
  font-size: 0.8em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin: 0;
  position: relative;
  z-index: 5;
}

.submit-button:hover {
  background: #3da15f;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.g-recaptcha {
  margin: 20px 0;
  display: flex;
  justify-content: center;
}

.error-message {
  color: #ff4d4d;
  font-size: 0.8em;
  margin-top: 5px;
  text-align: center;
  font-weight: 500;
}

.success-message {
  color: #48bb70;
  font-size: 1.2em;
  text-align: center;
  padding: 30px;
  background: rgba(72, 187, 112, 0.1);
  border-radius: 10px;
  font-weight: 600;
  line-height: 1.5;
}

/* section 7 starts here */
#section7 {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: linear-gradient(45deg, #000000, #2f7654, #000000);
  overflow: hidden;
  width: 100%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* Top container styling */
.section7-top-container {
  width: 100%;
  height: 20%;
  background: linear-gradient(45deg, #18072e, #2f7654,#18072e);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.join-team-container {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skyline-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
}









.join-team-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(72, 187, 112, 0.4); /* Changed from rgba(0, 240, 255, 0.4) to green */
}

/* Footer Styles */
.section7-bottom-container {
  width: 100%;
  height: 80%;
  background: #000000;
  color: #fff;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-content {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  flex: 0 0 200px;
}

.footer-logo img {
  width: 120px;
  margin-bottom: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  flex: 1;
  justify-content: space-around;
}

.footer-nav {
  min-width: 200px;
}

.footer-nav h3 {
  color: #48bb70; /* Changed from #00f0ff to green */
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav ul li {
  margin-bottom: 0.6rem;
}

.footer-nav ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

/* Contact List Specific Styles */
.contact-list {
  font-size: 0.8rem;
  line-height: 1.4;
}

.contact-list li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.4rem;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* Footer Social Icons */
.footer-social .social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social .social-icon img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

/* Social media icons for dark mode */
.footer-social .social-icon[data-platform="facebook"] img {
  content: url('assets/Facebook.svg');
}

.footer-social .social-icon[data-platform="instagram"] img {
  content: url('assets/instagram.svg');
}

.footer-social .social-icon[data-platform="youtube"] img {
  content: url('assets/youtube.svg');
}

.footer-social .social-icon[data-platform="linkedin"] img {
  content: url('assets/Linkedin.svg');
}

.footer-social .social-icon[data-platform="x"] img {
  content: url('assets/x.svg');
}

/* Social media icons for light mode */
body.light-mode .footer-social .social-icon[data-platform="facebook"] img {
  content: url('assets/facebook day.png') !important;
}

body.light-mode .footer-social .social-icon[data-platform="instagram"] img {
  content: url('assets/instagram day.png') !important;
}

body.light-mode .footer-social .social-icon[data-platform="youtube"] img {
  content: url('assets/youtube day.png') !important;
}

body.light-mode .footer-social .social-icon[data-platform="linkedin"] img {
  content: url('assets/Linkedin day.png') !important;
}

body.light-mode .footer-social .social-icon[data-platform="x"] img {
  content: url('assets/X day.png') !important;
}

/* Light mode adjustments for social icons */
body.light-mode .footer-social .social-icon {
  background: rgba(0, 0, 0, 0.05);
}

body.light-mode .footer-social .social-icon:hover {
  background: rgba(0, 0, 0, 0.1);
}

.footer-bottom {
    width: 90%;
  max-width: 1200px;
    margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-family: 'Montserrat', sans-serif;
}

.footer-bottom p {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1rem;
}

.footer-bottom-links a {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.designer-credit {
  display: flex;
    flex-direction: column;
    align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.designer-text {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 0;
}

.designer-logo {
  width: 60px;
}

/* Footer social container styling */
.footer-social-container {
  display: flex;
  flex-direction: column;
  min-width: 150px;
  gap: 15px;
}

.footer-social-container h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary-color, #48bb70);
}

/* Light mode styles */
body.light-mode .designer-logo {
  content: url('assets/Hamzaday.svg');
}

body.light-mode .designer-text {
  color: rgba(51, 51, 51, 0.7);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  /* Footer Layout */
  .section7-bottom-container {
    padding: 40px 0 20px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
    padding: 0 20px;
  }

  .footer-logo {
    flex: 0 0 auto;
    margin-bottom: 1rem;
  }

  .footer-logo img {
    width: 150px;
      margin: 0 auto;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
  }

  .footer-nav {
    min-width: 100%;
    text-align: center;
  }

  .footer-nav h3 {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: #48bb70; /* Changed from #00f0ff to green */
  }

  .footer-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .footer-nav ul li a {
    font-size: 0.85rem;
    padding: 5px 10px;
    transition: color 0.3s ease;
  }

  .footer-nav ul li a:hover {
    color: #48bb70; /* Changed from #00f0ff to green */
  }

  .contact-list {
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.6;
  }

  .footer-social-container {
  width: 100%;
  align-items: center;
    text-align: center;
    margin-top: 1rem;
  }

  .footer-social-container h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .footer-social {
    justify-content: center;
    gap: 1.2rem;
    margin-top: 0.5rem;
  }

  .footer-social .social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.08);
  }

  .footer-social .social-icon img {
    width: 18px;
    height: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    padding: 1.5rem 20px;
    margin-top: 2rem;
  }

  .footer-bottom-links {
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .designer-credit {
    margin-top: 1.5rem;
    gap: 0.6rem;
  }
}

@media (max-width: 480px) {
  .section7-bottom-container {
    padding: 30px 0 15px;
  }

  .footer-content {
    gap: 2rem;
    padding: 0 15px;
  }

  .footer-logo img {
    width: 120px;
  }

  .footer-nav h3 {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .footer-nav ul {
    gap: 0.6rem;
  }

  .footer-nav ul li a {
    font-size: 0.8rem;
  }

  .contact-list {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .footer-social-container {
    margin-top: 1rem;
  }

  .footer-social-container h3 {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
  }

  .footer-social {
    gap: 1rem;
  }

  .footer-social .social-icon {
    width: 32px;
    height: 32px;
  }

  .footer-social .social-icon img {
    width: 16px;
    height: 16px;
  }

  .footer-bottom {
    gap: 1rem;
    padding: 1.2rem 15px;
    margin-top: 1.5rem;
  }

  .footer-bottom p,
  .footer-bottom-links a {
    font-size: 0.7rem;
  }

  .footer-bottom-links {
    gap: 1.2rem;
  }

  .designer-credit {
    margin-top: 1.2rem;
    gap: 5px;
  }

  .designer-text {
    font-size: 0.45rem;
  }

  .designer-logo {
    width: 45px;
  }
}

/* Mobile responsive styles for section 6 */
@media (max-width: 768px) {
  #section6 {
    overflow: hidden !important;
  }
  
  .split-container {
      flex-direction: column;
      padding: 20px;
    overflow: hidden;
  }

  #section6 .left-content {
      width: 100%;
    margin-bottom: 30px;
    overflow: hidden;
  }
  
  .contact-form {
    width: 100%;
    overflow: hidden;
  }
}

@media (max-width: 576px) {
  #section6 {
    overflow-y: auto !important;
    height: 100vh;
  }
  
  .split-container {
    overflow: visible;
  }
  
  .contact-form {
    overflow: visible;
    padding: 20px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 15px;
  }
}

.form-control select {
  width: 95%;
  padding: 12px;
  font-size: 0.9rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  z-index: 5;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.form-control select option {
  background-color: #182a33;
  color: #ffffff;
  padding: 12px;
  font-size: 0.9rem;
}

/* Remove gray backgrounds from slides and text */
.hero-visual,
.image-container,
.image-slider,
.slide,
.rotating-text,
.rotate-item {
  background-color: transparent !important;
}

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

/* Adjust individual SVG image sizes */
.slide img[src*="transport.svg"] {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.slide img[src*="teen support.svg"] {
  max-width: 200% !important;
  max-height: 300% !important;
  object-fit: contain !important;
  object-position: -180px !important; /* Move teen SVG further to the left with negative position */
  transform: scale(1.5) !important; /* Additional scaling to make it larger */
}

.slide img[src*="old lady.svg"] {
  max-width: 350% !important; /* Increase max-width to make old lady SVG even bigger */
  max-height: 450% !important; /* Increase max-height to make old lady SVG even bigger */
  object-fit: contain !important;
  object-position: -200px !important; /* Move old lady SVG further to the left with negative position */
  transform: scale(1.5) !important; /* Additional scaling to make it larger */
}

/* Add mobile sizing for SVG images */
@media (max-width: 768px) {
  .slide img[src*="transport.svg"] {
    max-width: 90% !important;
    max-height: 90% !important;
    object-position: center !important;
  }
  
  .slide img[src*="teen support.svg"] {
    max-width: 150% !important;
    max-height: 200% !important;
    object-position: -100px !important;
    transform: scale(1.2) !important;
    margin-right: 10px !important; /* Add margin from right edge */
  }
  
  .slide img[src*="old lady.svg"] {
    max-width: 200% !important;
    max-height: 250% !important;
    object-position: -120px !important;
    transform: scale(1.3) !important;
    margin-right: 10px !important; /* Add margin from right edge */
  }
}

@media (max-width: 576px) {
  .slide img[src*="transport.svg"] {
    max-width: 80% !important;
    max-height: 80% !important;
  }
  
  .slide img[src*="teen support.svg"] {
    max-width: 220% !important;
    max-height: 250% !important;
    object-position: -70px !important;
    transform: scale(1.1) !important;
    margin-right: 10px !important; /* Add margin from right edge */
  }
  
  .slide img[src*="old lady.svg"] {
    max-width: 250% !important;
    max-height: 300% !important;
    object-position: -80px !important;
    transform: scale(1.2) !important;
    margin-right: 10px !important; /* Add margin from right edge */
  }
}

@media (max-width: 480px) {
  .slide img[src*="transport.svg"] {
    max-width: 100% !important;
    max-height: 70% !important;
    object-position: -50px !important;
  }
  
  .slide img[src*="teen support.svg"] {
    max-width: 200% !important;
    max-height: 220% !important;
    object-position: -100px !important;
    transform: scale(2) !important;
    margin-right: 10px !important; /* Add margin from right edge */
  }
  
  .slide img[src*="old lady.svg"] {
    max-width: 220% !important;
    max-height: 250% !important;
    object-position: -80px !important;
    transform: scale(2) !important;
    margin-right: 10px !important; /* Add margin from right edge */
  }
}

/* Add mobile styles for section 4 img-box */
@media (max-width: 768px) {
  .img-box {
    margin-bottom: -5px; /* Reduced from -20px */
    height: 350px; /* Slightly shorter for mobile */
  }
}

@media (max-width: 576px) {
  .img-box {
    margin-bottom: 0; /* Remove negative margin entirely */
    height: 300px; /* Further reduce height */
  }
}

@media (max-width: 480px) {
  .img-box {
    margin-bottom: 0;
    height: 250px;
    width: 100px; /* Slightly narrower */
  }
}

/* Update #section7 for better mobile visibility */
#section7 {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: linear-gradient(45deg, #000000, #2f7654, #000000);
  overflow: hidden;
  width: 100%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* Mobile styles for footer visibility */
@media (max-width: 768px) {
  #section7 {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  .section7-top-container {
    display: none;
  }
  
  .section7-bottom-container {
    height: auto;
    min-height: 100vh;
    overflow-y: visible;
  }

  /* Footer Layout */
  .section7-bottom-container {
    padding: 40px 0 20px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
    padding: 0 20px;
  }

  .footer-logo {
    flex: 0 0 auto;
    margin-bottom: 1rem;
  }

  .footer-logo img {
    width: 150px;
      margin: 0 auto;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
  }

  .footer-nav {
    min-width: 100%;
    text-align: center;
  }

  .footer-nav h3 {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: #48bb70; /* Changed from #00f0ff to green */
  }

  .footer-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .footer-nav ul li a {
    font-size: 0.85rem;
    padding: 5px 10px;
    transition: color 0.3s ease;
  }

  .footer-nav ul li a:hover {
    color: #48bb70; /* Changed from #00f0ff to green */
  }

  .contact-list {
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.6;
  }

  .footer-social-container {
  width: 100%;
  align-items: center;
    text-align: center;
    margin-top: 1rem;
  }

  .footer-social-container h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .footer-social {
    justify-content: center;
    gap: 1.2rem;
    margin-top: 0.5rem;
  }

  .footer-social .social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.08);
  }

  .footer-social .social-icon img {
    width: 18px;
    height: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    padding: 1.5rem 20px;
    margin-top: 2rem;
  }

  .footer-bottom-links {
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .designer-credit {
    margin-top: 1.5rem;
    gap: 0.6rem;
  }
}

@media (max-width: 480px) {
  #section7 {
    height: auto;
    min-height: 100vh;
    overflow-y: auto !important;
  }
  
  .section7-top-container {
    padding: 30px 0;
  }
  .section7-top-container h2 {
    margin-top: 50px;
    font-size: 1.5rem;
  }
  .section7-bottom-container {
    height: auto;
    overflow-y: visible;
  }
  
  .footer-content {
    overflow-y: visible;
  }
}

.join-team-image img[src*="taptap.gif"] {
  width: 100px;
  height: auto;
  max-width: 100%;
  display: block;
  margin: -5px auto;
  background-color: transparent;
  box-shadow: none;
}

@media (max-width: 768px) {
  .join-team-image img[src*="taptap.gif"] {
    width: 120px;
  }
}

@media (max-width: 480px) {
  .join-team-image img[src*="taptap.gif"] {
    width: 100px;
  }
}

/* Add responsive styles for Section 3 */
@media (max-width: 992px) {
  .gallery {
    flex-direction: column;
    gap: 40px;
    height: auto;
    max-width: 100%;
  }
  
  .gallery .image-container {
    width: 100%;
    justify-content: center;
    height: auto;
    margin-bottom: 5px;
  }
  
  .team-content {
    width: 100%;
    padding-left: 0;
    text-align: center;
    align-items: center;
  }
  
  .team-content h2 {
    text-align: center;
    font-size: 2em;
  }
  
  .team-content p {
    text-align: center;
    font-size: 1em;
  }
  
  .team-button {
    align-self: center;
  }
}

@media (max-width: 768px) {
  .section3-container {
    padding: 20px;
    height: auto;
    min-height: 100vh;
  }
  
  .gallery {
    height: auto;
    gap: 30px;
    padding-top: 40px;
  }
  
  .gallery .image-container {
    margin-top: 30px;
  }
  
  .img-box {
    height: 300px;
    width: 100px;
  }
  
  .img-box:hover {
    width: 250px;
  }
  
  .img-box h3 {
    font-size: 0.8rem;
    bottom: 15px;
  }
  
  .team-content h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  
  .team-content p {
    font-size: 0.95em;
    margin-bottom: 25px;
  }
}

@media (max-width: 576px) {
  .gallery .image-container {
    gap: 15px;
    margin-top: 20px;
  }
  
  .img-box {
    height: 250px;
    width: 80px;
    align-items: center;
  }
  
  .img-box:hover {
    width: 200px;
  }
  
  .img-box h3 {
    font-size: 0.7rem;
    bottom: 12px;
  }
  
  .team-content h2 {
    font-size: 1.5em;
    margin-top: -100px;
  }
  
  .team-content p {
  margin-top: 5px;
    font-size: 0.6em;
    margin-bottom: 5px;
  }
  
  .team-button {
    width: 180px;
    height: 45px;
    font-size: 0.6em;
    align-items: center;
    align-content: center;
    margin-bottom: 100px;
  }
}

/* Enhanced feedback content styles for Section 6 - Two Column Layout */
.feedback-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
  height: auto;
}

.feedback-message {
  flex: 1;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 35px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 0;
}

.feedback-message:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.feedback-message h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff, #48bb70);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Sora', sans-serif;
  text-align: left;
}

.feedback-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.feedback-points li {
  font-size: 0.9rem;
  color: #e9e9e9;
  text-align: left;
  padding: 12px 18px;
  background: rgba(72, 187, 112, 0.08);
  border-radius: 12px;
  border-left: 3px solid #48bb70;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
}

.feedback-points li::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(72, 187, 112, 0.1), transparent);
  transition: left 0.6s ease;
}

.feedback-points li:hover {
  background: rgba(72, 187, 112, 0.15);
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(72, 187, 112, 0.2);
  border-left-width: 4px;
}

.feedback-points li:hover::before {
  left: 100%;
}

.feedback-button-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 25px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feedback-button-container:hover {
  transform: translateY(-3px);
}

.feedback-call-to-action {
  margin-bottom: 20px;
}

.feedback-call-to-action h4 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #ffffff, #48bb70);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Sora', sans-serif;
  line-height: 1.3;
}

.feedback-call-to-action p {
  font-size: 1rem;
  color: #e9e9e9;
  line-height: 1.5;
  opacity: 0.9;
  margin: 0;
}

.feedback-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #48bb70, #3da15f);
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(72, 187, 112, 0.3);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  font-family: 'Montserrat', sans-serif;
  width: fit-content;
}

.feedback-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.feedback-button:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 35px rgba(72, 187, 112, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #3da15f, #48bb70);
}

.feedback-button:hover::before {
  left: 100%;
}

.feedback-button span {
  position: relative;
  z-index: 2;
}

.feedback-button svg {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.feedback-button:hover svg {
  transform: translateX(5px) rotate(10deg);
}

.feedback-note {
  font-size: 0.9rem;
  color: #b8b8b8;
  font-style: italic;
  margin: 0;
  opacity: 0.85;
  text-align: left;
}

/* Update contact header for enhanced feedback display */
#section6 .contact-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
  font-family: 'Sora', sans-serif;
  background: linear-gradient(135deg, #ffffff, #48bb70);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
}

#section6 .contact-header p {
  font-size: 1rem;
  max-width: 700px;
  margin: 15px auto;
  color: #e9e9e9;
  line-height: 1.5;
  opacity: 0.9;
}

/* Responsive enhancements for feedback section */
@media (max-width: 992px) {
  .feedback-content {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
  
  .feedback-message {
    max-width: 100%;
    text-align: center;
  }
  
  .feedback-message h3 {
    text-align: center;
  }
  
  .feedback-button-container {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }
  
  .feedback-call-to-action h4,
  .feedback-call-to-action p,
  .feedback-note {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .feedback-content {
    gap: 25px;
    padding: 15px;
  }
  
  .feedback-message {
    padding: 25px 20px;
  }
  
  .feedback-message h3 {
    font-size: 1.7rem;
  }
  
  .feedback-points li {
    font-size: 0.95rem;
    padding: 10px 15px;
  }
  
  .feedback-button-container {
    padding: 30px 20px;
  }
  
  .feedback-call-to-action h4 {
    font-size: 1.4rem;
  }
  
  .feedback-button {
    padding: 16px 35px;
    font-size: 1.1rem;
  }
  
  #section6 .contact-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .feedback-content {
    gap: 20px;
  }
  
  .feedback-message {
    padding: 20px 15px;
  }
  
  .feedback-message h3 {
    font-size: 1.5rem;
  }
  
  .feedback-points li {
    font-size: 0.9rem;
  }
  
  .feedback-button-container {
    padding: 25px 15px;
  }
  
  .feedback-call-to-action h4 {
    font-size: 1.3rem;
  }
  
  .feedback-button {
    padding: 14px 30px;
    font-size: 1rem;
  }
  
  #section6 .contact-header h2 {
    font-size: 1.8rem;
  }
}

/* Modern Footer Styles - Homecare Design */
.footer-section {
    background: linear-gradient(135deg, #0f0f0f 0%, #18072e 50%, #0f2419 100%);
    color: #e7e6e6;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(72, 187, 112, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(47, 118, 84, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-top {
    padding: 60px 0 40px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Company Info Section */
.footer-company {
    max-width: 400px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    width: 180px;
    height: auto;
    transition: all 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e7e6e6;
    opacity: 0.8;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    color: #48bb70;
    transform: translateX(5px);
}

.footer-contact-item i {
    width: 16px;
    color: #48bb70;
    font-size: 0.9rem;
}

/* Navigation Sections */
.footer-nav h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e7e6e6;
    margin-bottom: 20px;
    font-family: 'Sora', sans-serif;
    position: relative;
}

.footer-nav h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #48bb70, transparent);
    border-radius: 1px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav ul li a {
    color: #e7e6e6;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    opacity: 0.8;
    display: inline-block;
    position: relative;
}

.footer-nav ul li a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background-color: #48bb70;
    transition: width 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #48bb70;
    opacity: 1;
    transform: translateX(10px);
}

.footer-nav ul li a:hover::before {
    width: 8px;
}

/* Social Media */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e7e6e6;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #48bb70, #2f7654);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover {
    color: white;
    transform: translateY(-3px) scale(1.1);
    border-color: #48bb70;
    box-shadow: 0 8px 20px rgba(72, 187, 112, 0.3);
}

.social-icon i {
    font-size: 1rem;
    z-index: 1;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright p {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.7;
    font-family: 'Montserrat', sans-serif;
}

.footer-designed-by {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    opacity: 0.7;
    font-family: 'Montserrat', sans-serif;
}

.hamza-logo {
    display: flex;
    align-items: right;
    gap: 6px;
    background: transparent;
    transition: all 0.3s ease;
}

.hamza-logo:hover {
    background: rgba(72, 187, 112, 0.2);
    transform: scale(1.05);
}

.hamza-logo img {
    width: 100px !important;
    height: 100px !important;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.hamza-logo:hover img {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(90deg);
}

.hamza-logo span {
    font-weight: 500;
    font-size: 0.75rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 30px;
    }
    
    .footer-nav:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 40px 0 30px;
    }
    
    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        text-align: center;
    }
    
    .footer-company {
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .footer-nav {
        width: 100%;
    }
    
    .footer-nav h3 {
        margin-bottom: 15px;
    }
    
    .footer-nav h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav ul li a::before {
        display: none;
    }
    
    .footer-nav ul li a:hover {
        transform: none;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
        align-items: center !important;
    }
    
    .footer-designed-by {
        order: 2;
        margin-top: 10px;
    }
    
    .footer-copyright {
        order: 1;
    }
}

@media (max-width: 576px) {
    .footer-top {
        padding: 30px 0 20px;
    }
    
    .footer-content {
        gap: 25px !important;
    }
    
    .footer-logo img {
        width: 140px;
    }
    
    .footer-description {
        font-size: 0.85rem;
    }
    
    .footer-contact-item {
        font-size: 0.8rem;
        justify-content: center;
    }
    
    .footer-nav h3 {
        font-size: 1rem;
    }
    
    .footer-nav ul li a {
        font-size: 0.8rem;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .social-icon i {
        font-size: 0.9rem;
    }
    
    .hamza-logo img {
        width: 100px !important;
        height: 100px !important;
    }
}

/* Mobile-specific styles for Section 2 cards - make everything much smaller */
@media (max-width: 768px) {
  /* Section 2 cards - slightly bigger than before */
  .card {
    width: 200px;
    height: 280px;
    padding: 15px;
  }
  
  .card.center {
    transform: scale(1.15);
  }
  
  .card.left {
    transform: translateX(-90%) scale(0.85);
  }
  
  .card.right {
    transform: translateX(90%) scale(0.85);
  }
  
  /* Card content padding */
  .card1 .card-content,
  .card2 .card-content,
  .card3 .card-content {
    padding: 8px;
  }
  
  /* Card titles - smaller */
  .card1 h3,
  .card2 h3,
  .card3 h3 {
    font-size: 0.8em;
    margin: 4px 0;
  }
  
  /* Card images - slightly bigger */
  .card1-image {
    width: 90%;
    height: 320px;
    margin: -25px 0 8px 8px;
  }
  
  .card2-image {
    width: 80%;
    height: 260px;
    margin: 8px 0;
  }
  
  .card3-image {
    width: 95%;
    height: 420px;
    margin: 8px 0;
  }
  
  /* Card buttons - slightly bigger */
  .card1-button,
  .card2-button,
  .card3-button {
    width: 180px;
    height: 35px;
    padding: 8px 12px;
    font-size: 0.4em;
    border-radius: 12px;
    bottom: 8px;
  }
  
  /* Text container - position lower, closer to cards */
  .text-container {
    font-size: 1.1em;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 576px) {
  /* Slightly bigger for small mobile screens */
  .card {
    width: 170px;
    height: 240px;
    padding: 12px;
  }
  
  .card.center {
    transform: scale(1.1);
  }
  
  .card.left {
    transform: translateX(-85%) scale(0.8);
  }
  
  .card.right {
    transform: translateX(85%) scale(0.8);
  }
  
  /* Card titles - slightly bigger */
  .card1 h3,
  .card2 h3,
  .card3 h3 {
    font-size: 0.7em;
    margin: 3px 0;
  }
  
  /* Card images - slightly bigger */
  .card1-image {
    width: 85%;
    height: 240px;
    margin: -18px 0 5px 5px;
  }
  
  .card2-image {
    width: 75%;
    height: 190px;
    margin: 5px 0;
  }
  
  .card3-image {
    width: 90%;
    height: 320px;
    margin: 5px 0;
  }
  
  /* Card buttons - slightly bigger */
  .card1-button,
  .card2-button,
  .card3-button {
    width: 140px;
    height: 30px;
    padding: 5px 10px;
    font-size: 0.35em;
    border-radius: 10px;
    bottom: 5px;
  }
  
  /* Text container - position higher */
  .text-container {
    font-size: 1.0em;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  /* Slightly bigger for very tiny screens */
  .card {
    width: 140px;
    height: 200px;
    padding: 10px;
  }
  
  .card.center {
    transform: scale(1.25);
  }
  
  .card.left {
    transform: translateX(-80%) scale(0.75);
  }
  
  .card.right {
    transform: translateX(80%) scale(0.75);
  }
  
  /* Card titles - slightly bigger */
  .card1 h3,
  .card2 h3,
  .card3 h3 {
    font-size: 0.6em;
    margin: 2px 0;
  }
  
  /* Card images - slightly bigger */
  .card1-image {
    width: 90%;
    height: 220px;
    margin: 0px 0 3px 3px;
  }
  
  .card2-image {
    width: 90%;
    height: 160px;
    margin: 12px 0;
  }
  
  .card3-image {
    width: 100%;
    height: 300px;
    margin: 0px 0;
  }
  
  /* Card buttons - slightly bigger */
  .card1-button,
  .card2-button,
  .card3-button {
    width: 120px;
    height: 25px;
    padding: 4px 8px;
    font-size: 0.3em;
    border-radius: 8px;
    bottom: 15px;
  }
  
  /* Text container - position higher */
  .text-container {
    font-size: 0.6em;
    top: 15%;
    align-items: center;
    margin-left: 125px;
  }
}

