/* NexCloudHR Theme Main Styles */

:root {
    --primary-color: #00d084;
    --secondary-color: #001a4d;
    --text-color: #333;
    --light-bg: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Header */
.site-header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #001a4d 0%, #003d7a 100%);
    color: white;
    padding: 80px 0;
}

.hero-section h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

.card-title {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Services Grid */
.services-section {
    background: white;
    padding: 60px 0;
}

.services-section h2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.service-card {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary-color);
}

.service-card-image {
    height: 200px;
    overflow: hidden;
    background: var(--light-bg);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CTA Section */
.cta-section {
    background: var(--light-bg);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section .lead {
    color: var(--text-color);
    font-size: 1.25rem;
    margin-bottom: 30px;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 0 20px;
}

.site-footer h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.site-footer a {
    color: #ccc;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--primary-color);
}

.site-footer .list-unstyled li {
    margin-bottom: 10px;
}

/* Buttons */
.btn {
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    padding: 10px 20px;
}

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

.btn-primary:hover {
    background-color: #00b86d;
    border-color: #00b86d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 208, 132, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Testimonials */
.testimonial-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.testimonial-quote {
    font-style: italic;
    color: #666;
    line-height: 1.8;
}

.testimonial-author {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto;
}

.testimonial-author h6 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .services-section h2 {
        font-size: 1.75rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

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

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

.shadow-sm {
    box-shadow: var(--shadow) !important;
}
