body {
    min-height: 100%;
    overflow-x: hidden;
  }

  .aPerfectTeam{
    text-align: justify;
    text-align-last: left;
    font-size: clamp(14px, 2vw, 18px) !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
  }
  
  .navbar {
    backdrop-filter: blur(8px);
  }

  .ExtraStyle{
    margin-top: 15rem;
  }
  

  .navbar.scrolled {
    background-color: #002b44;
  }

  .hero-font-size {
    font-size: 10vw;
  }

  .sections-heading-font-size {
    font-size: 5vw;
    padding-top: 40px;
  }

  .sections-services-text {
    font-size: 2rem;
    text-align: justify !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
  }

  .imgGallery{
      width: 100%;       /* fill container width */
      height: 300px;     /* set a fixed height */
      object-fit: cover; /* crop edges, keep proportions */
  }

  .services-numbers-font-size {
    font-size: 15rem;
    opacity: 0.4;
    color: #A3BDD0;
  }

  .services-numbers-container {
    top: 76px;
  }

  .rounded-15 {
    border-radius: 15px
  }

  .night-gradient {
    height: 500px;
    width: 100%;
    background-image: linear-gradient(to bottom, #002b44, rgba(0,0,0,1));
  }

  .light-gradient {
    height: 800px;
    width: 100%;
    background-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
  }

  
  .form-floating>label {
    left: unset !important;
  }
  
  .bg-danger {
    background-color: #ca351e !important;
  }
  
  .bg-primary {
    background-color: #2e498e !important;
  }
  
  .bg-dark {
    background-color: #000 !important;
  }
  
  .min-heigh-150 {
    min-height: 150px;
  }
  
  .carousel-item.carousel-slide {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
  }
  
  .sliderBg1 {
    background-image: url('/assets/images/1.jpg');
  }
  .sliderBg2 {
    background-image: url('/assets/images/2.jpg');
  }
  
  .sliderBg3 {
    background-image: url('/assets/images/3.png');
  
  }
  
  .sliderBg1, .sliderBg2, .sliderBg3 {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
  
  .slider-content {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    padding-bottom: 60px;
    min-height: 100vh;
    max-height: 100vh;
    filter: drop-shadow(2px 4px 6px black);
  }
  
  /* Overlay that darkens the background image */
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the 0.5 value for more/less opacity */
    z-index: 1; /* Ensure the overlay is above the background image but below the content */
  }
  .overlapSection {
    position: relative;
    z-index: 9;
    margin-top: -2rem;
  }
  
  .overlapPic {
    position: relative;
    width: 100%;
    min-height: 27.813em;
    max-height: 27.813em;
    overflow: hidden;
    display: block;
    cursor: pointer;
    transition: 0.4s;
    transform-style: preserve-3d;
  }
  
  .overlapPic img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 27.813em;
    max-height: 27.813em;
  }
  
  .overlapPic.flipped {
    transform: rotateY( 180deg );
  }
  
  .back {
    transform: rotateY(180deg);
    min-height: 27.813em;
    max-height: 27.813em;
    overflow-y: scroll;
    z-index:2;
  }
  
  .back::-webkit-scrollbar {
    width: 10px;
  }
    .back::-webkit-scrollbar-track {
        background-color: transparent;
    }
    .back::-webkit-scrollbar-thumb {
        background: #666666;
        border-radius: 15px;
    }
    .back::-webkit-scrollbar-thumb:hover {
        background: #4d4d4d;
    }
  
  
    .overlapPic .front::after {
        content: "";
        z-index: 1;
        position: absolute;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to bottom,transparent 0%,transparent 18%,rgba(0,0,0,.8) 99%,rgba(0,0,0,.8) 100%);
    }
  
    .overlapPic:hover .front img {
        transform: scale(1.1);
    }
    .overlapPic:hover .front h3 {
        transform: translateY(-15px);
    }
    .overlapPic:hover .front .readMore {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }
  
    .overlapPic .overlapText {
        z-index: 2;
        position: absolute;
        bottom: 10px;
        color: #fff;
        display: block;
        width: 100%;
    }
  .overlapHeading {
    font-size: 1.2rem;
    position: relative;
  }
  
  .overlapPic * {
    transition: .3s all ease-in-out;
  }
  
  .slider-content2 {
    position: relative;
    z-index: 1;
    min-height: 80vh;
    max-height: 100vh;
  }
  
  .slider-content2-overlap {
    position: relative;
    z-index: 9;
    margin-top: -5rem;
  }
  
  
  
  .videoSectionBg {
    background-size: cover;
    background-image: url('/assets/images/2.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    min-height: 120vh;
    max-height: 120vh;
  }
  
  .playBorder {
    width: 90px;
    height: 90px;
    border: 2px solid #fff;
    color: #fff !important;
    border-radius: 50%;
    position: relative;
    -webkit-transition: .3s all ease-in-out;
    -o-transition: .3s all ease-in-out;
    transition: .3s all ease-in-out;
  }
  
    .playBorder i {
        font-size: 50px;
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-40%,-50%);
        -ms-transform: translate(-40%,-50%);
        transform: translate(-40%,-50%);
    }
  
  .playBorder:hover {
    width: 120px;
    height: 120px;
  }
  
  .testimonialsBg {
    background-color: #f8f9fa !important
  }
  
  .blogImg {
    min-width: 100%;
    min-height: 50vh;
    max-height: 50vh;
  }
  
  .hideme {
    opacity: 1;
    transform: translateY(100px);
  }
  
  .showme {
    transition: all 0.8s ease;
    transition-delay: 0.4s;
    opacity: 1!important;
    transform: translate(0);
  }
  
  .footerLinks:hover {
    transition: all 0.4s ease;
    color: white !important;
  }
  
  #contactFormLine {
    border-top: 2px solid #ca351e;
    width: auto;
  }
  
  .contactIcons {
    background-color: #495057;
    border-radius: 1.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
  }
  
  #contactLine {
    color: #ca351e;
    width: 100%;
    border-width: 4px;
  }
  
  .socialMedia:hover * {
    color: white !important;
  }
  
  .readMore {
    transform: translateY(0);
    opacity: 1;
  }
  
  @media screen and (min-width: 768px) {
    .slider-content2-overlap {
        margin-left: -4rem;
        margin-top: 0;
    }
    
  
    .slider-content {
        padding-top: 140px;
        padding-bottom: 100px;
    }
  
  }

  @media screen and (orientation: landscape) {
    .sections-heading-font-size {
      font-size: 4vw;
      padding-top: 40px;
    }

    .sections-services-text{
      font-size: 2vw;
    }
  }
  
  @media screen and (min-width: 992px) {
    .readMore {
        transform: translateY(30px) !important;
        opacity: 0 !important;
    }
  }

  .glowing-dot {
    width: 5px;
    height: 5px;
    color: #c51fe2;
    font-size: 5px;
    background: rgba(255,255,255,0.7);
    box-shadow: inset 0px 0px 10px 2px rgba(197, 31, 226, .5),
                        0px 0px 10px 2px rgba(197, 31, 226, .3);
    -webkit-animation: pulse 1s alternate infinite;
    -moz-animation: pulse 1s alternate infinite;
  } 

  @-webkit-keyframes pulse {
    0% {
      background: rgba(255,255,255,0.3);
      box-shadow: inset 0px 0px 10px 2px rgba(197, 31, 226, .5),
                        0px 0px 5px 2px rgba(197, 31, 226, .3);
    }
    100% {
      background: rgba(255,255,255,1);
      box-shadow: inset 0px 0px 10px 2px rgba(197, 31, 226, .5),
                        0px 0px 15px 2px rgba(197, 31, 226, 1);
    }
  }
    
  @-moz-keyframes pulse {
    0% {
      background: rgba(255,255,255,0.3);
      box-shadow: inset 0px 0px 10px 2px rgba(197, 31, 226, .5),
                        0px 0px 5px 2px rgba(197, 31, 226, .3);
    }
    100% {
      background: rgba(255,255,255,1);
      box-shadow: inset 0px 0px 10px 2px rgba(197, 31, 226, .5),
                        0px 0px 15px 2px rgba(197, 31, 226, 1);
    }
  }

  /*  */
.underline-anmi {
    transition: color 300ms;
    position: relative;
  }
  .underline-anmi::before {
    content: "";
    width: 0%;
    height: 2px;
    background-color: black;
    position: absolute;
    bottom: -5px;
    position: absolute;
  }
  .underline-anmi:hover::before {
    width: 100%;
    transition: 500ms;
  }
  .underline-anmi :hover {
    opacity: 1.5;
  }

  .myLink {
    color: #ffffff !important;
    opacity: 0.6;

    &:hover {
        transition: 500ms;
        color: #ffffff !important;
        opacity: 1;
    }
  }

  @keyframes infiniteLoop {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(calc(-200px * 10), 0, 0);
    }
}


.brandsCarousel {
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.brandsCarousel::before,
.brandsCarousel::after {
    content: "";
    width: 200px;
    height: 200px;
    position: absolute;
    z-index: 2;
}

.brandsCarousel::before {
    top: 0;
    left: 0;
}

.brandsCarousel::after {
    top: 0;
    right: 0;
    transform: rotateZ(180deg);
}

.carouselTrack {
    width: calc(200px * 20);
    animation: infiniteLoop 10s linear infinite;
    animation-fill-mode: forwards;
    will-change: transform;
}

.brandLogo {
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    margin: auto;
    justify-content: center;
    overflow: hidden;
}

.brandLogo img {
    max-width: 80%;
    max-height: 70%;
}
  
/* Small devices (up to 575px) */
@media (max-width: 575px) {
  .sections-heading-font-size {
    font-size: 2rem;
  }
  .sections-services-text {
    font-size: 1rem;
  }
  .hero-font-size {
    font-size: 6rem;
  }
}

/* Medium devices (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
}

/* Large devices (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {

}

/* Extra large devices (992px and above) */
@media (min-width: 992px) {
  .sections-heading-font-size {
    font-size: 5vw;
  }
  .sections-services-text {
    font-size: 2rem;
  }
  .hero-font-size {
    font-size: 10vw;
  }
}

  /* Video Section Styles */

  .sticky-sections {
    position: relative;
    width: 100%;
    
  }
  
  /* Updated to work with anchor tags instead of div elements */
  @media (min-width: 768px) {
  .sticky-sections .video-section {
    position: sticky;
    top: 0;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 80px 80px;
    text-decoration: none;
    color: inherit;
    
  }
}
@media (max-width: 768px) {
  .sticky-sections .video-section {
      position: sticky;
      top: 0;
      height: 60vh;
      background-size: cover;
      background-position: center;
      display: flex
;
      align-items: flex-end;
      justify-content: flex-start;
      cursor: pointer;
      transition: all 0.3s ease;
      overflow: hidden;
      padding: 30px 40px;
      text-decoration: none;
      color: inherit;
  }
}
  
  .video-section:hover {
    /*transform: scale(1.02);*/
    text-decoration: none;
    color: inherit;
  }
  
  .video-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: white;
    max-width: 100%;
  }
  
  .video-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    line-height: 1.1;
  }
  
  .subtitle-and-button {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .video-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
  }
  
  .play-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
  }
  
  .play-button:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
  }
  
  .play-button i {
    color: #333;
    font-size: 1.5rem;
    margin-left: 4px;
  }
  
  .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }
  
  /* Updated video-card styles to work with anchor tags */
  .video-card {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: inherit;
    display: block;
  }
  
  .video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: inherit;
  }
  
  .video-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    transition: all 0.3s ease;
  }
  
  .video-card:hover::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
  }
  
  .video-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: white;
    z-index: 2;
  }
  
  .video-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  }
  
  .video-card-description {
    opacity: 0.9;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  }
  
  .video-card .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .video-card:hover .play-button {
    opacity: 1;
  }
  
  .video-card .play-button i {
    font-size: 1.5rem;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .video-section {
      padding: 40px 30px;
    }
  
    .video-title {
      font-size: 2.5rem;
    }
  
    .video-subtitle {
      font-size: 1rem;
    }
  
    .subtitle-and-button {
      flex-direction: row;
      align-items: baseline;
      gap: 15px;
    }
  
    .video-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
  
    .video-section {
      height: 400px;
    }
  }
  
  @media (max-width: 576px) {
    .video-section {
      padding: 30px 20px;
    }
  
    .video-title {
      font-size: 2rem;
      letter-spacing: 1px;
    }
  
    .video-subtitle {
      font-size: 0.9rem;
    }
  
    .play-button {
      width: 50px;
      height: 50px;
    }
  
    .play-button i {
      font-size: 1.2rem;
    }
  
    .video-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  
    .video-section {
      height: 350px;
    }
  }
  
/* Latest Edit for Carousel & Cards */


.carousel-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 10px;
}

.carousel-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.carousel-track-container {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
}

.carousel-track {
  display: flex;
  gap: 20px;  
}

.carousel-track:active {
}

.carousel-slide {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 0;
}

.card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: fill;
  background-color: #ffffff;
}

.brand-name {
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

.menu-button {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
  color: #000000;
  transition: background-color 0.2s ease;
}

.menu-button:hover {
  background-color: #f5f5f5;
}

.card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.3s ease;
  
}

.card:hover .card-image img {
  transform: scale(1.05);
  
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 40px 20px 20px;
  color: white;
}

.project-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.project-subtitle {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.9;
  margin-bottom: 4px;
}

.project-description {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.8;
}

.highlight {
  color: #ff4757;
  font-weight: 700;
}

.card-actions {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.action-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
  color: #000000;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover {
  background-color: #f5f5f5;
  color: #333;
  transform: scale(1.1);
}

.action-btn.bookmark {
  margin-left: auto;
}

.nav-button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.nav-button:hover:not(:disabled) {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.nav-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
@media screen and (max-width: 768px) {
.indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.7);
}
}
@media screen and (min-width: 768px) {
  .indicators {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
  }
  
  .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .indicator.active {
    background: white;
    transform: scale(1.2);
  }
  
  .indicator:hover {
    background: rgba(255, 255, 255, 0.7);
  }
  }
/* Mobile Styles */
@media (max-width: 768px) {
 

  .carousel-container {
    margin: 10px;
    padding: 30px 40px 30px 40px;
    border-radius: 16px;
  }

  .carousel-wrapper {
    gap: 12px;
  }

  .carousel-slide {
    flex: 0 0 100%;
  }

  .nav-button {
    width: 40px;
    height: 40px;
  }

  .nav-button svg {
    width: 20px;
    height: 20px;
  }

  .project-title {
    font-size: 20px;
  }

  .project-subtitle {
    font-size: 13px;
  }

  .card-header {
    padding: 12px 16px;
  }

  .card-actions {
    padding: 12px 16px;
  }

  .image-overlay {
    padding: 30px 16px 16px;
  }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .carousel-slide {
    flex: 0 0 calc(50% - 10px);
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .carousel-container {
    padding: 50px;
  }

  .project-title {
    font-size: 28px;
  }

  .project-subtitle {
    font-size: 16px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .carousel-track,
  .card,
  .nav-button,
  .indicator,
  .action-btn {
    transition: none;
  }

  .card:hover .card-image img {
    transform: none;
  }
}

/* Focus styles for keyboard navigation */
.nav-button:focus,
.indicator:focus,
.action-btn:focus,
.menu-button:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}


/*Branding*/
@media (max-width: 768px)
{
.branding-section {
  min-height: 80vh;
  background: #ffffff1a;
  backdrop-filter: blur(20px);
  padding: 60px 50px;
  position: relative;
  overflow: hidden;
  margin: 60px;
  border-radius: 16px;
  text-decoration-color: white;      /* set underline color */
  color: inherit;  
}
}
@media (min-width: 768px)
{
.branding-section {
  min-height: 100vh;
  background: #ffffff1a;
  backdrop-filter: blur(20px);
  padding: 60px 50px;
  position: relative;
  overflow: hidden;
  margin: 60px;
  border-radius: 16px;
  text-decoration: none; 
  text-decoration-color: white;      /* set underline color */
  color: inherit; 
}
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* Decorative Elements */
.decorative-waves {
  display: none;
  position: absolute;
  top: 40px;
  right: 60px;
  z-index: 2;
  color: white;
}

.decorative-star {
  position: absolute;
  top: 50%;
  right: 80px;
  transform: translateY(-50%);
  z-index: 2;
}

/* Content Wrapper */
.content-wrapper {
  position: relative;
  z-index: 1;
}

/* Narrative Text */
.narrative-text {
  margin-bottom: 60px;
  max-width: 900px;
}

.narrative-text h2 {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-align: left;
}

/* Category Tags */
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 60px;
  max-width: 600px;
}

.tag {
  padding: 12px 24px;
  border: 2px solid #ffffff;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  background-color: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}



.tag:hover {
  background-color: #333;
  color: #fff;
}

/* Case Study Container */
.case-study-container {
  position: relative;
  margin-top: 40px;
}

.case-study-image {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.case-study-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Bottom Labels */
.bottom-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding: 0 20px;
}

.left-label,
.right-label {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
}

.left-label {
  text-align: left;
}
a{
/*  text-decoration: none;*/
  text-decoration-color: white;
}
.right-label {
  text-align: right;
}

/* Tablet Styles */
@media (max-width: 1024px) {
  .decorative-waves {
    display: none;
    right: 30px;
    top: 30px;
  }

  .decorative-star {
    right: 40px;
  }

  .narrative-text h2 {
    font-size: 2.2rem;
  }

  .category-tags {
    max-width: 100%;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .branding-section {
    padding: 30px 0;
    margin: 10px;
    border-radius: 16px;
}

  .container {
    padding: 0 15px;
  }

  /* Hide decorative elements on mobile for cleaner look */
  .decorative-waves,
  .decorative-star {
    display: none;
      }

  .narrative-text {
    margin-bottom: 30px;
  }

  .narrative-text h2 {
    font-size: 1.8rem;
    line-height: 1.4;
  }

  .category-tags {
    gap: 10px;
    margin-bottom: 30px;
  }

  .tag {
    padding: 10px 18px;
    font-size: 0.8rem;
  }

  .case-study-container {
    margin-top: 30px;
  }

  .bottom-labels {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    margin-top: 20px;
    padding: 0;
  }

  .left-label,
  .right-label {
    font-size: 0.8rem;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .narrative-text h2 {
    font-size: 1rem;
  }

  .category-tags {
    gap: 8px;
  }

  .tag {
    padding: 8px 16px;
    font-size: 0.5rem;
  }

  .case-study-image {
    border-radius: 8px;
  }
}

/* Hover Effects for Desktop */
@media (min-width: 769px) {
  .case-study-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .case-study-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  }
}

