/* ============================================
   NOVAS WORX - Corporate Website Styles
   Based on CONSULT template structure
   Bootstrap 5 + Custom CSS
   ============================================ */

:root {
    --primary: #1a56db;
    --primary-dark: #1040a0;
    --primary-light: #e8f0fe;
    --accent: #f59e0b;
    --dark: #111827;
    --text: #374151;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --bg-section: #f1f5f9;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.05);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

/* Base */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

html, body {
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* Top Bar */
.topbar {
    background: var(--dark);
    color: rgba(255,255,255,.8);
    font-size: 0.85rem;
}

.topbar a {
    color: rgba(255,255,255,.7);
}

.topbar a:hover {
    color: var(--accent);
}

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    z-index: 1000;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.brand-accent {
    color: var(--primary);
}

.navbar .nav-link {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.navbar .nav-link:hover {
    color: var(--primary);
}

.navbar .btn-cta {
    background: var(--primary);
    color: var(--white) !important;
    border-radius: 50px;
    padding: 0.5rem 1.5rem !important;
    margin-left: 0.5rem;
}

.navbar .btn-cta:hover {
    background: var(--primary-dark);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-light) 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.text-accent {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons .btn-primary {
    background: var(--primary);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.hero-buttons .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-buttons .btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.hero-buttons .btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-shape {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    opacity: 0.15;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Stats Section */
.stats-section {
    background: var(--primary);
    padding: 3rem 0;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
    border-radius: var(--radius);
    margin-left: 2rem;
    margin-right: 2rem;
}

@media (min-width: 1200px) {
    .stats-section {
        margin-left: auto;
        margin-right: auto;
        max-width: 1100px;
        border-radius: var(--radius);
    }
}

.stat-item {
    color: var(--white);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* Section Common */
.section-padding {
    padding: 5rem 0;
}

.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-text {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-image-wrapper {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-shape-bg {
    position: absolute;
    width: 80%;
    height: 80%;
    background: var(--primary-light);
    border-radius: var(--radius);
    transform: rotate(-3deg);
}

.about-placeholder {
    position: relative;
    z-index: 2;
    width: 200px;
    height: 200px;
    background: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    color: var(--primary);
}

.about-features {
    margin-top: 1.5rem;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.about-feature-item .feature-icon {
    color: var(--primary);
    font-size: 1.3rem;
    margin-top: 2px;
}

.about-feature-item h6 {
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.about-feature-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Services Section */
.services-section {
    background: var(--bg-section);
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.service-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.93rem;
    margin: 0;
}

/* Why Us Section */
.why-us-section {
    background: var(--white);
}

.why-card {
    background: var(--bg-light);
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.why-card:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

.why-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: block;
}

.why-card h6 {
    margin: 0;
    font-weight: 600;
}

/* Team Section */
.team-section {
    background: var(--bg-section);
}

.team-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.team-card h5 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
}

.team-role {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.team-social a {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0 0.4rem;
}

.team-social a:hover {
    color: var(--primary);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--white);
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    height: 100%;
}

.testimonial-stars {
    color: var(--accent);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    display: block;
    color: var(--dark);
    font-size: 0.95rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Contact Section */
.contact-section {
    background: var(--bg-section);
}

.contact-info-card {
    background: var(--primary);
    padding: 2.5rem;
    border-radius: var(--radius);
    color: var(--white);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-item h6 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

.contact-info-item p {
    margin: 0;
    opacity: 0.85;
    font-size: 0.95rem;
}

.contact-form .form-control {
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 0.95rem;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,86,219,.1);
}

.contact-form .btn-primary {
    background: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    font-weight: 600;
}

.contact-form .btn-primary:hover {
    background: var(--primary-dark);
}

/* Footer */
.footer-section {
    background: var(--dark);
    color: rgba(255,255,255,.7);
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.footer-desc {
    font-size: 0.9rem;
    margin-top: 1rem;
    line-height: 1.7;
}

.footer-heading {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255,255,255,.6);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-links.contact-info-list li {
    font-size: 0.9rem;
}

.footer-section .social-links a {
    color: rgba(255,255,255,.6);
    font-size: 1.1rem;
}

.footer-section .social-links a:hover {
    color: var(--accent);
}

.footer-divider {
    border-color: rgba(255,255,255,.1);
    margin: 2.5rem 0 1.5rem;
}

.copyright {
    font-size: 0.85rem;
    margin: 0;
}

.footer-link-sm {
    color: rgba(255,255,255,.5);
    font-size: 0.85rem;
}

.footer-link-sm:hover {
    color: var(--accent);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stats-section {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .min-vh-75 {
        min-height: auto;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 3.5rem 0;
    }
}

/* Page Header (inner pages) */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    padding: 5rem 0 3rem;
    text-align: center;
    color: var(--white);
}

.page-title {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: rgba(255,255,255,.7);
    font-size: 1.1rem;
    margin: 0;
}

/* Values Section */
.values-section {
    background: var(--white);
}

/* Process Steps */
.process-step {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto;
}

/* CTA Section */
.cta-section {
    background: var(--white);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 4rem 3rem;
    border-radius: var(--radius);
    color: var(--white);
}

.cta-box h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.cta-box p {
    opacity: 0.85;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.cta-box .btn-primary {
    background: var(--white);
    color: var(--primary);
    border: none;
    font-weight: 700;
}

.cta-box .btn-primary:hover {
    background: rgba(255,255,255,.9);
    transform: translateY(-2px);
}

/* Contact form select */
.contact-form .form-select {
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 0.95rem;
}

.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,86,219,.1);
}

.contact-form .form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark);
}
