/* Custom styles for ERP Landing Page */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --maroon-color: #800000;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7cbb41 100%);
}

.banner-section {
    position: relative;
    overflow: hidden;
}

.hero-section {
    display: flex;
    align-items: center;
    padding-top: 82px; /* Account for fixed navbar */
    padding-bottom: 10px;
}

.hero-section h1,
.hero-section p {
    color: var(--green-color) !important;
}

.navbar-brand img {
    margin-right: 10px;
}

.navbar-nav .nav-link.active {
    color: #fff !important;
    font-weight: bold;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Feature icons */
.feature-icon {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.btn {
    border-radius: 25px;
    padding: 10px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.section-padding {
    padding: 80px 0;
}

.section-offset {
    padding-top: 76px !important;
}

#features .fas {
    margin-bottom: 20px;
}

#benefits ul li {
    font-size: 1.1rem;
    line-height: 1.6;
}

#testimonials .card {
    background: white;
    border-radius: 10px;
}

#contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Ensure sections have sufficient top padding for smooth scrolling with fixed navbar */
#features, #benefits, #testimonials, #contact {
    padding-top: 96px !important; /* Increased to 96px for better buffer */
}

#contactForm .form-control {    
    border-radius: 5px;
    border: 2px solid #ddd;
    transition: border-color 0.3s ease;
}

#contactForm .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

footer {
    margin-top: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 100px;
    }

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

    .btn {
        margin-bottom: 10px;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .hero-section .display-4 {
        font-size: 2rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2rem; /* Smaller on mobile */
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 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: #0056b3;
}
