/*WE ARE EXPERTS IN*/
  .headingexperts {
  padding: 10px;
  }

  .tiles-containerexperts {
  display: grid;
  padding: 0px 20px;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}
.tileexperts {
  background: none;
  box-shadow: 1px 4px #E6C3A0;
  padding: 30px 60px;
  text-align: center;
  border-radius: 12px;
  border: none;
  letter-spacing: 2px;
}

.icon-img {
  width: auto;
  height: 90px;
  margin-bottom: 10px;
}
.tileexperts {
  margin: 0;
  padding-top: 30px;
}

@media (max-width: 1024px) {
  .tiles-containerexperts {
    display: grid;
    grid-template-columns: 1fr;  /* single column for narrow screens */
    gap: 20px;
    padding: 0 10px;
    max-width: 100%;
    margin: 0 auto;
  }

  .tileexperts {
    padding: 20px 15px;
    box-shadow: 1px 2px #E6C3A0; /* lighter shadow on small screens */
    border-radius: 10px;
  }

  .icon-img {
    height: 70px; /* smaller icons for mobile */
    margin-bottom: 10px;
  }

  .tileexperts p {
    font-size: 1rem; /* smaller font for mobile */
    letter-spacing: 1.5px;
    line-height: 1.3;
  }
}

/*PARALLAX*/
/* Base styles - 1440px*/
.parallax-video-section1 {
  position: relative;
  width: 100%;
  height: 450px; /* full viewport height */
  overflow: hidden;
}

.video-container1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-container1 video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures video fills area without distortion */
}

.video1 {
  position: relative; /* sits above video */
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 20px;
}
.video1 h2 {
  margin-bottom: 15px;
}
.video1 p {
  max-width: 700px;
}

/* Optional: dark overlay for readability */
.parallax-video-section1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

@media (min-width: 1024px) and (max-width: 2560px) {
  .parallax-video-section1{
    height: 430px;
  }
  .video-container1 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0; /* ensure video is behind */
    width: 100%;
  }

  .video-container1 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .video1 {
    position: relative;
    z-index: 2; /* stays on top */
  }
}

@media (min-width: 390px) and (max-width: 1024px) {
  .parallax-video-section1 {
    height: 300px; /* reduce height for small screens */
  }

  .video-container1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .video-container1 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .video1 {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 10px; /* reduce padding */
  }

  .video1 h2 {
    font-size: 20px;      /* smaller headline */
    margin-bottom: 10px;  /* reduce spacing */
    line-height: 1.3;
  }

  .video1 p {
    max-width: 320px;      /* narrower text */
    font-size: 14px;       /* smaller text */
    line-height: 1.4;
    padding: 0 5px;        /* slight padding for edges */
  }
}

/*PARALLAX*/
/* Parallax video container 1440px */
.parallax-video-section-home {
  position: relative;
  height: 450px; /* full height */
  width: 100%;
  overflow: hidden;
}

.video-container-home {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: -1;
}
.video-container-home video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


@media (max-width: 1024px) {
  .parallax-video-section-home {
    height: 500px; /* adjust height for smaller screens */
  }

  .video-container-home video {
    width: 100%;
    height: auto;
    object-fit: cover; /* ensures no stretching */
  }
}
@media (min-width: 390px) and (max-width: 1024px) {
  .parallax-video-section-home {
    height: 300px; /* smaller section height for mobile */
  }

  .video-container-home video {
    height: auto;
    width: 100%;
    object-fit: cover; /* keeps it filling without stretching */
  }
}

/* DESKTOP */
/*HOW WE SPECIALISE*/
.tile-section{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:24px;
  padding:60px 5%;
}

.tile{
  min-height:260px;

  display:flex;
  flex-direction:column;

  padding:30px 20px;
  border-radius:20px;

  background:;
}

/* IMAGE AREA */
.tile-icon{
  flex:1;

  display:flex;
  align-items:center;
  justify-content:center;
}

.tile-icon img{
  width:100%;
  max-width:100px;
  height:auto;
  object-fit:contain;
}

/* TEXT AREA */
.tile-text{
  margin-top:auto;
  padding-top:24px;

  display:flex;
  justify-content:center;
  align-items:center;
}

.subheadinglight{
  color:#fff;
  font-size:1.1rem;
  font-weight:500;
  text-align:center;
}

/* TABLET */
@media(max-width:992px){

  .tile-section{
    grid-template-columns:repeat(3,1fr);
  }

}

/* MOBILE */
@media(max-width:640px){

  .tile-section{
    grid-template-columns:repeat(2,1fr);
    gap:16px;
  }

  .tile{
    min-height:220px;
    padding:24px 16px;
  }

  .tile-icon img{
    max-width:75px;
  }

}

/* SMALL MOBILE */
@media(max-width:420px){

  .tile-section{
    grid-template-columns:1fr;
  }

}

/* Main section layout 1440px */
.what-we-do {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0;
  height: 500px;
}

/* Left side with image */
.image-1 {
  flex: none;
  position: relative;
  height: 100%; /* Full height */
}

.image-container1 {
  position: relative;
  height: 100%; /* Full height */
  width: 100%;
}

.image-container1 img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the full area without distortion */
  display: block;
  
}

.image-container1 .overlay-what-we-do {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, 
  rgba(255, 255, 255, 0), 
  rgba(255, 255, 255, 0.85), 
  rgb(255, 255, 255)); /* Overlay fade effect */
  z-index: 1;
}

/* WHAT WE DO */
/* Right side with heading and paragraph */
.text-what-we-do {
  padding-left: 0px;
  z-index: 2; /* Ensures text is above the overlay */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically centers the content */
  align-items: flex-start; /* Aligns content to the left */
  height: 100vh; /* Full height of the screen */
  padding: 20px;
}

.text-what-we-do .dark-text {
  text-align: left; /* Aligns text to the left */
  padding-right: 50px;
}

@media (max-width: 1024px) {
  .what-we-do {
    flex-direction: row;          /* keep side by side */
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;             /* horizontal padding */
    height: auto;                 /* let content define height */
  }

  /* Left side image */
  .image-1 {
    flex: 0 0 35%; /* 35% width */
    height: 350px;               /* adjust height for tablet */
    margin-right: 20px;          /* spacing between image and text */
  }

  .image-container1 {
    height: 100%;
    width: 100%;
  }

  .image-container1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .image-container1 .overlay-what-we-do {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right,
      rgba(255,255,255,0),
      rgba(255,255,255,0.85),
      #fff);
    z-index: 1;
  }

  /* Right side text */
  .text-what-we-do {
    flex: 0 0 65%; /* 65% width */
    height: 350px;               /* match image height */
    padding: 10px 20px;          /* reduce padding for tablet */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
  }

  .text-what-we-do .dark-text {
    text-align: left;
    padding-right: 20px;         /* reduce right padding */
    font-size: 14px;             /* optional: slightly smaller font */
    line-height: 1.4;
  }
}


@media (max-width: 390px) {
  .what-we-do {
    display: flex;
    flex-direction: column; /* stack vertically */
    width: 100%;
    height: auto; /* adjust height automatically */
  }

  /* Image on top */
  .image-1 {
    order: 1;
    width: 100%;
    padding: 0; /* remove side padding */
  }

  .image-container1 img {
    width: 100%;
    height: 300px; /* maintain aspect ratio */
    display: block;
    margin-top: -80px
  }

.image-container1 .overlay-what-we-do {
 position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to left,
    #FFFFFF,    /* fully white on left */
    #FFFFFF00);   /* fully transparent on right */
  z-index: 1;
}
  /* Text below image */
  .text-what-we-do {
  order: 2;
  text-align: center;
  margin: 0;      /* remove any external spacing */
  padding-top: 40px;     /* remove any internal spacing */
margin-bottom: 40px;
padding-left: 40px;
padding-right: 40px;
}

.text-what-we-do .h3 {
display: flex;
  flex-direction: column;      /* stack heading and text */
  justify-content: center;     /* vertically center inside container */
  align-items: center;         /* horizontally center */
  text-align: center;          /* center text inside elements */
  padding: 0 20px;             /* optional side padding */
  padding-bottom: 20px;
}

  .text-what-we-do .dark-text {
    font-size: 14px;
    line-height: 1.4;
    max-width: 100%; /* full width */
    text-align: center;
    margin: 0;      /* remove spacing above/below heading and text */
  padding: 0;     /* remove internal spacing */
text-align: center;
  }
}

/* BUSINESS UPGRADE */
.business-upgrade {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0;
  height: 500px;
}
.business-text {
  position: relative;
}

.section-icon {
  display: block;        /* makes the image a block so it aligns with text edges */
  margin-left: 40px;        /* aligns with left edge of container */
  margin-top: 8px;       /* spacing from h3 */
  width: 120px;           /* adjust icon size */
  height: auto;
}
/* Left side (text) */

.business-text .dark-text{
  z-index: 2; /* Ensures text is above the overlay */
  display: flex;
  align-items: flex-start; /* Aligns content to the left */
  /* Full height of the screen */
  padding-left: 40px;
  padding-right: 90px;
  text-align: left;
}
.business-text .h3{
  text-align: left;
  padding: 0 40px;
}

/* START YOUR PROJECT */
/* Buttons container */
.subscribe-2 {
  margin-top: 20px;
  display: flex;
  gap: 50px;
  text-align: left;
  padding: 0 40px;
}

.subscribe2 {
  position: relative;
  display: inline-block;
  padding: 0.75rem 1.5rem; /* button size */
  margin-top: 1rem;
  background-color: transparent; /* no solid fill */
  color: #000; /* text color */
  font-family: 'Futura', sans-serif;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent; /* invisible until hover animation */
  border-radius: 50px; /* rounded pill look */
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease;
}

/* Animated border layer */
.subscribe2::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #E6C3A0;
  border-radius: 50px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  pointer-events: none;
}
.subscribe2:hover {
  color: #E6C3A0;
}
/* Show animated border on hover */
.subscribe2:hover::before {
  transform: scaleX(1);
}

/* Modal overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 1002;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  overflow: hidden;
}

/* Modal content */
.modal-content {
  background-color: #15282Db3; /* B3 = ~70% opacity */
  border: 1px solid #E6C3A0;
  color: #E6C3A0; 
  margin: 10% auto;
  padding: 10px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  height: 400px;
  text-align: center;
  position: relative;
}
.modal-content h3 {
 font-family: 'Futura', sans-serif;
  font-size: 40px;
  letter-spacing: 2px;
text-transform: uppercase;
text-align: center;
}
.modal-content p {
  font-family: 'Acumin Pro', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
text-transform: uppercase;
text-align: center;
}
.btn2{
  text-transform: uppercase;
}
/* Close button */
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #E6C3A0;
}

.close:hover {
  color: #E6C3A0;
}

/* Form styling */
#subscribeform input[type="email"] {
  width: 80%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 50px;
}

#subscribeform .btn2 {
  font-family: 'Futura', sans-serif;
  font-size: 20px;
  padding: 10px 20px;
  background-color: #E6C3A0;
  color: #865E47;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
}

#subscribeform .btn2:hover {
  background-color: transparent;
  border: 1px solid #E6C3A0;
  color: #E6C3A0;
}

#responsemessage {
  font-family: 'Futura', sans-serif;
  font-weight: bold;
  font-size: 15x;
  text-align: center;
  margin-top: 15px;
  padding: 10px;
  border-radius: 5px;
}

/* Right side (image) */
.business-image {
  flex: 1;
  position: relative;
  height: 100%;
}

.business-image-1 {
  position: relative;
  height: 100%;
  width: 100%;
  
}

.business-image-1 img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Fade overlay */
.business-image-1 .overlay2 {
 position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,    /* fully white on left */
    rgba(255, 255, 255, 0) 100%   /* fully transparent on right */
  );
  z-index: 1;
}

@media (min-width: 1024px) and (max-width: 2560px) {

  .section-icon {
    margin-left: 30px;  /* adjust to align with text on smaller screen */
    width: 80px;        /* smaller icon width */
    margin-top: 6px;    /* reduce spacing if needed */
  }
}

@media (min-width: 390px) and (max-width: 1020px) {
  .business-upgrade {
    flex-direction: column; /* stack vertically */
    height: auto;
  }

  /* Image first */
  .business-image {
    order: 1;
    width: 100%;
    height: auto;
  }
  .section-icon {
   /* adjust to align with text on smaller screen */
    width: 70px;        /* smaller icon width */
    margin-top: 6px;
    margin-right: 30px;
  }
  .business-image-1 {
    width: 100%;
    height: 250px; /* mobile height */
  }

  .business-image-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Text section under image */
  .business-text {
    order: 2;
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center; /* horizontally center children */
  text-align: center;  /* center text inside */
  }

  .business-text .h3 {
    margin-bottom: 15px;
    font-size: 14px;
  }

  .business-text .dark-text {
    margin-bottom: 15px;
    padding-right: 30px;
    padding-left: 20px;
    font-size: 14px;
    text-align: center;
  }
}

/* FAQ SECTION */
  .faq-section {
  background: #15282D;
  padding-top: 40px;
    }
  
    .faq-container {
      max-width: 900px;
      margin: 0 auto 20px;
      padding-top: 40px;
    }

    .faq-search {
      text-align: center;
      margin-bottom: 30px;
    }

    .faq-search input {
      width: 60%;
      padding: 12px 16px;
      font-size: 16px;
      border-radius: 50px;
      border: 1px solid #ccc;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .faq-item {
      background: #fff;
      border-radius: 30px;
      margin-bottom: 24px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
      transition: 0.3s;
      overflow: hidden;
    }
  
    .faq-search {
  position: relative;
  max-width: 500px;
  margin: 0 auto 30px;
}

#faqSearch {
  width: 100%;
  padding: 12px 40px 12px 15px; /* space for icon on right */
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 50px;
  box-sizing: border-box;
}
.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #888;
  pointer-events: none; /* so clicks go through to input */
}
   

.faq-question {
      padding: 18px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      font-weight: 500;
      font-size: 18px;
      color: #865e47;
      font-family: 'Futura', sans-serif;
    }

    .faq-answer {
      padding: 0 20px;
      max-height: 0;
      overflow: hidden;
      background: #865E47;
      font-family: 'Acumin Pro', sans-serif;
      color: #E6C3A0;
      transition: all 0.4s ease;
    }

 .faq-item.active .faq-answer {
      padding: 16px 20px;
      max-height: 300px;
    }

.faq-icon {
      transition: transform 0.3s ease;
      color: #865E47;
    }

.faq-item.active .faq-icon {
      transform: rotate(180deg);
    }
.see-more-container {
  padding-bottom: 40px;
}
    
@media (width: 390px) {
  .faq-section {
    padding-top: 20px;
  }
.faq h3 {
  padding: 0 20px;
}
  .faq-container {
    width: 350px;
    padding-top: 20px;
    padding-bottom: 30px;
    margin: 0 15px;
  }

  .faq-search {
    max-width: 250px;
    margin-bottom: 20px;
  }

  #faqSearch {
    width: 100%;
    font-size: 14px;
    padding: 10px 38px 10px 12px; /* smaller padding */
  }

  .search-icon {
    font-size: 16px;
    right: 12px;
  }

  .faq-item {
    border-radius: 25px;
    margin-bottom: 16px;
  }

  .faq-question {
    font-size: 16px;
    padding: 14px 16px;
  }

  .faq-answer {
    font-size: 14px;
    padding: 0 16px;
  }

  .faq-item.active .faq-answer {
    padding: 12px 16px;
  }
  .see-more-container {
  padding-bottom: 40px;
}
}

/* LATEST NEWS */
.latest-news {
  background: transparent;
  padding: 60px 20px 10px;
}

.news-container {
  max-width: 1585px; /* 3×510px + 2×45px gap */
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: nowrap; /* keep 3 in a row */
}

.animated-button-dark {
  position: relative;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  color: #15282D;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 50px;
  transition: color 0.3s ease;
  font-family: 'Futura', sans-serif;
  font-weight: medium;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center; 
}

/*TESTIMONIALS*/
.testimonial-section {
  min-height: auto;
  background:#15282D;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 20px 40px;
  font-family: 'Acumin Pro', sans-serif;
}

.testimonial-slider p{
  font-family: 'Futura', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 1px;
font-style: italic;
  color: #CCCCCC;

  text-align: center;

  max-width: 700px;
  margin: 0 auto;

  opacity: 0.9;
}

/* Pagination dots */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}
.dot.active {
  background-color: #111;
}

/* Media query for screens <= 1024px */
@media (max-width: 1024px) {

  .testimonial-page {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 640px) {

  .testimonial-page {
    grid-template-columns: 1fr;
    gap: 80px;
  }
}

/* Responsive for small screens (mobile) */
@media (max-width: 390px) {
  .testimonial-page {
    grid-template-columns: 1fr; /* stack tiles vertically */
    gap: 70px;
  }

  .testimonial-section {
    padding-top: 100px; /* push section content down */
    height: auto; /* allow section to grow with stacked tiles */
  background:#15282D;
  display: flex;
  justify-content: center;
  align-items: flex-start; /* optional, aligns content below the top color */
  font-family: 'Acumin Pro', sans-serif;
  
  }
}

/* LATEST NEWS */
.latest-news {
  padding: 2rem 1rem;
}

.news-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;

  max-width: 1200px;
  margin: 0 auto; /* centers container */
}

/* Tablet */
@media (min-width: 640px) {
  .news-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .news-container {
    grid-template-columns: repeat(3, 1fr);
  }
}