/* Base Styles */
:root {
    --primary-color: #027BFF;
    --dark-bg: #1f2937;
    --light-bg: #f8f9fa;
    --navbar-height: 80px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    line-height: 1.6;
    padding-top: var(--navbar-height);
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    background: #F9FAFB;
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

.navbar-brand .logo {
    height: 55px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo {
    transform: scale(1.05);
}

.nav-link {
    color: #000000 !important;
    font-weight: 600;
    padding: 10px 20px !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.navbar .btn-primary {
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.navbar .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(2, 123, 255, 0.3);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    /* text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); */
}

.hero-section p {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


/* About Section */
#about {
    padding: 80px 0;
}

#about img {
    max-width: 65%;
    border-radius: 8px;
    margin-left: 100px;
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

/* Add this to your CSS file */
@media (max-width: 767px) {
    #about .row {
        flex-direction: column-reverse;
    }
    
    #about img {
        max-width: 100%;
        margin-left: 0;
        margin-bottom: 30px;
    }
    
    #about .col-md-6 {
        text-align: center;
    }
    
    #about .about-content {
        padding: 0 15px;
    }
}

/* Card Styles */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Icon Box */
.icon-box {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section .display-5 {
        font-size: 2.5rem;
    }
    
    .section-header .display-6 {
        font-size: 2rem;
    }
}

/* Button Styles */
.btn {
    font-weight: 500;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
}

.btn-primary:hover {
    background: #0266d6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(2, 123, 255, 0.3);
}

.btn-outline-light {
    border: 1px solid #fff;
}

.btn-outline-light:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

footer {
    background: #101218;
}

.footer-logo {
    height: 60px;
}

footer h5 {
    font-weight: 600;
    color: #ffffff !important;
}

.footer-link {
    color: #f0efef;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #027BFF;
}

.hover-effect {
    position: relative;
}

.hover-effect:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #027BFF;
    transition: width 0.3s ease;
}

.hover-effect:hover:after {
    width: 100%;
}

.social-links .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #242527e0;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: background 0.3s ease, transform 0.3s ease;
    color: #ffffff;
    text-decoration: none;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.137);
    transform: translateY(-3px);
}

.text-gray-300 {
    color: #ffffff;
}

.text-gray-400 {
    color: #ffffff;
}

.bg-gray-700 {
    background-color: #374151;
}


@media (max-width: 767px) {
    .footer {
        padding: 40px 0 20px;
        text-align: center;
    }
    
    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-link:hover {
        transform: none;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer .col-md-2 {
        margin-bottom: 30px;
    }
}

#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #027BFF;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top:hover {
    background-color: #0268d1;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

#scroll-to-top i {
    font-size: 1.2rem;
    line-height: 1;
    margin-top: -2px; /* Fine-tune if needed */
}


/* Responsive Styles */
@media (max-width: 1199px) {
    .hero-section h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 991px) {
    body {
        padding-top: 70px;
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    #about img {
        max-width: 60%;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .navbar-collapse {
        background: var(--dark-bg);
        padding: 20px;
        margin-top: 10px;
        border-radius: 5px;
    }
    
    .hero-section {
        min-height: 60vh;
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    #about img {
        max-width: 80%;
    }
}

@media (max-width: 575px) {
    .hero-section {
        min-height: 50vh;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .navbar-brand .logo {
        height: 40px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
}

/* Navbar mobile fixes */
.navbar-toggler {
    border: none !important;
    padding: 0.5rem;
    font-size: 1.5rem;
    color: white !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 1.5em;
    height: 1.5em;
}


@media (max-width: 991px) {
    .navbar-collapse {
        background: #f9fafb;
        padding: 20px;
        margin-top: 15px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    
    .navbar-nav {
        padding-top: 10px;
    }
    
    .nav-item {
        margin-bottom: 10px;
    }
    
    .navbar .btn-primary {
        margin-left: 0 !important;
        margin-top: 10px;
        display: block;
        width: 100%;
    }
}


/* Hero Section Animations */
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

/* Hover Effects */
.transition-all:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Happy Clients Carousel - Complete CSS */
#happy-clients {
    position: relative;
    overflow: hidden;
}

.section-header .badge {
    letter-spacing: 0.5px;
}

.testimonial-card {
    transition: all 0.4s ease;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.client-img {
    position: relative;
    display: inline-block;
}

.client-img img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 4px solid rgba(0, 123, 255, 0.2);
}

.quote-icon {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    font-style: italic;
    position: relative;
}

.rating {
    font-size: 1.1rem;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 123, 255, 0.2);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100%, 100%;
    filter: invert(38%) sepia(93%) saturate(2429%) hue-rotate(202deg) brightness(98%) contrast(101%);
}

/* Trust Indicators */
.trust-indicators {
    padding-top: 40px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

/* Desktop: Show 3 cards (default Bootstrap carousel behavior) */
#testimonialCarousel .carousel-item.active,
#testimonialCarousel .carousel-item-next,
#testimonialCarousel .carousel-item-prev {
    display: flex;
}

/* Mobile: Show 1 card at a time */
@media (max-width: 768px) {
    #testimonialCarousel .carousel-item.active,
    #testimonialCarousel .carousel-item-next,
    #testimonialCarousel .carousel-item-prev {
        display: block;
    }
    
    #testimonialCarousel .carousel-inner .row {
        flex-wrap: nowrap;
    }
    
    #testimonialCarousel .carousel-item {
        transition: transform 0.6s ease;
    }
    
    #testimonialCarousel .carousel-item .col-md-6,
    #testimonialCarousel .carousel-item .col-lg-4 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .carousel-control-prev {
        left: 10px !important;
    }
    
    .carousel-control-next {
        right: 10px !important;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .section-header .lead {
        width: 100% !important;
    }
    
    .carousel-control-prev {
        left: 0;
    }
    
    .carousel-control-next {
        right: 0;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        margin-bottom: 20px;
    }
    
    .client-img img {
        width: 80px;
        height: 80px;
    }
    
    .trust-indicators {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }
}

/* Expertise Section Styles - Enhanced for Mobile */
#expertise {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.skill-card {
    background: #fff;
    border-radius: 12px;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    height: 100%;
    padding: 25px;
    margin-bottom: 20px;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.skill-circle {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    position: relative;
}

.progress-circle {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.circle-bg {
    stroke: rgba(0, 123, 255, 0.1);
}

.progress {
    stroke: #007bff;
    transition: stroke-dashoffset 1.5s ease-in-out;
}

.progress-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: #007bff;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

.skill-icon {
    font-size: 2.5rem;
    color: #007bff;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.skill-tags {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.skill-tags .badge {
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
}

/* Background shapes */
.expertise-bg-shape-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(0, 123, 255, 0.03);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float 8s ease-in-out infinite;
}

.expertise-bg-shape-2 {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(0, 123, 255, 0.03);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .section-header .lead {
        width: 100% !important;
    }
    
    .skill-circle {
        width: 120px;
        height: 120px;
    }
    
    .progress-value {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    #expertise {
        padding: 50px 0;
    }
    
    .skill-card {
        max-width: 100%;
        padding: 20px;
        margin-left: 0;
        margin-right: 0;
    }
    
    .skill-circle {
        width: 110px;
        height: 110px;
    }
    
    .progress-value {
        font-size: 1.2rem;
    }
    
    .skill-tags .badge {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    .expertise-bg-shape-1,
    .expertise-bg-shape-2 {
        display: none; /* Hide on mobile for better performance */
    }
}

@media (max-width: 576px) {
    .skill-circle {
        width: 100px;
        height: 100px;
    }
    
    .progress-value {
        font-size: 1.1rem;
    }
    
    .skill-card h3 {
        font-size: 1.1rem;
    }
    
    .skill-card p {
        font-size: 0.9rem;
    }
}

/* Services Section CSS */
    .service-card {
        transition: all 0.3s ease;
        border-top: 3px solid transparent;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top-color: var(--bs-primary);
    }
    
    .icon-box {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .modal-dialog {
        max-width: 800px;
    }
    
    .modal-body {
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .modal-body h5 {
        color: #007bff;
        margin-top: 1.5rem;
    }
    
    .modal-body ul {
        margin-bottom: 1.5rem;
    }
    
    .modal-body ul li {
        margin-bottom: 0.5rem;
    }
    
    @media (max-width: 768px) {
        .modal-dialog {
            margin: 1rem;
            max-width: 95%;
        }
        
        .modal-body {
            max-height: 80vh;
        }
        
        .btn-close {
            width: 1.5em;
            height: 1.5em;
        }
        
        .col-sm-6 {
            margin-bottom: 1.5rem;
        }
    }
    
    @media (max-width: 576px) {
        .modal-dialog {
            margin: 0.5rem;
        }
        
        .modal-title {
            font-size: 1.25rem;
        }
        
        .icon-box {
            width: 50px;
            height: 50px;
        }
        
        .icon-box i {
            font-size: 1.5rem;
        }
        
        .modal-body h5 {
            font-size: 1.1rem;
        }
    }

    /* CTA Section Styles */
        #cta {
            padding: 3rem 0;
            background: linear-gradient(135deg, #007bff, #0056b3);
            overflow: hidden;
            position: relative;
        }

        /* Button Styles */
        .cta-btn {
            border-radius: 50px;
            border: 2px solid white;
            padding: 0.75rem 2.5rem;
            font-weight: bold;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        /* WhatsApp Button */
        .whatsapp-btn {
            background-color: white;
            color: #007bff;
        }

        .whatsapp-btn i {
            color: #007bff;
        }

        .whatsapp-btn:hover {
            transform: translateY(-3px);
            background-color: transparent;
            color: white;
        }

        .whatsapp-btn:hover i {
            color: white;
        }

        /* Quote Button */
        .quote-btn {
            background-color: transparent;
            color: white;
        }

        .quote-btn i {
            color: white;
        }

        .quote-btn:hover {
            transform: translateY(-3px);
            background-color: white;
            color: #007bff;
        }

        .quote-btn:hover i {
            color: #007bff;
        }

        /* Responsive Adjustments */
        @media (max-width: 576px) {
            .cta-btn {
                padding: 0.75rem 1.5rem;
            }
        }

/* Enhanced Mobile About Section - Image First */
@media (max-width: 767.98px) {
  #about {
    padding: 2rem 0;
    text-align: center;
  }
  
  #about .row {
    flex-direction: column; /* Keeps original image-first order */
    gap: 1rem;
  }
  
  #about .col-md-6 {
    width: 100%;
    padding: 0 1rem;
  }
  
  /* Image styling matching original but enhanced */
  #about img.img-fluid {
    max-width: 80%;
    margin: 0 auto 1.5rem;
    border-radius: 15px !important; /* Matches original 15px */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none; /* Remove if you want original border */
  }
  
  /* Content styling */
  #about .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    margin-bottom: 0.8rem;
  }
  
  #about h2.display-6 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }
  
  #about .lead {
    font-size: 1.05rem;
    color: #6c757d;
    margin-bottom: 1rem;
  }
  
  #about .about-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
  }
  
  /* Stats section - more compact */
  #about .d-flex.gap-4 {
    justify-content: center;
    gap: 1.5rem !important;
    margin: 1rem 0;
  }
  
  #about .d-flex.gap-4 h4 {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
  }
  
  #about .d-flex.gap-4 small {
    font-size: 0.75rem;
  }
  
  /* Buttons matching original style */
  #about .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 0.3rem;
    margin: 0.3rem;
    width: auto;
    display: inline-block;
  }
  
  #about .btn-primary {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  #about .btn-outline-primary {
    border: 1px solid;
  }
  
  /* Responsive adjustments */
  #about .d-flex.flex-wrap {
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }
}

/* Hero Section CSS */
    .hero-section {
       padding: 50px 0 0px 0;
    }
    
    .social-icon {
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        font-size: 18px;
        transition: all 0.3s ease;
    }
    
    .social-icon:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .btn-primary {
        transition: all 0.3s ease;
        box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
    }
    
    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(13, 110, 253, 0.3);
    }
    
    @media (max-width: 992px) {
        .hero-section {
            text-align: center;
            padding: 40px 0;
            min-height: auto;
        }
        
        .hero-content {
            padding: 0 15px;
            margin-bottom: 30px;
        }
        
        .social-links {
            justify-content: center;
        }
        
        h1.display-3 {
            font-size: 2.5rem;
        }
    }
    
    @media (max-width: 576px) {
        h1.display-3 {
            font-size: 2rem;
        }
        
        .hero-section {
            padding: 70px 0 0px 0;
        }
    }

/* ===== Portfolio Section CSS ===== */

.portfolio-container {
    position: relative;
}

/* Preserves your exact card appearance */
.card {
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Your existing subtle shadow */
    transition: 
        transform 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.1),
        box-shadow 0.35s ease-out;
    transform: translateZ(0); /* GPU boost - invisible change */
    backface-visibility: hidden;
}

/* Your exact image styling - just added GPU boost */
.portfolio-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
    object-position: top;
    cursor: pointer;
    transform: translateZ(0); /* Hidden performance boost */
    backface-visibility: hidden;
}

/* Your exact hover effect - just optimized */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Mobile touch fix (preserves design) */
@media (hover: none) {
    .card:active {
        transform: translateY(-3px) scale(0.98);
        box-shadow: 0 8px 15px -5px rgba(0,0,0,0.1);
    }
}

/* Safari fix (invisible) */
@supports (-webkit-touch-callout: none) {
    .card {
        -webkit-backface-visibility: hidden;
    }
}

/* Process Section  */
    .process-step {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}
.process-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.process-card:hover {
    transform: translateY(-5px);
}