:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-weight: 700;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a58ca 100%);
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.service-detail-card {
    transition: transform 0.3s ease;
    border-radius: 15px;
}

.service-detail-card:hover {
    transform: translateY(-3px);
}

.certification-card {
    transition: transform 0.3s ease;
    border-radius: 15px;
}

.certification-card:hover {
    transform: translateY(-3px);
}

.testimonial-card {
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

/* About page styles */
.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.team-card {
    transition: transform 0.3s ease;
}

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

.team-image img {
    object-fit: cover;
}

/* Projects page styles */
.project-card {
    transition: transform 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

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

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Statistics */
.stat-item {
    padding: 20px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-link:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Testimonial Carousel Styles */
#testimonialCarousel {
    position: relative;
}

.carousel-controls {
    position: relative;
    height: 50px;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    border: none;
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: calc(50% - 60px);
}

.carousel-control-next {
    right: calc(50% - 60px);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #0b5ed7;
    transform: scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.carousel-indicators-container {
    display: flex;
    justify-content: center;
}

.carousel-indicators {
    position: relative;
    margin: 0;
    bottom: 0;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: #dee2e6;
    border: none;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.carousel-indicators button:hover {
    background-color: #adb5bd;
}

/* Smooth slide animation */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel-item-next:not(.carousel-item-start),
.carousel-item-prev:not(.carousel-item-end) {
    transform: translateX(0);
}

/* Testimonial card hover effects */
.testimonial-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Rating stars animation */
.rating {
    display: flex;
    gap: 2px;
}

.rating i {
    transition: transform 0.2s ease;
}

.testimonial-card:hover .rating i {
    transform: scale(1.2);
}

.testimonial-card:hover .rating i:nth-child(1) {
    transition-delay: 0s;
}

.testimonial-card:hover .rating i:nth-child(2) {
    transition-delay: 0.1s;
}

.testimonial-card:hover .rating i:nth-child(3) {
    transition-delay: 0.2s;
}

.testimonial-card:hover .rating i:nth-child(4) {
    transition-delay: 0.3s;
}

.testimonial-card:hover .rating i:nth-child(5) {
    transition-delay: 0.4s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-control-prev {
        left: 20px;
    }

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

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }

    .testimonial-card {
        margin-bottom: 1rem;
    }
}

/* Auto-play animation */
.carousel.slide {
    overflow: hidden;
}

/* Fade in animation for new slides */
.carousel-item {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

/* Social links */
.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-link {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .display-4 {
        font-size: 2.5rem;
    }
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
}

.card {
    border-radius: 15px;
    overflow: hidden;
}

.process-step {
    padding: 20px;
}

.contact-info {
    padding: 30px 20px;
}

.contact-icon {
    transition: transform 0.3s ease;
}

.contact-info:hover .contact-icon {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section .display-4 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

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

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