/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* Top Header Navigation */
.top-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d73 100%);
    color: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 15px solid #4CAF50;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 5px;
}

.company-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.top-nav .nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

.nav-link.active {
    background-color: #4CAF50;
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

/* Container Layout */
.container {
    min-height: calc(100vh - 80px);
}

/* Main Content */
.main-content {
    padding: 0;
    width: 100%;
    background-color: #f5f7fa;
}

/* Page Styles */
.page {
    display: none;
    padding: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.page.active {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d73 100%);
    color: white;
    padding: 60px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.features-list {
    list-style: none;
}

.features-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.features-list i {
    color: #4CAF50;
    margin-right: 10px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 10px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Company Content */
.company-content {
    max-width: 900px;
    margin: 0 auto;
}

.company-section {
    background: white;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #4CAF50;
}

.company-section h2 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.company-section h2 i {
    margin-right: 15px;
    color: #4CAF50;
}

.company-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9ff;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item i {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 15px;
}

.value-item h3 {
    color: #2c5aa0;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.value-item p {
    font-size: 0.95rem;
    color: #666;
}

/* Services List */
.services-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.services-list li {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #555;
    border-left: 4px solid #4CAF50;
}

.services-list i {
    color: #4CAF50;
    margin-right: 15px;
    font-size: 1.3rem;
    width: 25px;
}

/* Contact Content */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.offices-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: fit-content;
}

.office-section {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #4CAF50;
}

.office-title {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.flag-icon {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.business-hours-section {
    max-width: 1200px;
    margin: 40px auto 0;
}

.business-hours {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d73 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.business-hours .info-item {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.business-hours h3 {
    color: white;
    margin-bottom: 15px;
}

.business-hours p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.business-hours strong {
    color: #4CAF50;
}

/* Products Page Styles */
.products-content {
    max-width: 1200px;
    margin: 0 auto;
}

.product-categories {
    margin-bottom: 40px;
}

.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 12px 25px;
    border: 2px solid #e1e5e9;
    background: white;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.filter-btn:hover {
    border-color: #4CAF50;
    color: #4CAF50;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-details-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    background: #45a049;
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    color: #2c5aa0;
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-category {
    color: #4CAF50;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.product-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    background: #f8f9ff;
    color: #2c5aa0;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e8ecf7;
}

/* Upload Section */
.upload-section {
    margin-top: 60px;
}

.upload-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-left: 5px solid #4CAF50;
}

.upload-card h3 {
    color: #2c5aa0;
    font-size: 1.6rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.upload-card h3 i {
    color: #4CAF50;
}

.upload-card p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.upload-area {
    border: 3px dashed #e1e5e9;
    border-radius: 12px;
    padding: 40px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f8f9ff;
}

.upload-area:hover {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

.upload-area.dragover {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    transform: scale(1.02);
}

.upload-content i {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.upload-content p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.upload-link {
    color: #4CAF50;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.upload-content small {
    color: #999;
    font-size: 0.9rem;
}

.uploaded-images {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.uploaded-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.uploaded-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.3s ease;
}

.remove-image:hover {
    background: #e74c3c;
}

.office-section .contact-info {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    height: auto;
}

.info-item {
    display: flex;
    align-items: flex-start;
    /*margin-bottom: 35px;*/
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item i {
    font-size: 1.5rem;
    color: #4CAF50;
    margin-right: 20px;
    margin-top: 5px;
    width: 30px;
}

.info-item h3,
.info-item h4 {
    color: #2c5aa0;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.info-item p {
    color: #666;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.contact-form h3 {
    color: #2c5aa0;
    font-size: 1.6rem;
    margin-bottom: 30px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.submit-btn i {
    margin-right: 10px;
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    display: none;
}

.success-message.show {
    display: block;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e3d73 0%, #2c5aa0 100%);
    color: white;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #4CAF50;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: #4CAF50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section i {
    color: #4CAF50;
    width: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4CAF50;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .top-nav .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .company-name {
        font-size: 1.5rem;
    }
    
    .page {
        padding: 20px;
    }
    
    .hero {
        padding: 50px 30px;
        margin: 10px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .category-filter {
        justify-content: center;
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .upload-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 30px 20px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .company-section {
        padding: 25px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .contact-info {
        padding: 25px;
    }
}

/* Thank You Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.popup-overlay.show {
    display: flex;
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease;
}

.popup-overlay.show .popup-content {
    transform: scale(1);
    opacity: 1;
}

.popup-header {
    margin-bottom: 20px;
}

.popup-header i {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 15px;
    display: block;
}

.popup-header h2 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
}

.popup-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.popup-close-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 120px;
}

.popup-close-btn:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

/* Partners Section */
.partners-section {
    background: white;
    padding: 40px 0;
    margin: 20px 0;
    border-top: 1px solid #e1e5e9;
    border-bottom: 1px solid #e1e5e9;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.partners-section h2 {
    color: #2c5aa0;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.partners-subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    width: 100%;
    max-width: 220px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #e0e0e0;
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(50%) opacity(0.8);
}

.partner-logo:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Responsive Partners Section */
@media (max-width: 768px) {
    .partners-section {
        padding: 30px 0;
        margin: 15px 0;
    }
    
    .partners-section h2 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .partners-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .partner-logo {
        height: 100px;
        padding: 15px;
    }
    
    .partner-logo img {
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .partner-logo {
        max-width: 280px;
    }
}