/* ======================= GENERAL RESET ======================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f4f6f8;
    color: #333;
}

/* ======================= HEADER ======================= */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

header .logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #ffc107;
    animation: logo-spin 10s linear infinite;
}

/* Header Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background: #0d6efd;
    color: #fff;
}

/* ======================= HERO ======================= */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #0d6efd, #ffc107);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg,#fff,#ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero .btn {
    padding: 12px 30px;
    font-size: 1rem;
    background: #fff;
    color: #0d6efd;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero .btn:hover {
    background: #ffc107;
    color: #fff;
    transform: scale(1.05);
}

/* ======================= SERVICES ======================= */
.services-preview {
    padding: 80px 20px;
    text-align: center;
}

.services-preview h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: linear-gradient(90deg,#0d6efd,#ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    width: 250px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: #0d6efd;
}

.card i {
    margin-right: 8px;
}

/* ======================= FOOTER ======================= */
.site-footer {
    background: #212529;
    color: #fff;
    padding: 60px 20px 30px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    flex: 1 1 220px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #ffc107;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer-section a:hover {
    color: #0d6efd;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #ffc107;
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
    font-size: 0.9rem;
}

/* ======================= LOGO SPIN ======================= */
@keyframes logo-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ======================= RESPONSIVE ======================= */
@media (max-width: 992px) {
    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 100%;
        right: 0;
        width: 200px;
        display: none;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 15px 0;
    }
}
