@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #004c8a;    /* InelSolar Blue */
    --secondary-color: #2c3e50;  
    --white: #ffffff;
    --text-muted: #777777;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; background-color: var(--white); color: #333; overflow-x: hidden; }
h4{ margin-bottom: 0px;}
h5{ color: white; font-weight: normal; font-size:14px; margin-bottom: 10px;}
/* --- NAVIGATION --- */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 8%; background: var(--white);
    position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.logo img { height: 60px; width: auto; }
.nav-list { display: flex; list-style: none; align-items: center; }
.nav-list li { margin-left: 25px; }
.nav-list li a { text-decoration: none; color: var(--secondary-color); font-weight: 500; font-size: 15px; }

.menu-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 25px; height: 3px; background: var(--primary-color); }

/* --- HERO SLIDER (Index) --- */
.hero-slider { width: 100%;/* height: 80vh; background: #000; */}
.hero-slide { position: relative; height: 80vh; outline: none; }
.hero-slide img { width: 100%; height: 80vh; object-fit: cover; opacity: 0.7; }
/*.hero-slide img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }*/
.hero-overlay {
    position: absolute; top: 50%; left: 10%; transform: translateY(-50%);
    color: white; z-index: 10; max-width: 600px;
}
.hero-overlay h2 { font-size: 3.5rem; margin-bottom: 10px; font-weight: 700; }

/* --- PRODUCT GRID (Products Page) --- */
.container { padding: 60px 8%; max-width: 1400px; margin: 0 auto; }
.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    grid-template-rows: repeat(3);   
    gap: 30px;
}
.product-grid-box {
    position: relative; border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow-soft); background: #000;
}
.category-label {
    position: absolute; top: 20px; left: 20px; z-index: 20;
    background: var(--primary-color); color: white;
    padding: 5px 15px; border-radius: 50px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
}
.mini-fade-slider, .mini-slide { height: 100%; width: 100%; }
.mini-slide img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: transform 5s ease; }
.slick-active .mini-slide img { transform: scale(1.1); }

.mini-overlay {
    position: absolute; bottom: 30px; left: 30px; right: 30px; z-index: 20; text-align: left;
}
.mini-overlay h4 { 
    font-size: 1.1rem; font-weight: 400; color: white; 
    margin-bottom: 0px; text-shadow: 2px 2px 4px rgba(0,0,0,0.6); 
}
.external-btn {
    display: inline-block; padding: 10px 25px; background: var(--white);
    color: var(--secondary-color); text-decoration: none; border-radius: 50px;
    font-size: 0.8rem; font-weight: 600; transition: var(--transition);
}

/* --- CONTACT FORM (Old Style + Responsive) --- */
.contact-wrapper { display: flex; flex-wrap: wrap; gap: 40px; }
.contact-form-box { flex: 1; min-width: 300px; background: var(--white); padding: 40px; border-radius: 20px; box-shadow: var(--shadow-soft); border: 1px solid #f0f0f0; }
.contact-info { flex: 0.8; min-width: 300px; }

.form-row { display: flex; gap: 20px; margin-bottom: 10px; }
.form-group { flex: 1; display: flex; flex-direction: column; margin-bottom: 20px; }
.form-group label { font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--secondary-color); }
.form-group input, .form-group textarea { padding: 14px; border: 1px solid #e0e0e0; border-radius: 8px; font-family: inherit; font-size: 0.95rem; background: #fdfdfd; }

.captcha-box { background: #f4fbf7; padding: 20px; border-radius: 10px; border: 1px dashed var(--primary-color); margin-bottom: 25px; }
.btn-send { background: var(--primary-color); color: var(--white); padding: 16px; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; width: 100%; transition: var(--transition); }

#map { height: 400px; width: 100%; border-radius: 20px; margin-bottom: 30px; box-shadow: var(--shadow-soft); }
.info-details p { margin-bottom: 15px; display: flex; align-items: center; color: var(--text-muted); }
.info-details strong { color: var(--secondary-color); margin-right: 10px; min-width: 80px; }

/* --- ALERTS --- */
.alert { padding: 15px; border-radius: 8px; margin-bottom: 25px; font-weight: 500; text-align: center; }
.alert.success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.alert.error { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }

/* --- FOOTER --- */
footer { background: var(--bg-light); padding: 20px; text-align: center; border-top: 1px solid #eee; }

/* --- RESPONSIVE (Bootstrap-like logic) --- */
@media (max-width: 992px) {
    .featured-products-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .product-grid-box { /*height: 350px;*/ }
    .contact-wrapper { flex-direction: column; }
    .hero-overlay h2 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .nav-list {
        display: none; position: absolute; top: 80px; left: 0; width: 100%; 
        background: white; flex-direction: column; padding: 20px; 
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    .nav-list.active { display: flex; }
    .menu-toggle { display: flex; }
    .form-row { flex-direction: column; gap: 0; }
    .hero-slide { height: 60vh; }
}