/* --- Global Reset & Variables --- */
:root {
    --primary-color: #0a2351; /* Deep Navy */
    --secondary-color: #f39c12; /* Gold/Amber */
    --text-color: #333;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

/* --- Typography & Buttons --- */
h1, h2, h3 {
    margin-bottom: 20px;
}

span {
    color: var(--secondary-color);
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 20px auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #e67e22;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* --- Navigation --- */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    width: 100%;
}

.logo {
    flex-shrink: 0; /* Prevents the logo from shrinking */
    text-decoration: none;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    padding: 10px 12px; /* Slightly reduced padding to save space */
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color);
}

.get-quote-btn {
    white-space: nowrap; /* Prevents the button text from wrapping */
    margin-left: 10px;
    padding: 10px 24px; /* Slightly adjusted padding for the header */
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 35, 81, 0.75);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* --- About Section --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-features {
    list-style: none;
    margin-top: 20px;
}

.about-features li {
    margin-bottom: 10px;
    font-weight: 600;
}

.about-features i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-detail-intro {
    max-width: 680px;
    margin-bottom: 28px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 36px;
    align-items: stretch;
}

.product-detail-image {
    display: flex;
}

.product-detail-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    object-fit: cover;
    height: 100%;
    max-height: none;
}

.product-detail-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.product-detail-content h3 {
    margin-bottom: 0;
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.05;
    text-align: left;
}

.product-detail-content p {
    width: 100%;
    font-size: 1.03rem;
    color: #4a4a4a;
    max-width: none;
}

.product-detail-specs {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid rgba(10, 35, 81, 0.08);
    box-shadow: 0 18px 30px rgba(10, 35, 81, 0.05);
}

.product-detail-specs h4 {
    margin: 0 0 22px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.product-detail-specs table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
    table-layout: auto;
}

.product-detail-specs th,
.product-detail-specs td {
    padding: 16px 18px;
    border: 1px solid rgba(10, 35, 81, 0.08);
    vertical-align: top;
    word-break: break-word;
}

.product-detail-specs th {
    width: 38%;
    background: rgba(10, 35, 81, 0.95);
    color: #fff;
    text-align: left;
}

.product-detail-specs td {
    background: #fff;
}

.product-detail-specs tr:nth-child(even) td {
    background: #f4f7fb;
}

.detail-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.detail-buttons .btn {
    min-width: 170px;
    padding: 14px 24px;
}

.product-detail-section .btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.product-detail-section .btn-secondary:hover {
    background: rgba(10, 35, 81, 0.08);
    color: var(--primary-color);
}

@media (max-width: 1100px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-image img {
        max-height: 460px;
    }
}

@media (max-width: 680px) {
    .product-detail-specs {
        padding: 20px;
    }

    .product-detail-specs th,
    .product-detail-specs td {
        padding: 14px 12px;
    }
}

/* --- Product Slider --- */
.product-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-slider-container {
    overflow: hidden;
    flex: 1;
}

.product-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

.product-card {
    flex: 0 0 calc(25% - 22.5px);
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.btn-product {
    margin-top: auto;
    padding: 10px 20px;
    font-size: 14px;
    align-self: flex-start;
}

/* Slider Buttons */
.slider-btn {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.slider-btn:hover {
    background: #e67e22;
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

.slider-btn i {
    pointer-events: none;
}

/* --- Certificates Grid --- */
.certificate-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.certificate-card {
    background: var(--white);
    text-align: center;
    padding: 30px 20px;
    border: 2px solid #333;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.certificate-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
}

.certificate-card h3 {
    margin-bottom: 0;
    padding: 0 15px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

/* --- Contact Section --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-top: 5px;
}

.contact-form form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form .form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.submit-btn {
    width: 100%;
    font-size: 16px;
}

/* --- Footer --- */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h2 {
    margin-bottom: 15px;
}

.footer-links h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    line-height: 2;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: var(--white);
    margin-right: 15px;
    font-size: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: #ccc;
}

/* --- Mobile Responsive --- */
@media (min-width: 993px) and (max-width: 1199px) {
    .product-slider .product-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 992px) {
    .about-content { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.8rem; }

    .product-slider .product-card {
        flex: 0 0 calc(50% - 15px);
    }

    .certificate-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { 
        display: block; 
    }
    
    .nav-menu {
        position: absolute;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
        transition: var(--transition);
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active { 
        left: 0; 
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 10px;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 10px 0;
    }

    .get-quote-btn {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .hero-title { 
        font-size: 2.2rem; 
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .contact-form .form-group { 
        flex-direction: column; 
    }

    .product-slider .product-card {
        flex: 0 0 100%;
    }
    
    .product-slider-wrapper {
        gap: 10px;
    }

    .certificate-grid {
        grid-template-columns: 1fr;
    }
}