@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700;900&display=swap');

:root {
    --primary-bg: #111111;
    --secondary-bg: #1a1a1a;
    --accent-color: #C6D300;
    --text-color: #ffffff;
    --sidebar-width: 90px;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    margin-left: var(--sidebar-width);
    overflow-x: hidden;
}

html{
    overflow-x: hidden;
}

.top-border {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--accent-color);
    z-index: 1050;
}

.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 25px;
    z-index: 1040;
}

.nav-links-container{
    overflow-y: auto;
    pointer-events: auto;
    height: 100vh;          /* or any fixed height like 400px */

}
/* Scrollbar container */
::-webkit-scrollbar {
    width: 8px;
  }
  
  /* Track (background of scrollbar) */
  ::-webkit-scrollbar-track {
    background: #111111; /* dark background to match theme */
  }
  
  /* Thumb (scroll handle) */
  ::-webkit-scrollbar-thumb {
    background: #d4ff00; /* neon yellow-green like button */
    border-radius: 10px;
  }
  
  /* Thumb hover effect */
  ::-webkit-scrollbar-thumb:hover {
    background: #c1ec00; /* slightly darker neon */
  }
  
  /* Firefox support */
  * {
    scrollbar-width: thin;
    scrollbar-color: #d4ff00 #111111;  /* thumb and track */
  }
  

.side-nav .logo-container {
    margin-bottom: 30px;
}

.side-nav .navbar-brand {
    color: var(--text-color);
    font-weight: 900;
    font-size: 2rem;
    text-transform: uppercase;
}

.side-nav .nav-link {
    background-color: #2a2a2a;
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 10px 0;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-nav .nav-link.active, .side-nav .nav-link:hover {
    background-color: var(--accent-color);
    color: var(--primary-bg);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.main-content {
    width: 100%;
}

.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-section .text-content {
    padding-left: 5%;
    z-index: 2;
}

.hero-section .intro-text {
    color: var(--accent-color);
    font-weight: 500;
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin: 0;
    line-height: 1.1;
}

.hero-section .role-title {
    text-transform: uppercase;
}

.hero-section .based-in {
    padding-left: 5px;
}

.hero-section .description {
    max-width: 450px;
    margin-top: 20px;
    font-size: 1rem;
    color: #a0a0a0;
}

.btn-custom-primary {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    border: none;
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 5px;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.btn-custom-primary:hover {
    background-color: var(--text-color);
    color: var(--primary-bg);
}

.btn-custom-secondary {
    color: var(--text-color);
    font-weight: 500;
    border: 1px solid var(--accent-color);
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-custom-secondary:hover {
    background-color: var(--text-color);
    color: var(--primary-bg);
}

.btn-custom-secondary i {
    color: var(--accent-color);
    margin-right: 8px;
}

.image-content {
    position: absolute;
    top: 0;
    right: 0;
    /* width: 45%; */
    height: 100%;
    background: url('../images/img1.jpg') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

.image-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100px; /* Adjust this to control the overlap */
    width: 250px; /* Adjust this to control the width of the shape */
    height: 100%;
    background-color: var(--primary-bg);
    transform: skewX(-12deg);
    z-index: 2;
}

.image-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: -70px; /* Adjust to position the accent shape */
    width: 130px; /* Width of the accent shape */
    height: 100%;
    background-color: var(--accent-color);
    transform: skewX(-12deg);
    z-index: 2;
}



/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--primary-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-section .sub-heading {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-section h2 {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 10px 0 20px 0;
    text-transform: uppercase;
}

.about-section .tagline {
    color: #a0a0a0;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.about-section .tagline strong {
    color: var(--text-color);
    font-style: normal;
    font-weight: 700;
}

.about-section p {
    color: #a0a0a0;
    line-height: 1.8;
}

.btn-outline-custom {
    color: var(--text-color);
    border: 2px solid var(--accent-color);
    padding: 10px 30px;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-outline-custom:hover {
    background-color: var(--accent-color);
    color: var(--primary-bg);
}



/* Experience Section */
.experience-section {
    padding: 100px 0;
    background-color: var(--primary-bg);
}

.experience-section .sub-heading {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.experience-section .section-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.experience-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.experience-number {
    text-align: center;
}

.experience-number span {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-color);
    display: block;
}

.experience-number i {
    color: var(--accent-color);
    font-size: 2rem;
    margin-top: 10px;
}

.experience-content hr {
    border-color: #444;
    margin: 0 0 20px 0;
}

.experience-content .company {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.experience-content h5 {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin: 5px 0;
}

.experience-content .date {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.experience-content p {
    color: #a0a0a0;
    line-height: 1.8;
}


/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--primary-bg);
    border-top: 1px solid var(--border-color);
}

.services-section .sub-heading {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-section .section-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.service-item {
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.service-item i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 150px;
    color: var(--accent-color);
    opacity: 0.05;
    transition: all 0.3s ease;
}

.service-item h5, .service-item p {
    position: relative;
    z-index: 2;
}

.service-item h5 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-item p {
    color: #a0a0a0;
}

.service-item.active, .service-item:hover {
    background-color: #1a1a1a;
}

.service-item:hover i {
    opacity: 0.08;
}


/* Portfolio Section */
.portfolio-section {
    padding: 100px 0;
    background-color: var(--primary-bg);
    border-top: 1px solid var(--border-color);
}

.portfolio-section .sub-heading {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-section .section-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.portfolio-info-box {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    padding: 30px;
    border-radius: 10px;
}

.portfolio-info-box h5 {
    font-weight: 900;
    font-size: 1.5rem;
}

.portfolio-info-box p {
    margin: 15px 0;
}

.portfolio-nav {
    display: flex;
    gap: 10px;
}

.portfolio-nav button {
    background-color: var(--primary-bg);
    color: var(--text-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.portfolio-nav button:hover {
    background-color: #000;
}

.splide__slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
}



/* Stats Section */
.stats-section {
    padding: 100px 0;
    background-color: var(--primary-bg);
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    background-color: #1a1a1a;
    padding: 50px 20px 30px;
    border-radius: 10px;
    position: relative;
}

.stat-icon {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid #1a1a1a;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-color);
    margin: 0 0 5px 0;
}

.stat-label {
    color: #a0a0a0;
    font-size: 1rem;
}


/* Contact & Testimonials Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--primary-bg);
    position: relative;
}

.subscribe-form .section-title {
    font-size: 2.3rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 30px;
}

.subscribe-form form {
    display: flex;
    border: 1px solid var(--accent-color);
    padding: 8px;
    border-radius: 5px;
}

.subscribe-form input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: var(--text-color);
    padding: 10px 15px;
    font-size: 1rem;
}

.subscribe-form input::placeholder {
    color: #a0a0a0;
}

.subscribe-form button {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    border: none;
    padding: 15px 30px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
}

.testimonial-item {
    background-color: #1a1a1a;
    padding: 50px 30px 60px;
    border-radius: 30px;
    position: relative;
    text-align: center;
    height: 100%;
}

.testimonial-quote {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-family: serif;
    padding-bottom: 5px;
}

.testimonial-rating {
    margin-bottom: 15px;
    color: #f8b400;
}

.testimonial-item h5 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial-item span {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 20px;
}

.testimonial-item p {
    color: #a0a0a0;
    line-height: 1.8;
    font-size: 0.95rem;
}

.testimonial-author {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid var(--primary-bg);
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 5px;
}

.testimonial-author i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.testimonial-author span {
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 400;
    margin-top: 2px;
}



.testimonial-slider .splide__slide {
    height: auto;
    padding-bottom: 40px; /* Space for the overlapping author image */
}

.testimonial-slider .testimonial-item {
    margin-bottom: 0;
}

/* Client Section */
.client-section {
    padding: 100px 0;
    background-color: #1c1c1c;
}

.client-section .section-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 60px;
}

.client-logo {
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.client-logo img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logo:hover {
    border-color: var(--accent-color);
    background-color: #222;
}

.client-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}



/* Footer */
.site-footer {
    background-color: var(--primary-bg);
    padding: 100px 0 0;
    color: #a0a0a0;
    font-size: 0.95rem;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-color);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo:hover {
    color: var(--accent-color);
}

.footer-widget p {
    line-height: 1.8;
}

.footer-subscribe a {
    color: var(--text-color);
    text-decoration: none;
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--accent-color);
    margin-top: 20px;
    position: relative;
}

.footer-subscribe a i {
    color: var(--accent-color);
    margin-left: 10px;
    position: absolute;
    right: -25px;
    top: 5px;
    transform: rotate(-45deg);
}

.footer-widget h5 {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li a {
    color: #a0a0a0;
    text-decoration: none;
    margin-bottom: 15px;
    display: block;
    transition: all 0.3s ease;
}

.footer-widget ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.footer-contact-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
}

.footer-contact-item h6 {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 5px;
}

.footer-contact-item p {
    margin: 0;
    line-height: 1.6;
}

.footer-bottom {
    padding: 30px 0;
    margin-top: 60px;
    border-top: 1px solid var(--text-color);
}

.copyright-text {
    margin: 0;
}

.footer-legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

.footer-legal-links li:not(:last-child) {
    margin-right: 30px;
}

.footer-legal-links a {
    color: #a0a0a0;
    text-decoration: none;
}

.footer-legal-links a:hover {
    color: var(--text-color);
}

/* Video Modal */
.modal-content {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-body {
    padding: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #fff;
    color: var(--accent-color);
}

/* Responsive adjustments */
@media (max-width: 1300px) {
    .image-content::before{
        width: 196px;
    }
    .hero-section h1,.hero-section .role-title{
        font-size: 3.5rem;
    }

    .image-content::after {
        left: 50px;
        width: 80px;    
    }
}

@media (max-width: 1200px) {
    .buttons-container{
        display: flex;
        gap: 16px;
        flex-direction: column;
    }

    .btn-custom-primary{
        margin: 0;
    }
}

@media (max-width: 992px) {
    .about-section, .experience-section,
     .services-section, .portfolio-section, 
     .testimonial-section, .client-section,
     .contact-section, .stats-section{
        padding: 60px 0;
    }
    .hero-section h1,.hero-section .role-title {
        font-size: 2.5rem;
    }

    .hero-section .description{
        color: white;
    }

    .image-content::after{
        display: none;
    }

    .image-content::before{
        display: none;
    }

    .hero-section{
        position: static;
    }

    .about-section h2 {
        font-size: 2.2rem;
    }

    .experience-section .section-title {
        font-size: 2.2rem;
    }

    .service-item {
        margin-bottom: 30px;
    }

    .portfolio-section .col-lg-8 {
        margin-top: 40px;
    }

    .subscribe-form {
        margin-bottom: 80px;
        text-align: center;
    }

    .client-logo {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    body {
        margin-left: 0;
    }
    .top-border{
        height: 3px;
    }
    .side-nav {
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 20px;
        top: 3px;
        left: 0;
    }
    .side-nav .logo-container {
        margin-bottom: 0;
    }

    .burger-menu {
        display: block;
        z-index: 1051;
    }

    .subscribe-form form{
        display: block;
    }

    .nav-links-container {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: var(--secondary-bg);
        padding: 15px;
        width: 100px;
        border-top: 1px solid var(--border-color);
    }

    .side-nav.is-open .nav-links-container {
        display: block;
    }

    .side-nav .nav {
        flex-direction: column;
        align-items: end;
        gap: 20px;
    }
    .side-nav .nav-link {
        margin: 0 5px;
        padding: 8px;
        font-size: 1rem;
    }
    .hero-section {
        text-align: center;
    }
    .hero-section .text-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .hero-section .based-in {
        padding-left: 0;
    }
    .hero-section .description {
        margin-left: auto;
        margin-right: auto;
    }

    .subscribe-form button{
        width: 100%;
    }

    .about-section, .experience-section, 
    .services-section, .portfolio-section,
     .testimonial-section, .client-section, 
     .contact-section, .stats-section {
        padding: 40px 15px;
        text-align: center;
    }
    .site-footer{
        padding: 40px 0 0;
    }
    .about-section .col-lg-6:last-child {
        margin-top: 40px;
    }

    .footer-bottom {
        text-align: center;
    }
    .copyright-text {
        margin-bottom: 15px;
    }
    .footer-legal-links {
        justify-content: center;
    }

    .experience-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .experience-content hr {
        display: none;
    }

    .stat-item {
        margin-bottom: 50px;
    }

    .testimonial-item {
        margin-bottom: 60px;
    }
    .contact-section .row .col-md-6:last-child .testimonial-item {
        margin-bottom: 0;
    }

    .client-section .row .col-lg:last-child .client-logo,
    .client-section .row .col-md-4:last-child .client-logo {
        margin-bottom: 0;
    }

}
