/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
} 

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* Header & Navigation */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    min-width: 180px;
    background-color: #1a252f;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 4px;
    z-index: 1000;
}

.dropdown-menu li a {
    color: #fff;
    padding: 10px 18px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.dropdown-menu li a:hover {
    background-color: #4d4c4c;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

header {
    background: #1a252f;
    color: #fff;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header {
    background: #1a252f;
    color: #fff;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 40px;
    background: #fff;
}

nav a {
    margin-left: 30px;
    text-decoration: none;
    font-size: 17px;
    color: #333;
}


nav a {
    margin-left: 30px;
    text-decoration: none;
    font-size: 17px;
    color: #333;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #f39c12;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?w=1200') center/cover no-repeat;
    height: 400px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
}

/* Container & Grid Layout */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* Cards (Products & Services) */
.card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-body h3 {
    color: #1a252f;
    margin-bottom: 10px;
}

.card-body p {
    color: #666;
    font-size: 0.95rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #f39c12;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #d35400;
}

/* Contact Form */
.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}


.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: #f39c12;
}

/* Footer */
footer {
    background: #1a252f;
    color: #fff;
    text-align: center;
    padding: 25px 20px;
    margin-top: 50px;
}

footer p {
    margin: 5px 0;
    color: #ccc;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
    }
    
    nav a {
        margin: 0 10px;
    }

    .hero h1 {
        font-size: 2rem;
    }
}