/* wwwroot/css/site.css */

/* Variables for consistent theming */
:root {
    --primary-color: #0056b3; /* A professional blue */
    --secondary-color: #6c757d; /* Grey */
    --accent-color: #28a745; /* A subtle green for highlights */
    --dark-bg-color: #212529; /* Dark background for navbar/footer */
    --light-bg-color: #f8f9fa; /* Light background for sections */
    --text-color-dark: #343a40; /* Dark text for light backgrounds */
    --text-color-light: #f8f9fa; /* Light text for dark backgrounds */
    --border-radius: 0.5rem; /* Rounded corners */
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05); /* Subtle shadow */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

body {
    font-family: 'Inter', sans-serif; /* Professional sans-serif font */
    color: var(--text-color-dark);
    scroll-behavior: smooth;
}

/* Custom Navbar and Footer Background */
.bg-dark-custom {
    background-color: var(--dark-bg-color) !important;
}

.navbar-brand {
    color: var(--text-color-light) !important;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75) !important; /* Lighter text for contrast */
    transition: color 0.3s ease;
}

    .navbar-nav .nav-link:hover {
        color: var(--text-color-light) !important;
    }

/* Hero Section Styling */
.hero-section {
    position: relative;
    height: 80vh; /* Adjust height as needed */
    min-height: 600px;
    background: var(--gradient-primary);
    color: var(--text-color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Dark overlay for text readability */
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 2rem;
}

    .hero-content h1 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Trust Indicators Section */
.trust-section {
    background: var(--light-bg-color);
    border-bottom: 1px solid #e9ecef;
}

.trust-item {
    padding: 1rem;
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-item h4 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* General Section Styling */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: -10px;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background-color: var(--accent-color);
        border-radius: 2px;
    }

/* About Us Section */
.about-image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-img {
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.about-image-container:hover .about-img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-check {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Services Section */
.service-card {
    background-color: var(--light-bg-color);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--gradient-primary);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
    }

    .service-card:hover::before {
        transform: scaleX(1);
    }

.service-icon-container {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon-container {
    transform: scale(1.1);
}

.service-icon {
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color-dark);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.service-features li {
    padding: 0.25rem 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Why Choose Us Section */
.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    background: white;
    box-shadow: var(--box-shadow);
    height: 100%;
}

    .feature-item:hover {
        background-color: rgba(0, 86, 179, 0.05);
        transform: translateY(-5px);
        box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
    }

.feature-icon-container {
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon-container {
    transform: scale(1.1);
}

.feature-icon {
    font-size: 1.8rem;
    color: white;
}

.feature-item h5 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Technology Stack Section */
.tech-stack-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    background: white;
    box-shadow: var(--box-shadow);
    height: 100%;
}

    .tech-stack-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
    }

.tech-stack-item h6 {
    font-weight: 600;
    color: var(--text-color-dark);
    margin-top: 1rem;
}

/* Call to Action Section */
.cta-section {
    background: var(--gradient-primary);
    color: var(--text-color-light);
    padding: 4rem 0;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

    .cta-section h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

    .cta-section .btn-light {
        background-color: var(--light-bg-color);
        color: var(--primary-color);
        border-radius: 50px;
        padding: 0.75rem 2rem;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .cta-section .btn-light:hover {
            background-color: var(--accent-color);
            color: var(--text-color-light);
            transform: translateY(-2px);
        }

    .cta-section .btn-outline-light {
        border-radius: 50px;
        padding: 0.75rem 2rem;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .cta-section .btn-outline-light:hover {
            background-color: var(--text-color-light);
            color: var(--primary-color);
            transform: translateY(-2px);
        }

/* Contact Page Specifics */
.contact-hero-section {
    background: var(--gradient-primary);
    color: var(--text-color-light);
    position: relative;
    overflow: hidden;
}

.contact-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.contact-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info-card {
    background-color: var(--light-bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    height: 100%;
}

.contact-form-card {
    background-color: var(--light-bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.contact-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

/* Contact Methods */
.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
}

.contact-method:hover {
    background-color: rgba(0, 86, 179, 0.05);
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-method-content h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    color: white;
}

/* Contact Features */
.contact-feature {
    padding: 2rem 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-feature:hover {
    transform: translateY(-5px);
}

.contact-feature h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Form Styling */
.form-control {
    border-radius: var(--border-radius);
    border-color: #ced4da;
    padding: 0.75rem 1rem;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.25rem rgba(0, 86, 179, 0.25);
    }

.form-select {
    border-radius: var(--border-radius);
    border-color: #ced4da;
    padding: 0.75rem 1rem;
}

    .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.25rem rgba(0, 86, 179, 0.25);
    }

.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

    .btn-primary-custom:hover {
        transform: translateY(-2px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
        color: white;
    }

/* Footer Enhancements */
.footer h5, .footer h6 {
    color: var(--text-color-light);
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-color) !important;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card, .contact-info-card, .contact-form-card {
        margin-bottom: 2rem;
    }

    .trust-item {
        margin-bottom: 1rem;
    }

    .counter {
        font-size: 2rem;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .contact-method-icon {
        margin: 0 auto 1rem;
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #004085;
}
