/* 
* Custom CSS for WEN Website
* Bootstrap 5 Redesign
*/

:root {
    --primary: #1a73e8;
    --secondary: #20c997;
    --accent: #fd7e14;
    --dark: #343a40;
    --light: #f8f9fa;
}

/* General Styles */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.section-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-divider {
    height: 3px;
    width: 60px;
    background-color: var(--accent);
    margin: 0 auto 2rem;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #0d5bba;
    border-color: #0d5bba;
}

.bg-primary {
    background-color: var(--primary) !important;
}

/* Navbar */
.navbar {
    background-color: rgba(26, 115, 232, 0.95);
    padding: 1rem 0;
    transition: all 0.3s ease;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1030;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
    z-index: 1;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.9) 0%, rgba(32, 201, 151, 0.8) 100%);
    z-index: -1;
}

.hero-section h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

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

.feature-card .icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(26, 115, 232, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-card .icon-box i {
    font-size: 28px;
    color: var(--primary);
}

.feature-card h4 {
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Resource Cards */
.resource-card {
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.resource-card .icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(26, 115, 232, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.resource-card .icon-circle i {
    font-size: 24px;
    color: var(--primary);
}

.resource-card .card-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Client Cards */
.client-card {
    padding: 2rem;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.client-name {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary);
}

/* Contact Form */
.form-control {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(26, 115, 232, 0.25);
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: #fff;
}

.footer a {
    color: #fff;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(26, 115, 232, 0.95);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}
