* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    user-select: none;
}

/*special scrollbar*/
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #06d0e0;
    border-radius: 5px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: black;
    color: white;
    display: block;
    flex-direction: column;
    align-items: center;
}

/* Preloader full-screen style */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
    /* Prevents scrolling inside the preloader */
}

/* Make the video fill the screen and adjust based on aspect ratio */
#preloader video {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
}

#content {
    display: none;
}

/* Navbar Styling */
header {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.4s ease;
    height: auto;
    min-height: 30px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
}

/* Navigation Menu */
.navlist {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navlist a {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.navlist a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #06d0e0;
    transition: width 0.3s;
}

.navlist a:hover::after {
    width: 100%;
}

/* Mobile Menu Icon */
#menu-icon {
    font-size: 22px;
    color: white;
    cursor: pointer;
    display: none;
    /* Hidden by default */
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        max-width: 500px;
    }

    .navlist {
        position: absolute;
        top: 50px;
        right: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.8);
        flex-direction: column;
        text-align: center;
        transform: translateY(-100%);
        transition: transform 0.4s ease;
        border-radius: 0 0 10px 10px;
        display: none;
    }

    .navlist.open {
        transform: translateY(0);
        display: flex;
    }

    #menu-icon {
        display: block;
    }
}

/* Large Screens: Full-width navbar */
@media (min-width: 1024px) {
    header {
        width: 90%;
        max-width: 1200px;
        border-radius: 15px;
        padding: 15px 40px;
    }

    .navlist {
        display: flex !important;
        justify-content: flex-end;
        gap: 30px;
    }

    #menu-icon {
        display: none;
    }
}

/* Main Section */
.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    text-align: center;
}

.logo-main {
    width: 75%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.tagline {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #aaa;
}

/* Instagram Feed Section */
#instagram-feed-section {
    padding: 50px 0;
    background-color: #111;
    text-align: center;
    overflow: hidden;
}

/* Section Heading */
#instagram-feed-section h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 30px;
}

#instagram-feed-section h2 span {
    color: #06d0e0;
    font-weight: bold;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}


/* Swiper Container Styling */
.instagram-swiper-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 30px 0;
    position: relative;
    overflow: hidden;
    /* fix content inside */
}

/* Swiper Wrapper */
.instagram-swiper-container .swiper-wrapper {
    display: flex;
    align-items: center;
}

/* Swiper Slide */
.instagram-swiper-container .swiper-slide {
    width: 200px !important;
    height: 200px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

/* Image Styling */
.instagram-swiper-container .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Hover Effect */
.instagram-swiper-container .swiper-slide:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Swiper Navigation Buttons */
.instagram-swiper-container .swiper-button-next,
.instagram-swiper-container .swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 50%;
    padding: 15px;
    font-size: 18px;
    transition: background-color 0.3s ease-in-out;
    z-index: 1000;
}

.instagram-swiper-container .swiper-button-next:hover,
.instagram-swiper-container .swiper-button-prev:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

/* Adjust Navigation Button Position */
.instagram-swiper-container .swiper-button-prev {
    left: 10px;
}

.instagram-swiper-container .swiper-button-next {
    right: 10px;
}

/* Swiper Pagination Styling */
.instagram-swiper-container .swiper-pagination {
    bottom: 10px !important;
}

.instagram-swiper-container .swiper-pagination-bullet {
    background-color: #06d0e0;
    transition: background-color 0.3s ease-in-out;
}

.instagram-swiper-container .swiper-pagination-bullet-active {
    background-color: #ffffff !important;
    opacity: 1 !important;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .instagram-swiper-container .swiper-slide {
        width: 180px !important;
        height: 180px !important;
    }
}

@media (max-width: 768px) {
    #instagram-feed-section h2 {
        font-size: 1.8rem;
    }

    .instagram-swiper-container .swiper-slide {
        width: 160px !important;
        height: 160px !important;
    }

    .instagram-swiper-container .swiper-button-prev {
        left: 5px;
    }

    .instagram-swiper-container .swiper-button-next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    #instagram-feed-section h2 {
        font-size: 1.6rem;
    }

    .instagram-swiper-container .swiper-slide {
        width: 140px !important;
        height: 140px !important;
    }

    .instagram-swiper-container .swiper-button-prev {
        left: 3px;
    }

    .instagram-swiper-container .swiper-button-next {
        right: 3px;
    }
}
/* Info Section */

.info-section {
    text-align: center;
    padding: 60px 20px;
    width: 100%;
    background: #333;
    color: #fff;
    position: relative;
    box-sizing: border-box;
}

.info-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.highlight {
    color: #06d0e0;
}

.info-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #ccc;
}

.footer {
    margin-top: 20px;
}

.footer .mini-logo {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer p {
    font-size: 0.9rem;
    color: #aaa;
}

.about-section {
    padding: 40px;
    color: #fff;
    background: #262626;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.about-text {
    width: 50%;
    padding: 20px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.about-text h2 span {
    color: #06d0e0;
}

.about-text .highlight {
    color: #00f7ff;
    font-weight: bold;
}

.about-text p {
    margin-top: 15px;
    font-size: 1rem;
    line-height: 1.5;
}

/* Skills Section */
.skills {
    width: 50%;
    padding: 20px;
    font-family: Arial, sans-serif;
    background: #000;
    border-radius: 10px;
}

.skill-header {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.skill-header span {
    display: inline-block;
    padding: 10px;
    border-radius: 8px;
    width: 48px;
    height: 48px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
    line-height: 48px;
    font-weight: bold;
    color: #000;
    width: 48px;
    height: 48px;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 5px;
    margin-right: 10px;
}

/* logos */
.photoshop {
    background-image: url('../img/logo/icons8-photoshop-48.png');
}

.illustrator {
    background-image: url('../img/logo/icons8-illustrator-48.png');
}

.after-effects {
    background-image: url('../img/logo/icons8-adobe-after-effects-48.png');
}

.premiere-pro {
    background-image: url('../img/logo/icons8-adobe-premiere-pro-48.png');
}

.skill-bar {
    margin: 15px 0;
}

.skill-bar p {
    margin: 5px 0;
    font-weight: bold;
    color: white;
}

.bar {
    background-color: #333;
    height: 8px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.progress {
    background-color: white;
    height: 100%;
    width: 0;
    transition: width 4s ease-in-out;
}

/* While animating change color */
.progress.animating {
    background-color: #06d0e0 !important;
}

/* Immediately turn white after animation */
.progress.complete {
    background-color: white !important;
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        align-items: center;
    }

    .about-text,
    .skills {
        width: 100%;
    }
}


/* Services Section */

.services {
    padding: 50px 15px;
}

.services-header h2 {
    font-size: 2.5rem;
    text-align: center;
    color: white;
    margin-bottom: 10px;
}

.services-header h2 span {
    color: #06d0e0;
}

.services-header p {
    font-size: 1rem;
    text-align: center;
    color: grey;
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-box {
    background: #111;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s;
}

.service-box:hover {
    transform: scale(1.05);
}

.icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: white;
}

p {
    font-size: 0.9rem;
    color: #ddd;
}

/*Services Content*/

.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 50px;
}

.box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.box:hover {
    transform: scale(1.05);
}

.box img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.box:hover img {
    transform: scale(1.2);
}

.box .layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.box:hover .layer {
    opacity: 1;
}

.box .layer h3 {
    color: #00C8FF;
    font-size: 1.5em;
    text-transform: uppercase;
    text-align: center;
}

/* Portfolio Section */
.portfolio {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 0; 
    padding-bottom: 0;
    padding: 20px;
}

.main-text h2 {
    font-size: 2.5rem;
    text-align: center;
    color: white;
    margin-bottom: 10px;
}

.main-text h2 span {
    color: #06d0e0;
}

/* Poster Section */
.poster-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    padding: 20px 0;
    border-top: 1px solid #333;
}

/* Content Wrapper */
.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.heading {
    flex: 1;
    max-width: 350px;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}

.heading h1 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    color: white;
    line-height: 1.5;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
    transition: color 0.3s ease;
}

.heading h1 .highlight {
    color: #06d0e0;
}

.heading p {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    color: #aaaaaa;
    margin-top: 10px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Hover Effects */
.heading:hover h1 {
    color: #06d0e0;
}

.heading:hover p {
    color: #ffffff;
}

/* Right Side - Swiper */
.swiper-container {
    flex: 2;
    max-width: 60%;
}

/* Swiper styling */
.swiper {
    width: 100%;
    max-width: 600px;
}

.swiper-slide img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

.swiper-slide img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background-color: #06d0e0;
    transition: background-color 0.3s ease;
}

.swiper-pagination-bullet:hover {
    background-color: #ffffff;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    transform: scale(0.8);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease-in-out;
    will-change: transform;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
}

/* Accessibility - Focus Effect */
.swiper-button-next:focus,
.swiper-button-prev:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(6, 208, 224, 0.8);
}

/* Media Queries */
@media (max-width: 1200px) {
    .content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .swiper-container {
        max-width: 100%;
        margin-top: 20px;
    }

    .heading h1 {
        font-size: 1.8rem;
    }

    .heading p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .portfolio {
        padding: 10px;
    }

    .poster-section {
        flex-direction: column;
        gap: 20px;
    }

    .heading {
        max-width: 100%;
        text-align: center;
    }

    .heading h1 {
        font-size: 1.6rem;
    }

    .heading p {
        font-size: 1rem;
    }

    .swiper-container {
        flex: 1;
        max-width: 100%;
        margin-top: 20px;
    }

    .swiper-slide img {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .heading h1 {
        font-size: 1.4rem;
    }

    .heading p {
        font-size: 0.9rem;
    }

    .swiper-slide img {
        max-width: 200px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        transform: scale(0.6);
    }
}

/* Client Logos Section */
.client-logo{
    margin: 0;         
    padding: 0;         
}
.logos-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.logos-container {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    padding: 0;
    display: flex;
    align-items: center;
    scroll-snap-type: x mandatory;
}

/* Hide scrollbar for Chrome/Safari */
.logos-container::-webkit-scrollbar {
    display: none;
}

/* Hybrid Layout: Grid + Horizontal Scroll */
.logos-grid {
    display: grid;
    grid-template-columns: repeat(28, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 5px;
    min-width: max-content;
    padding: 5px;
}

/* Logo styles */
.logos-grid img {
    width: 80px;
    height: auto;
    filter: grayscale(100%);
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    opacity: 0.7;
    will-change: transform;
    scroll-snap-align: center;
}

/* Hover effect: Add color and zoom */
.logos-grid img:hover {
    filter: grayscale(0%);
    transform: scale(1.3);
    opacity: 1;
    z-index: 1;
}

/* Scroll button styles */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #06d0e0;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 10;
    font-size: 18px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Adjust the left/right positioning outside the container */
.scroll-left {
    left: 1px;
}

.scroll-right {
    right: 1px;
}

@media (min-width: 768px) {
    .scroll-left {
        left: 1px;
    }

    .scroll-right {
        right: 1px;
    }
}

/* Testimonials Section */
.testimonials {
    background: #2a2a2a; 
    position: relative;
    padding: 40px 0;
    overflow: hidden;
}

.testimonials-container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.section-header .highlight {
    color: #06d0e0; 
    position: relative;
}

.section-header .highlight:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    left: 0;
    z-index: -1;
}

.subtitle {
    font-size: 1.1rem;
    color: #b0b0b0;
}

/* Horizontal Scrolling Container */
.scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 25px;
    padding: 20px 10px 40px;
    margin: 0 -10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

/* Testimonial Card Styling */
.testimonial-card {
    display: flex;
    flex-direction: column;      
    justify-content: space-between;
    flex: 0 0 400px;              
    min-width: 400px;              
    min-height: 350px;            
    background: black;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(6, 208, 224, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #06d0e0, transparent);
    border-radius: 12px 12px 0 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 15px rgba(6, 208, 224, 0.2);
    border-color: rgba(6, 208, 224, 0.3);
}

.testimonial-card .quote-icon {
    font-size: 4rem;
    color: rgba(6, 208, 224, 0.2);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 0.6;
}

.testimonial-card .testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #f0f0f0;
    margin-bottom: 20px;        
}

.client-info {
    display: flex;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;             
}

.company-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid rgba(6, 208, 224, 0.3);
    box-shadow: 0 0 15px rgba(6, 208, 224, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover .company-logo {
    border-color: #06d0e0;
    box-shadow: 0 0 20px rgba(6, 208, 224, 0.4);
}

.client-details {
    flex: 1;
}

.client-details strong {
    display: block;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.stars {
    color: #06d0e0;  
    letter-spacing: 2px;
    font-size: 1rem;
}

/* Testimonial Controls */
.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    gap: 15px;
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    border: 2px solid #06d0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.testimonial-btn:hover {
    background: #06d0e0;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(6, 208, 224, 0.3);
}

.testimonial-btn svg {
    width: 24px;
    height: 24px;
    fill: #06d0e0;
    transition: fill 0.3s ease;
}

.testimonial-btn:hover svg {
    fill: #1a1a1a;
}

.scroll-indicator {
    flex: 1;
    max-width: 200px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
}

.scroll-track {
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
}

.scroll-thumb {
    position: absolute;
    height: 100%;
    width: 20%;
    background-color: #06d0e0;
    border-radius: 3px;
    left: 0;
    transition: left 0.2s ease;
    box-shadow: 0 0 10px rgba(6, 208, 224, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 350px;
        min-width: 350px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .testimonial-card {
        flex: 0 0 300px;
        min-width: 300px;
        padding: 22px;
    }
    
    .testimonial-card .testimonial-text {
        font-size: 1rem;
    }
    
    .company-logo {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .testimonial-card {
        flex: 0 0 280px;
        min-width: 280px;
        padding: 20px;
    }
    
    .company-logo {
        width: 45px;
        height: 45px;
    }
    
    .testimonial-controls {
        gap: 12px;
    }
    
    .testimonial-btn {
        width: 45px;
        height: 45px;
    }
    
    .scroll-indicator {
        max-width: 150px;
    }
}


/* Customer Stats Section */

.customer-stats-info {
    background: #000;  
    position: relative;
    padding: 40px 0;
    overflow: hidden;
}


.customer-stats-info-heading {
    text-align: center;
    position: relative;
    z-index: 1;
}

.customer-stats-info-heading h2 {
    font-size: 3rem;
    color: #fff;
    font-weight: 600;
}

.customer-stats-info-heading h2 span {
    color: #06d0e0;
    position: relative;
    display: inline-block;
}


.customer-stats-info-heading p {
    font-size: 1.1rem;
    color: #aaa;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Centered stats with equal spacing */
.customer-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    flex-wrap: wrap;
    z-index: 1;
}

.stats {
    text-align: center;
    background: #222;
    border-radius: 8px;
    width: 200px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Enhanced hover effect while maintaining original color */
.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(6, 208, 224, 0.05),
            transparent);
    transition: 0.5s;
}

.stats:hover::before {
    left: 100%;
}

.stats:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
    background-color: #2a2a2a;
}
.count {
    opacity: 0; 
    transition: opacity 0.8s ease-in-out;
    font-size: 2.5rem;
    font-weight: 700;
    color: #06d0e0;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.count.active {
    opacity: 1; 
}
.stats p {
    font-size: 1rem;
    color: #fff;
    margin: 0;
}

.stats p::after {
    content: '';
    display: block;
    width: 25px;
    height: 2px;
    background: rgba(1, 231, 248, 0.4);
    margin: 10px auto 0;
    border-radius: 1px;
}

.fade-in1 {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries for responsive design */
@media (max-width: 768px) {
    .customer-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .stats {
        width: 80%;
        max-width: 300px;
        height: auto;
        padding: 30px 20px;
    }

    .customer-stats-info-heading h2 {
        font-size: 2.2rem;
    }

    .count {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .customer-stats-info {
        padding: 60px 15px 80px;
    }

    .customer-stats-info-heading h2 {
        font-size: 2rem;
    }

    .customer-stats-info-heading p {
        font-size: 1rem;
    }

    .stats {
        width: 100%;
        max-width: 250px;
    }

    .count {
        font-size: 2.2rem;
    }
}


/*Contact Section*/

.contact {
    padding: 50px 3% 5px;
    min-height: 65vh;
    background: #202020;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.contact-text h4 {
    margin: 18px 0;
    font-size: 20px;
    font-weight: 600;
}

.contact-text h2 {
    font-size: 3rem;
    line-height: 1;
}

.contact-text span {
    color: #06d0e0;
}

.contact-text p {
    color: white;
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.list {
    margin-bottom: 2.8rem;
}

.list li {
    margin-bottom: 12px;
}

.list li a {
    display: block;
    color: white;
    font-size: 14px;
    transition-property: color, transform;
    transition-duration: 450ms;
    transition-timing-function: ease;
    transition: color, transform 0.45s ease;
}

.list li a:hover {
    color: #06d0e0;
    transform: translateX(5px);
}

.contact-icon i {
    height: 45px;
    width: 45px;
    background: #06d0e0;
    color: #fff;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 15px;
    transition-property: color, background;
    transition-duration: 450ms;
    transition-timing-function: ease;
}

.contact-icon i:hover {
    background: #fff;
    color: #06d0e0;
}

/*form submission*/
#form {
    width: 100%;
    max-width: 500px;
    margin: auto;
    padding: 20px;
    background: #2a2a2a;
    border-radius: 10px;
}

#form input,
#form textarea {
    width: 100%;
    padding: 14px;
    background: #202020;
    color: #fff;
    border: 2px solid #06d0e0;
    /* Added border */
    border-radius: 8px;
    outline: none;
    font-size: 15px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

#form input:focus,
#form textarea:focus {
    border-color: #fff;
}

#form textarea {
    resize: none;
    height: 250px;
}

/* Submit button styling */
#form button {
    display: block;
    width: 100%;
    font-size: 16px;
    background: #06d0e0;
    color: #fff;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 14px;
    text-align: center;
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

#form button:hover {
    transform: scale(1.05);
    background: #fff;
    color: #06d0e0;
    border-color: #06d0e0;
}

/* Focus effect for inputs and textarea */
#form input:focus,
#form textarea:focus {
    outline: none;
    border: 2px solid #06d0e0;
    box-shadow: 0 0 5px rgba(0, 170, 255, 0.5);
}

#result {
    display: none;
    width: 100%;
    padding: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    margin-top: 15px;
    transition: opacity 0.5s ease-in-out;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.loading {
    background-color: #cce5ff;
    color: #004085;
    border: 2px solid #b8daff;
}


/* Hide botcheck field */
#form input[name="botcheck"] {
    display: none;
}

.end {
    padding: 20px 15%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center; 
    gap: 2rem;
    text-align: center;
    width: 100%; 
}

.last-text {
    width: 100%; 
    text-align: center;
}

.last-text p {
    display: inline;
    color: white;
    font-size: 14px;
}

.top i {
    position: fixed;
    bottom: 20px;
    left: 20px;
    padding: 10px;
    border-radius: 50%;
    font-size: 15px;
    color: #fff;
    background: #06d0e0;
    z-index: 1000;/* Ensures it stays above other content */
}

@media (max-width: 1480px) {
    header {
        padding: 12px 2.5%;
        transition: .1s;
    }

    header.sticky {
        padding: 4px 2.5%;
        transition: .1s;
    }

    section {
        padding: 110px 3% 60px;
    }

    .end {
        padding: 15px 3%;
    }
}



@media (max-width: 920px) {
    .about {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }

    .contact {
        grid-template-columns: 1fr;
    }
}



@media (max-width: 520px) {
    .about {
        background-image: none;
        background-color: black;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
/*Fancybox */
.fancybox__backdrop {
    background-color: rgba(0, 0, 0, 0.9);
}

/* Style the captions */
.fancybox__caption {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #fff;
    text-align: center;
}

/* Style the close button */
.fancybox__button--close {
    color: white;
    font-size: 20px;
    opacity: 0.8;
}

.fancybox__button--close:hover {
    opacity: 1;
}


/* Scroll Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-in {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.slide-in.active {
    opacity: 1;
    transform: translateX(0);
}


