:root { 
    --primary-navy: #1a2332; 
    --secondary-navy: #2c3e50; 
    --accent-gold: #f39c12; 
    --accent-orange: #e67e22; 
    --steel-gray: #34495e; 
    --light-steel: #95a5a6; 
    --white-smoke: #f8f9fa; 
    --silver: #bdc3c7; 
    --dark-text: #2c3e50; 
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Roboto', sans-serif; 
    line-height: 1.6; 
    color: var(--dark-text); 
    overflow-x: hidden; 
}

/* Header & Navigation */
.top-bar { 
    background: var(--primary-navy); 
    color: white; 
    padding: 8px 0; 
    font-size: 0.9rem; 
}

.main-navbar { 
    background: linear-gradient(135deg, var(--secondary-navy) 0%, var(--steel-gray) 100%); 
    box-shadow: 0 4px 20px rgba(0,0,0,0.15); 
    padding: 12px 0; 
    position: relative; 
    z-index: 1050; 
}

/* Logo styling */
.navbar-brand { 
    padding: 0; 
}

.navbar-brand img { 
    height: 50px; 
    width: auto; 
    max-width: 200px; 
}

/* Mobile hamburger menu */
.navbar-toggler { 
    border: 2px solid var(--accent-gold); 
    padding: 8px 12px; 
    border-radius: 8px; 
}

.navbar-toggler:focus { 
    box-shadow: 0 0 0 0.2rem rgba(243, 156, 18, 0.25); 
}

.navbar-toggler-icon { 
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23f39c12' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); 
    width: 1.5em; 
    height: 1.5em; 
}

.navbar-nav .nav-link { 
    color: white !important; 
    font-weight: 500; 
    margin: 0 10px; 
    padding: 10px 20px !important; 
    border-radius: 25px; 
    transition: all 0.3s ease; 
}

.navbar-nav .nav-link:hover { 
    background: var(--accent-gold); 
    transform: translateY(-2px); 
}

/* Mobile navigation */
@media (max-width: 991.98px) {
    .navbar-nav { 
        background: var(--primary-navy); 
        border-radius: 15px; 
        padding: 20px; 
        margin-top: 15px; 
        box-shadow: 0 10px 30px rgba(0,0,0,0.3); 
    }

    .navbar-nav .nav-link { 
        margin: 5px 0; 
        text-align: center; 
    }

    .main-navbar { 
        padding: 8px 0; 
    }

    .navbar-brand img { 
        height: 40px; 
    }
}

/* Hero Banner Section */
.hero-banner { 
    position: relative; 
    min-height: 60vh; 
    background: linear-gradient(rgba(26, 35, 50, 0.6), rgba(44, 62, 80, 0.7)), url('../images/banner.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
    display: flex; 
    align-items: center; 
    color: white; 
    margin-top: 0; 
    padding: 80px 0 60px 0; 
}

.hero-content { 
    z-index: 2; 
}

.hero-title { 
    font-family: 'Oswald', sans-serif; 
    font-size: 3.5rem; 
    font-weight: 600; 
    margin-bottom: 20px; 
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5); 
}

.hero-subtitle { 
    font-size: 1.4rem; 
    margin-bottom: 30px; 
    font-weight: 300; 
}

.hero-stats { 
    background: rgba(255,255,255,0.95); 
    padding: 40px; 
    border-radius: 15px; 
    margin-top: 50px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.2); 
}

.stat-item { 
    text-align: center; 
    color: var(--primary-navy); 
}

.stat-number { 
    font-family: 'Oswald', sans-serif; 
    font-size: 2.5rem; 
    font-weight: 600; 
    color: var(--accent-gold); 
}

/* Page Content Sections */
.page-section { 
    padding: 100px 0; 
    background: var(--white-smoke); 
    position: relative; 
}

.page-section::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    height: 5px; 
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange)); 
}

.page-section.white-bg { 
    background: white; 
}

.page-section.dark-bg { 
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%); 
    color: white; 
}

/* Section Titles */
.section-title { 
    font-family: 'Oswald', sans-serif; 
    font-size: 2.8rem; 
    color: var(--primary-navy); 
    margin-bottom: 30px; 
    position: relative; 
}

.section-title::after { 
    content: ''; 
    position: absolute; 
    bottom: -15px; 
    left: 0; 
    width: 80px; 
    height: 4px; 
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange)); 
}

.section-title.white { 
    color: white; 
}

/* Corporate Section */
.corporate-image-container { 
    position: relative; 
    height: 600px; 
    display: flex; 
    align-items: stretch; 
}

.corporate-image { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    border-radius: 15px; 
    box-shadow: 0 15px 50px rgba(0,0,0,0.15); 
    transition: transform 0.3s ease; 
}

.corporate-image:hover { 
    transform: scale(1.02); 
}

.corporate-content { 
    height: 600px; 
    display: flex; 
    flex-direction: column; 
}

.feature-boxes-container { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 20px; 
    margin-top: 10px; 
    flex-grow: 1; 
}

.feature-box { 
    background: white; 
    /*padding: 30px;*/ 
    padding: 10px; 
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    transition: all 0.3s ease; 
    border-left: 5px solid var(--accent-gold); 
    flex: 1; 
    height: 200px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}

.feature-box:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.2); 
}

.feature-icon { 
    font-size: 3rem; 
    color: var(--accent-gold); 
    /*margin-bottom: 20px; */
    text-align: center; 
}

/* Product Categories Section */
.product-categories { 
    padding: 100px 0; 
    background: white; 
}

.product-card { 
    background: linear-gradient(135deg, var(--white-smoke), white); 
    border-radius: 20px; 
    padding: 40px 30px; 
    text-align: center; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); 
    transition: all 0.3s ease; 
    border-top: 6px solid var(--accent-gold); 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    min-height: 380px; 
}

.product-card:hover { 
    transform: translateY(-15px); 
    box-shadow: 0 25px 60px rgba(0,0,0,0.2); 
    border-top-color: var(--accent-orange); 
}

.product-icon { 
    font-size: 4rem; 
    color: var(--accent-gold); 
    margin-bottom: 30px; 
}

.product-card h4 { 
    font-family: 'Oswald', sans-serif; 
    font-size: 1.3rem; 
    color: var(--primary-navy); 
    margin-bottom: 20px; 
    min-height: 60px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    line-height: 1.2; 
}

.product-card p { 
    flex-grow: 1; 
    margin-bottom: 30px; 
    color: var(--steel-gray); 
    line-height: 1.6; 
}

.btn-product { 
    background: var(--accent-gold); 
    color: white; 
    padding: 12px 30px; 
    border-radius: 25px; 
    text-decoration: none; 
    font-weight: 600; 
    transition: all 0.3s ease; 
    margin-top: auto; 
}

.btn-product:hover { 
    background: var(--accent-orange); 
    color: white; 
    transform: translateY(-2px); 
}

/* Vision Mission Section */
.vision-mission { 
    padding: 100px 0; 
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%); 
    color: white; 
}

.vision-mission-card { 
    background: rgba(255,255,255,0.95); 
    color: var(--dark-text); 
    border-radius: 20px; 
    padding: 40px; 
    box-shadow: 0 15px 50px rgba(0,0,0,0.3); 
    transition: all 0.3s ease; 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
    min-height: 400px; 
}

.vision-mission-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 25px 60px rgba(0,0,0,0.4); 
}

.card-icon { 
    width: 80px; 
    height: 80px; 
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange)); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 30px; 
    font-size: 2rem; 
    color: white; 
}

.vision-mission-card h3 { 
    text-align: center; 
    margin-bottom: 30px; 
    font-family: 'Oswald', sans-serif; 
}

.vision-mission-card p { 
    flex-grow: 1; 
    text-align: center; 
    line-height: 1.8; 
}

/* Machine Gallery */
.machine-gallery { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-top: 50px; 
}

.machine-item { 
    background: white; 
    border-radius: 15px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    transition: all 0.3s ease; 
}

.machine-item:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.2); 
}

.machine-item img { 
    width: 100%; 
    height: 250px; 
    object-fit: cover; 
}

.machine-item h4 { 
    padding: 20px; 
    font-family: 'Oswald', sans-serif; 
    color: var(--primary-navy); 
    margin: 0; 
}

.machine-item p { 
    padding: 0 20px 20px; 
    color: var(--steel-gray); 
    line-height: 1.6; 
}

/* Production Details */
.production-detail { 
    background: white; 
    border-radius: 15px; 
    padding: 40px; 
    margin-bottom: 30px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    transition: all 0.3s ease; 
}

.production-detail:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.2); 
}

.production-detail h3 { 
    font-family: 'Oswald', sans-serif; 
    color: var(--primary-navy); 
    margin-bottom: 20px; 
    border-left: 5px solid var(--accent-gold); 
    padding-left: 20px; 
}

/* Contact Section */
.contact-section { 
    padding: 100px 0; 
    background: var(--white-smoke); 
}

.contact-info { 
    background: white; 
    padding: 40px; 
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    height: 100%; 
}

.contact-info h4 { 
    font-family: 'Oswald', sans-serif; 
    color: var(--primary-navy); 
    margin-bottom: 30px; 
}

.contact-info p { 
    margin-bottom: 15px; 
    color: var(--steel-gray); 
}

.contact-info i { 
    color: var(--accent-gold); 
    margin-right: 10px; 
    width: 20px; 
}

#map { 
    height: 400px; 
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}

/* CTA Section */
.cta-section { 
    padding: 80px 0; 
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%); 
    color: white; 
    text-align: center; 
}

.btn-custom { 
    background: var(--primary-navy); 
    color: white; 
    padding: 15px 40px; 
    border-radius: 50px; 
    font-weight: 600; 
    text-decoration: none; 
    transition: all 0.3s ease; 
    border: 3px solid var(--primary-navy); 
}

.btn-custom:hover { 
    background: transparent; 
    color: var(--primary-navy); 
    transform: translateY(-3px); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
}

/* Footer */
.footer { 
    background: var(--primary-navy); 
    color: white; 
    padding: 60px 0 30px; 
}

.footer-section h5 { 
    color: var(--accent-gold); 
    margin-bottom: 20px; 
    font-family: 'Oswald', sans-serif; 
}

.footer-bottom { 
    border-top: 1px solid var(--steel-gray); 
    margin-top: 40px; 
    padding-top: 20px; 
    text-align: center; 
}

/* Quality Policy */
.quality-principle { 
    background: white; 
    border-radius: 15px; 
    padding: 30px; 
    margin-bottom: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    border-left: 5px solid var(--accent-gold); 
    transition: all 0.3s ease; 
}

.quality-principle:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.2); 
}

.quality-principle h4 { 
    font-family: 'Oswald', sans-serif; 
    color: var(--primary-navy); 
    margin-bottom: 15px; 
}

/* Solar Energy Section */
.solar-energy { 
    background: white; 
    border-radius: 15px; 
    padding: 40px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    margin-bottom: 30px; 
}

.solar-energy h3 { 
    font-family: 'Oswald', sans-serif; 
    color: var(--primary-navy); 
    margin-bottom: 20px; 
}

.solar-energy img { 
    float: right; 
    margin: 0 0 20px 20px; 
    border-radius: 10px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
}

/* Animations */
@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.fade-in-up { 
    animation: fadeInUp 0.8s ease-out; 
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    opacity: 0;
    transform: scale(0);
    animation: whatsappFadeIn 1s ease-out 2s forwards;
}

.whatsapp-button a {
    display: flex;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whatsapp-button a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-button a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-button a:hover::before {
    opacity: 1;
}

.whatsapp-button i {
    font-size: 28px;
    color: white;
    z-index: 1;
    position: relative;
    transition: transform 0.3s ease;
}

.whatsapp-button a:hover i {
    transform: rotate(15deg);
}

/* WhatsApp button animations */
@keyframes whatsappFadeIn {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(0deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-button a {
    animation: whatsappPulse 2s infinite;
}

/* Responsive WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 15px;
        left: 15px;
    }
    
    .whatsapp-button a {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-button i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .whatsapp-button {
        bottom: 10px;
        left: 10px;
    }
    
    .whatsapp-button a {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 22px;
    }
}

/* Add mobile responsive styles at the end of the existing CSS file */

/* Mobile responsive styles for sections */
@media (max-width: 768px) {
    /* Ensure sections don't overlap on mobile */
    .page-section {
        padding: 60px 0; /* Reduced padding for mobile */
    }
    
    .product-categories {
        padding: 60px 0; /* Reduced padding for mobile */
        margin-top: 0; /* Remove any top margin */
    }
    
    /* Corporate section mobile adjustments */
    .corporate-content {
        height: auto; /* Allow natural height on mobile */
        margin-top: 30px; /* Add spacing between image and content */
    }
    
    .corporate-image-container {
        height: 300px; /* Smaller height for mobile */
        margin-bottom: 20px;
    }
    
    /* Feature boxes mobile layout */
    .feature-boxes-container {
        flex-direction: column;
        margin-top: 20px;
    }
    
    .feature-box {
        width: 100%;
        margin-bottom: 20px;
        flex: none;
        height: auto; /* Allow natural height */
        min-height: 150px; /* Smaller min-height for mobile */
        padding: 20px; /* Reduced padding for mobile */
    }
    
    .feature-box:last-child {
        margin-bottom: 0;
    }
    
    /* Hero section mobile adjustments */
    .hero-banner {
        min-height: 50vh; /* Smaller height for mobile */
        padding: 60px 0 40px 0; /* Reduced padding */
    }
    
    .hero-title {
        font-size: 2.5rem; /* Smaller title on mobile */
    }
    
    .hero-stats {
        margin-top: 30px; /* Reduced margin */
        padding: 30px 20px; /* Adjusted padding */
    }
    
    /* Section titles mobile */
    .section-title {
        font-size: 2.2rem; /* Smaller section titles */
        margin-bottom: 20px;
    }
    
    /* Product cards mobile layout */
    .product-card {
        margin-bottom: 30px; /* Add spacing between cards */
        padding: 30px 20px; /* Adjusted padding */
        min-height: 320px; /* Smaller min-height for mobile */
    }
    
    /* Vision mission cards mobile */
    .vision-mission-card {
        margin-bottom: 30px; /* Add spacing between cards */
        padding: 30px 20px; /* Adjusted padding */
        min-height: 300px; /* Smaller min-height for mobile */
    }
    
    /* Remove fixed background on mobile for better performance */
    .hero-banner {
        background-attachment: scroll;
    }
}

/* Extra small devices (phones, 576px and down) */
@media (max-width: 576px) {
    .page-section {
        padding: 40px 0; /* Further reduced padding for small phones */
    }
    
    .product-categories {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .corporate-image-container {
        height: 250px;
    }
    
    .feature-box {
        min-height: 120px;
        padding: 15px;
    }
    
    .hero-stats {
        padding: 20px 15px;
    }
    
    .product-card {
        min-height: 280px;
        padding: 25px 15px;
    }
    
    .vision-mission-card {
        min-height: 250px;
        padding: 25px 15px;
    }
}