@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --main-bg-color: #000000;
    --white-color: #FFFFFF;
    --grey-color: #A3A3A3;
    --font-family-primary: 'Poppins', sans-serif;
    --font-size-large: 250px;
    --font-size-medium: 40px;
    --font-size-small: 30px;
}

html{
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.portfolio{
    opacity:0;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 50%, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.fadeInUp {
  animation-name: fadeInUp;
}

.right-img > img {
    border-radius: 10px;
}
 .custom-cursor {
          position: fixed;
          top: -50;
          left: -50;
          width: 30px; /* Adjust size */
          height: 30px;
          background-color: rgba(0, 0, 0, 0.0); /* Custom color */
          border-radius: 50%; /* Circular shape */
          pointer-events: none; /* Ensures it doesn't block clicks */
          transform: translate(-50%, -50%);
          transition: transform 0.6s ease-out, background-color 0.10s ease;
          z-index: 9999; /* Ensures it's on top of other elements */
          border:1px solid #cdcdcd;
        }

.has-title-animation span { transform: translate3d(0,30px,0); opacity: 0; display: inline-block; }
.has-title-animation-btn { transform: translate3d(0,30px,0); opacity: 0; display: inline-block; }

/* .ball-bg{
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 100%;
  top: 0;
  left: 50%;
  translate: -50% 0;
  background: #fff;
  z-index: 0;
  opacity: 0;
  transition: opacity 2s linear;
}
.position-relative{
  position: relative;
  z-index: 10;
  overflow: hidden;
} */

.ahref{
            color: #fff;
            text-decoration: none !important;
        }

.image {
  position: absolute;
  height: 100%;
  object-fit: cover;
  animation-duration: 5s; /* Total animation duration */
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.fade-in {
  animation-name: fadeInOut;
}

.fade-out {
  animation-name: fadeOutIn;
}

/* Keyframes for fade-in and fade-out */
@keyframes fadeInOut {
  0%, 50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeOutIn {
  0%, 50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


.footer-btn{
    font-weight:400!important;
    font-size:24px!important;
}

/* bottom to top start */
#back_to_top {
  display: none;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 50px;
  margin-bottom: 30px;
  margin-left: 40px;
  z-index: 1000;
  bottom: 30px; /* Fixed 30px above the viewport bottom */
  right: 30px; /* Positioned 30px from the right edge */
  position: fixed;
}
#back_to_top::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
#back_to_top:hover {
  cursor: pointer;
}


/* bottom to top end */


.letter-space {
    letter-spacing:-5px;
}


.letter-space-3 {
    letter-spacing:-3px;
}

.d-none{
    display:none!important;
}


html {
    scroll-behavior: smooth;
    font-size: 16px; /* Default for desktops */
  }

  nav > a {
    cursor: pointer;
  }

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-primary);
    background-color: var(--main-bg-color);
    color:var(--white-color);
    overflow-x:hidden;
}

p{
    text-align: justify!important;
}

/* .content {
    opacity: 0;
    transform: translateY(100%);
    transition: all 2s ease;
    
} */

/* Header */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    background-color: #000;
    position: relative;
    height: 80px;
}

/* Logo */
.logo {
    font-size: 24px;
    font-weight: bold;
    z-index: 9999;
}

/* Navbar for Desktop */
.navbar {
    display: flex;
    gap: 50px;
    z-index:9999;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

/* Mobile Navbar (Hidden by Default) */
.navbar.mobile {
    position: fixed;
    left: -250px;
    top: 0;
    height: 100%;
    width: 250px;
    background-color: #000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
    z-index: 1000;
}

.navbar.mobile a {
    margin: 15px 0;
    text-align: center;
}

/* Overlay for background */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 500;
}

/* Toggle button for mobile */
.nav-toggle {
    font-size: 24px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: none;
}

/* Mobile view styling */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .navbar {
        display: none;
    }
    .navbar.mobile {
        display: flex;
    }
    .navbar.mobile.active {
        left: 0;
    }
    .overlay.active {
        display: block;
    }
}



/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px); /* full viewport height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}



.font {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ensures the image covers the hero section */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Overlay for text content */
.hero-overlay {
    position: relative;
    z-index: 2; /* sits above the background image */
    text-align: center;
    padding: 10px;
}

/* Logo text styling */
.logo-text {
    font-size: 4rem;
    font-weight: 600;
}

/* Subtitle text styling */
.subtitle {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Responsive Text Adjustments */
@media (max-width: 768px) {
    .logo-text {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }
}

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

    .subtitle {
        font-size: 0.9rem;
    }
}

.container {
    width: clamp(80%,85%,90%);
    margin: 0 auto;
    padding-top: 20px;
    text-align: center;
  }
  
  button {
    cursor: pointer;
    outline: none;
  }
  
  button.outline {
    position: relative;
    z-index: 3;
    font-family: var(--font-family-primary);
    background: transparent;
    color:var(--white-color);
    font-size: 20px;
    font-weight: 500;
    border-color: var(--white-color);
    border-style: solid;
    border-width: 0.13rem;
    border-radius: 30px;
    padding: 8px 40px;
    transition: all 0.2s linear;
  }
  
  button.outline a {
    text-decoration: none;
  }
  
  button.outline:hover {
    color: var(--main-bg-color)!important;
    background: var(--white-color);
    border-color:var(--main-bg-color);
    transition: all 0.2s linear;
  }
  .footer-btn a {
  color: #fff; /* Initial text color */
  text-decoration: none;
}

.footer-btn:hover {
  background-color: white!important; /* Change background to black on hover */
}

.footer-btn:hover a {
  color: black!important; /* Change text color to white on hover */
}
  button.outline:active {
    border-radius: 22px;
  }
  

  /* HOME SECTION */

  #hero_title{
    font-size: 1.2rem;
    text-align: center!important;
  }

  #font-highlight, .font-highlight {
    font-size: 100px;
    font-weight: 600;
    line-height: 110px;
    text-align: center!important;
    margin: 2rem 0;
    overflow: hidden;
    position: relative;
  }
  
  .masonry-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between rows */
    width: 50%; /* Optional: set a max-width */
    margin: 0 auto;
}

.row {
    display: flex;
    gap: 15px; /* Space between items in a row */
}

.item {
    background-color: #ddd;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    flex-grow: 0;
    flex-shrink: 0;
}

.item > img {
    width:100%;
    height: 100%;
}

footer{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2rem;
}

.footer-center{
    width: 100%;
    margin: 0 auto;
    text-align: center;
}



.footer-para {
    font-size: 1rem; /* Default for mobile (768px and below) */
    margin-bottom:  2rem;   /* Margin adjusts responsively */
    text-align: center!important;
}


/* about us */

#about_title{
    width: clamp(80%,85%,90%);
    margin: 0 auto;
    text-align: left;
    font-size: 1rem;
    margin-top: 2rem;
}

.workbanner{
    width: clamp(80%,85%,90%);
    height: clamp(100px,300px,500px);
    margin-top: 3rem;
}

.img-block{
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: auto;
}

.img-text{
    width: clamp(80%,85%,90%);
    margin: 3rem auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.left-text{
    width: 50%;
    display: flex;
    flex-direction: column;
}

.right-img {
    width: 50%;
    display: flex;
    justify-content: flex-end; /* Center the image horizontally if needed */
    align-items: flex-start; /* Align the image at the top */
}

.right-img img {
    width: 100%;
    height: auto;
}

.about-hero-text, .about-heading {
    font-size: 4rem;
    font-weight: 600;
}

.award{
    width: clamp(80%,85%,90%);
    margin: 3rem auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    min-height: 100vh;
}

.award-text{
    text-align: center;
    gap: 3rem;
    display: flex;
    flex-direction: column;
}


.slider-container {
    position: relative;
    margin-top:3rem;
        display: flex;
    justify-content: center;
  }
  
  .slider {
    display: flex;
    max-width:90%;

  }
  
  .slide:hover {
  transform: scale(1.1);
  cursor: pointer;
}
  
  .slide {
    box-sizing: border-box;
    border: 3px solid #363636;
    border-radius: 20px;
    margin: 0 12px;
    background: #0c0c0c;
    transition: transform 0.5s;
  }
  
  .slide img {
    width: 100%;
  }
  
  .caption {
    padding: 20px;
  }
  
  .caption p {
    margin-bottom: 16px;
    text-align: left !important;
  }
  
  .caption span {
    color: #888;
  }
  
  .card-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
  }
  
  .prev {
    left: 10px;
  }
  
  .next {
    right: 10px;
  }
  
  .card-btn:hover {
    background: rgba(0, 0, 0, 0.8);
  }

.image-container {
    position: relative;
    display: inline-block;
}
.verticalbanner-section{
    display: flex;
    width: 77vw;
    gap: 10px;
    justify-content: center;
    padding-top: 5rem;
  }
  .verticalbanner {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    align-items: center;
    flex-direction:column;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 3.3rem;
    text-align: center;
    padding: 10px;
    font-weight:600 !important;
    letter-spacing: -3px;
}

.image-container:hover .overlay {
    opacity: 1;
}

/* Responsive Web Design */

@media (min-width: 426px) and (max-width: 769px) { /* Tablets */
    .footer-para {
        font-size: 1.2rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) { /* Laptops */
    .footer-para {
        font-size: 1.4rem;
    }
}

@media (min-width: 1025px) and (max-width: 1440px) { /* Large Laptops */
    .footer-para {
        font-size: 2.3rem;
    }
}

@media (min-width: 1441px) and (max-width: 1920px) { /* Desktops */
    .footer-para {
        font-size: 2.3rem;
    }
}

@media (min-width: 2560px) { /* 4K Screens */
    .footer-para {
        font-size: 2.3rem;
    }
}


/* contact page */

.contact-form-container {
    display: flex;
    width: clamp(80%,85%,90%);
    margin: 0 auto;
  }
  
  .form-left {
    flex: 2;
    padding: 20px;
    text-align: left;
  }
  
  .form-left h1 {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
  }
  
  .form-right {
    flex: 0;
    padding: 20px;
    text-align: right;
  }
  
  .form-group {
    margin-bottom: 15px;
    width: 70%;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-bottom: 1px solid #fff;
    background: none;
    color: #fff;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-bottom: 2px solid #fff;
  }
  
  .submit-button {
    padding: 10px 20px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
  }
  
  .submit-button:hover {
    background: #ccc;
  }
  
  .form-info {
    margin-top: 40px;
    font-size: 14px;
    line-height: 1.5;
  }

  .line {
    display: block;
    width: 180px;
    margin-left:10px!important;
    border-radius:10px;
    height: 6px;
    background: #fff;
    margin: 10px 0;
    position: relative;
    top: 40px;
  }


/* menu */

.side{
  opacity:0.6;
}

/*.main{*/
/*    text-decoration: underline !important;*/
/*    text-underline-offset: 10px;*/
/*    text-decoration-thickness:2px!important;*/
/*}*/

.main{
    background: transparent;
    border-radius: 10px;
    height: 3px;
    box-shadow: 0 30px 0 0 #fff;
}


@-webkit-keyframes rightToLeft {
  0% {
      transform: translate(32%, -5%);
  }
  25% {
      transform: translate(15%, -15%);
  }
  50% {
    transform: translate(-32%, -5%);
  }
  75% {
      transform: translate(15%, -15%);
  }
  100% {
      transform: translate(32%, -5%);
  }
}

@-webkit-keyframes leftToRight {
  0% {
    transform: translate(-32%, -15%);
  }
  25% {
      transform: translate(-15%, -5%);
  }
  50% {
    transform: translate(32%, -15%);
  }
  75% {
      transform: translate(-15%, -5%);
  }
  100% {
      transform: translate(-32%, -15%);
  }
}

/* Standard syntax */

@keyframes rightToLeft {
  0% {
      transform: translate(32%, -5%);
  }
  25% {
      transform: translate(15%, -15%);
  }
  50% {
    transform: translate(-32%, -5%);
  }
  75% {
      transform: translate(15%, -15%);
  }
  100% {
      transform: translate(32%, -5%);
  }
}

@keyframes leftToRight {
  0% {
    transform: translate(-32%, -15%);
  }
  25% {
      transform: translate(-15%, -5%);
  }
  50% {
    transform: translate(32%, -15%);
  }
  75% {
      transform: translate(-15%, -5%);
  }
  100% {
      transform: translate(-32%, -15%);
  }
}

.element {
    width:100%;
  position: absolute; /* or relative depending on your layout */
  animation: rightToLeft 5s linear infinite;
  -webkit-animation: rightToLeft 5s linear infinite; /* for Safari and older versions of Chrome */
  -moz-animation: rightToLeft 5s linear infinite; /* for older versions of Firefox */
  -o-animation: rightToLeft 5s linear infinite; /* for Opera */
  transform: translate(32%, 0);
  -webkit-transform: translate(32%, 0); /* for Safari */
  -moz-transform: translate(32%, 0); /* for older Firefox */
  -ms-transform: translate(32%, 0); /* for Internet Explorer */
}

.element2 {
    width:100%;
  position: absolute; /* or relative depending on your layout */
  animation: leftToRight 5s linear infinite;
  -webkit-animation: leftToRight 5s linear infinite; /* for Safari and older versions of Chrome */
  -moz-animation: leftToRight 5s linear infinite; /* for older versions of Firefox */
  -o-animation: leftToRight 5s linear infinite; /* for Opera */
  transform: translate(-32%, 0);
  -webkit-transform: translate(-32%, 0); /* for Safari */
  -moz-transform: translate(-32%, 0); /* for older Firefox */
  -ms-transform: translate(-32%, 0); /* for Internet Explorer */
}

.hero {
  position: relative;
}

/* Ensuring cross-browser compatibility for the .ball-bg element */
.ball-bg {
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 100%;
  top: -250px;
  left: 50%;
  transform: translateX(-50%); /* Use `transform` for the centering, prefixing for WebKit */
  background: #fff;
  z-index: 0;
  opacity: 0;
  transition: opacity 2s linear;
  -webkit-transition: opacity 2s linear; /* Webkit-specific prefix */
}

.position-relative {
  position: relative;
  z-index: 10;
}

/* For text underline properties that may require prefixes in older browsers */
.text-underline-thickness {
  /*text-decoration: underline;*/
  text-decoration-thickness: 6px;
  text-underline-offset: 7px;

  /* Vendor prefixes for older browsers */
  -webkit-text-decoration-thickness: 6px; /* Safari support for text decoration thickness */
  -webkit-text-underline-offset: 7px; /* Safari support for underline offset */
}

/* Font highlight container and styles */
.font-highlight-container {
  padding: 5% 0 2%;
}

.font-highlight {
  line-height: 6.7rem;
  margin: 0;
}

/* Styling the span with font size and position */
.font-highlight span {
  /*font-size: 5.2rem !important;*/
  top: 150px;
  position: relative;
  margin-right: -20px;
  transition: top 0.5s ease;
  -webkit-transition: top 0.5s ease; /* Webkit-specific prefix */
}

/* Optional: Add support for older browsers like Internet Explorer or very old Safari */
@supports (-webkit-text-decoration-thickness: 6px) {
  /* You can use additional fallback styles for browsers that support only the prefixed version */
  .text-underline-thickness {
    text-decoration-thickness: 6px;
    text-underline-offset: 7px;
  }
}
.font-highlight span.active{
  top: 0px;
}
.font-highlight .emp-space{
  margin: 0 10px;
}
.font-highlight .font-weight-normal{
  font-weight: 400;
}

@media (max-width: 991px) {
  .font-highlight{
    line-height: 5rem !important;
  }
  .font-highlight span{
    font-size: 4rem !important;
  }
}

@media (max-width: 640px) {
  .font-highlight{
    line-height: 3.8rem !important;
  }
  .font-highlight span{
    font-size: 3rem !important;
  }
}


@media only screen and (max-width: 500px) {
  header {
    justify-content: end;
    padding:30px;
  }
   .custom-cursor{
       display: none;
   }
   .logo-animation{
       width:20rem;
   }
   .portfolio{
       width:8rem;
   }
   .font-highlight span{
       margin-right:-15px;
   }
   button.outline{
       display: none;
   }
 .masonry-gallery{
     width: 80%;
     gap:8px;
 }
 .masonry-gallery > .row{
     gap: 8px;
 }
 .overlay > p {
     display: none;
 }
 
}