/* ================================
   Powerix Controls - MAIN STYLES
================================ */

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ================================
   HEADER
================================ */

header {
    background: #0f1b2d;
    padding: 15px 0;
}

header .logo a {
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #1e90ff;
}

/* ================================
   HERO SECTION
================================ */

.hero {
    background: linear-gradient(rgba(15,27,45,0.85), rgba(15,27,45,0.85)),
                url('../images/hero.jpg') no-repeat center center/cover;
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 34px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto 25px auto;
}

/* ================================
   BUTTONS
================================ */

.btn-primary {
    display: inline-block;
    background: #1e90ff;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #0c6ad4;
}

.btn-secondary {
    display: inline-block;
    background: #0f1b2d;
    color: #ffffff;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #1e90ff;
}

/* ================================
   SECTIONS
================================ */

section {
    padding: 60px 0;
}

section h2 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #0f1b2d;
}

section p {
    margin-bottom: 15px;
}

/* ================================
   PRODUCT GRID
================================ */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.product-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card h3 {
    margin-bottom: 15px;
    color: #1e90ff;
}

.product-card ul {
    margin-left: 18px;
}

.product-card ul li {
    margin-bottom: 8px;
    font-size: 14px;
}

/* ================================
   LIST STYLING
================================ */

.why-choose ul,
.industries ul {
    list-style: disc;
    margin-left: 20px;
}

.why-choose ul li,
.industries ul li {
    margin-bottom: 8px;
    font-size: 14px;
}



/* CONTACT FORM STYLING */

form {
    max-width: 700px;
    margin-top: 30px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #1e90ff;
    outline: none;
}


/* ================================
   FOOTER - 3 COLUMN LAYOUT
================================ */

.main-footer {
    background: #0f1b2d;
    color: #ffffff;
    padding: 60px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 15px;
    color: #1e90ff;
}

.footer-col p {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding-left: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #1e90ff;
}

.footer-subheading {
    margin-top: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 13px;
}



/* ================================
   RESPONSIVE
================================ */

@media (max-width: 768px) {

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 10px;
    }

    .hero h1 {
        font-size: 24px;
    }

    section h2 {
        font-size: 22px;
    }

    .product-card {
        padding: 20px;
    }
}


/* ================================
   RESPONSIVE FOOTER
================================ */

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}