* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: #333;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #e5efff;
    border-top: 6px solid #0b5ed7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}

.loader img {
    height: 50px;
    margin-top: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== GENERAL ===== */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* ===== HEADER ===== */
.header {
    background: #0b5ed7;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 45px;
}

nav a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
}

/* ===== HERO ===== */
.hero {
    height: 100vh;
    background: linear-gradient(to right, #0b5ed7, #3b82f6);
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    animation: fadeUp 1.2s ease;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.btn {
    background: #fff;
    color: #0b5ed7;
    padding: 12px 30px;
    display: inline-block;
    margin-top: 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
}

.bg-light {
    background: #f4f8ff;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #0b5ed7;
}

.center {
    text-align: center;
    max-width: 700px;
    margin: auto;
}

/* ===== GRIDS ===== */
.features, .services, .portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature, .service-card, .portfolio-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform .3s, opacity .6s;
    opacity: 0;
    transform: translateY(40px);
}

.feature:hover,
.service-card:hover,
.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* ===== FOOTER ===== */
.footer {
    background: #0b5ed7;
    color: #fff;
    text-align: center;
    padding: 15px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}