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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    /*max-width: 1200px;*/
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
}

/* Header Styles */
/*.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}*/

.header {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #3498db
}

.logo p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    /*background-color: #2c3e50;*/
    overflow-x: auto;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
}

.tab-button {
    flex: 1;
    background: none;
    border: none;
    /*color: #ecf0f1;*/
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    min-width: 120px;
}

.tab-button:hover {
    /*background-color: #34495e;*/
    color: #3498db;
}

.tab-button.active {
    /*background-color: #3498db;*/
    color: #3498db;
    /*border-bottom-color: #2980b9;*/
}

/* Tab Content */
.tab-content {
    padding: 2rem;
    min-height: 600px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-panel .h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 3px solid #3498db;
    padding-bottom: 0.5rem;
}

/* Home Tab Styles */
.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 3rem 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.hero-content h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.hero-content p {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #5a6c7d;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Services Tab Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: #5a6c7d;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    color: #34495e;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Products Tab Styles */
.products-container {
    margin-top: 2rem;
}

.product-showcase {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid #e9ecef;
}

.product-showcase h3 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.product-tagline {
    color: #3498db;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.product-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-description h4 {
    color: #2c3e50;
    margin: 1.5rem 0 1rem 0;
}

.product-description ul {
    list-style: none;
}

.product-description li {
    padding: 0.5rem 0;
    color: #34495e;
    position: relative;
    padding-left: 1.5rem;
}

.product-description li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.product-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-radius: 10px;
}

.stat h4 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* About Tab Styles */
.about-content {
    margin-top: 2rem;
}

.company-story {
    margin-bottom: 3rem;
}

.company-story h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.company-story p {
    font-size: 1.1rem;
    color: #5a6c7d;
    margin-bottom: 2rem;
}

.timeline {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    overflow-x: auto;
}

.timeline-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.timeline-item .year {
    background: #3498db;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
    display: inline-block;
}

.timeline-item .milestone {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 500;
}

.team-section, .values-section {
    margin: 3rem 0;
}

.team-section h3, .values-section h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3498db;
}

.value-item h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Contact Tab Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #5a6c7d;
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.contact-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3498db;
}

.contact-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #5a6c7d;
    margin: 0.25rem 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.submit-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
    transform: translateY(-2px);
}

/* Footer Styles */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 2rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #3498db;
}

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

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    padding: 0.5rem 1rem;
    background-color: #34495e;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

.product-image {
    width: 100%;
    height: auto;
    max-height: 250px; /* optional: limits height */
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 1rem;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 0;
        box-shadow: none;
    }
    
    .header {
        padding: 1.5rem 1rem;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .tab-navigation {
        flex-wrap: wrap;
    }
    
    .tab-button {
        min-width: 100px;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .tab-content {
        padding: 1rem;
    }
    
    .tab-panel h2 {
        font-size: 1.1rem;
    }
    
    .hero-content h3 {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .stat {
        flex: 1;
        margin: 0 0.5rem;
    }
    
    .timeline {
        flex-direction: column;
        gap: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .tab-button {
        flex: 1;
        min-width: auto;
        font-size: 0.8rem!important;
        padding: 0.75rem 0.4rem;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .product-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat {
        margin: 0;
    }

    .hero-content-flex {
        display: block !important; /* ⬅️ Override inline style */
        flex-direction: unset !important; /* optional, just to reset flex props */
    }

    .bordered-col {
        border-right: none !important; /* Remove right border */
    }

    .fssai-img {
        display: block;
        margin: 0 auto;
        margin-top: -2em;
    }
    .company-story {
        margin-bottom: 0rem;
    }
    .ourstory {
        text-align: center;
    }
    .botton-text {
        padding: 2rem 1rem;
    }
    .header{
       display:block;
    }
    .tab-panel .h2 {
        color: #2c3e50;
        font-size: 2.2rem;
        margin-bottom: -1rem;
        text-align: center;
        border-top: 3px solid #3498db;
        border-bottom: none;
        padding-bottom: 0rem;
        margin-top: -1rem;
    }
    .product-showcase {
        margin-bottom: 0rem;
    }
    .product-showcase h3 {
        font-size: 1.1rem !important;
    }
}