/* ============================================
   Global Styles
   ============================================ */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #1a252f;
    --accent-color: #34495e;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #2c3e50;
    --text-muted: #7f8c8d;
    --logo-color: #556B2F;
    --border-color: #e0e0e0;
    --bg-section: #f5f5f5;
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    opacity: 0.9;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.navbar-brand:hover .logo-icon {
    opacity: 0.9;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    color: var(--text-color) !important;
    position: relative;
    padding: 0.5rem 0 !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

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

.navbar-nav .dropdown-menu {
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 0.75rem;
    margin-top: 0.5rem;
    min-width: 220px;
}

.navbar-nav .dropdown-item {
    border-radius: 5px;
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.navbar-nav .dropdown-item:hover {
    background: var(--primary-color);
    color: white;
}

.navbar-nav .dropdown-item i {
    width: 20px;
    text-align: center;
}

.navbar-nav .dropdown-divider {
    margin: 0.5rem 0;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    background: var(--primary-color);
    color: white;
    position: relative;
    padding-top: 140px;
    padding-bottom: 100px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(26, 37, 47, 0.98) 100%);
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    opacity: 1;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: white;
    text-shadow: none;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

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

.hero-section .btn {
    border-radius: 6px;
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.hero-section .btn-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
    font-weight: 600;
    padding: 0.875rem 2.5rem;
}

.hero-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-section .btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-weight: 600;
    padding: 0.875rem 2.5rem;
}

.hero-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: white;
    z-index: 0;
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    padding: 80px 0;
    background: white;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--secondary-color);
}

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

/* ============================================
   Quality Section
   ============================================ */
.quality-section {
    padding: 80px 0;
    background: white;
}

.quality-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.quality-item h5 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.certificate-box {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.certificate-box:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.certificate-box i {
    font-size: 3rem;
    color: var(--primary-color);
}

.certificate-box p {
    font-weight: 600;
    color: var(--text-color);
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    padding: 80px 0;
}

.feature-item {
    padding: 1rem 0;
}

.feature-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-item h5 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    background: var(--primary-color);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.98) 0%, rgba(26, 37, 47, 1) 100%);
    z-index: 0;
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 2rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    color: white;
    font-weight: 700;
}

.stat-item p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    font-weight: 500;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark-color) !important;
    padding: 60px 0 40px;
    border-top: 3px solid var(--primary-color);
}

.footer h5, .footer h6 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer h6 {
    font-size: 0.9rem;
}

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

.footer a:hover {
    color: white;
    padding-left: 3px;
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer-brand h5 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.social-links {
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-block;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    text-align: center;
    line-height: 38px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

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

.certificates-footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.certificates-footer .badge {
    padding: 0.4rem 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ============================================
   Language Dropdown
   ============================================ */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 5px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: white;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .stats-section {
        padding: 60px 0;
    }
    
    .stat-item {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 80px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .display-2 {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem !important;
        text-align: center;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form .btn {
        width: 100%;
    }
    
    .resource-card {
        padding: 2rem 1.5rem;
    }
    
    .footer {
        padding: 40px 0 30px;
    }
    
    .footer-links {
        text-align: center;
        margin-top: 1rem;
    }
    
    .certificates-footer {
        text-align: center;
    }
    
    .certificates-footer .badge {
        display: inline-block;
        margin: 0.25rem;
    }
}

/* ============================================
   Animations (Minimal for Corporate Look)
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.service-card,
.feature-item {
    animation: fadeIn 0.4s ease-out;
}

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    border-radius: 6px;
    padding: 0.75rem 2rem;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    border-radius: 6px;
    padding: 0.75rem 2rem;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.98) 0%, rgba(26, 37, 47, 1) 100%);
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: 80px 0;
}

/* ============================================
   About Section
   ============================================ */
.about-content {
    padding: 80px 0;
}

/* ============================================
   Products Section
   ============================================ */
.products-section {
    padding: 60px 0;
}

.products-filter {
    border-bottom: 1px solid #e9ecef;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   Hero Improvements
   ============================================ */
.hero-badge {
    animation: fadeIn 0.5s ease-out;
}

.hero-section h1 {
    animation: fadeIn 0.6s ease-out;
}

.hero-section .lead {
    animation: fadeIn 0.7s ease-out;
}

.hero-stats {
    animation: fadeIn 0.8s ease-out;
}

.hero-image-wrapper {
    position: relative;
    animation: fadeIn 0.7s ease-out;
}

/* ============================================
   Featured Products
   ============================================ */
.featured-products {
    padding: 80px 0;
}

.product-card-featured {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.product-card-featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.product-image-featured {
    overflow: hidden;
    border-radius: 6px;
}

.product-image-featured img {
    transition: transform 0.3s ease;
}

.product-card-featured:hover .product-image-featured img {
    transform: scale(1.05);
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-section {
    padding: 80px 0;
    background: white;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-content {
    min-height: 120px;
}

.author-avatar img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

/* ============================================
   Sectors Section
   ============================================ */
.sectors-section {
    padding: 80px 0;
    background: white;
}

.sector-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.sector-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 3rem;
    color: white;
    transition: all 0.3s ease;
}

.sector-card:hover .sector-icon {
    background: var(--secondary-color);
}

/* ============================================
   Resources Section
   ============================================ */
.resources-section {
    padding: 80px 0;
}

.resource-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.resource-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
}

.resource-card:hover .resource-icon {
    background: var(--secondary-color);
}

/* ============================================
   Newsletter Section
   ============================================ */
.newsletter-section {
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.98) 0%, rgba(26, 37, 47, 1) 100%);
    z-index: 0;
}

.newsletter-section .container {
    position: relative;
    z-index: 1;
}

.newsletter-form .form-control {
    border-radius: 6px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 0.875rem 1.5rem;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.7);
}

.newsletter-form .form-control:focus {
    background: rgba(255,255,255,0.2);
    border-color: white;
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
}

.newsletter-form .btn-light {
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ============================================
   Stats Section Improvements
   ============================================ */
.stats-section .stat-item {
    padding: 2rem;
    position: relative;
}

.stats-section .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.stats-section .stat-item:hover::before {
    background: white;
    width: 100px;
    transition: all 0.3s ease;
}

