html {
  scroll-behavior: smooth;
}
body {
    background-color: black;
    /* margin: 1rem; */
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: #ffffff;
    line-height: 1.6;
}
h1, h2 {
    color: #9ef01a;
}

@import url('https://fonts.cdnfonts.com/css/quantify');
@import url('https://fonts.googleapis.com/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400;1,700&family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Libertinus+Serif:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
p{
  font-family: sans-serif;
  font-size: 20px;
}
h2,h3{
  font-family: 'Times New Roman', Times, serif;
}
.train{
  font-family: sans-serif;
  color: #ffffffa2;
}
.green-text{
  color: #9ef01a;
  font-family: "Libertinus Serif", serif;
  font-size: 20px;
}
.cursor{
    position: relative;
    width: 24em;
    margin: 0 auto;
    border-right: 2px solid rgba(255,255,255,.75);
    font-size: 1.7vw;
    font-family: "Playfair Display", serif;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    transform: translateY(-50%);    
}
/* Animation */
.typewriter-animation {
  animation: 
    typewriter 5s steps(50) 1s 1 normal both, 
    blinkingCursor 500ms steps(50) infinite normal;
}
@keyframes typewriter {
  from { width: 0; }
  to { width: 90%; }
}
@keyframes blinkingCursor{
  from { border-right-color: rgba(255,255,255,.75); }
  to { border-right-color: transparent; }
}
 
.hover-visitor {
	font-size: 5em;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1.5px #9ef01a;
	text-shadow: 0 0 0 #bef567;
	transition: all 250ms;
}

.hover-visitor:hover {
	text-shadow: 4px 4px 0 #fff;
	transform: translate(-2px, -2px)
}
.navbar{
    padding-left: 1.5rem;
    position: fixed;
    z-index: 100;
}
.logo{
    margin-left: 0px;
}

.logo-nav{
    width: 2.5rem;
    height: 2.5rem;
}
.login-icon{
  margin-left: 14vw;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    padding-left: 17rem;
}

.nav-links {
    background-color: #080808;
    border-radius: 30px 30px 30px 30px;
    display: flex;
    list-style: none;
    margin-left: 10rem;
    transition: all 0.3s ease;
}

.nav-links li {
    margin: 0 15px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #ffffffa2;
    font-size: 1rem;
    transition: color 0.3s;
    padding: 8px 12px;
    display: flex;
}


.nav-links a:hover {
    color: #9ef01a;
}
.nav-links li.active a {
  color: #9ef01a; 
}
/* Oval highlight effect 
.nav-links li.active::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 80%;
    background-color: #9ef01a;
    border-radius: 30px;
    transform: translate(-50%, -50%);
    z-index: -1; 
}*/

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
    padding: 0px;
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
        flex-wrap: wrap;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: #222;
        position: absolute;
        top: 60px;
        /* left: 1.5rem; */
        padding: 20px 0;
        z-index: 1000;
        margin-left: 20px;
    }
    
    .nav-links.active {
        display: flex;
        width: 15rem;
        
    }
    
    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Adjust active indicator for mobile */
    .nav-links li.active::after {
        height: 100%;
    }

}
/* Section Styling */
.section {
  min-height: 60vh;
  padding: 40px 40px;
  scroll-margin-top: 50px;
  display: flex;
  align-items: center;
}

.section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.meet-the-panel-container{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.dark-section {
  background-color: #000000;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;   
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

/* About Section */
.about-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Features/Why Us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
  color: #080808;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-left: 6vw;
  color: #080808;
}

.image-panel{
  background: rgb(0, 0, 0);
  padding: 0px;
  width: 18.4vw;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.overlay-container {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.overlay-container img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px; /* optional */
  transition: transform 0.5s ease;
}

.overlay-container:hover img {
  transform: scale(1.05); /* zoom effect */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #9ef01a; /* green overlay */
  color: rgb(0, 0, 0);
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.overlay-container:hover .overlay {
  opacity: 1;
}
/* Services */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.service-item {
  flex: 1;
  min-width: 400px;
  padding: 30px;
  background: white;
  color: #080808;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
@media (max-width: 768px){
  .service-item {
  flex: 1;
  min-width: 200px;
}
}

/* Process Steps */
.process-steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.process-step {
  flex: 1;
  min-width: 350px;
  text-align: center;
  padding: 30px;
}

.step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: #9ef01a;
  color: white;
  border-radius: 50%;
  line-height: 50px;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Global Capabilities */
.capabilities-content {
  display: flex;
  gap: 40px;
  align-items: center;
}


/* Testimonials */
.carousel-inner{
  margin-left: 130px;
  margin-right: 40%;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.client-name {
  font-weight: bold;
  margin-top: 15px;
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .about-content, .capabilities-content {
    flex-direction: column;
  }
  
  .section {
    padding: 80px 20px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
}   

.capital{
    color: #ffffff;
    font-size: 14vw;
    letter-spacing: 1vw;
    display: grid;
}
.capital-abt{
    color: #ffffff;
    font-size: 14vw;
    letter-spacing: 1vw;
    display: grid;
}
.capital-global{
    color: #ffffff;
    font-size: 10vw;
    letter-spacing: 1vw;
    display: grid;
}
.capital-global-g{
    color: #ffffff;
    font-size: 6vw;
    letter-spacing: 1vw;
    display: grid;
}
.capital-panel{
  color: #ffffff;
    font-size: 8vw;
    letter-spacing: 1vw;
    display: grid;
}
@media (max-width: 768px){
    .capital{
        color: #ffffff;
        font-size: 2rem;
        letter-spacing: 10px;
        display: grid;
}
    .capital-global{
        color: #ffffff;
        font-size: 1.5rem;
        letter-spacing: 5px;
        display: grid;
    }    
}

.cube-wrapper{
  padding: 2% 5%;
}
 .cube-container {
  perspective: 2000px;
  width: 350px;
  height: 350px;
  margin: 20px auto;
  
}

.image-cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: rotate 15s infinite linear;
   transform: rotateX(-15deg) rotateY(20deg);
}

.face {
  position: absolute;
  width: 90%;
  height: 90%;
  background-size: cover;
  background-position: center;
  border: 2px solid #9ef01a;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.front {
  transform: translateZ(156px);
  background-color: #000000;
}
.back {
  transform: translateZ(-156px) rotateY(180deg);
  background-color: #000000;
}
.right {
  transform: rotateY(90deg) translateZ(156px);
  background-color: #050505;
}
.left {
  transform: rotateY(-90deg) translateZ(156px);
  background-color: #000000;
}

@media (max-width: 768px) {
 .cube-container {
    perspective: 2000px;
    width: 100%;
    height: auto;
    padding: 40px 0;
    margin-bottom: 40px;
    text-align: center;
  }

.image-cube {
    width: 250px;
    height: 250px;
    margin: 40px auto;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 15s infinite linear;
  }

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border: 2px solid #9ef01a;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  }

  .front  { transform: rotateY(  0deg) translateZ(125px); }
  .right  { transform: rotateY( 90deg) translateZ(125px); }
  .back   { transform: rotateY(180deg) translateZ(125px); }
  .left   { transform: rotateY(-90deg) translateZ(125px); }

}

@keyframes rotate {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

/* Pause animation on hover */
.image-cube:hover {
  animation-play-state: paused;
}


/* Testimonials Section */
#testimonials {
  padding: 80px 0;
  background: black;
}

#testimonials{
  text-align: center;
  margin-bottom: 50px;
  color: #ffffff;
  font-size: 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: #416900;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
  border-left: 4px solid #9ef01a;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.rating {
  margin-bottom: 15px;
}

.star {
  color: #fffb19;
  font-size: 1.2rem;
  margin-right: 3px;
}

.testimonial-text {
  color: #fdfdfd;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
  flex-grow: 1;
}

.client-info {
  border-top: 1px solid #9ef01a;
  padding-top: 15px;
}

.client-name {
  font-weight: bold;
  color: #ffffff;
  margin: 0;
  font-size: 1.1rem;
}

.client-role {
  color: #ffffff;
  margin: 5px 0 0 0;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    padding: 20px;
  }
}

.scrolling-text-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

/* Inner moving text */
.scrolling-text {
  display: flex;
  width: max-content;
  animation: scroll 170s linear infinite;
}

.scrolling-text span {
  white-space: nowrap;
  padding: 0 0.9rem;
  font-size: 0.9rem;
}

/* Keyframes for continuous scrolling */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .scrolling-text span {
    font-size: 0.9rem;
    padding: 0 1.5rem;
  }
}
@media (max-width: 480px) {
  .scrolling-text span {
    font-size: 0.8rem;
    padding: 0 1rem;
  }
}
.astrick{
  color: #9ef01a;
}

/* Background text behind cube */
.background-text {
    text-shadow: 0 0 1px rgba(255,255,255,0.6);
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    color: #fff;
    pointer-events: none;
    letter-spacing: 0.1em;
    /* white-space: nowrap; */
    font-family: 'Quantify', sans-serif;
}

.background-para{
  position: absolute;
  top:60%;
  left: 0%;
  transform: translate(-130%, 20%);
  font-size: 1rem;
  color: #ffffffa2;
}
@media (max-width: 768px) {
  .background-text {
    font-size: 4rem;
    top: 0%;
    transform: translate(-50%, -50%);
  }
  .image-cube{
    top: 20%;
  }
  .background-para{
  position: absolute;
  top:60%;
  left: 0%;
  /* transform: translate(-130%, 20%); */
  font-size: 1rem;
  color: #ffffffa2;
}
}

 .container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
        }

        .left-section {
            flex: 1 1 400px;
        }

        .right-section {
            flex: 2 1 500px;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 30px;
        }

        .key-title {
            font-size: 5vw;
            font-weight: bold;
            margin-bottom: 20px;
        }

        .experience-box {
            padding: 20px;
            border-radius: 8px;
            max-width: 300px;
        }

        .experience-box h2 {
            font-size: 5vw;
            margin: 0;
            font-weight: bold;
        }
        .metric-hello{
          font-size: 2vw;
        }
         p {
            margin: 5px 0 0;
            font-size: 1.2vw;
            font-family: sans-serif;
        }

        .metric {
            display: flex;
            flex-direction: column;
        }

        .metric h3 {
            font-size: 4vw;
            color: #aaff00;
            margin: 0;
        }

        .metric span {
            font-size: 2vw;
            margin-top: 5px;
        }

        .metric p {
            font-size: 1.2vw;
            color: #ccc;
            margin-top: 5px;
        }

        @media (max-width: 768px) {
            .container {
                flex-direction: column;
            }
            .right-section {
                grid-template-columns: 1fr;
            }
        }

 @media (max-width: 768px) {
  #services .services-container {
    flex-direction: column;   /* Stack heading first, services second */
  }   
}    