/* --- style.css - FINAL STABLE VERSION (Responsive Fixed) --- */
:root {
    --primary-teal: #4FD1C5; 
    --secondary-blue: #90CDF4; 
    --accent-coral: #FC8181;
    --dark-text: #1A202C; 
    --light-text: #718096; 
    --light-bg: #F7FAFC; 
    --white: #ffffff;
    --whatsapp-green: #25D366;
    --box-radius: 35px; /* PERFECT ROUNDED CORNERS */
}

body, html { margin: 0; padding: 0; overflow-x: hidden; font-family: 'Poppins', sans-serif; background: var(--light-bg); color: var(--dark-text); }
h1, h2, h3, h4 { font-weight: 700; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; padding: 0; }
section { padding: 80px 10%; position: relative; }
img { max-width: 100%; height: auto; display: block; }

/* --- NAVBAR --- */
nav { 
    position: fixed; top: 0; width: 100%; height: 100px; 
    padding: 0 5%; display: flex; justify-content: space-between; align-items: center; 
    z-index: 1000; background: rgba(255, 255, 255, 0.98); 
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); box-sizing: border-box;
}
.logo-container img { 
    height: 90px; 
    width: auto; 
}
.nav-right { display: flex; align-items: center; gap: 25px; }
.menu { display: flex; gap: 25px; }
.menu a { color: var(--dark-text); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.menu a:hover, .menu a.active { color: var(--primary-teal); }

/* Search Box */
.search-box { position: relative; display: flex; align-items: center; }
.search-box input { padding: 8px 15px; border-radius: 20px; border: 1px solid #e2e8f0; background: #f7fafc; font-size: 13px; width: 150px; transition: 0.3s; }
.search-box input:focus { width: 200px; border-color: var(--primary-teal); outline: none; }
.search-icon { position: absolute; right: 10px; color: #a0aec0; cursor: pointer; }
.nav-social { display: flex; gap: 10px; }
.nav-social a { color: var(--dark-text); font-size: 16px; }

/* --- HERO SECTION --- */
#hero { 
    min-height: 85vh; 
    display: flex; 
    justify-content: center;
    padding: 110px 10% 60px; 
    margin-top: 0; 
    background: linear-gradient(135deg, #ffffff 0%, #f0faff 100%); 
    overflow: hidden; 
    position: relative;
}
.hero-container { display: flex; align-items: center; justify-content: space-between; gap: 60px; width: 100%; max-width: 1300px; z-index: 10; }
.hero-content-left { flex: 1; max-width: 600px; }
.hero-image-right { flex: 1; position: relative; }

/* Image with Rounded Corners */
.hero-image-right img { 
    width: 100%; border-radius: var(--box-radius); 
    box-shadow: 0 30px 60px rgba(0,0,0,0.15); 
    position: relative; z-index: 2; 
    animation: float 6s ease-in-out infinite; 
}
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0px); } }
.hero-title { font-size: 50px; line-height: 1.1; margin-bottom: 20px; background: linear-gradient(to right, var(--dark-text), var(--primary-teal)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
#hero-canvas { position: absolute; top: 0; right: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* --- PARTNERS SLIDER --- */
.partners-container {
    overflow: hidden; 
    padding: 20px 0;
    background: white;
    white-space: nowrap; 
    position: relative;
}
.partners-track {
    display: inline-block;
    animation: 35s scroll infinite linear; 
}
.partner-logo {
    height: 110px; 
    width: auto;
    margin: 0 50px; 
    display: inline-block;
    filter: none;
    opacity: 1;
    object-fit: contain;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* --- GRID SECTIONS --- */
.features-grid, .categories-grid, .product-grid, .industries-grid { 
    display: grid; gap: 30px; margin-top: 40px; 
}
.features-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.categories-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.product-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.industries-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Rounded Cards */
.feature-box, .cat-card, .prod-card, .ind-card, .testi-card { 
    background: white; padding: 30px; border-radius: var(--box-radius); 
    text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    transition: 0.3s; border: 1px solid #eee; 
}
.feature-box:hover, .cat-card:hover, .prod-card:hover, .ind-card:hover { 
    border-color: var(--primary-teal); transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(79, 209, 197, 0.1); 
}

/* Icons & Images */
.cat-icon, .feature-icon, .ind-icon { 
    font-size: 50px; color: var(--primary-teal); margin-bottom: 20px; display: inline-block;
}
.cat-card .cat-icon {
    background: #e6fffa; width: 90px; height: 90px; line-height: 90px; border-radius: 50%; transition: 0.4s;
}
.cat-card:hover .cat-icon { background: var(--primary-teal); color: white; transform: rotateY(180deg); }

.prod-img { height: 220px; background: #f7fafc; display: flex; align-items: center; justify-content: center; color: #a0aec0; font-size: 18px; font-weight: 600; border-radius: 20px; margin-bottom: 15px; }
.prod-content { padding: 10px; }

.cat-title { font-size: 22px; margin-bottom: 15px; color: var(--dark-text); }
.cat-card a { font-weight: 700; color: var(--primary-teal); text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }

/* --- WORK PROCESS --- */
.process-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; text-align: center; margin-top: 40px; }
.process-step { flex: 1; min-width: 250px; position: relative; }
.step-icon { width: 80px; height: 80px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 30px; color: var(--primary-teal); box-shadow: 0 10px 25px rgba(0,0,0,0.05); position: relative; z-index: 2; border: 2px solid #f7fafc;}
.step-number { font-size: 50px; font-weight: 700; color: #f0f4f8; position: absolute; top: -20px; right: 20%; z-index: 1; }

/* --- FOOTER --- */
footer { background: white; color: var(--dark-text); padding: 60px 10% 20px; margin-top: auto; position: relative; }
footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(to right, var(--primary-teal), var(--secondary-blue), var(--accent-coral)); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-logo { height: 95px; margin-bottom: 20px; }
.footer-col h4 { color: var(--dark-text); margin-bottom: 20px; font-size: 18px; }
.footer-col a, .footer-col p { color: #718096; display: block; margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--primary-teal); padding-left: 5px; }
.footer-social { display: flex; gap: 15px; margin-top: 15px; }
.footer-social a { width: 35px; height: 35px; background: #f7fafc; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--dark-text); }
.copyright { text-align: center; color: #a0aec0; border-top: 1px solid #edf2f7; padding-top: 20px; font-size: 13px; }

/* --- UTILS --- */
.btn { padding: 12px 30px; background: linear-gradient(to right, var(--primary-teal), var(--secondary-blue)); color: white; border-radius: 50px; font-weight: 600; display: inline-block; border: none; cursor: pointer; font-size: 14px; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(79, 209, 197, 0.5); }
.floating-whatsapp { position: fixed; bottom: 30px; right: 30px; z-index: 2000; background: var(--whatsapp-green); color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 35px; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 36px; color: var(--dark-text); }
.animate-up { opacity: 0; transform: translateY(30px); }
.animate-pop { opacity: 0; transform: scale(0.9); }

/* About & Contact Specifics */
.about-wrapper, .contact-wrapper { max-width: 1100px; margin: 150px auto 80px; padding: 0 20px; }
.split-section { display: flex; gap: 50px; align-items: center; margin-bottom: 80px; }
.split-text { flex: 1; } .split-img { flex: 1; }
.split-img img { border-radius: var(--box-radius); box-shadow: 0 20px 50px rgba(0,0,0,0.1); width: 100%; }
.stats-bar { display: flex; justify-content: space-around; background: white; padding: 50px; border-radius: var(--box-radius); box-shadow: 0 15px 40px rgba(0,0,0,0.05); margin-bottom: 80px; }
.stat-item { text-align: center; } .stat-num { font-size: 45px; font-weight: 700; color: var(--primary-teal); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-form-box { background: white; padding: 40px; border-radius: var(--box-radius); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.contact-form-box input, .contact-form-box textarea { width: 100%; padding: 15px; border: 2px solid #edf2f7; border-radius: 15px; margin-bottom: 20px; background: #f9fafb; box-sizing: border-box; font-family: inherit;}
.map-container iframe { width: 100%; height: 400px; border: 0; border-radius: var(--box-radius); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* =========================================
   MOBILE RESPONSIVENESS (BREAKPOINTS)
   ========================================= */

@media (max-width: 968px) {
    /* Adjust Section Padding for Mobile */
    section { padding: 60px 5%; }

    /* Navbar Stacking for Mobile */
    nav { 
        height: auto; 
        flex-direction: column; 
        padding: 15px 5%; 
        position: relative; /* Unstick slightly or keep fixed */
        position: fixed;
    }
    .menu { 
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px; 
        margin-top: 15px; 
        display: flex; 
    }
    /* Hide search on mobile to save space, or stack it if needed */
    .nav-right { display: none; } 
    
    /* Layouts to Column (Hero, About, Contact) */
    .hero-container, .split-section, .contact-wrapper, .process-grid { 
        flex-direction: column; 
    }
    
    /* Hero Adjustments */
    #hero { 
        padding: 180px 5% 50px; /* Extra top padding for stacked nav */
        min-height: auto; 
        display: block; /* Removes flex centering issues on mobile */
    }
    .hero-content-left { 
        padding-top: 20px; 
        text-align: center; 
        margin-bottom: 40px;
    }
    .hero-title { font-size: 32px; }
    
    /* Product & Category Grids - Force Single Column on small screens */
    .features-grid, .categories-grid, .product-grid, .industries-grid {
        grid-template-columns: 1fr; /* Stack cards vertically */
    }
    
    /* Stats Bar Stacking */
    .stats-bar { flex-direction: column; gap: 30px; padding: 30px; }
    
    /* Partners Sizing */
    .partner-logo { height: 60px; margin: 0 20px; }
}