/* Global Styles */
* {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation Styles */
.navbar {
    will-change: transform;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 0.75rem 0;
}

.navbar .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    margin-right: auto;
    height: 60px;
    padding: 0;
    transition: all 0.3s ease;
}

.navbar-toggler {
    margin-left: auto;
    align-self: center;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(53, 94, 59, 0.1);
    transition: all 0.3s ease;
    border: none;
}

/* Navigation Buttons */
.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #355E3B 0%, #2F4F2F 100%);
    color: white;
    height: 44px;
    padding: 0 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(53, 94, 59, 0.2);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    will-change: transform, box-shadow;
}

.nav-btn i {
    margin-right: 8px;
    flex-shrink: 0;
}

.nav-btn:hover {
    background: linear-gradient(135deg, #4a6741 0%, #355E3B 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(53, 94, 59, 0.3);
    color: white;
    text-decoration: none;
}

.demo-btn {
    background: linear-gradient(135deg, #B8860B 0%, #CD853F 100%);
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.3);
}

.demo-btn:hover {
    background: linear-gradient(135deg, #CD853F 0%, #B8860B 100%);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
}

.contact-btn:hover {
    background: linear-gradient(135deg, #B8860B 0%, #CD853F 100%);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4a6741 0%, #355530 70%, #1e3a1f 100%);
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="20" r="0.5" fill="rgba(255,255,255,0.08)"/><circle cx="80" cy="30" r="0.8" fill="rgba(255,255,255,0.06)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #B8860B 0%, #CD853F 100%);
    border: none;
    border-radius: 50px;
    padding: 15px 35px;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 8px 25px rgba(184,134,11,0.4);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(184,134,11,0.5);
    background: linear-gradient(135deg, #CD853F 0%, #B8860B 100%);
    color: white;
}

.btn-secondary-custom {
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 50px;
    padding: 13px 35px;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-secondary-custom:hover {
    background: rgba(255,255,255,0.2);
    border-color: white;
    transform: translateY(-3px);
    color: white;
}

.highlight-accent {
    color: #CD853F;
    font-weight: 600;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
    color: rgba(255,255,255,0.9);
}

.trust-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #CD853F;
    display: block;
    line-height: 1;
}

.trust-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Features Section */
.features-section .section-title {
    color: #2F4F2F !important;
    position: relative;
}

.features-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #B8860B 0%, #CD853F 100%);
    border-radius: 2px;
}

.feature-card {
    border-radius: 20px;
    background: white;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.feature-title {
    color: #2F4F2F;
}

.feature-description {
    color: #6c757d;
    line-height: 1.7;
}

.icon-circle-1 {
    background: linear-gradient(135deg, #355E3B 0%, #2F4F2F 100%);
}

.icon-circle-2 {
    background: linear-gradient(135deg, #B8860B 0%, #CD853F 100%);
}

.icon-circle-3 {
    background: linear-gradient(135deg, #4a6741 0%, #355530 100%);
}

/* Articles Section */
.articles-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
}

.articles-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 0;
}

.section-header {
    background: linear-gradient(135deg, #355E3B 0%, #2F4F2F 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="20" r="0.5" fill="rgba(255,255,255,0.08)"/><circle cx="80" cy="30" r="0.8" fill="rgba(255,255,255,0.06)"/></svg>');
    opacity: 0.3;
}

.section-header > * {
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: white !important;
    position: relative;
}

.section-title i {
    color: #CD853F;
    font-size: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #B8860B 0%, #CD853F 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
    color: white !important;
}

.articles-grid {
    padding: 2rem;
}

.article-card {
    background: white;
    border: 2px solid rgba(53, 94, 59, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #B8860B 0%, #CD853F 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(53, 94, 59, 0.15);
    border-color: #B8860B;
}

.article-card:hover::before {
    transform: scaleX(1);
}

.article-icon {
    background: linear-gradient(135deg, #B8860B 0%, #CD853F 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.article-category {
    background: rgba(184, 134, 11, 0.1);
    color: #B8860B;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2F4F2F;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #8b949e;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.meta-item i {
    color: #B8860B;
}

.read-more {
    color: #B8860B;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #CD853F;
    transform: translateX(5px);
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #B8860B 0%, #CD853F 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Footer Styles */
.footer-bottom {
    background: #1e3a1f;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

.footer-bottom a {
    color: #CD853F;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Mobile Responsive Styles */
@media (max-width: 991.98px) {
    .navbar .container {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    .navbar-brand {
        flex: 0 0 auto;
        margin-right: 0;
    }
    
    .navbar-toggler {
        flex: 0 0 auto;
        margin-left: auto;
        order: 2;
    }
    
    .navbar-collapse {
        flex-basis: 100%;
        order: 3;
        margin-top: 10px;
    }
    
    .navbar-nav {
        padding: 1.5rem 0 1rem 0;
        gap: 0.75rem !important;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-btn {
        width: 100%;
        height: 48px;
        font-size: 1rem;
        justify-content: center;
        min-width: auto;
    }

    .navbar {
        padding: 0.5rem 0;
    }
}

@media (min-width: 992px) {
    .nav-btn {
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .btn-primary-custom,
    .btn-secondary-custom {
        width: 280px;
        max-width: 100%;
    }
    
    .trust-indicators {
        gap: 2rem;
    }
    
    .trust-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .trust-indicators {
        flex-direction: column;
        gap: 1.5rem;
    }
}