/* public/css/home.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background:#fff !important;
   
    color: #18405a;
}

.page {
    max-width: 95%;
    margin: 0 auto;
    padding: 10px;
    border-radius: 28px;
    background:#fff;
   
}

/* SECTION TITLES */
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: #000;
    margin: 10px 0 25px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 160px;
    height: 4px;
    margin: 10px auto 0;
    border-radius: 4px;
}

/* PRODUCTS GRID SECTION */
.products-grid-section {
    margin-bottom: 30px;margin-top: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.product-card {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.95),
        rgba(255, 255, 255, 0.85)
    );
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(18, 68, 110, 0.12);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px rgba(18, 68, 110, 0.2);
}

.product-link {
    text-decoration: none;
    display: block;
}

.product-image {
    height: 220px;
    overflow: hidden;
    background: #d9eefc;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 18px;
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    color: #173b5c;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-description {
    font-size: 14px;
    color: #5a7892;
    line-height: 1.5;
    margin-bottom: 15px;
}

.view-details {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #ff9800;
    transition: all 0.2s ease;
}

.product-card:hover .view-details {
    color: #ff6b00;
    transform: translateX(5px);
}

.no-products {
    text-align: center;
    padding: 50px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    font-size: 16px;
    color: #5a7892;
}

.no-products strong {
    color: #ff9800;
}

/* ENQUIRY SECTION */
.enquiry-section {
    max-width: 550px;
    margin: 0 auto;
}

.card {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.95),
        rgba(255, 255, 255, 0.85)
    );
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(24, 76, 117, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.enquiry-card {
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(255, 216, 74, 0.22),
            transparent 30%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(94, 201, 255, 0.16),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.95),
            rgba(255, 255, 255, 0.85)
        );
}

.enquiry-card h3 {
    font-size: 24px;
    color: #2a6a98;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

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

.form-control {
    width: 100%;
    height: 46px;
    border-radius: 12px;
    border: 2px solid rgba(94, 162, 206, 0.25);
    padding: 0 15px;
    font-size: 14px;
    font-weight: 500;
    color: #21435d;
    background: rgba(255, 255, 255, 0.9);
    outline: none;
    transition: all 0.25s ease;
}

textarea.form-control {
    height: 100px;
    padding: 12px 15px;
    resize: vertical;
}

.form-control:focus {
    border-color: rgba(18, 137, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(18, 137, 255, 0.08);
}

.btn-quote {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffd83a, #ff9800);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 20px rgba(255, 166, 0, 0.28);
    transition: all 0.25s ease;
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(255, 166, 0, 0.35);
}

.small-note {
    text-align: center;
    font-size: 12px;
    color: #5a7892;
    margin-top: 12px;
    font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    .product-title {
    min-height: 10px !important;
}
    
    .page {
        padding: 10px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-title {
        font-size: 18px;
    }
    
    .enquiry-section {
        padding: 0 5px;
    }
    
    .card {
        padding: 18px;
    }
    
    .enquiry-card h3 {
        font-size: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}