@font-face {
  font-family: 'Host Grotesk';
  src: url('../Fonts/Cygre-Regular.ttf');
}

@font-face{
  font-family: 'Cygre';
  src: url('../Fonts/HostGrotesk-Regular.ttf');
}


@font-face {
  font-family: 'Cygre SemiBold';
  src: url('../Fonts/Cygre-SemiBold.ttf');
}

@font-face {
  font-family: 'Cygre Medium';
  src: url('../Fonts/Cygre-Medium.ttf');
}





* {
    margin: 0;
    padding: 0;
  }
  
  /* Navigation */
  .nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 10;
    display: flex;
    height: 12vh;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease-in-out;
    box-sizing: border-box;
  }
  
  .nav.hidden {
    transform: translateY(-100%);
  }
  
  .logo {
    width: 20%;
    margin-left: 120px; /* Added inward spacing from left */
    display: flex;
    align-items: center;
  }
  
  .logo img {
    height: auto;
    width: 100%;
    object-fit: contain;
    min-width: 150px;
    max-width: 200px;
  }
  
  .nav-options {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
    margin-right: 120px; /* Added inward spacing from right */
  }
  
  .nav-options a {
    text-decoration: none;
    color: white;
    font-family: "Host Grotesk", sans-serif;
    font-size: 16px;
    white-space: nowrap;
  }
  
  .link {
    display: flex;
    align-items: center;
    position: relative;
  }
  
  .dot {
    color: #153d80;
    padding-right: 10px;
    font-size: 20px;
    visibility: hidden;
    transition: visibility 0.3s ease, opacity 0.3s ease;
    opacity: 0;
  }
  
  .link:hover .dot {
    visibility: visible;
    opacity: 1;
  }
  
  .services-link {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .arrow {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
  }
  
  .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 20px;
    background: white;
    min-width: 200px;
    padding: 10px 0;
    border-radius: 0 10px 10px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .dropdown a {
    display: block;
    padding: 10px 20px;
    color: #363cfd;
    transition: background-color 0.3s ease;
  }
  
  .dropdown a:hover {
    background-color: rgba(21, 61, 128, 0.3);
  }
  
  .hamburger {
    display: none;
    cursor: pointer;
    margin-right: 25px;
  }
  
  @media (min-width: 769px) {
    .link:hover .dropdown {
      display: block;
    }
  
    .link:hover .arrow {
      transform: rotate(180deg);
    }
  }
  
  @media (max-width: 1440px) {
    .logo {
      margin-left: 60px; /* Reduced inward spacing for smaller screens */
    }
  
    .nav-options {
      margin-right: 60px; /* Reduced inward spacing for smaller screens */
    }
  }
  
  @media (max-width: 1024px) {
    .logo {
      margin-left: 20px; /* Minimal spacing for mobile */
      width: auto;
    }
  
    .nav-options {
      margin-right: 0; /* Remove margin for mobile menu */
      display: none;
      position: absolute;
      top: 12vh;
      left: 0;
      background: rgba(0, 0, 0, 0.8);
      width: 100%;
      height: auto;
      padding: 20px 0;
      flex-direction: column;
      align-items: center;
    }
  
    .nav-options.show {
      display: flex;
    }
  
    .link {
      margin: 15px 0;
      flex-direction: column;
      align-items: center;
      width: 100%;
      text-align: center;
    }
  
    .link a {
      font-size: 20px;
      text-align: center;
      padding: 10px 0;
      width: 100%;
    }
  
    .logo img {
      width: auto;
      height: 40px;
      min-width: unset;
    }
  
    .dropdown {
      position: static;
      width: 100%;
      background: transparent;
      margin-top: 10px;
    }
  
    .dropdown a {
      color: white;
      text-align: center;
      padding: 15px;
    }
  
    .hamburger {
      display: block;
    }
  
    .has-dropdown.active .dropdown {
      display: block;
    }
  
    .has-dropdown.active .arrow {
      transform: rotate(180deg);
    }
  
    .services-link {
      justify-content: center;
      width: 100%;
    }
  }
    

  
  .title-image {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  
  .title-image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
  }
  
  .title-image-overlay {
    position: absolute;
    bottom: 0%;
    left: 0%;
    right: 0%;
    color: white;
    width: 80%;
    height: 100vh;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-end;
    padding: 6% 12%;
  
  }
  
  .title-image-overlay h1 {
    font-family: "Cygre SemiBold";
    font-size: 56px;
    line-height: 90px;
    
  }
  
  .title-image-overlay p {
    font-family: "Host Grotesk";
    color: #929292;
    font-size: 20px;
    line-height: 30px;
    word-wrap: break-word; /* Prevent text from spilling out */
    max-width: 90%; /* Optional: Limit the text width for better readability */
  }
  
  
  @media (max-width:768px){
  
    .title-image-overlay{
      bottom: 0%;
    }
    .title-image-overlay h1{
      font-size: 32px;
      line-height: 40px;
    }
  
    .title-image-overlay p{
      font-size: 16px;
      line-height: 20px;
    }
  
  
  } 




  /* case study overview */


  .case-study-overview{
    background: black;
    padding: 5% 16%;
  }

  .title p:nth-child(1){
    color: #e2b745;
    font-family: 'Cygre SemiBold';
    font-size: 32px;
    line-height: 57px;
    font-weight: bold;
    text-align: center;
  }

  .title p:nth-child(2){
    color: #929292;
    font-family: 'Host Grotesk';
    text-align: center;
    font-size: 21px;

  }


  .featured-case-study {
    margin-top: 8%;
    padding: 2%;
    background: #1f1f1f;
    border-radius: 10px;
  }
  
  .featured-case-study-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-family: 'Cygre';
    font-size: clamp(16px, 2vw, 24px);
  }
  
  .featured-case-study-title a {
    background-color: #363cfd;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: clamp(14px, 1vw, 16px);
    text-decoration: none;
    color: white;
    white-space: nowrap;
  }
  
  .featured-case-study-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 2%;
  }
  
  .case-study-image {
    width: 50%;
    margin-top: 2%;
  }
  
  .case-study-image img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
  }
  
  .case-study-content {
    margin-top: 5%;
    width: 50%;
  }
  
  .case-study-title {
    width: 100%;
    font-family: 'Cygre SemiBold';
    color: rgba(255, 255, 255, 0.48);
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.4;
  }
  
  .case-study-content1 {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.6;
    color: white;
    font-family: 'Host Grotesk';
    margin-top: 2%;
    font-weight: 100;
  }
  
  .case-study-text {
    color: white;
    margin-top: 5%;
    font-family: 'Host Grotesk';
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.5;
  }



  /* Large tablets and smaller desktop screens */
@media screen and (max-width: 1024px) {
  .featured-case-study {
    padding: 3%;
    margin-top: 6%;
  }
  
  .featured-case-study-content {
    gap: 3%;
  }

  .featured-case-study-title {
    font-size: clamp(16px, 2.5vw, 20px);
  }

  .case-study-content {
    margin-top: 3%;
  }
}

/* Medium-sized tablets */
@media screen and (max-width: 900px) {
  .featured-case-study {
    padding: 4%;
    margin-top: 5%;
  }

  .featured-case-study-content {
    flex-direction: column;
  }

  .case-study-image {
    width: 100%;
    margin-right: 0;
    margin-top: 4%;
  }

  .case-study-content {
    width: 100%;
    margin-top: 4%;
  }

  .case-study-title {
    font-size: clamp(16px, 2.5vw, 22px);
  }

  .case-study-content1 {
    font-size: clamp(14px, 2vw, 16px);
    margin-top: 3%;
  }
}

/* Small tablets and large mobile devices */
@media screen and (max-width: 768px) {
  .featured-case-study {
    padding: 5%;
    margin-top: 4%;
  }

  .featured-case-study-title {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .featured-case-study-title a {
    padding: 10px 20px;
    font-size: 14px;
  }

  .case-study-title {
    font-size: 18px;
  }

  .case-study-content1 {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
  .featured-case-study {
    padding: 6%;
    margin-top: 3%;
  }

  .featured-case-study-title {
    font-size: 16px;
  }

  .case-study-title {
    font-size: 16px;
  }

  .case-study-content1 {
    font-size: 14px;
  }
}



  @media (max-width:768px){
    .case-study-overview{
      padding: 5% 8%;
    }

    .title p:nth-child(1){
      font-size: 32px;
      line-height: 40px;
      margin-bottom: 20px;
    }
    .title p:nth-child(2){
      font-size: 24px;
      margin-bottom: 20px;
    }

    

  }


/* case-study-cards  */
.case-study-cards {
  padding: 5% 16%;
  background-color: black;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 20px;
}

.card {
  position: relative;
  width: 30%;
  height: 50vh;
  min-height: 400px;
  overflow: hidden;
  border-radius: 10px;
  border: 4px inset rgba(255, 255, 255, 0.24);
}

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

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: white;
  background: linear-gradient(to top,black,transparent);
  /* backdrop-filter: blur(10px); */
  /* border-top: 2px solid rgba(255, 255, 255, 0.5); */
  padding: 8%;
  height: 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.card-overlay h1 {
  font-family: 'Cygre';
  margin: 0;
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-overlay p {
  font-family: 'Host Grotesk';
  margin: 8px 0;
  font-size: clamp(14px, 1.5vw, 16px);
  color: rgba(255, 255, 255, 0.72);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-overlay a {
  font-family: 'Cygre';
  cursor: pointer;
  color: #fff;
  font-size: clamp(14px, 1.8vw, 18px);
  text-decoration: none;
  line-height: 1.5;
  display: block;
  /* margin-top: auto; */
}

.card-overlay a:hover {
  text-decoration: underline;
}

/* Responsive Breakpoints */
@media (max-width: 1400px) {
  .case-study-cards {
    padding: 5% 12%;
  }
  .card {
    width: 45%;
  }
}

@media (max-width: 1024px) {
  .case-study-cards {
    padding: 5% 8%;
  }
  .card {
    width: 45%;
    height: 45vh;
  }
}

@media (max-width: 768px) {
  .case-study-cards {
    padding: 5% 5%;
  }
  .card {
    width: 100%;
    height: 40vh;
  }
  .card-overlay {
    height: 50%;
  }
}

@media (max-width: 480px) {
  .card {
    height: 35vh;
    min-height: 300px;
  }
  .card-overlay {
    height: 35%;
  }
}





 /* testimonial */
 .testimonial-carousel {
  background-color: #d1a238;
  color: black;
  text-align: center;
  padding: 5% 10%;
  position: relative;
}

.testimonial-carousel h2 {
  font-size: 1.5rem; /* 24px */
  text-align: start;
  color: blue;
  /* margin-bottom: 3%; */
  font-family: "Cygre Medium";
}

.heading-container1 {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 0.9375rem; /* 15px */
  width: 50%;
  padding-bottom: 1.25rem; /* 20px */
}

.heading-icon1 {
  display: flex;
  align-items: center;
  background: #363cfd;
  border-radius: 50%;
  padding: 10px; /* 5px */
}

.testimonial-carousel .testimonial-slide {
  text-align: start;
  display: none;
  font-size: 1.5rem; /* 24px */
  margin-bottom: 1rem;
  font-family: "Host Grotesk";
}

.testimonial-slide hr {
  margin: 2% 0;
  border: none;
  border-top: 0.0625rem solid black; /* 1px */
}

.testimonial-carousel .testimonial-slide.active {
  display: block;
}

.testimonial-carousel .author {
  margin-top: 1rem;
  font-size: 1rem;
}

.testimonial-carousel .author .name {
  margin-top: 2%;
  font-weight: bold;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  color: #000000;
}

.carousel-controls button {
  background-color: #ebce81;
  border: none;
  padding: 1rem;
  cursor: pointer;
  border-radius: 50%;
  aspect-ratio: 1; /* Maintain circle shape */
}

.carousel-controls button:hover {
  background-color: #555555;
}

/* Animations */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeSlideOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.9); }
}

.testimonial-slide.active {
  animation: fadeSlideIn 0.5s ease forwards;
}

.testimonial-slide:not(.active) {
  animation: fadeSlideOut 0.5s ease forwards;
}

@media (max-width: 64em) { /* 1024px */
  .testimonial-carousel {
    padding: 2.5rem 5%; /* 40px */
  }

  .testimonial-carousel h2 {
    font-size: 1.125rem; /* 18px */
  }

  .heading-container1 {
    width: 100%;
    align-items: center;
    /* justify-content: center; */
  }
}

@media (max-width: 48em) { /* 768px */
  .testimonial-carousel h2 {
    font-size: 1rem; /* 14px */
    text-align: center;
    padding: 0;
    margin: 0%;
  }

  .heading-container1 {
    align-items: center;
    gap: 0.625rem; /* 10px */
    padding-bottom: 1rem; /* 16px */
  }
  .heading-icon1{
    padding: 0.3em;
  }
  .heading-icon1 svg{
    width: 15px;
    height: 15px;
  }
  .heading-icon1 {
    display: flex;
    align-items: center;
    background: #363cfd;
    border-radius: 50%;
    padding: 6px; /* 5px */
  }
  

  .testimonial-carousel .testimonial-slide {
    font-size: 1rem; /* 16px */
    line-height: 1.25; /* Improved readability */
  }

  .carousel-controls button {
    padding: 0.75rem;
  }
}

@media (max-width: 30em) { /* 480px */
  .testimonial-carousel {
    padding: 1.5rem 5%;
  }

  .testimonial-carousel h2 {
    font-size: 0.75rem; /* 12px */
  }

  .testimonial-carousel .testimonial-slide {
    font-size: 0.875rem; /* 14px */
    line-height: 1.4;
  }

  .carousel-controls {
    justify-content: center;
  }
}



/* footer */
.immersive-footer {
  position: relative;
  background: linear-gradient(to bottom, #000510, #000);
  color: #fff;
  padding: 6rem 2rem 2rem;
  overflow: hidden;
}

/* Animated Background */
.footer-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(54, 60, 253, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(54, 60, 253, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: top;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 30px 30px;
  }
}

.footer-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
}

/* Hero Section */
.footer-hero {
  text-align: center;
  margin-bottom: 5rem;
}

.glowing-text {
  font-family: "Cygre";
  font-size: 3rem;
  background: linear-gradient(90deg, #363cfd, #e2b745);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 2rem;
  animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(54, 60, 253, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(226, 183, 69, 0.7));
  }
}

.cta-button a {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: "Cygre";
  font-size: 1.125rem;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #363cfd, #4b50fd);
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.button-highlight {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.cta-button a:hover {
  transform: translateY(-2px);
}

.cta-button a:hover .button-highlight {
  left: 100%;
}

/* Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 4rem;
  /* margin-bottom: 4rem; */
}

/* Company Section */
.logo-container {
  position: relative;
  margin-bottom: 2rem;
}

.footer-logo {
  height: 40px;
  position: relative;
  z-index: 1;
}

.logo-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(54, 60, 253, 0.2), transparent);
  filter: blur(10px);
  animation: logoGlow 4s ease-in-out infinite;
}

@keyframes logoGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.company-tagline {
  font-family: "Host Grotesk";
  color: #888;
  margin-bottom: 2rem;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-icon {
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.hover-float:hover {
  transform: translateY(-5px);
  color: #e2b745;
}

/* Section Styles */
.section-title {
  font-family: "Cygre", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, #363cfd, #e2b745);
}

.animated-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.animated-list li {
  margin-bottom: 1rem;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.animated-list a {
  font-family: "Host Grotesk", sans-serif;
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.animated-list a:hover {
  color: #fff;
  /* transform: translateX(10px); */
}

/* Contact Cards */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  background: rgba(54, 60, 253, 0.1);
  border: 1px solid rgba(54, 60, 253, 0.2);
  border-radius: 10px;
  padding: 1rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-card:hover {
  transform: translateX(3px);
  background: rgba(54, 60, 253, 0.15);
}

.card-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "Host Grotesk", sans-serif;
  color: #888;
}
.card-content a {
  text-decoration: none;
  color: #888;
}
.contact-icon {
  color: #363cfd;
  flex-shrink: 0;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(54, 60, 253, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.legal-links a {
  color: #888;
  text-decoration: none;
  font-family: "Host Grotesk", sans-serif;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: #fff;
}

.separator {
  color: #363cfd;
  font-size: 0.5rem;
}

.copyright {
  color: #888;
  font-family: "Host Grotesk", sans-serif;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .company-section {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .immersive-footer {
    padding: 4rem 1.5rem 1.5rem;
  }

  .glowing-text {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .legal-links {
    flex-direction: column;
    gap: 1rem;
  }

  .separator {
    display: none;
  }
}

@media (max-width: 480px) {
  .glowing-text {
    font-size: 1.5rem;
  }

  .cta-button a {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.125rem;
  }

  .contact-card {
    padding: 0.875rem;
  }
}

/* Hover Effects */
@media (hover: hover) {
  /* .animated-list li:hover {
    transform: translateX(5px);
  } */

  .social-icon:hover {
    transform: translateY(-5px) scale(1.1);
  }

  /* .contact-card:hover {
    transform: translateX(5px) translateY(-2px);
    box-shadow: 0 5px 15px rgba(54, 60, 253, 0.15);
  } */
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-section {
  animation: fadeIn 0.6s ease-out forwards;
}