 /* Importing Google fonts - Inter */
  @import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');
  @import url('https://fonts.cdnfonts.com/css/ica-rubrik-black');
  @import url('https://fonts.cdnfonts.com/css/poppins');

html {
    font-size: 100%;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden; /* Prevent scrolling */
    background-color: black;
    color: white;
    position: relative; /* To position absolute elements correctly */
}

::selection {

    background-color: #ba901c; /* Yellow background color */
  
    color: black; /* Optional: Set text color within the selection */
  
  }

.divider {
    width: 50%; /* Width of the divider */
    height: 2px; /* Thickness of the divider */
    background-color: #10a4b0; /* Color of the divider */
    margin: 0px auto; /* Center the divider and add vertical space */
}

/* Stars Background */
.star {
    position: absolute;
    border-radius: 50%;
    background-color: rgb(255, 255, 255); /* Faded white */
    animation: twinkle 2s infinite alternate;
    opacity: 0.2;
}

@keyframes twinkle {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.3; /* Faded effect */
    }
}

.dust {
    position: absolute;
    border-radius: 50%;
    background-color: #ba901c;
    animation: float 5s infinite alternate;
    opacity: 0.4;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; /* Make sure the canvas is behind other content */
}

/* Navigation Bar */
header {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: black;
    transition: background-color 0.3s ease;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}


.logo:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease, color 0.3s ease;
}

.logo-text {
    margin-top: 50;
    color: white;
    font-size: 1.2rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
}

.nav-links a.active,
.nav-links a.current {
    background: linear-gradient(134deg, #10a4b0, #008996);
    color: white;
}

.nav-links a:hover,
.nav a.active {
    background: linear-gradient(134deg, #10a4b0, #008996);
    color: white;
}

.scrolled {
    background-color: black;
    transition: color 0.3s ease;
}



.contact{
    background-color: black;
    text-align: center;
}

.golden{
    color: #10a4b0;
}

/* Social Icons */
.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background-color: transparent;
    border: 0.2rem solid #10a4b0;
    font-size: 2.5rem;
    border-radius: 50%;
    margin: 3rem 1rem;
    transition: 0.3s ease;
    color: #10a4b0;
}

.social-icons a:hover {
    color: black;
    transform: scale(1.2) translateY(-5px);
    background-color: #10a4b0;
    box-shadow: 0 0 20px #10a4b0;
}


/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .navbar {
        background-color: black;
        flex-direction: row;
        padding: 10px 15px;
    }

    .toggle-btn {
        display: block;
        margin-left: 30%;
    }

    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 50px;
        left: 0;
        background-color: black;
        width: 100%;
        padding: 0; /* Remove padding for animation */
        border-radius: 5px;
        text-align: center;
        opacity: 0; /* Start with opacity 0 */
        max-height: 0; /* Start with max-height of 0 */
        overflow: hidden; /* Hide overflow to prevent content from showing */
        transition: max-height 0.5s ease, opacity 0.5s ease; /* Add transition for max-height and opacity */
    }

    .nav-links.active {
        opacity: 1; /* Fully visible when active */
        max-height: 300px; /* Set a max-height that is greater than the content height */
        padding: 10px 0; /* Add padding when active */
    }

    .nav-links a {
        font-size: 0.8rem;
        text-align: center;
        padding: 10px; /* Add padding for better touch targets */
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 480px) {
    .menu-toggle {
        font-size: 1rem;
    }

    .logo, .logo-text {
        font-size: 1rem;
    }

    .social-icons a {
        margin-top: 30px;
        margin-bottom: 5%;
        margin-left: 4px;
        margin-right: 4px;
        width: 2.7rem;
        height: 2.7rem;
        font-size: 1.5rem;
        border: 0.1rem solid #10a4b0;
    }

    .btn-primary,
    .btn {
        display: inline-flex;
        margin: 0;
        margin-top: 10%;
        font-size: 0.9rem;
        padding: 0.8rem 2rem;
        text-align: left;
        font-weight: 600;
    }

    .btn-services {
    margin-top: 5vh;
    margin-left: 25vw;
    text-align: center;
    padding: 1rem 2.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.2rem;

    background-color: #000000;
    color: #10a4b0;
    border: 2px solid #10a4b0;
}
}



/* Stars Disabled on mobile devices */
@media screen and (max-width: 768px) {
    #starContainer, #shootingStarsCanvas, #hills{
        display: none; /* Hide all stars, dust particles, and shooting stars */
    }
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
    height: 12px; /* Height of the scrollbar */
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #0a0a0a, #222113); /* Background of the scrollbar track */
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #10a4b0, #10a4b069); /* Gradient for the scrollbar thumb */
    border-radius: 10px; /* Rounded corners for the scrollbar thumb */
}


::-webkit-scrollbar-corner {
    background: transparent; /* Background for the corner where scrollbars meet */
}


/* Hamburger Menu */
.block {
    height: 40px; 
    width: 40px;  
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 40%;
    transition: all 1s ease;
    background: linear-gradient(134deg, #10a4b0, #00eaff);
}

.cta {
    height: 40px; 
    width: 40px;  
    cursor: pointer;
}

.toggle-btn {
    height: 2px;
    border-radius: 6px;
    width: 18px; 
    background-color: #fff;
    position: relative;
    top: 50%;
    left: 0;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

.toggle-btn:before {
    content: "";
    height: 2px;
    border-radius: 6px;
    width: 18px; 
    box-shadow: 0 -10px 0 0 #fff;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

.toggle-btn:after {
    content: "";
    height: 2px;
    border-radius: 6px;
    width: 18px; 
    box-shadow: 0 10px 0 0 #fff;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

.active .toggle-btn {
    background-color: transparent;
    transition: all 0.2s ease-in-out;
}

.active .toggle-btn:before {
    left: 6px;
    transform: translateY(6px) rotate(-45deg);
}

.active .toggle-btn:after {
    left: 6px;
    transform: translateY(-8px) rotate(45deg);
}

/* Removes Hamburger Menu on larger screeens as it for mobile devices only */
@media (min-width: 769px) {
    #menuToggle, .toggle-btn,.toggle-btn:after,.toggle-btn:before,.block ,.mobile-typing-text {
        display: none;
    }
}




/* ANIMATIONS */

@keyframes slideDown {
    from {
        opacity: 0; /* Start fully transparent */
        transform: translateY(-50px); /* Start 50px above */
    }
    to {
        opacity: 1; /* End fully opaque */
        transform: translateY(0); /* End at its original position */
    }
}

/*     animation: animate 5s linear infinite;
    outline: none; */

@keyframes animate{
    0%,18%,20%,50.1%,60%,65.1%,80%,90.1%,92% {color: #ba901c;
        text-shadow: none;
}
18.1%,20.1%,30%,50%,60.1%,65%,80.1%,90%,92.1%,100%
{
    color: white;
    text-shadow: 0 0 10px #ba901c,
    0 0 20px #ba901c,
    0 0 40px #ba901c,
    0 0 80px #ba901c,
    0 0 160px #ba901c,

}
}

/* carousel */
.carousel{
    height: 100vh;
    margin-top: -50px;
    width: 100vw;
    overflow: hidden;
    position: relative;
}
.carousel .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}
.carousel .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel .list .item .content{
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
}
.carousel .list .item .author{
    font-weight: bold;
    letter-spacing: 10px;
}
.carousel .list .item .title,
.carousel .list .item .topic{
    font-size: 4em;
    font-weight: bold;
    line-height: 1.3em;
}

.carousel .list .item .title,
.carousel .list .item .shorttopic{
    font-size: 3em;
    font-weight: bold;
    line-height: 1.3em;
}

.carousel .list .item .topic{
    color: #10a4b0;
}

.carousel .list .item .shorttopic{
    color: #10a4b0
}

.carousel .list .item .buttons{
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}
.carousel .list .item .buttons button{
    border: none;
    background-color: #eee;
    letter-spacing: 3px;
    font-family: Poppins;
    font-weight: 500;
    transition: 0.3s ease;
    cursor: pointer;
}
.carousel .list .item .buttons button:hover {
    background-color: #10a4b0;
    color: black;
    box-shadow: 0 0 20px #10a4b0;
}
/* thumbail */
.thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}
.thumbnail .item{
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.thumbnail .item .content{
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}
.thumbnail .item .content .title{
    font-weight: 500;
}
.thumbnail .item .content .description{
    font-weight: 300;
}
/* arrows */
.arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.arrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee4;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
}
.arrows button:hover{
    background-color: #10a4b0;
    color: #000;
}

/* animation */
.carousel .list .item:nth-child(1){
    z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .shorttopic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .2s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
.carousel .list .item:nth-child(1) .content .title{
    animation-delay: 1s!important;
}
.carousel .list .item:nth-child(1) .content .topic{
    animation-delay: 1.2s!important;
}
.carousel .list .item:nth-child(1) .content .shorttopic{
    animation-delay: 1.2s!important;
}
.carousel .list .item:nth-child(1) .content .des{
    animation-delay: 1.4s!important;
}
.carousel .list .item:nth-child(1) .content .buttons{
    animation-delay: 1.6s!important;
}
/* create animation when next click */
.carousel.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .3s linear 1 forwards;
}
@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.carousel.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.prev .list .item img{
    z-index: 100;
}
@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}
.carousel.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}

/* running time */



.carousel.next .time,
.carousel.prev .time{
    animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime{
    from{ width: 100%}
    to{width: 0}
}


/* prev click */

.carousel.prev .list .item:nth-child(2){
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.carousel.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
    pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .shorttopic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
@media screen and (max-width: 678px) {
    .carousel .list .item .content{
        padding-right: 0;
    }
    .carousel .list .item .content .title{
        font-size: 30px;
    }
}

.Servicesec{
    width: 100vw;
    height: 100vh;
    padding-top: 50px;

}

.animated-section {
    opacity: 0; /* Start hidden */
    transform: translateY(20px); /* Start slightly below */
    transition: opacity 2s ease, transform 0.6s ease; /* Transition for smooth effect */

    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Fade-in effect when the section is visible */
.animated-section.visible {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Move to original position */
}

.golden{
    color: #10a4b0;
    font-weight: 500;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: black;
    color: #fff;
    font-size: 0.8rem;
  }