 /* 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: #10a4b0; /* 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 */
}

.portfolio{
    width: 80vw;
    height: auto;
    position: absolute;
    margin-left: 10%;
    background-repeat: no-repeat;
    background-position: center;
    rotate: 8deg;
    z-index: 2;
    transform: translateY(-50px); /* Start 50px above its final position */
    animation: slideDown 1s forwards; /* Animation name, duration, and forwards to keep the final state */
}


.slideshow-container img{
    vertical-align: middle;

}

.sec1{
    position: relative;
    background-color: #000000;
    margin: 0;
    height: auto; /* Adjust height based on content */
    padding: 20px; /* Add some padding */
    padding-bottom: 100px;
}


.sec1-content {
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Center items vertically */
    justify-content: space-between; /* Space between text and image */
    padding: 20px; /* Add padding for spacing */
}

.sec1-text {
    flex: 1; /* Allow text to take available space */
    padding-top: 5vh;
    padding-right: 20vw; /* Space between text and image */
    padding-left: 10vw;
}

.sec1 h1 {
    color: #10a4b0;
    font-size: 3rem;
    font-weight: 700;
}

.sec1 h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
}

.sec1 h3{
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    line-height: 2;
}


.sec1 p {
    font-size: 1.3rem;
    font-style: italic;
}


/* Slideshow container */


.slideshow-container {
    max-width: 100vw;
    position: relative;
    margin: 0;
    margin-left: 15%;
  }

  @keyframes fade-in{
    to{
        scale: 1; opacity: 1;
    }
  }

  /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: #10a4b0;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
  }
  /* Caption text */
  .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* Fading animation */
  .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
  }
  @-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }
  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }
  /* On smaller screens, decrease text size */
  @media only screen and (max-width: 300px) {
    .prev, .next,.text {font-size: 11px}
  .dot{
   height: 10vh;
    width: 10vw;
  }
  @media only screen and (max-width: 500px) {
    .prev, .next,.text {font-size: 14px}
  }}

/* 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: #10a4b0;
    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: transparent;
    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;
    }

    .portfolio{
        width: 150vw;
        height: auto;
        margin-left: -25%;
        margin-top: 10%;
        rotate: 8deg;
        z-index: 2;
    }

    .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;
    }
}

/* Parallax */
.parallax{
    position: relative;
    display: flex;
    height: 100vh;
}



/* Responsive Parallax for mobile */
    @media (max-width: 768px) {
    .parallax {
        background-attachment: scroll;
        margin: 0;
        padding: 0;
        height: 50vh;
      }
    }

    .content {
      position: relative;
      z-index: 2;
      text-align: center;
      padding-top: 40vh;
    }

    @media (max-width: 480px) {
        .sec1{
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .sec1-content{
            margin: 0;
            margin-left: -15%;
            align-items: center;   
        }

        .slideshow-container{
            width: 95vw;
            margin: 0;
            margin-left: -5%;
        }

        .sec1-text h1 {
            font-size: 2rem; /* Adjust heading size */
        }
    
        .sec1-text h2{
            font-size: 1.5rem; /* Adjust paragraph size */
        }
        .sec1-text h3{
            font-size: 1rem; /* Adjust paragraph size */
        }

        .sec1-text p{
            font-size: 0.9rem; /* Adjust paragraph size */
        }

        .divider {
            width: 80%; /* Width of the divider */
            margin-top: 10%;
        }
    
    
    
        .sec2images h2{
            text-align: left;
            padding-top: 2vh;
            font-size: 1rem;
        }
        
        .sec2images p{
            text-align: left;
            padding-top: 1vh;
            font-size: 0.9rem;
        }
    }

/* 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 */
    }
}


.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 */
}

/* Additional animations for sub-elements */
.animated-section h2 {
    opacity: 0; /* Start hidden */
    transform: translateY(10px); /* Start slightly below */
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s; /* Delay for sub-elements */
}

.animated-section.visible h2 {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Move to original position */
}

.animated-section h3 {
    opacity: 0; /* Start hidden */
    transform: translateY(10px); /* Start slightly below */
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s; /* Delay for sub-elements */
}

.animated-section.visible h3 {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Move to original position */
}

.animated-section p {
    opacity: 0; /* Start hidden */
    transform: translateY(10px); /* Start slightly below */
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s; /* Delay for sub-elements */
}

.animated-section.visible p {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Move to original position */
}

footer {
    text-align: center;
    padding: 10px;
    background-color: black;
    color: #fff;
    font-size: 0.8rem;
  }