/* SWAS AUTOMATION - SHARED STYLES */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* HEADER */
header {
    background-color: #fff;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    max-width: 200px;
    height: auto;
}

.header-contact {
    text-align: right;
}

.header-contact p {
    margin: 3px 0;
    font-size: 13px;
}

.phone-number {
    font-size: 18px;
    font-weight: 700;
    color: #d32f2f;
    margin-top: 5px;
}

/* NAVIGATION */
.topnav {
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.topnav a {
    color: #fff;
    padding: 15px 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.topnav a:hover {
    background-color: #d32f2f;
}

.topnav a.active {
    background-color: #d32f2f;
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: #fff;
    padding: 50px 5%;
    text-align: center;
}

.hero-section h1 {
    font-size: 38px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-section .subtitle {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ffd700;
}

.hero-section p {
    font-size: 17px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

/* BUTTONS */
.cta-button {
    display: inline-block;
    padding: 16px 35px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    margin: 10px;
}

.cta-button.primary {
    background-color: #d32f2f;
    color: #fff;
}

.cta-button.primary:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cta-button.secondary:hover {
    background-color: #fff;
    color: #1a1a1a;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 5%;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #1a1a1a;
}

/* FOOTER */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 5%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: #ffd700;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 13px;
    color: #999;
}

/* MOBILE RESPONSIVE */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px 5%;
        gap: 10px;
    }

    .logo {
        max-width: 180px;
    }

    .header-contact {
        text-align: center;
    }

    .header-contact p {
        font-size: 12px;
    }

    .phone-number {
        font-size: 16px;
    }

    .topnav {
        flex-direction: column;
    }

    .topnav a {
        padding: 12px 20px;
        font-size: 15px;
        border-bottom: 1px solid #333;
    }

    .hero-section {
        padding: 40px 5%;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .hero-section .subtitle {
        font-size: 18px;
    }

    .hero-section p {
        font-size: 15px;
    }

    .cta-button {
        width: 100%;
        padding: 14px 28px;
        font-size: 15px;
    }

    .section-title {
        font-size: 26px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media screen and (max-width: 480px) {
    .hero-section h1 {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }
}
