/* Header */
.logo {
    width: 120px;
}

nav .nav-link {
    color: white;
    transition: color 0.3s ease-in-out;
}

nav .nav-link:hover {
    color: #6AC045;
}

@media (max-width: 992px) {
    .logo {
        width: 120px;
    }
}

@media (max-width: 768px) {
    .logo {
        width: 120px;
    }
}

.btn-custom:hover {
    background-color: #6AC045 !important;
    color: white !important;
    border-color: #6AC045 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(106, 192, 69, 0.3);
}

.btn-custom:focus {
    outline: none;
    box-shadow: none !important;
}

/* Hero Section Img Css */

@keyframes floatUpDown {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

.float-animation {
    animation: floatUpDown 3s ease-in-out infinite;
}


/* Services */

.services {
    text-align: center;
    padding: 50px 0;
}

.swiper-container {
    max-width: 1200px;
    width: 100%;
    overflow: hidden;
}

.swiper-slide {
    background: #fff;
    color: black;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.swiper-slide img {
    max-width: 100%;
    border-radius: 8px;
}

.swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.service-card {
    transition: transform 0.3s ease-in-out;
}

.service-card:hover {
    color: white;
    transform: scale(1.05);
}

.service-card:hover div {
    background-color: rgb(13, 13, 35);
    color: white;
}

.service-card button {
    color: black;
    background-color: transparent;
    border: 2px solid #6AC045;
    transition: background-color 0.3s, color 0.3s;
}

.service-card:hover button {
    color: white;
    background-color: #6AC045;
}


/* Technoligy Stack */

.category-btn {
    border: 0;
    background-color: transparent;
    color: black;
}

.category-btn:hover {
    background-color: #6AC045;
}

.tech-logo {
    display: none;
    width: 120px;
    margin: 15px;
    transition: all 0.5s ease-in-out;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tech-logo {
    width: 80px;
    height: 80px;
    margin: 10px;
    transition: transform 0.3s ease;
}

.tech-logo:hover {
    transform: scale(1.2);
}

/* Testimonial */

.stars {
    color: gold;
    font-size: 18px;
    margin-bottom: 10px;
}

.carousel-indicators [data-bs-target] {
    background-color: black;
}

.carousel-control-prev,
.carousel-control-next {
    width: auto;
    background: none;
    border: none;
}

/* Style the icons */
.carousel-control-prev i,
.carousel-control-next i {
    font-size: 30px;
    color: black;
}

/* Positioning */
.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

/* Why Choose Us */

.choose-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

.choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.choose-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.choose-card h5 {
    font-weight: 600;
    margin-top: 15px;
}

.choose-card p {
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .choose-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .choose-card h5 {
        font-size: 1.2rem;
    }

    .choose-card p {
        font-size: 0.9rem;
    }
}

/* Counter */

.counter-value {
    font-size: 4em;
    font-weight: bold;
    color: #6AC045;
    transition: transform 1s ease-out;
}

.counter-label {
    font-size: 1.2em;
    color: #333;
    font-weight: bold;
}

.counter-box:hover .counter-value {
    transform: scale(1.1);
}

/* Team */

.team-member {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    cursor: pointer;
}

.team-member img {
    width: 100%;
    max-width: 350px;
    max-height: 350px;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
}

.team-member .hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.team-member h5,
.team-member p,
.team-member .social-icons {
    transition: transform 0.3s ease-in-out;
    transform: translateY(20px);
    color: white;
    margin: 5px 0;
}

.team-member:hover img {
    transform: scale(1.1);
}

.team-member:hover .hover-overlay {
    opacity: 1;
}

.team-member:hover h5,
.team-member:hover p,
.team-member:hover .social-icons {
    transform: translateY(0);
}

.team-member .social-icons a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease-in-out;
    text-decoration: none;
}

.team-member .social-icons a:hover {
    color: #0d6efd;
    /* Bootstrap primary color */
}


/* Footer */

li a {
    color: white;
}

li a:hover {
    color: #6AC045;
}

.email-input {
    max-width: 400px;
    margin: auto;
}

.contact {
    background-image: url(https://t3.ftcdn.net/jpg/06/16/14/20/360_F_616142053_gKBkSdbs1JvdeQTS4X2mK6gqbxavxMuu.jpg);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 3rem auto;
    color: #5a5a5a;
}

.info-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-text {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
}


@media (max-width: 768px) {
    .info-title {
        text-align: center;
    }

    .info-text {
        text-align: center;
    }
}

.contact-btn:hover {
    background-color: #6AC045 !important;
    color: white !important;
    border-color: #6AC045 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(106, 192, 69, 0.3);
}

.contact-btn:focus {
    outline: none;
    box-shadow: none !important;
}

.footer-contact-box {
    position: relative;
    background: url('assets/Img/map.jpg') no-repeat center center;
    background-size: cover;
    padding: 25px;
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    z-index: 1;
}

/* Dark overlay to improve text readability */
.footer-contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(13, 13, 35, 0.9);
    z-index: -1;
    border-radius: 0.5rem;
}


.team-card {
    background-color: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.img-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Removed .circle-bg completely */

.team-img {
    position: relative;
    width: 180px;
    /* Increased size */
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    border: 4px solid white;
}

.team-info {
    padding: 1rem;
}

.team-name {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.team-role {
    font-size: 0.95rem;
    color: #6c757d;
}

@media (max-width: 768px) {
    .team-img {
        width: 130px;
        /* Responsive sizing */
        height: 130px;
    }
}


.tech-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.tech-bubble {
    width: 100px;
    height: 100px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
    transition: transform 0.4s ease-in-out;
}

.tech-bubble img {
    width: 60%;
    height: auto;
    object-fit: contain;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Add animation delay for natural wave feel */
.tech-bubble:nth-child(2) {
    animation-delay: 0.2s;
}

.tech-bubble:nth-child(3) {
    animation-delay: 0.4s;
}

.tech-bubble:nth-child(4) {
    animation-delay: 0.6s;
}

.tech-bubble:nth-child(5) {
    animation-delay: 0.8s;
}

.tech-bubble:nth-child(6) {
    animation-delay: 1s;
}

@media (max-width: 576px) {
    .tech-bubble {
        width: 80px;
        height: 80px;
    }

    .tech-bubble img {
        width: 50%;
    }
}


/* Technology Stack Button Property */
.explore-btn {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.explore-btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background-color: #6AC045;
    z-index: -1;
}

.explore-btn:hover {
    color: white !important;
}

.explore-btn:hover::before {
    width: 100%;
}

.tech-section {
    padding: 60px 20px;
}

.tech-title {
    text-align: center;
    margin-bottom: 40px;
}

.tech-card {
    border-radius: 15px;
    padding: 25px 15px;
    background-color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease-in-out;
    height: 100%;
    text-align: center;
}

/* Different hover effects */
.tech-card:hover {
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tech-icon {
    font-size: 40px;
    color: #6AC045;
    margin-bottom: 15px;
}

.tech-name {
    font-weight: 600;
    font-size: 1.2rem;
    color: #333;
}

.tech-desc {
    font-size: 0.95rem;
    color: #6c757d;
}

@media (max-width: 576px) {
    .tech-card {
        padding: 20px 10px;
    }

    .tech-icon {
        font-size: 36px;
    }

    .tech-name {
        font-size: 1.1rem;
    }
}

/* Portfoilo */

.portfolio-card {
    color: #000;
    background-color: aliceblue;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #333;
}

.portfolio-card:hover {
    transform: scale(1.02);
}

.project-title {
    color: #6AC045;
}

.filter-btn.active {
    background-color: #6AC045 !important;
    color: #000 !important;
    border-color: #6AC045 !important;
}

/* Portfolio card container */
.portfolio-cards {
    width: 100%;
    max-width: 100%;
    /* Allow cards to take full width of the container */
    text-align: center;
    position: relative;
    /* For absolute positioning of text */
    box-sizing: border-box;
}

/* Image hover effect */
.portfolio-cards:hover img {
    transform: scale(1.1);
    /* Zoom effect on hover */
    filter: brightness(0.8);
    /* Darken the image slightly */
}

/* Image wrapper for maintaining a consistent aspect ratio */
.portfolio-cards .image-wrapper {
    width: 100%;
    height: 200px;
    /* Fix the height of the wrapper */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    /* Needed for absolute positioning of text */
}

/* Image styling */
.portfolio-cards img {
    width: 100%;
    height: 100%;
    /* Ensure image fills the container */
    object-fit: cover;
    /* Preserve aspect ratio and fill the container */
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* Text styling */
.portfolio-cards .name-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Center the text */
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    /* White text for better visibility */
    opacity: 0;
    transition: all 0.4s ease;
}

/* Make name visible on hover */
.portfolio-cards:hover .name-text {
    opacity: 1;
}

/* Animation */

/* Keyframes for fade-in and scale-up animation */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.5);
        /* Start small */
    }

    100% {
        opacity: 1;
        transform: scale(1);
        /* End at normal size */
    }
}

/* Apply the animation to the image */
.img-animate {
    animation: fadeInScale 1s ease-out forwards;
}

/* Animation */

.section {
    opacity: 1;
    transform: translateY(90px);
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.section.show {
    opacity: 1;
    transform: translateY(0);
}