/* wwwroot/css/site.css */
:root {
    --primary-color: #0077b6;
    --secondary-color: #48cae4;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Header and Navigation */
.top-bar {
    font-size: 0.9rem;
}

    .top-bar a {
        transition: color 0.3s;
    }

        .top-bar a:hover {
            color: var(--secondary-color) !important;
        }

.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: transform 0.3s;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 1rem;
        width: 0;
        height: 2px;
        background-color: var(--primary-color);
        transition: width 0.3s;
    }

    .nav-link:hover::after {
        width: calc(100% - 2rem);
    }

.btn {
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s;
    white-space:nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

    .btn-primary:hover {
        background-color: #00669c;
        border-color: #00669c;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 119, 182, 0.2);
    }

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

    .btn-outline-primary:hover {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 119, 182, 0.2);
    }

/* Hero Section */
.hero-section {
    padding: 6rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
    z-index: 0;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.hero-section img {
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Section Titles */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: 600;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 3px;
        background-color: var(--primary-color);
    }

.section-subtitle {
    color: #6c757d;
    margin-bottom: 2rem;
}

/* Service Cards */
.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 10px;
    overflow: hidden;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.service-img-container {
    height: 200px;
    overflow: hidden;
}

    .service-img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.service-card:hover .service-img-container img {
    transform: scale(1.1);
}

/* Icon Boxes */
.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

/* Testimonial Cards */
.testimonial-card {
    transition: transform 0.3s;
    border-radius: 10px;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
    }

.avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Brands */
.grayscale {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

    .grayscale:hover {
        filter: grayscale(0%);
        opacity: 1;
    }

/* Footer */
footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

    footer a:hover {
        color: white;
    }

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

    .social-icons a:hover {
        background-color: var(--primary-color);
        transform: translateY(-3px);
    }

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 119, 182, 0.1), rgba(0, 119, 182, 0.1)), url('../images/page-header-bg.jpg') no-repeat center center;
    background-size: cover;
}

/* Team Cards */
.team-card {
    transition: transform 0.3s;
    border-radius: 10px;
    overflow: hidden;
}

    .team-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .team-card img {
        height: 250px;
        object-fit: cover;
    }

/* Contact Form */
.contact-form .form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #ddd;
}

    .contact-form .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.25rem rgba(0, 119, 182, 0.25);
    }

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 4rem 0;
        text-align: center;
    }

        .hero-section img {
            margin-top: 2rem;
        }

    .page-header {
        padding: 3rem 0;
    }
}
