/* --- GLOBAL VARIABLES & RESET --- */
:root {
    --primary-color: #2c4e80; /* Deep Blue */
    --secondary-color: #e69533; /* Gold/Orange */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { line-height: 1.6; color: var(--text-dark); background: var(--bg-white); padding-bottom: 60px; /* Space for mobile bar */ }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- HEADER --- */
header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }

.logo { display: flex; align-items: center; font-weight: bold; font-size: 1.5rem; color: var(--primary-color); }
.logo img { height: 50px; margin-right: 10px; }

.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 600; color: var(--text-dark); font-size: 1rem; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--secondary-color); }
.nav-links a.active::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 2px; background: var(--secondary-color); }

/* --- HERO SECTIONS --- */
.hero {
    background-size: cover; background-position: center; 
    color: white; text-align: center; padding: 100px 20px;
    background-color: var(--primary-color); /* Fallback */
    position: relative;
}
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(44, 78, 128, 0.85); z-index: 1; }
.hero > * { position: relative; z-index: 2; }
.hero h1 { font-size: 3rem; margin-bottom: 15px; font-weight: 700; }
.hero p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 30px; opacity: 0.9; }
.hero.small { padding: 60px 20px; }

.btn { background: var(--secondary-color); color: white; padding: 12px 30px; border-radius: 5px; font-weight: bold; display: inline-block; }
.btn:hover { background: #d1801d; transform: translateY(-2px); }

/* --- SECTIONS COMMON --- */
.section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 50px; color: var(--primary-color); font-size: 2.2rem; position: relative; display: inline-block; left: 50%; transform: translateX(-50%); }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--secondary-color); margin: 10px auto 0; }

/* --- STATS GRID (Index Page) --- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; margin-top: -50px; position: relative; z-index: 10; }
.stat-box { background: white; padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 8px; border-bottom: 4px solid var(--secondary-color); }
.stat-number { font-size: 2.5rem; font-weight: bold; color: var(--primary-color); margin-bottom: 5px; }

/* --- SERVICES (Card Style) --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #eee; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.service-img { width: 100%; height: 220px; object-fit: cover; }
.service-content { padding: 25px; }
.service-content h3 { color: var(--primary-color); margin-bottom: 15px; font-size: 1.3rem; border-bottom: 2px solid var(--secondary-color); display: inline-block; padding-bottom: 5px; }
.service-content ul { list-style: none; padding: 0; }
.service-content li { margin-bottom: 8px; font-size: 0.95rem; padding-left: 15px; position: relative; }
.service-content li::before { content: '•'; color: var(--secondary-color); position: absolute; left: 0; font-weight: bold; }

/* --- INFINITE IMAGE SLIDER (Products Page) --- */
.slider-container { overflow: hidden; background: #fff; padding: 40px 0; white-space: nowrap; }
.slider-track { display: inline-block; animation: scroll 20s linear infinite; }
.slide-img { height: 200px; width: 300px; object-fit: cover; margin: 0 15px; border-radius: 8px; display: inline-block; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- DOWNLOAD SECTION --- */
.download-section { background: #f0f4f8; text-align: center; padding: 60px 20px; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.download-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.dl-btn { background: white; border: 1px solid #ccc; padding: 15px 25px; display: inline-flex; align-items: center; gap: 15px; border-radius: 5px; font-weight: bold; margin: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.dl-btn i { color: #d32f2f; font-size: 1.5rem; }
.dl-btn:hover { border-color: var(--secondary-color); transform: translateY(-2px); }

/* --- MANUFACTURING LIST (Products Page) --- */
.man-section { background: #fff; }
.man-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.man-item { background: #f9f9f9; padding: 12px 15px; border-left: 4px solid var(--primary-color); font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; transition: 0.2s; }
.man-item:hover { background: var(--primary-color); color: white; border-left-color: var(--secondary-color); }
.man-item::before { content: '\f013'; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 10px; font-size: 0.8rem; opacity: 0.5; }

/* --- FOOTER --- */
footer { background: #1a1a1a; color: #ccc; padding: 60px 0 80px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.footer-col h4 { color: white; margin-bottom: 25px; font-size: 1.2rem; border-left: 3px solid var(--secondary-color); padding-left: 10px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--secondary-color); padding-left: 5px; }

/* --- MOBILE BOTTOM BAR --- */
.mobile-bar {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%;
    background: white; box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    justify-content: space-around; padding: 10px 0; z-index: 2000;
    border-top: 3px solid var(--secondary-color);
}
.mob-link { display: flex; flex-direction: column; align-items: center; font-size: 0.75rem; color: var(--text-dark); }
.mob-link i { font-size: 1.2rem; margin-bottom: 4px; color: var(--primary-color); }
.mob-link.active { color: var(--secondary-color); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-bar { display: flex; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2rem; }
}
/* --- NEW MODERN SERVICES SECTION --- */

/* Grid Layout for Modern Services */
.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* The Modern Card Design */
.modern-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Hover Effect: Lift and Glow */
.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(44, 78, 128, 0.15); /* Blueish shadow */
    border-bottom: 4px solid var(--secondary-color);
}

/* Top Gradient Line */
.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

/* Icon Styling */
.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(44, 78, 128, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: 0.3s;
}

.modern-card:hover .card-icon {
    background: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

/* Typography inside Card */
.modern-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.card-subtitle {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* List Styling */
.modern-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1; /* Pushes content to fill height */
}

.modern-card li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.modern-card li::before {
    content: '\f00c'; /* FontAwesome Check Icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--secondary-color);
    font-size: 0.8rem;
}

/* Mobile Responsiveness Fixes */
@media (max-width: 768px) {
    .services-grid-modern {
        grid-template-columns: 1fr; /* Stack items on mobile */
        padding: 0 15px;
    }
    
    .modern-card {
        margin-bottom: 20px;
    }
}

/* --- EXPLORE CATEGORIES / PRODUCT GRID --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    border-top: 4px solid transparent;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-top: 4px solid var(--secondary-color);
}

.product-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-card h3 i {
    color: var(--secondary-color);
    background: rgba(230, 149, 51, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
}

.product-card ul {
    list-style: none;
    padding: 0;
}

.product-card ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
    padding-left: 20px;
    position: relative;
    transition: 0.2s;
}

.product-card ul li::before {
    content: '›';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1rem;
    top: 2px;
}

.product-card ul li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 90px; /* Adjusted to be above the mobile bar */
    right: 20px;
    background-color: #25d366; /* WhatsApp Green */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E; /* Darker Green on hover */
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.5);
}

/* Ensure it doesn't overlap the mobile navigation bar */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 70px; /* Move slightly up on small screens */
        width: 50px;
        height: 50px;
        font-size: 25px;
        right: 15px;
    }
}