/* ==========================================
   KNOWVERA CLASSIC THEME - VERSION 1
   Color Scheme: Maroon (#78444B) & Navy (#394A63)
   ========================================== */

/* Font Families */
:root {
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --primary-color: #78444B;
    --primary-dark: #5c3338;
    --secondary-color: #394A63;
    --accent-color: #d4a574;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Logo Styles - CLEARLY VISIBLE */
.logo-main {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.logo-footer {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 80px;
    background: linear-gradient(135deg, rgba(120, 68, 75, 0.05) 0%, rgba(57, 74, 99, 0.05) 100%);
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom right, rgba(212, 165, 116, 0.1), transparent);
    pointer-events: none;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.1;
    color: var(--text-dark);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--primary-color);
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: rgba(120, 68, 75, 0.1);
    border: 1px solid rgba(120, 68, 75, 0.2);
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper img {
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.hero-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(120, 68, 75, 0.3), transparent);
    border-radius: 0 0 1.5rem 1.5rem;
}

.hero-cards {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(120, 68, 75, 0.2);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-card span {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(120, 68, 75, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(120, 68, 75, 0.15);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Why Cards */
.why-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    border-top: 4px solid var(--primary-color);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-color);
    height: 100%;
    transition: all 0.3s ease;
}

.why-card:hover {
    box-shadow: 0 15px 40px rgba(120, 68, 75, 0.15);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: rgba(120, 68, 75, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.why-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.why-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.why-desc {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(120, 68, 75, 0.15);
}

.stars i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonial-text {
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.7;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-family: var(--font-heading);
}

.testimonial-name {
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 5rem 0;
    color: white;
}

.cta-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.75rem;
    color: white;
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn-light {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 2rem;
}

.btn-outline-light {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 2rem;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
}

.footer-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    color: white;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: start;
}

.footer-contact i {
    color: var(--accent-color);
    margin-top: 0.25rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
}

/* Version Switcher */
.version-switcher {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(120, 68, 75, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
}

.version-switcher:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(120, 68, 75, 0.5);
}

/* Additional Page Styles */
.max-w-800 {
    max-width: 800px;
}

/* About Page Styles */
.why-icon-sm {
    width: 60px;
    height: 60px;
    background: rgba(120, 68, 75, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-icon-sm i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.why-title-sm {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.bullet-point {
    width: 24px;
    height: 24px;
    background: rgba(120, 68, 75, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.bullet-point::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.about-visual {
    background: linear-gradient(135deg, rgba(120, 68, 75, 0.1), rgba(212, 165, 116, 0.1));
    border-radius: 1.5rem;
    padding: 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.about-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    margin-bottom: 2rem;
}

.about-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* Services Page Styles */
.service-card-detailed {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card-detailed:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(120, 68, 75, 0.15);
    border-color: var(--primary-color);
}

.benefit-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(120, 68, 75, 0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(120, 68, 75, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.benefit-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.benefit-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.benefit-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Recruitment Page Styles */
.benefit-icon-lg {
    width: 70px;
    height: 70px;
    background: rgba(120, 68, 75, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon-lg i {
    font-size: 2rem;
    color: var(--primary-color);
}

.job-requirements {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-requirements li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-muted);
}

.job-requirements li::before {
    content: '\f26a';
    font-family: 'Bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Contact Page Styles */
.contact-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(120, 68, 75, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-box i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

/* Form Styles */
.form-control,
.form-select {
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(120, 68, 75, 0.15);
}

.form-control-lg,
.form-select-lg {
    padding: 1rem 1.25rem;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .logo-main {
        height: 50px;
    }
    
    .about-visual {
        padding: 3rem 2rem;
        min-height: 300px;
    }
    
    .about-logo {
        height: 100px;
    }
    
    .about-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.35rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .about-visual {
        padding: 2rem 1.5rem;
        min-height: 250px;
    }
    
    .about-logo {
        height: 80px;
    }
    
    .about-text {
        font-size: 1.25rem;
    }
}
