@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    transition: background 0.5s, color 0.5s;
}

.dark body {
    background: #111827;
    color: #e5e7eb;
}
header {
    background: #1d4ed8;
    padding: 1rem 0;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav a {
    color: white;
    margin-left: 1rem;
    text-decoration: none;
    font-weight: bold;
}
.toggle-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    margin-left: 1rem;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
}
.logo {
    width: 120px;
}
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.background-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}
.section {
    padding: 4rem 1rem;
}
.bg-light {
    background: #f1f5f9;
}
.dark .bg-light {
    background: #1f2937;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.service {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}
.dark .service {
    background: #374151;
}
footer {
    background: #1d4ed8;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
}
#loader {
    background: #1d4ed8;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0; left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    transition: opacity 0.5s, visibility 0.5s;
}
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease forwards;
}
.fade-in.delay-1 {
    animation-delay: 0.5s;
}
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
