/* Additional CSS for Page-Specific Styling */

/* Page Banner */
#page-banner {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('../images/page-banner-bg.jpg') no-repeat center center/cover;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #222222;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: fadeInDown 1s ease;
}

.banner-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

/* About Page Styles */
#about {
    padding: 80px 0;
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #27ae60;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
}

/* Mission & Vision Section */
#mission-vision {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.mission-vision-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mission, .vision, .values {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.mission:hover, .vision:hover, .values:hover {
    transform: translateY(-10px);
}

.mission .icon, .vision .icon, .values .icon {
    width: 80px;
    height: 80px;
    background-color: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mission .icon i, .vision .icon i, .values .icon i {
    font-size: 2rem;
    color: #27ae60;
}

.mission h2, .vision h2, .values h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Team Section */
#team {
    padding: 80px 0;
    background-color: #fff;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.member-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #2c3e50;
}

.member-info span {
    display: block;
    color: #27ae60;
    font-weight: 500;
    margin-bottom: 15px;
}

.member-info p {
    color: #555;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
}

.social-links a {
    width: 35px;
    height: 35px;
    background-color: #f1f1f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #27ae60;
}

.social-links a:hover i {
    color: #fff;
}

/* Why Choose Us Section */
#why-choose-us {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.5rem;
    color: #27ae60;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.feature p {
    color: #555;
}

/* Products Page Styles */
#product-categories {
    padding: 80px 0;
    background-color: #fff;
}

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

.category-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    text-align: justify;
    align-items: center;    
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-grid h3,p,a{
    margin-top: 20px;
    margin-left: 20px;
    align-items: center;
    text-align: center;

}
.category-item a{
    margin-bottom: 20px;
    margin-left: 480px;
}
.category-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-item:hover img {
    transform: scale(1.1);
}
.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    text-align: center;
}

.category-info h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.product-section {
    padding: 80px 0;
}

.product-section:nth-child(odd) {
    background-color: #f9f9f9;
}

.product-section:nth-child(even) {
    background-color: #fff;
}

/* Quality Assurance Section */
#quality-assurance {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.quality-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.quality-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quality-text h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.quality-text p {
    margin-bottom: 20px;
    color: #555;
}

.certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.certification {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.certification img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

/* Contact Page Styles */
#contact-info {
    padding: 80px 0;
    background-color: #fff;
}

.contact-info-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-card .icon {
    width: 70px;
    height: 70px;
    background-color: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-card .icon i {
    font-size: 1.8rem;
    color: #27ae60;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.contact-card p {
    color: #555;
    margin-bottom: 5px;
}

/* Contact Form */
#contact-form {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

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

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #27ae60;
}

.form-checkbox {
    display: flex;
    align-items: center;
}

.form-checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-checkbox label {
    margin-bottom: 0;
}

/* Map Section */
#map {
    padding: 80px 0;
    background-color: #fff;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* FAQ Section */
#faq {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin: 0;
}

.toggle-icon {
    color: #27ae60;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
}

.faq-answer p {
    color: #555;
    margin: 0;
}

/* Process Page Styles */
#process-overview {
    padding: 80px 0;
    background-color: #fff;
}

.process-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.process-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.process-text p {
    margin-bottom: 15px;
    color: #555;
}

/* Process Steps Timeline */
#process-steps {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #e8f5e9;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 10px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 50px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12px;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    background-color: #fff;
    border: 4px solid #27ae60;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even)::after {
    left: -12px;
}

.timeline-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #27ae60;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 2;
    top: 0;
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -30px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -30px;
}

.timeline-content {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #555;
    margin-bottom: 20px;
}

.timeline-image img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 20px;
}

.timeline-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.timeline-features .feature {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    box-shadow: none;
}

.timeline-features .feature:hover {
    transform: none;
}

.timeline-features .feature i {
    color: #27ae60;
    margin-right: 10px;
    font-size: 1rem;
}

/* Certifications Section */
#certifications {
    padding: 80px 0;
    background-color: #fff;
}

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

.certification-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-10px);
}

.certification-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.certification-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.certification-item h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.certification-item p {
    color: #555;
}

/* CTA Section */
#process-cta {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/cta-bg.jpg') no-repeat center center/cover;
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    #page-banner {
        height: 250px;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .quality-content,
    .process-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mission-vision-content {
        grid-template-columns: 1fr;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 18px;
    }
    
    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: 0;
    }
}

@media screen and (max-width: 768px) {
    #page-banner {
        height: 200px;
        margin-top: 60px;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    #page-banner {
        height: 180px;
    }
    
    .banner-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .about-text h2,
    .cta-content h2 {
        font-size: 1.8rem;
    }
}
  /* =========================================
   RESPONSIVE MEDIA QUERIES (PAGE SPECIFIC)
   ========================================= */

/* Tablet / Small Laptop (Max Width: 1024px) */
@media (max-width: 1024px) {
    /* Fix 2-column layouts to stack or squeeze gently */
    .about-content,
    .quality-content,
    .process-content {
        gap: 30px;
    }

    /* Timeline adjustments for Tablet */
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 18px;
    }
    
    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: 0;
    }

    /* Fix the Category Link positioning */
    .category-item a {
        margin-left: 20px; /* Reset the large 480px margin */
        display: inline-block;
    }
}

/* Mobile Landscape / Tablets (Max Width: 768px) */
@media (max-width: 768px) {
    
    /* 1. BANNER ADJUSTMENTS */
    #page-banner {
        height: 180px; /* Reduce height */
        margin-top: 0; /* Reset if needed */
    }
    
    .banner-content h1 {
        font-size: 2rem;
        padding: 0 15px;
    }

    .banner-content p {
        font-size: 1rem;
        padding: 0 20px;
    }

    /* 2. GRID STACKING (Force 1 column) */
    .about-content,
    .mission-vision-content,
    .quality-content,
    .process-content,
    .contact-info-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center; /* Center text for better mobile look */
    }

    /* 3. ABOUT & QUALITY IMAGES */
    /* Make images appear first or second depending on design preference */
    .about-image, .quality-image, .process-image {
        order: -1; /* Ensure images sit on top of text */
    }
    
    .about-text h2::after {
        left: 50%; /* Center the underline */
        transform: translateX(-50%);
    }

    /* 4. CATEGORY ITEM FIXES */
    .category-item {
        text-align: center; /* Center content */
    }

    .category-grid h3, p {
        margin-left: 0; /* Remove fixed margins */
        padding: 0 15px;
    }
    
    .category-item a {
        margin: 20px auto; /* Center the button */
        margin-left: 0;
        display: inline-block;
    }

    /* 5. FORM ADJUSTMENTS */
    .form-row {
        grid-template-columns: 1fr; /* Stack inputs */
        gap: 15px;
    }
    
    .form-container {
        padding: 25px 20px;
    }

    /* 6. MAP */
    #map iframe {
        height: 300px; /* Enforce height on mobile */
    }
}

/* Small Mobile (Max Width: 480px) */
@media (max-width: 480px) {
    
    /* 1. SPACING REDUCTION */
    #about, #mission-vision, #team, #why-choose-us,
    #product-categories, #quality-assurance, #contact-info,
    #contact-form, #process-overview, #process-steps,
    #certifications, #process-cta {
        padding: 50px 0;
    }

    /* 2. TYPOGRAPHY SCALING */
    .banner-content h1 { font-size: 1.6rem; }
    .section-title h2 { font-size: 1.8rem; }
    .about-text h2, .quality-text h3 { font-size: 1.6rem; }
    .cta-content h2 { font-size: 1.8rem; }
    
    /* 3. TEAM MEMBER CARDS */
    .team-member {
        max-width: 100%; /* Full width cards */
    }
    .member-img img {
        height: 250px; /* Reduce image height */
    }

    /* 4. TIMELINE COMPACTING */
    .timeline-item {
        padding-left: 50px;
        padding-right: 10px;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 9px;
        width: 18px;
        height: 18px;
        top: 10px;
    }
    
    .timeline-features {
        grid-template-columns: 1fr; /* Stack features */
    }

    /* 5. FAQ */
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 10px;
    }
}
