﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

.subtitle {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: .5em;
    text-align: center;
    color: white;
}

.title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: .5em;
    text-align: center;
    color: white;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

    .fade-in-section.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Custom styles for form messages */
.form-message {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem; /* Tailwind's rounded-md */
    margin-bottom: 1rem;
    font-weight: 500;
}

    .form-message.success {
        background-color: #d1fae5; /* green-100 */
        color: #065f46; /* green-700 */
    }

    .form-message.error {
        background-color: #fee2e2; /* red-100 */
        color: #991b1b; /* red-700 */
    }

.topMargin {
    margin-top: 20px;
}



/* ------------------------------------------------------ */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

.navbar {
    background-color: #007bff; /* Primary blue for navigation */
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.navbar-brand, .nav-link {
    color: #fff !important;
    font-weight: 600;
}

    .nav-link:hover {
        color: #e2e6ea !important;
    }

.hero-section {
    background: linear-gradient(#007bff, #00c4ff);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .hero-section h1 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .hero-section p {
        font-size: 2rem;
        margin-bottom: 60px;
    }

.whatWeDo-section {
    background: linear-gradient(#00c4ff31, #007bff91);
}

.contact-section {
    background: linear-gradient(#00c4ffb2, #fff);
    color: black;
}   


.card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .card:hover {
        box-shadow: 0 15px 50px rgba(0, 0, 0, .4);
    }


.footer {
    background-color: #343a40;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

    .footer a {
        color: #007bff;
        text-decoration: none;
    }

        .footer a:hover {
            text-decoration: underline;
        }

.visible {
    visibility: visible;
}


@keyframes rotateHorizontally {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

.hidden {
    display: none
}

.hover-underline {
    position: relative;
    display: inline-block;
}

    .hover-underline::after,
    .hover-underline::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, #1a80ed, #00c4ff);
        bottom: -5px;
        left: 0;
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.4s ease-out;
    }

    .hover-underline::before {
        top: -5px;
        transform-origin: left;
    }

    .hover-underline:hover::after,
    .hover-underline:hover::before {
        transform: scaleX(1);
    }

    .hover-underline:hover .service-icon {
        -webkit-animation: filckering2;
        animation: rotateHorizontally 1s;
        display: inline-block;
    }


/* Shake */
@keyframes shake-animation {
    0% {
        transform: translateX(0);
    }
    10% {
        transform: translateX(30px);
    }
    20% {
        transform: translateX(-30px);
    }
    30% {
        transform: translateX(30px);
    }
    40% {
        transform: translateX(-30px);
    }
    50% {
        transform: translateX(30px);
    }
    60% {
        transform: translateX(-30px);
    }
    70% {
        transform: translateX(30px);
    }
    80% {
        transform: translateX(-30px);
    }
    90% {
        transform: translateX(30px);
    }
    100% {
        transform: translateX(0);
    }
}

.shake {
    animation-name: shake-animation;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
}

.centredImage {
    display: block;
    margin: auto;
}

.rightImage{
    margin-right: 0;
}