/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    touch-action: manipulation;
}

/* Navigation Bar */
.navbar {
    display: flex;
    background: linear-gradient(to right, #FFA500, #FFD700);
    padding: 0;
    border-bottom: 2px solid #FF8C00;
}

.nav-item {
    flex: 1;
    padding: 12px 15px;
    text-align: center;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    border-right: 1px solid #FF8C00;
    cursor: pointer;
    transition: background-color 0.3s;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-item.active {
    background-color: #FF8C00;
    color: white;
}

.nav-icon {
    width: 16px;
    height: 16px;
}

/* Header Container */
.header-container {
    display: flex;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    border: 3px solid #FFD700;
    margin: 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.header-left {
    flex: 1;
    padding: 20px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    position: relative;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.company-tagline h2 {
    color: #2c5530;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.industry-types {
    color: #2c5530;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.header-center {
    flex: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.products-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.header-right {
    flex: 1;
    background: linear-gradient(135deg, #6B8E23 0%, #8FBC8F 100%);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.company-info h3 {
    color: #FFD700;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.company-info ul {
    list-style: none;
    margin-bottom: 20px;
}

.company-info li {
    color: #E0E0E0;
    margin-bottom: 5px;
    font-size: 14px;
}

.iso-certification {
    background: #FFD700;
    color: #2c5530;
    padding: 8px 15px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    font-size: 16px;
}

/* Main Content */
.main-content {
    margin: 20px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.welcome-section {
    display: flex;
    padding: 20px;
    gap: 20px;
}

.welcome-left {
    flex: 2;
}

.welcome-left h3 {
    color: #6B8E23;
    font-size: 18px;
    margin-bottom: 15px;
}

.welcome-content {
    display: flex;
    gap: 15px;
}

.welcome-image {
    width: 300px;
    height: 300px;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid #ddd;
}

.welcome-text {
    flex: 1;
}

.welcome-text h4 {
    color: #8B4513;
    font-size: 16px;
    margin-bottom: 10px;
}

.welcome-text p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
    text-align: justify;
    color: #555;
}

.read-more {
    color: #6B8E23;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 12px;
    display: inline-block;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-height: 44px; /* Touch-friendly minimum size */
    line-height: 28px;
}

.read-more:hover, .read-more:active {
    background-color: #f0f8e8;
    text-decoration: underline;
}

/* Quality Products */
.quality-products {
    flex: 1;
    background: #f9f9f9;
    padding: 20px;
    border-left: 2px solid #ddd;
}

.quality-products h3 {
    color: #6B8E23;
    font-size: 18px;
    margin-bottom: 15px;
}

.products-list {
    list-style: none;
}

.products-list li {
    font-size: 13px;
    margin-bottom: 8px;
    color: #555;
    line-height: 1.4;
}

/* About Section */
.about-section {
    padding: 20px;
    border-top: 2px solid #ddd;
}

.about-section h3 {
    color: #6B8E23;
    font-size: 18px;
    margin-bottom: 15px;
}

.about-section p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
    text-align: justify;
    color: #555;
}

.features-grid {
    display: flex;
    gap: 40px;
    margin: 20px 0;
}

.features-left, .features-right {
    flex: 1;
}

.features-left ul, .features-right ul {
    list-style: none;
}

.features-left li, .features-right li {
    font-size: 13px;
    margin-bottom: 8px;
    color: #555;
    line-height: 1.4;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c5530 0%, #1e3a1e 100%);
    color: white;
    padding: 30px 20px;
    margin-top: 20px;
}

.footer-content {
    display: flex;
    gap: 40px;
}

.footer-left {
    flex: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-company-name h4 {
    color: #FFD700;
    font-size: 16px;
    font-weight: bold;
}

.contact-info p {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 5px;
    color: #E0E0E0;
}

.contact-info strong {
    color: #FFD700;
}

.footer-links {
    display: flex;
    flex: 2;
    gap: 30px;
}

.footer-column {
    flex: 1;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    font-size: 12px;
    margin-bottom: 5px;
    color: #E0E0E0;
    cursor: pointer;
}

.footer-column li:hover {
    color: #FFD700;
}

/* Enhanced Responsive Design */

/* Tablet Design (768px and below) */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
        min-height: 50px;
    }
    
    .header-container {
        flex-direction: column;
        margin: 5px;
    }
    
    .header-left, .header-right {
        padding: 15px;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .company-tagline h2 {
        font-size: 20px;
    }
    
    .industry-types {
        font-size: 14px;
    }
    
    .header-center {
        padding: 15px;
        order: -1; /* Move image to top */
    }
    
    .products-image {
        max-height: 250px;
    }
    
    .company-info h3 {
        font-size: 18px;
    }
    
    .welcome-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .welcome-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .welcome-image {
        width: 100%;
        height: 250px;
        max-width: 250px;
        margin: 0 auto;
        object-fit: contain;
    }
    
    .quality-products {
        border-left: none;
        border-top: 2px solid #ddd;
        margin-top: 15px;
    }
    
    .features-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-column {
        margin-bottom: 15px;
    }
}

/* Mobile Phone Design (480px and below) */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .navbar {
        padding: 8px 0;
        min-height: 40px;
    }
    
    .header-container {
        margin: 3px;
        border-radius: 8px;
    }
    
    .header-left, .header-right, .header-center {
        padding: 12px;
    }
    
    .logo-section {
        gap: 10px;
    }
    
    .logo {
        width: 60px;
        height: 60px;
    }
    
    .company-tagline h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .industry-types {
        font-size: 13px;
        line-height: 1.3;
    }
    
    .products-image {
        max-height: 180px;
    }
    
    .company-info h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .company-info li {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .iso-certification {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .main-content {
        margin: 8px;
        border-radius: 8px;
    }
    
    .welcome-section, .about-section {
        padding: 12px;
    }
    
    .welcome-left h3, .about-section h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .welcome-text h4 {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .welcome-text p, .about-section p {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 8px;
    }
    
    .welcome-image {
        width: 200px;
        height: 200px;
        max-width: 200px;
        margin: 0 auto;
        object-fit: contain;
    }
    
    .quality-products {
        padding: 12px;
    }
    
    .quality-products h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .products-list li {
        font-size: 11px;
        margin-bottom: 6px;
    }
    
    .features-left li, .features-right li {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .read-more {
        font-size: 13px;
    }
    
    .footer {
        padding: 20px 12px;
    }
    
    .footer-logo {
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .footer-company-name h4 {
        font-size: 14px;
    }
    
    .contact-info p {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 4px;
    }
    
    .footer-column li {
        font-size: 11px;
        margin-bottom: 4px;
    }
}

/* Extra Small Mobile Phones (360px and below) */
@media (max-width: 360px) {
    .header-container {
        margin: 2px;
    }
    
    .header-left, .header-right, .header-center {
        padding: 10px;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
    
    .company-tagline h2 {
        font-size: 16px;
    }
    
    .industry-types {
        font-size: 12px;
    }
    
    .products-image {
        max-height: 150px;
    }
    
    .company-info h3 {
        font-size: 15px;
    }
    
    .company-info li {
        font-size: 11px;
    }
    
    .iso-certification {
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .main-content {
        margin: 5px;
    }
    
    .welcome-section, .about-section, .quality-products {
        padding: 10px;
    }
    
    .welcome-image {
        width: 150px;
        height: 150px;
        max-width: 150px;
        margin: 0 auto;
        object-fit: contain;
    }
    
    .welcome-left h3, .about-section h3, .quality-products h3 {
        font-size: 15px;
    }
    
    .welcome-text p, .about-section p {
        font-size: 11px;
    }
    
    .products-list li, .features-left li, .features-right li {
        font-size: 10px;
    }
    
    .footer {
        padding: 15px 8px;
    }
    
    .contact-info p, .footer-column li {
        font-size: 10px;
    }
}
