/* 
* Technology At Work Website
* Custom CSS Styling
*/

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Add padding for fixed header */
}

/* ===== Base Styles ===== */
:root {
    --primary-color: #0c939f;
    --primary-dark: #086d77;
    --primary-light: #20c1cf;
    --secondary-color: #ff7e33;
    --dark-color: #2d3748;
    --light-color: #f7fafc;
    --gray-color: #a0aec0;
    --success-color: #48bb78;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins';
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    position: relative; /* Add position relative */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins';
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}
.iso-one-float,
.iso-two-float,
.iso-three-float {
    width: 60px;
    height: 60px;
    color: white;
    text-align: center;
    transition: transform 0.3s ease;
}

.iso-one-float:hover,.iso-two-float:hover,.iso-three-float:hover {
    transform: scale(1.1);
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    text-decoration: none;
    color: white;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* ===== Navigation ===== */
.navbar {
    background-color: transparent;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: var(--primary-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

.brand-text {
    color: var(--light-color);
}

.navbar-nav .nav-link {
    color: var(--light-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 1rem;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 2rem);
}

.navbar-dark .navbar-toggler {
    border-color: transparent;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

/* Carousel Styling */
#heroCarousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-item {
    height: 100vh;
    position: relative;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 6s ease-in-out;
}

.carousel-item.active .carousel-image {
    transform: scale(1.1);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(8, 109, 119, 0.85) 0%, rgba(12, 147, 159, 0.8) 100%); */
}

.carousel-caption {
    position: absolute;
    top: 47%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    padding: 0 15px;
    z-index: 2;
}

.carousel-caption .btn {
    position: relative;
    z-index: 3;
    margin: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.carousel-caption .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.carousel-caption .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.carousel-caption .btn-outline-light {
    border-width: 2px;
}

.carousel-caption .btn-outline-light:hover {
    background-color: var(--light-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Ensure buttons are clickable */
.carousel-caption a {
    pointer-events: auto;
    cursor: pointer;
}

/* Add hover effect for buttons */
.carousel-caption .btn:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-indicators {
    z-index: 3;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid var(--light-color);
    opacity: 1;
}

.carousel-indicators .active {
    background-color: var(--light-color);
}

.carousel-control-prev, .carousel-control-next {
    z-index: 3;
    width: 10%;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 25px;
}

@media (max-width: 991.98px) {
    .hero {
        padding: 0;
    }
    
    .carousel-caption {
        padding-top: 150px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    /* .carousel-caption {
        padding-top: 120px;
        text-align: center !important;
    } */
    
    .carousel-caption .text-start {
        text-align: center !important;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .carousel-control-prev-icon, .carousel-control-next-icon {
        padding: 15px;
    }
}
@media (max-width: 991.98px) {
    .carousel-caption {
        padding-top: 0px !important;
    }
    .navbar-collapse {
        margin-top: 70px;
        background-color: var(--primary-dark);
    }
    .iso-section {
        padding: 30px 0px;
    }
}

/* ===== Services Section ===== */
.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

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

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background-color: var(--secondary-color);
    transform: rotateY(360deg);
    transition: transform 0.8s ease-in-out;
}

.service-card h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

/* ===== About Section ===== */
.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.project-card .project-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0.5rem 0;
}
.project-card .project-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}


/* Remove pulsing border effect */
.project-card:hover .project-image::before {
    display: none;
}

/* Keep info section simple and stable */
.project-card .project-info {
    padding: 1.5rem;
    background-color: white;
}

/* ===== Clients Section ===== */
.client-logo {
    opacity: 1;
    transition: var(--transition);
    max-width: 150px;
    background-color: white;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.client-logo:hover {
    opacity: 1;
}

/* ===== Clients Section - Marquee Animation ===== */
.clients-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.clients-marquee {
    display: flex;
    width: max-content;
    animation: marquee-left-right 30s linear infinite;
    align-items: center;
}

.clients-marquee .client-logo {
    flex: 0 0 auto;
    padding: 0 20px;
    transition: transform 0.3s ease;
}

.clients-marquee .client-logo img {
    max-width: 150px;
    height: auto;
    transition: all 0.3s ease;
    opacity: 1;
}

@keyframes marquee-left-right {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.clients-marquee-wrapper:hover .clients-marquee {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .clients-marquee {
        animation-duration: 20s;
    }
    
    .clients-marquee .client-logo img {
        max-width: 100px;
    }
}

/* ===== Team Section ===== */
.team-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    border: 0.5px solid #e2e8f0;
}

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

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
}

.team-info .position {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--primary-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* ===== Associates Section ===== */
.associates-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.associates-marquee {
    display: flex;
    width: max-content;
    animation: marquee-left-right 30s linear infinite;
    align-items: center;
}

.associates-marquee .associate-logo {
    flex: 0 0 auto;
    padding: 0 20px;
    transition: transform 0.3s ease;
    opacity: 1;
    max-width: 150px;
    background-color: white;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.associates-marquee .associate-logo:hover {
    opacity: 1;
}

.associates-marquee .associate-logo img {
    max-width: 150px;
    height: auto;
    transition: all 0.3s ease;
    opacity: 1;
}

/* Pause animation on hover */
.associates-marquee-wrapper:hover .associates-marquee {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .associates-marquee {
        animation-duration: 20s;
    }
    
    .associates-marquee .associate-logo img {
        max-width: 100px;
    }
    
    .associates-marquee .associate-logo {
        width: 100px;
        height: 100px;
    }
}

/* ===== Contact Section ===== */
.contact-info .icon {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.contact-form .form-control {
    height: 50px;
    border-radius: 5px;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.contact-form textarea.form-control {
    height: auto;
}

.contact-form .form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(66, 153, 225, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 5px;
    padding: 0.5rem 1.5rem;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
    border-radius: 5px;
    padding: 0.5rem 1.5rem;
    transition: var(--transition);
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== Footer ===== */
footer {
    background-color: var(--primary-dark);
    color: var(--light-color);
}

.footer-brand {
    font-size: 1.5rem;
    /* font-weight: 700; */
}

.footer-links {
    margin-top: 0.5rem;
}

.footer-links a {
    color: var(--gray-color);
    margin-left: 1rem;
    transition: var(--transition);
}

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

/* ===== Responsive Styles ===== */
@media (max-width: 991.98px) {
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding: 120px 0 60px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .about-image {
        margin-bottom: 2rem;
    }
}

/* ===== Business Stats Section ===== */
.business-stats {
    background-color: var(--light-color);
    padding: 3rem 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 3;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    transition: var(--transition);
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

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

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    color: var(--secondary-color);
    transform: scale(1.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.stat-title {
    font-size: 1rem;
    color: var(--gray-color);
    font-weight: 500;
}

@media (max-width: 767.98px) {
    .stat-number {
        font-size: 2rem;
    }
    .stat-icon {
        font-size: 2rem;
    }
}

/* ===== Timeline Section ===== */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-light);
    opacity: 0.3;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    margin-bottom: 60px;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12px;
    background-color: var(--light-color);
    border: 4px solid var(--primary-color);
    top: 24px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -12px;
}

.timeline-icon {
    position: absolute;
    background: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 20px;
    top: 12px;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -25px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -25px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h4 {
    margin-top: 0;
    color: var(--primary-dark);
}

.timeline-animation {
    margin-top: 20px;
    overflow: hidden;
    border-radius: 10px;
}

@media screen and (max-width: 767px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) {
        left: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::after {
        left: 19px;
    }
    
    .timeline-item:nth-child(odd) .timeline-icon {
        left: 6px;
    }
    
    .timeline-item:nth-child(even) .timeline-icon {
        left: 6px;
    }
}

/* ===== Case Studies Section ===== */
.case-study-tabs .nav-pills {
    border-radius: 50px;
    display: inline-flex;
    background: rgba(0, 0, 0, 0.05);
    padding: 5px;
    margin-bottom: 30px;
}

.case-study-tabs .nav-link {
    border-radius: 50px;
    padding: 10px 25px;
    color: var(--dark-color);
    font-weight: 500;
    margin: 0 5px;
}

.case-study-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}


.case-study-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 147, 159, 0.6);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-study-image:hover .overlay {
    opacity: 1;
}

.case-study-content h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}


.result-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===== Testimonials Section ===== */



.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content h5 {
    margin-bottom: 0.3rem;
    color: var(--primary-dark);
}

.testimonial-content .position {
    font-style: italic;
    color: var(--gray-color);
    margin-bottom: 1rem;
}



/* ===== FAQ Section ===== */
.accordion-item {
    margin-bottom: 1rem;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-dark);
    background-color: white;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(44, 82, 130, 0.05);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c939f'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.25rem 1.5rem;
    background-color: white;
}

/* ===== Tech Stack Section ===== */
/* ===== Projects Section ===== */
/* ===== Tech Stack Section - Additional Styles ===== */
.tech-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}


/* ===== Responsive Adjustments for Cards ===== */
@media (max-width: 767px) {
    .tech-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .project-category {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

}

/* ===== Responsive Adjustments for Cards ===== */
@media (max-width: 767px) {
    .tech-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .project-category {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .project-card:hover .project-image::before {
        border-width: 1px;
    }
}

/* ===== Case Studies Section ===== */
.case-study-card {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
    transition: all 0.3s ease;
    border: 0.5px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.case-study-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.case-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 8px 20px rgba(12, 147, 159, 0.15);
    transition: all 0.4s ease;
    border: 2px dashed rgba(12, 147, 159, 0.3);
}

.case-study-card:hover .case-icon {
    transform: rotateY(180deg);
    color: var(--secondary-color);
    border-style: solid;
    border-color: var(--secondary-color);
}

/* Add a subtle pulse animation to icons */
@keyframes icon-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(12, 147, 159, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(12, 147, 159, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(12, 147, 159, 0);
    }
}

.case-study-card:hover .case-icon {
    animation: icon-pulse 1.5s infinite;
}

/* Icon-specific styling */
.case-study-card:nth-child(1) .case-icon {
    color: #4287f5; /* Blue */
}

.case-study-card:nth-child(2) .case-icon {
    color: #42d392; /* Green */
}

.case-study-card:nth-child(3) .case-icon {
    color: #f56642; /* Orange */
}

.case-study-card:nth-child(4) .case-icon {
    color: #9642f5; /* Purple */
}

.case-study-card:nth-child(5) .case-icon {
    color: #f5d442; /* Yellow */
}

.case-study-card:nth-child(6) .case-icon {
    color: #f54242; /* Red */
}

/* SVG Icon Alternative Style */


.case-study-card:hover .case-icon-alt {
    transform: scale(1.1);
    border-radius: 50%;
    box-shadow: 0 15px 35px rgba(12, 147, 159, 0.2);
}

.case-icon-alt svg {
    transition: transform 0.6s ease;
    transform-origin: center;
}

.case-study-card:hover .case-icon-alt svg {
    transform: scale(1.15);
}


@media (max-width: 767px) {
    .case-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

.case-study-card h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.stats-highlight {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-color);
}

.key-initiatives {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.badge {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 400;
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
}

@media (max-width: 767px) {
    .case-study-card {
        padding: 1.5rem;
    }
    
    .case-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stat-value {
        font-size: 1.1rem;
    }
}

/* ===== Projects Section - Marquee Animation ===== */
.project-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.project-marquee {
    display: flex;
    width: max-content;
    animation: marquee-left-right 40s linear infinite;
    align-items: stretch;
    gap: 25px;
}

.project-marquee .project-card {
    width: 350px;
    height: 420px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.project-marquee .project-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 8px 32px rgba(12,147,159,0.13);
}

.project-marquee .project-image {
    width: 100%;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1.5px solid var(--primary-light);
    background: #f7fafc;
}
.tech-marquee .tech-icon {
    width: 100%;
    height: 100%;
}

.project-marquee .project-image img,
.tech-marquee .tech-icon img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    transition: transform 0.6s, opacity 0.3s;
}

@media (max-width: 767px) {
    .project-marquee .project-card {
        width: 260px;
        height: 340px;
    }
    .project-marquee .project-image {
        height: 120px;
    }
}

/* Technology Stack Section Styles */
.tech-stack-container {
    position: relative;
    padding: 0 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tech-nav-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.tech-nav-left {
    left: 0;
}

.tech-nav-right {
    right: 0;
}

.tech-marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.tech-marquee {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    will-change: transform;
}

.tech-category-card {
    flex: 0 0 calc(25% - 15px); /* Show 4 cards (25% width each minus gap) */
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.tech-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tech-icon {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.tech-category-card .badge {
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .tech-category-card {
        flex: 0 0 calc(33.333% - 14px); /* Show 3 cards on medium screens */
    }
}

@media (max-width: 992px) {
    .tech-category-card {
        flex: 0 0 calc(50% - 10px); /* Show 2 cards on smaller screens */
    }
}

@media (max-width: 576px) {
    .tech-category-card {
        flex: 0 0 100%; /* Show 1 card on mobile */
        min-width: 200px;
    }
    
    .tech-icon {
        height: 150px;
    }
    
    .tech-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}
@media (max-width: 767px) {
    .hero-buttons {
        display: none;
    }   
}