
/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    text-decoration: none;
}

html, body {
   width: 100%;
    height: 100%;
    overflow-x: hidden; /* This is the key property */
}

body {
    background-color: #f8f9fa;
    color: #333;
   /* height: 100%;*/
}

/* Header & Navigation */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: #0d1b2a;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar a {
    color: white;
    margin: 0 15px;
    font-size: 16px;
    transition: color 0.3s;
}

.navbar a:hover, .navbar a.active {
    color: #f4a261;
}

.menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.hero {
    background: linear-gradient(rgba(13, 27, 42, 0.7), rgba(13, 27, 42, 0.7)), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 20px;
}

.hero-text h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn {
    background-color: #f4a261;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}


.btn:hover {
    background-color: #e76f51;
}


.home-services {
    padding: 60px 5%;
    text-align: center;
}

.home-services h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.service-preview-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.preview-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    width: 300px;
}

.preview-card h3 {
    margin-bottom: 10px;
    color: #0d1b2a;
}

@media (max-width: 768px) {
    .hero-text h2 {
        font-size: 32px;
    }
}
img {
    width: 85.5px;
    padding: 0;
}

/* Footer */
.footer {
    background-color: #0d1b2a;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    
}

/* Responsive Design (for mobile) */
@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        right: -100%; /* Start off-screen */
        width: 100%;
        background-color: #1c2e42;
        flex-direction: column;
        text-align: center;
        transition: right 0.3s ease-in-out;
    }

    .navbar.active {
        right: 0; /* Slide in */
    }

    .navbar a {
        display: block;
        margin: 20px 0;
    }

    .hero-text h2 {
        font-size: 32px;
    }
}
