/* Importing Google fonts */
@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", "Raleway", sans-serif;
}

:root {
    /* Colors */
    --white-color: #fff;
    --green-color: #24572c;
    --grey-color: #333;
    --brown-color: #957B46;
    --dark-color: #252525;
    --primary-color: #FED018;
    --secondary-color: #f3961c;
    --light-pink-color: #faf4f5;
    --medium-gray-color: #ccc;
    --light-blue-color: #8DD7FB;
    --pink-color: #D033B0;
    --light-pink-color: #fffdfd;
    --light-pink-color2: #faf8f8;
    --main-color: #4a3adc;
    --dark-color: #11152a;
    --light-color:#d0d4ed;
    --hero-back: #FD6E6A;


    /* Font size */
    --font-size-s: 0.9rem;
    --font-size-n: 1rem;
    --font-size-m: 1.12rem;
    --font-size-l: 1.15rem;
    --font-size-xl: 2rem;
    --font-size-xxl: 2.3rem;

    /* Font weight */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Border radius */
    --border-radius-s: 8px;
    --border-radius-m: 30px;
    --border-radius-circle: 50px;
    --border-radius-circle2: 100px;

    /* Site max width */
    --site-max-width: 1300px;
}

html {
    scroll-behavior: smooth;
}

/* Stylings for whole site */
ul {
    list-style: none;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

img {
    width: 100%;
}

.section-content {
    margin: 0 auto;
    max-width: var(--site-max-width);
}

.section-content .nav-logo img {
  width: 130px;
  height: 60px;
}

.section-title {
    text-align: center;
    text-transform: uppercase;
    font-size: var(--font-size-xl);
}

.section-title::after {
    content: "";
    width: 80px;
    height: 5px;
    display: block;
    margin: 10px auto 0;
    border-radius: var(--border-radius-s );
    background: var(--secondary-color);
}

/* Navbar styling */
header {
    position: fixed;
    width: 100%;
    z-index: 5;
    background-image: linear-gradient( 135deg, 10%);
}

header .navbar {
    display: flex;
    padding: 10px;
    align-items: center;
    justify-content: space-between;
}

/* Ensure the navbar sticks at the top */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

/* Align nav links in an equal row */
.navbar .navbar__menu {
    display: flex;
    gap: 10px;
    list-style: none; /* Removes default list styling */
    padding: 0;
    margin: 0;
}

.navbar .navbar__menu .navbar__item {
    display: flex;
    align-items: center;
}

.navbar .navbar__menu .navbar__links {
    padding: 10px 18px;
    background-image: linear-gradient(135deg, 10%);
    color: var(--grey-color);
    font-size: var(--font-size-m);
    border-radius: var(--border-radius-m);
    transition: 0.3s ease;
    text-decoration: none; /* Removes underline from links */
}

.navbar .navbar__menu .navbar__links:hover {
    color: #333;
    background: #f9d874; 
    background: -webkit-linear-gradient(
      to right,
      #CE8F1F,
      #f6d959
    );
}

/* Specific styles for Login/Signup button */
.navbar .navbar__menu .login-signup-button {
  background: #636363;
  background: -webkit-linear-gradient(
    to right,
    #636363,
    #686868
  );
    color: white;
}

.navbar .navbar__menu .login-signup-button:hover {
    color: #333;
    background: #E6C973; 
    background: -webkit-linear-gradient(
      to right,
      #CE8F1F,
      #EFDE94
    ); 
}

/* Ensure buttons have similar styling */
.navbar .navbar__menu button {
    border: none;
    background: none;
    cursor: pointer;
    font-size: var(--font-size-m);
}

.navbar, #menu-close-button,
 #menu-open-button {
    display: none;
}

@media screen and (max-width: 960px) {
  .navbar__menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: -1000px; /* Initially hidden */
    width: 100%;
    background: #ffffff;
    transition: top 0.5s ease; /* Smooth slide-down/up */
    z-index: -1;
  }
  
  .navbar__menu.active {
    top: 100%; /* Visible when active */
    z-index: 99;
  }
  

  .navbar__menu li {
    list-style: none; /* Remove bullet points */
    width: 100%; /* Full width of container */
    text-align: center; /* Center text */
    padding: 10px 0; /* Space between items */
  }

  .navbar__menu a {
    text-decoration: none; /* Remove underline */
    color: #686868; /* Default text color */
    font-size: 1.2rem; /* Slightly larger font */
    padding: 5px 15px; /* Add some padding to clickable area */
    transition: color 0.3s ease;
  }

  .navbar__menu a:hover {
    color: #fcac18; /* Highlight on hover */
  }

  .navbar__menu a.active {
    color: #fcac18; /* Highlight active link */
    font-weight: bold; /* Bold active item */
    border-bottom: 2px solid #fcac18; /* Underline active item */
  }

  /* Style for the Contact Us button */
  .navbar__menu .login-signup-button {
    background: #fcac18; /* Button background */
    color: #ffffff; /* Text color */
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 20px; /* Adjust button size */
    border: none;
    border-radius: 5px; /* Rounded corners */
    transition: background 0.3s ease;
  }

  .navbar__menu .login-signup-button:hover {
    background: #e69e16; /* Slightly darker shade on hover */
    cursor: pointer;
  }

  /* Hamburger icon styles */
  .navbar__toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    cursor: pointer;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
  }

  .navbar__toggle.is-active .bar:nth-child(2) {
    opacity: 0;
  }

  .navbar__toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .navbar__toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}



/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(images/LNF_background_image.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1; 
}

.hero h1, .hero p, .hero .main__btn {
  position: relative;
  z-index: 2; 
}

.hero__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  height: 90%;
  text-align: center;
  padding: 30px;
}

.hero__heading {
  font-size: 70px;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero__heading span {
  background: #564820; 
  background: -webkit-linear-gradient(
    to right,
    #453315,
    #676148
  ); 
  background: linear-gradient(
    to right,
    #ffdda1,
    #d9be44
  );
  background-size: 100%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -mo-text-fill-color: transparent;
}

.hero__description {
  font-size: 30px;
  font-weight: 1000;
  background: #f8f8f8;
  background: -webkit-linear-gradient(
    to right,
    #000000,
    #ffffff
  );
  background: linear-gradient(
    to right,
    #ffffff,
    #ffffff
  ); 
  background-size: 100%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}

.highlight {
  border-bottom: 4px solid #78642a;
}


 @media screen and (max-width: 768px) {
  .hero__heading {
    font-size: 60px;
  }

  .hero__description {
    font-size: 40px;
  }
}

/* About Section */
.main {
  background-color: #fbe5e5;
  padding: 2rem 0;
}

.main__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  height: 90%;
  z-index: 1;
  width: 100%;
  max-width: 1300px;
  padding: 0 30px;
}

.main__content {
  color: #555555;
  width: 100%;
}

.main__content h1 {
  font-size: 2rem;  
  background-color: #fe3b6f;
  background-image: linear-gradient(to top, #CE8F1F 0%, #fac677 100%);
  background-size: 100%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  margin-bottom: 32px;
}

.main__content p {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 530;
  font: sans-serif;
}

.main__content .founded-p {
  font-weight: bold;
}

.main__btn {
  font-size: 1.8rem;
  background: #833ab4;
  background: -webkit-linear-gradient(to right, #fcb045, #CE8F1F, #E6C973);
  background: linear-gradient(to right,  #fcb045, #CE8F1F, #E6C973);
  padding: 10px 30px;
  border: none;
  border-radius: 4px;
  margin-top: 2rem;
  cursor: pointer;
  position: relative;
  transition: all 0.35s;
  outline: none;
}

.main__btn a {
  position: relative;
  z-index: 2;
  color: #fff;
  text-decoration: none;
}

.main__btn:after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #636363;
  transition: all 0.35s;
  border-radius: 4px;
}

.main__btn:hover {
  color: #fff;
}

.main__btn:hover:after {
  width: 100%;
}

.main__img--container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  max-width: 100%;
  overflow: hidden;
}

.main__img--card img {
  margin: 10px;
  height: 100%;
  width: 600px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* About Section */
.about-section {
  padding: 120px 0;
  background: var(--light-pink-color2);
}

.about-section .section-content {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
}

.about-image-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 100%;
}

.image-block {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.image-block:hover .about-image {
  transform: scale(1.03);
}

.linked-image a {
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}

.overlay {
  position: absolute;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  padding: 16px;
  width: 100%;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.linked-image:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: bold;
}

.overlay p {
  margin: 0;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .about-image-wrapper {
    flex-direction: column;
    gap: 16px;
  }

  .overlay h3 {
    font-size: 0.95rem;
  }

  .overlay p {
    font-size: 0.8rem;
  }
}


.about-section .about-details .section-title {
  padding: 0;
}

.about-section .about-details {
  max-width: 50%  ;
}

.about-section .about-details .text {
  line-height: 30px;
  margin: 50px 0 30px;
  text-align: center;
  font-size: var(--font-size-m);
}

.fa-layer-group,
.fa-users {
  font-size: 14rem;
}

#card-2 {
  background: #ff512f;
  background: -webkit-linear-gradient(to right, #dd2476, #ff512f);
  background: linear-gradient(to right, #dd2476, #ff512f);
}

/* Mobile Responsive */
@media screen and (max-width: 1100px) {
  .main__container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    height: 90%;
  }

  .main__img--container {
    display: flex;
    justify-content: center;
  }

  .main__img--card {
    height: 425px;
    width: 425px;
  }

  .main__content {
    text-align: center;
    margin-bottom: 4rem;
  }

  .main__content h1 {
    font-size: 2.5rem;
    margin-top: 2rem;
  }

  .main__content h2 {
    font-size: 3rem;
  }

  .main__content p {
    margin-top: 1rem;
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .main__img--card {
    width: 250px;
    height: 250px;
  }

  .fa-users,
  .fa-layer-group {
    font-size: 4rem;
  }

  .main__content h1 {
    font-size: 2rem;
    margin-top: 3rem;
  }
  .main__content h2 {
    font-size: 2rem;
  }

  .main__content p {
    margin-top: 2rem;
  }

  .main__btn {
    padding: 12px 36px;
    margin: 2.5rem 0;
  }
}

@media screen and (max-width: 768px) {
  /* Stack the image and text vertically for smaller screens */
  .about-section .section-content {
    flex-direction: column; /* Stack elements vertically */
    text-align: center; /* Center-align content */
    gap: 20px; /* Reduce gap between image and text */
  }

  /* Make the image smaller and centered */
  .about-section .about-image-wrapper .about-image {
    width: 100%; /* Full width of the container */
    height: auto; /* Maintain aspect ratio */
    max-width: 400px; /* Optional: Limit max size */
    margin: 0 auto; /* Center the image */
  }

  /* Ensure text content spans full width */
  .about-section .about-details {
    max-width: 100%;
    padding: 0 15px; /* Add horizontal padding for better readability */
  }

  .about-section .about-details .text {
    font-size: var(--font-size-s); /* Reduce font size for smaller screens */
    text-align: justify; /* Improve readability for paragraphs */
    margin: 20px 0; /* Adjust spacing */
  }

  /* Schedule container adjustments */
  /* .schedule__container {
    text-align: center;
    margin: 20px 0; 
  } */

  /* .schedule__btn {
    padding: 10px 20px;
    font-size: var(--font-size-m);
  } */

  /* Adjust form styling */
  /* #formContainer {
    padding: 10px;
  } */

  /* #scheduleForm label {
    display: block;
    text-align: left; 
    margin-bottom: 5px;
  } */

  /* #scheduleForm input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius-s);
  } */

  /* #scheduleForm .btn {
    display: block;
    width: 100%; 
    padding: 10px;
    font-size: var(--font-size-m);
    background: var(--secondary-color);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: var(--border-radius-s);
  } */
}

@media screen and (max-width: 480px) {
  /* Further adjustments for very small screens */
  .about-section {
    padding: 60px 0; /* Reduce top and bottom padding */
  }

  .about-section .section-content {
    gap: 15px; /* Reduce gap further */
  }

  .about-section .about-details .text {
    font-size: 14px; /* Further reduce font size */
    margin: 15px 0; /* Adjust spacing */
  }

  .schedule__btn {
    font-size: 14px; /* Reduce button font size */
    padding: 8px 16px;
  }

  /* Adjust input fields for very small screens */
  #scheduleForm input {
    font-size: 14px;
  }

  #scheduleForm .btn {
    font-size: 14px;
    padding: 8px;
  }
}


/* --- Improved Schedule Call Styles --- */
.schedule__description {
    text-align: center;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.schedule__btn {
    background-color: #f0ad4e;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 50px; /* More modern, rounded button */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.schedule__btn:hover {
    background-color: #ec971f;
    transform: scale(1.02); /* Slight grow effect */
}

#formContainer {
    margin-top: 25px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #f0ad4e;
}

#scheduleForm label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

#scheduleForm input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

#scheduleForm input:focus {
    border-color: #f0ad4e;
    outline: none;
    box-shadow: 0 0 5px rgba(240, 173, 78, 0.5);
}

.submit-btn {
    background-color: #333;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    font-weight: 600;
}

.submit-btn:hover {
    background-color: #555;
}

.form-feedback {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    text-align: center;
    display: none; /* Hidden by default */
}

.form-feedback.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-feedback.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.btn:hover {
  background-color: #ec971f;
}

.hidden {
  display: none;
}

form {
  margin-top: 20px;
}

label {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
}

input[type="text"],
input[type="tel"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

input[type="text"]:focus,
input[type="tel"]:focus {
  border-color: #f0ad4e;
  outline: none;
}

/* Focus Section */
.focus-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
  max-width: 1300px;
  margin: 0 auto;
  gap: 30px;
}

.focus-content {
  flex: 1;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background-color: #fe3b6f;
  background-image: linear-gradient(to top, #CE8F1F 0%, #fac677 100%);
  background-size: 100%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}

.focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.focus-item {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
  text-align: left;
}

.focus-item:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.focus-item i {
  font-size: 24px;
  margin-right: 10px;
}

.focus-item h3 {
  font-size: 1.3rem;
  margin: 10px 0;
}

.focus-item p {
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.read-more {
  color: #f16e00;
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
}

/* Image Section */
.image-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-section img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .focus-area {
    flex-direction: column; /* Stack content vertically */
  }

  .focus-grid {
    grid-template-columns: 1fr; /* Change to a single-column layout */
  }

  .image-section {
    order: 2; /* Ensure the image section comes after content */
    margin-top: 20px; /* Add spacing between the content and the image */
  }
}

@media screen and (max-width: 480px) {
  .focus-item h3 {
    font-size: 1.1rem;
  }

  .focus-item p {
    font-size: 0.85rem;
  }

  .focus-item i {
    font-size: 22px;
  }

  .image-section img {
    max-width: 100%; /* Ensure the image doesn't exceed the screen width */
    height: auto;
  }
}


/* Values Section */
.values-section {
  margin-top: 50px;
  max-width: 1200px;
  margin: 30px auto;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* Value Card */
.value-card {
  position: relative;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease;
  background-size: cover;
  background-position: center;
}

#ubuntu {
  background-image: url(/images/Passion2.png);
}

#integrity {
  background-image: url(/images/non\ profitable\ transform\ 4.jpg);
}

#excellence {
  background-image: url(/images/non\ profitable\ respect\ 6.png);
}

#innovation {
  background-image: url(/images/Nelson\ Mandela\ Tata\ 4.jpg);
}

.value-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Overlay for dimming */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  transition:  0.4s ease-in-out;
}

.value-card:hover .overlay {
  background: rgba(0, 0, 0, 0.7);
}

/* Text Content */
.value-content {
    opacity: 1; /* Always visible */
    transform: translateY(0); /* No hover transform needed */
    background: rgba(0, 0, 0, 0.6); /* Darker background for contrast */
    padding: 15px;
    border-radius: 5px;
    bottom: 10px; /* Adjust position slightly */
    left: 10px;
    right: 10px;
    transition: background 0.3s ease; /* Keep a smooth transition if needed */
}

/* Optional: Slightly darken the overlay on hover for effect, but it's not required */
.value-card .overlay {
    background: rgba(0, 0, 0, 0.6); /* Make overlay darker from the start */
}

.value-card:hover .overlay {
    background: rgba(0, 0, 0, 0.8); /* Even darker on hover if you like */
}

/* Ensure text colors are white for visibility */
.value-content h3,
.value-content p,
.value-content strong {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr; /* Stack the cards in a single column on small screens */
  }
}


/* Other Images Section */
.otherContent-section {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
}

.otherText-container {
  text-align: left;
  background-color: #333;
  color: #fff;
  padding: 30px;
  margin-right: 40px;
  border-radius: 10px;
  max-width: 400px;
  text-align: center;
}

.otherText-container h1 {
  font-size: 2em;
  margin-bottom: 15px;
  text-align: center;
}

.otherText-container p {
  line-height: 1.6;
}

.otherText-container p span {
  font-weight: bold;
  font-size: 1.1em;
  color: #ffdd00;
}

.otherText-container .otherContact a {
  color: #ffdd00;
  font-weight: bold;
  text-decoration: none;
}

.otherText-container .otherContact a:hover {
  text-decoration: underline;
}

.otherImage-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.otherImage-container img {
  width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


@media screen and (max-width: 768px) {
  /* Stack the image and text vertically for smaller screens */
  .otherContent-section {
    flex-direction: column; /* Stack content vertically */
    align-items: center; /* Center-align content */
    padding: 20px;
  }

  /* Adjust text container styling */
  .otherText-container {
    margin-right: 0; /* Remove right margin */
    margin-top: 20px; /* Add spacing between image and text */
    max-width: 100%; /* Make text container full-width */
    text-align: justify; /* Align text for readability */
    padding: 20px; /* Adjust padding */
  }

  /* Center the images and adjust their size */
  .otherImage-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Reduce gap between images */
  }

  .otherImage-container img {
    width: 100%; /* Make images responsive */
    max-width: 400px; /* Set a maximum width */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto; /* Center images */
  }
}

@media screen and (max-width: 480px) {
  /* Further adjustments for smaller devices */
  .otherText-container h1 {
    font-size: 1.5em; /* Reduce heading size */
    margin-bottom: 10px;
  }

  .otherText-container p {
    font-size: 14px; /* Reduce font size */
    line-height: 1.4;
  }

  .otherImage-container img {
    max-width: 300px; /* Further reduce image size for very small screens */
  }
}




/* Gallary */
.gallery-item {
  text-align: center;
  margin: 20px 0;
}

.icon-text {
  display: inline-flex;
  align-items: center; 
}

.icon {
  width: 40px; 
  height: auto;
  margin-right: 10px; 
}

.masallah-text {
  font-weight: bold;
  color: #4857a6;
  font-size: 1.2em;
}

.gallery {
  margin-top: -10px;
}

.gallery-grid {
  margin-top: 50px;
  display: flex;
  justify-content: space-around;
  gap: 10px;
}

.gallery-grid img,
.gallery-grid video {
  width: 30%;
  border-radius: 8px;
}

.gallary-item {
  text-align: center;
}

.gallary-item p {
  font-size: 1rem;
  margin-bottom: 5px;
  color: #4b4a4a;
}

/* FAQ Section Styles */
.faq-section {
  padding: 20px;
  background-color: #f8f5ef;
}

.faq-title {
  font-size: 36px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 30px;
  background-color: #fe3b6f;
  background-image: linear-gradient(to top, #CE8F1F 0%, #fac677 100%);
  background-size: 100%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #ffffff;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.faq-question {
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  background-color: #f8f5ef;
  color: #333;
  position: relative;
}

.faq-question::after {
  content: '\25BC';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 15px;
  font-size: 16px;
  display: none;
  border-top: 1px solid #e0e0e0;
  background-color: #ffffff;
  color: #666;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question::after {
  transform: translateY(-50%) rotate(180deg);
}


/* Our Team Section */

.team-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #f9f9f9;
}

.section-title {
  font-size: 30px;
  font-weight: bold;
  background-color: #fe3b6f;
  background-image: linear-gradient(to top, #CE8F1F 0%, #fac677 100%);
  background-size: 100%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
}

.section-subtitle span {
  font-weight: bold;
  font-size: 1.2rem;
  background-color: #fe3b6f;
  background-image: linear-gradient(to top, #CE8F1F 0%, #fac677 100%);
  background-size: 100%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}

.team-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.team-member {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 280px;
  text-align: center;
  position: relative;
}

.member-image {
  width: 150px; 
  height: 150px; 
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.member-image img {
  width: 100%;
  height: auto;
  object-fit: cover; 
}

.team-member h3 {
  margin-top: 10px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.role {
  font-size: 14px;
  color: #888;
  margin: 5px 0;
}

.team-member p {
  font-size: 14px;
  color: #555;
  margin: 5px 0;
}

.social-links {
  margin-top: 15px;
}

.social-links a {
  color: #333;
  margin: 0 5px;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #007bff;
}


/* In Memoriam Section */
/* === IN MEMORIAM SWIPER SECTION – extends your design system === */
:root {
    /* reusing your existing color variables – fallbacks if not defined */
    --memorial-bg: #faf8f8;
    --memorial-card-bg: #ffffff;
    --memorial-border: #e0d9cc;
    --memorial-gold: #CE8F1F;
    --memorial-text: #333333;
    --memorial-light: #f8f5ef;
}

.memorial-section {
    padding: 4rem 1.5rem;
    background-color: var(--memorial-bg, #faf8f8);
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.memorial-title {
    font-size: 2.2rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #CE8F1F, #E6C973);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.memorial-sub {
    color: #686868;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-style: italic;
    border-bottom: 2px dashed #d4b373;
    display: inline-block;
    padding-bottom: 0.5rem;
}

/* swiper container – horizontal scroll with snap */
.memorial-swiper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 1.5rem 0.5rem 2rem 0.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--memorial-gold) #f0e5d8;
}

.memorial-swiper::-webkit-scrollbar {
    height: 8px;
}
.memorial-swiper::-webkit-scrollbar-track {
    background: #f0e5d8;
    border-radius: 20px;
}
.memorial-swiper::-webkit-scrollbar-thumb {
    background: var(--memorial-gold);
    border-radius: 20px;
}

/* memorial card */
.memorial-card {
    flex: 0 0 300px;            /* fixed width, horizontal scroll */
    scroll-snap-align: start;
    background: var(--memorial-card-bg, #ffffff);
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(206, 143, 31, 0.15);
    display: flex;
    flex-direction: column;
}

.memorial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 40px -12px rgba(94, 73, 30, 0.25);
    border-color: var(--memorial-gold);
}

/* image container – respects your ratio */
.memorial-img-wrapper {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background-color: #eae0d0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.memorial-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.memorial-card:hover .memorial-img-wrapper img {
    transform: scale(1.03);
}

/* placeholder if image missing */
.memorial-img-wrapper .placeholder-icon {
    font-size: 4rem;
    color: #b0976a;
    opacity: 0.6;
}

/* condolence message block */
.memorial-message {
    padding: 1.5rem 1.2rem 1.8rem 1.2rem;
    background: linear-gradient(180deg, #ffffff 0%, #fefcf9 100%);
    border-top: 1px solid #ede6db;
    text-align: left;
}

.memorial-message h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.35rem 0;
    color: #3d2f1b;
}

.memorial-message .relation {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #957B46;              /* your brown color */
    margin-bottom: 0.9rem;
    font-weight: 500;
    display: inline-block;
    background: #f5efe5;
    padding: 0.2rem 1rem;
    border-radius: 30px;
}

.memorial-message .condolence-text {
    font-size: 0.98rem;
    line-height: 1.5;
    color: #444;
    margin-bottom: 1.2rem;
    font-style: normal;
    border-left: 3px solid #f3961c;   /* secondary color */
    padding-left: 1rem;
    background: #fefcf9;
}

.memorial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #7a6b58;
    border-top: 1px dashed #d5c7b8;
    padding-top: 0.8rem;
}

.memorial-footer .team-signature {
    font-weight: 600;
    color: #CE8F1F;
}

.memorial-footer i {
    color: #b3a185;
    transition: color 0.2s;
}
.memorial-footer i:hover {
    color: #CE8F1F;
}

/* hint for swipe (mobile friendly) */
.swipe-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 1.8rem 0 0.5rem;
    color: #9b8b76;
    font-size: 0.9rem;
}
.swipe-hint i {
    font-size: 1.2rem;
    animation: slideLeftRight 1.8s infinite ease;
}

@keyframes slideLeftRight {
    0% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(6px); opacity: 1; }
    100% { transform: translateX(0); opacity: 0.6; }
}

/* responsiveness – cards keep same width, swiper adapts */
@media (max-width: 700px) {
    .memorial-card {
        flex: 0 0 280px;
    }
    .memorial-img-wrapper {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .memorial-card {
        flex: 0 0 260px;
    }
    .memorial-title {
        font-size: 1.9rem;
    }
}

/* extra touch: floating candle (tiny detail) */
.memorial-candle {
    font-size: 1.2rem;
    margin-left: 0.3rem;
    opacity: 0.7;
}


/* Contact Us section */
.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.contact-form-column {
  flex: 2;
}

.bank-details {
  flex: 1;
  background-image: url('images/Homeless\ 4.jpeg'); 
  background-size: cover; 
  background-position: center; 
  background-blend-mode: darken; 
  color: white; 
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: rgba(0, 0, 0, 0.6); 
}

.bank-details .bank-details-h5 {
  color: #ffffff;
  margin-bottom: 20px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  gap: 20px;
}

input, textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

textarea {
  height: 150px;
}

button {
  padding: 15px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background-color: #555;
}

.contact-content h1 {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  background-color: #fe3b6f;
  background-image: linear-gradient(to top, #CE8F1F 0%, #fac677 100%);
  background-size: 100%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}

.bank-details h5 {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
}

.bank-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .bank-details {
    margin-top: 20px;
  }
}

/* Location Section */
.location-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; 
}

.box {
  background-color: white;
  border: 2px solid #D4AF37;
  border-radius: 5px;
  padding: 20px;
  width: 250px;
  text-align: left;
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.box h3 {
  color: #D4AF37;
  margin-bottom: 10px;
  font-weight: normal;
}

.box p {
  color: #333;
  margin-bottom: 10px;
}

.box a {
  color: #D4AF37;
  text-decoration: none;
}

.box:hover {
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-10px);
}

@media (max-width: 768px) {
  .box {
    width: 100%; 
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .box {
    width: 100%; 
    margin-bottom: 15px; 
  }
}

/* Map */
.map-container {
  text-align: center;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
  margin-bottom: 20px;
  color: #333;
}

iframe {
  border-radius: 8px;
}

#music-control {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #444;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 9999; /* Ensures it's always visible */
}

.pause-music-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
  padding: 5px 10px; /* Reduced padding */
  font-size: 12px; /* Smaller font */
  width: 50px; /* Dynamic width */
  height: auto;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  .pause-music-btn {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 5px 10px; /* Reduced padding for smaller screens */
    font-size: 12px; /* Smaller font */
    width: 50px;
    height: auto;
  }
}

@media screen and (max-width: 960px) {
  .pause-music-btn {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 5px 10px; /* Reduced padding for smaller screens */
    font-size: 12px; /* Smaller font */
    width: 50px;
    height: auto;
  }
}

/* Footer Section */
footer {
  background-color: #333;
  color: #ddd;
  padding: 20px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

/* Container to keep everything in a single row */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Footer Text Links */
.footer-links {
  display: inline-block;
}

.footer-links a {
  color: #f16e00;
  text-decoration: none;
  margin: 0 10px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Social Icons */
.social-icons {
  display: inline-block;
}

.social-icons a {
  color: #d4b373;
  text-decoration: none;
  margin: 0 10px;
  font-size: 20px;
}

.social-icons a:hover {
  color: #fff;
}

/* Subscribe Button */
.subscribe-btn {
  background-color: transparent;
  border: 1px solid #f16e00;
  color: #f16e00;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.subscribe-btn:hover {
  background-color: #f16e00;
  color: #fff;
}

/* Bottom Section Styling */
.footer-bottom {
  background-color: #444;
  padding: 15px 20px;
  text-align: center;
  color: #bbb;
  font-size: 12px;
}

.footer-bottom a {
  color: #f16e00;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}
