:root {
    --primary: #2c3e50;
    --secondary: #1abc9c;
    --light: #f8f9fa;
    --dark: #212529;
    --accent: #e74c3c;
}

.secondary {
    color: var(--secondary);
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: 0.25s ease;
}

a:hover {
    transition: 0.25s ease;
    color: var(--secondary);
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.8rem;
}

.navbar-brand span {
    color: var(--secondary);
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.hero-section {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(26, 188, 156, 0.8)), url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8M3x8YWNjb3VudGluZ3xlbnwwfHwwfHw%3D&auto=format&fit=crop&w=1600&q=60');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero-content {
    padding: 100px 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn-custom {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 12px 28px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: #16a085;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    border: 2px solid white;
    background-color: transparent;
    color: white;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary);
}

.service-card {
    background-color: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    min-height: 350px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--accent);
    transform: scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
}

.counter-section {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    padding: 30px 0;
    color: white;
}

.counter-box {
    text-align: center;
    margin-bottom: 30px;
}

.counter {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.counter-text {
    font-size: 1.2rem;
    font-weight: 300;
}

.testimonial-section {
    background-color: #f8f9fa;
    padding: 100px 0;
}

.testimonial-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    margin-top: 40px;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: -40px;
    left: 30px;
    border: 5px solid white;
}

.testimonial-text {
    margin-top: 50px;
    font-style: italic;
    color: #777;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
    margin-top: 20px;
}

.contact-section {
    padding: 100px 0;
    background-color: white;
}

.contact-info-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    color: var(--secondary);
    font-size: 1.8rem;
    margin-right: 20px;
}

.form-control {
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--secondary);
}

.section-title {
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    bottom: -10px;
    left: 0;
}

.section-title.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.map {
    width: 100%;
}

footer {
    background-color: var(--primary);
    color: white;
    padding: 80px 0 0;
}

.footer-info {
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-links h5 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links ul {
    padding-left: 0;
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.bottom-footer {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 60px;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
    }

    .counter {
        font-size: 2.5rem;
    }

    .counter-text {
        font-size: 1rem;
    }
}


/* Floating Contact Buttons */
.floating-contact-buttons {

    position: fixed;
    left: 0;
    bottom: 30px;
    /* Positioned above the scroll-to-top button */
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 99;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    text-decoration: none;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn {
    background-color: #25D366;
}

.phone-btn {
    background-color: var(--accent);
    /* Using your existing accent color */
}

/* Tooltip styles */
.btn-tooltip {
    position: absolute;
    right: 75px;
    background-color: white;
    color: var(--primary);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.btn-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: white;
}

.floating-btn:hover .btn-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Add a subtle pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(44, 62, 80, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(44, 62, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(44, 62, 80, 0);
    }
}

.floating-btn {
    animation: pulse 2s infinite;
}

.whatsapp-btn {
    animation: pulse 2s infinite;
}

.phone-btn {
    animation-delay: 1s;
}

/* Media query for mobile devices */
@media (max-width: 767.98px) {
    .floating-contact-buttons {
        right: 20px;
        bottom: 80px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .btn-tooltip {
        display: none;
        /* Hide tooltips on mobile for better UX */
    }
}