/* SUZER'S NEXUS PROFESSIONAL WEBSITE */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    background: #f5f7fa;
    color: #172033;
}

/* HEADER */

.header {
    background: #071a35;
    color: white;
    padding: 22px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 25px;
    font-weight: bold;
}

.logo span {
    color: #d4af37;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 12px;
    font-weight: bold;
}

/* HOMEPAGE */

.hero {
    min-height: 650px;
    padding: 90px 7%;
    display: flex;
    align-items: center;
    color: white;

    background:
    linear-gradient(rgba(4,20,45,.85), rgba(4,20,45,.85)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72")
    center/cover no-repeat;
}

.hero-content {
    max-width: 850px;
}

.hero h4 {
    color: #d4af37;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.3;
    margin-bottom: 25px;
}

.hero p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* STATISTICS */

.statistics {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.stat-box {
    padding: 22px;
    background: rgba(255,255,255,.12);
    border: 1px solid #d4af37;
    border-radius: 10px;
    min-width: 160px;
}

.stat-box h2 {
    color: #d4af37;
    font-size: 32px;
}

/* BUTTONS */

button {
    background: #d4af37;
    color: #071a35;
    padding: 16px 28px;
    border: none;
    border-radius: 7px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: white;
}

/* GENERAL SECTIONS */

.about,
.services,
.contact {
    padding: 80px 7%;
    text-align: center;
}

section h2 {
    font-size: 30px;
    margin-bottom: 30px;
    color: #071a35;
}

/* SERVICE CARDS */

.cards {
    display: grid;
    grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.card {
    background: white;
    padding: 35px 20px;
    border-radius: 12px;
    border-bottom: 4px solid #d4af37;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    transition: .3s;
}

.card:hover {
    transform: translateY(-8px);
    background: #071a35;
    color: white;
}

/* CONTACT */

.contact {
    background: #071a35;
    color: white;
}

.contact h2 {
    color: #d4af37;
}

.contact p {
    margin: 15px;
}

/* FOOTER */

footer {
    background: #041225;
    color: white;
    padding: 25px;
    text-align: center;
}

/* MOBILE DESIGN */

@media(max-width:768px) {

    .header {
        flex-direction: column;
        gap: 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .statistics {
        flex-direction: column;
    }

}/* MOBILE RESPONSIVE DESIGN */

@media screen and (max-width: 768px) {

    header {
        padding: 15px;
    }

    nav {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        padding: 50px 15px;
        text-align: center;
    }

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

    .hero p {
        font-size: 16px;
    }

    .services {
        padding: 30px 15px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .card {
        width: 100%;
    }

    .contact {
        padding: 30px 15px;
    }

    footer {
        font-size: 13px;
    }
}background: linear-gradient(-45deg, #071b3a, #00b4d8, #6a11cb, #e6b83f, #00c853);
background-size: 400% 400%;
animation: gradientBG 8s ease infinite;

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}