* {
    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: linear-gradient(135deg, #d4f1d4 0%, #e8f5e9 50%, #c8e6c9 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-bottom: 4px solid #FFD700;
    padding: 20px 0;
    box-shadow: 0 8px 32px rgba(102,126,234,0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: gradientShift 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.header.scrolled {
    padding: 12px 0;
    box-shadow: 0 10px 40px rgba(102,126,234,0.6);
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #43e97b 100%);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-left,
.logo-right {
    flex-shrink: 0;
    transition: all 0.4s ease;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.logo-left:hover,
.logo-right:hover {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(255,215,0,0.8));
}

.logo-left img,
.logo-right img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border: 3px solid #FFD700;
    padding: 8px;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(255,215,0,0.5), 0 0 40px rgba(102,126,234,0.3);
}

.header-center {
    text-align: center;
    flex-grow: 1;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.society-name {
    background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(255,8,68,0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(255,8,68,0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(255,8,68,0.8)); }
}

.center-name {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 50%, #00d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% auto;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.services {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    font-style: italic;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.contact-info {
    font-size: 15px;
    line-height: 1.8;
    background: rgba(255,255,255,0.95);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,215,0,0.5);
}

.contact-info p {
    margin: 3px 0;
    color: #333;
    font-weight: 600;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: #f5576c;
    text-shadow: 0 0 10px rgba(245,87,108,0.5);
}

.contact-info i {
    margin-right: 5px;
    color: #667eea;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #ff0844 0%, #ffb199 25%, #667eea 50%, #764ba2 75%, #f093fb 100%);
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: moveCircles 20s ease-in-out infinite;
}

@keyframes moveCircles {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 80px 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 25px;
    text-shadow: 0 0 30px rgba(255,255,255,0.5), 0 0 60px rgba(255,255,255,0.3);
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 20px rgba(255,255,255,0.5), 0 0 40px rgba(255,255,255,0.3); }
    to { text-shadow: 0 0 40px rgba(255,255,255,0.8), 0 0 80px rgba(255,255,255,0.5); }
}

.hero-subtitle {
    font-size: 26px;
    margin-bottom: 45px;
    opacity: 0.95;
    font-weight: 600;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: #fff;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #667eea;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 0.8s ease-out 0.4s both;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
}

.section-heading {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-subheading {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    transition: all 0.3s ease;
}

.water-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.soil-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.air-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.noise-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 12px;
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.section-heading.light {
    color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-box {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.feature-box p {
    opacity: 0.9;
}

/* Main Content */
.main-content {
    padding: 80px 0;
    background: transparent;
}

/* Parameters Section */
.parameters-section {
    margin-top: 40px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
}

/* Tabs */
.tabs-container {
    margin-bottom: 30px;
}

.tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 30px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.tab-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: transparent;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

/* Table Styles */
.table-container {
    margin-bottom: 60px;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.table-heading {
    background: linear-gradient(135deg, #006400 0%, #228B22 100%);
    color: #fff;
    border: none;
    padding: 20px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0;
    border-radius: 12px 12px 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0 0 12px 12px;
}

.parameters-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    margin-bottom: 0;
}

.parameters-table thead {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.parameters-table th,
.parameters-table td {
    border: 1px solid #e0e0e0;
    padding: 15px;
    text-align: left;
    font-size: 15px;
}

.parameters-table th {
    font-weight: 700;
    background: #f8f9fa;
    color: #2c3e50;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.parameters-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.parameters-table tbody tr:hover {
    background-color: #e3f2fd;
    transition: background-color 0.3s ease;
}

.parameters-table td:nth-child(3),
.parameters-table th:nth-child(3),
.parameters-table td:nth-child(6),
.parameters-table th:nth-child(6) {
    width: 20px;
    background-color: #fff;
    border-left: 2px solid #e0e0e0;
    border-right: 2px solid #e0e0e0;
}

.micro-nutrient-header {
    text-align: center;
    font-weight: bold;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    font-size: 16px;
}

.category-header {
    text-align: center;
    font-weight: bold;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff;
    border: 1px solid #004d00;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    text-align: center;
    padding: 40px 0 20px;
    margin-top: 80px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

.footer p {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.footer-society-name {
    color: #e74c3c;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-center-name {
    color: #2ecc71;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-services {
    color: #f39c12;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    font-style: italic;
}

.footer-contact-info {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-contact-info p {
    margin: 8px 0;
}

.footer-contact-info a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.footer-contact-info a:hover {
    color: #5dade2;
    text-decoration: underline;
}

/* Floating Button */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(102,126,234,0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 30px rgba(102,126,234,0.6);
}

/* Buttons */
.enquiry-btn {
    display: inline-block;
    padding: 15px 35px;
    margin: 10px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #006400 0%, #228B22 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,100,0,0.3);
}

.enquiry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,100,0,0.4);
}

/* Responsive Design */
@media (max-width: 968px) {
    .header {
        padding: 12px 0;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .logo-left img,
    .logo-right img {
        width: 90px;
        height: 90px;
    }

    .society-name {
        font-size: 22px;
    }

    .center-name {
        font-size: 20px;
    }

    .services {
        font-size: 18px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-heading {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }

    .section-heading {
        font-size: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-left img,
    .logo-right img {
        width: 70px;
        height: 70px;
    }

    .society-name {
        font-size: 18px;
    }

    .center-name {
        font-size: 18px;
    }

    .hero-title {
        font-size: 24px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
}
