/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, #1b2735, #090a0f);
    overflow-x: hidden; /* Prevents horizontal scroll */
}

/* Navbar */

/* Navbar */
/* Navbar */
nav {
    background: #ECECEC; /* Soft Warm Gray (Not Pure White) */
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 70px; /* Fixed navbar height */
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Logo Takes Full Navbar Height */
.nav-logo img {
    height: 100%; /* Full height of navbar */
    max-height: 70px; /* Matches navbar height */
    width: auto; /* Keeps aspect ratio */
}

/* Navbar Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    padding-right: 20px;
    align-items: center; /* Align with the logo */
}

/* Navbar Text */
.nav-links li a {
    color: #444; /* Soft Dark Gray for readability */
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
}

/* Navbar Hover Effect */
.nav-links li a:hover {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}


/* Mobile Navigation */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* Hero Section */
header {
    height: 100vh;
    background: url('../images/bg.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* Pushes content down so navbar doesn’t overlap */
}

header .overlay {
    background: rgba(0, 0, 0, 0.6);
    padding: 50px;
    border-radius: 10px;
}

header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    background: #ff6f00;
    color: white;
    padding: 12px 20px;
    margin-top: 15px;
    text-decoration: none;
    border-radius: 5px;
}

/* Sections */
section {
    padding: 60px 10%;
    background: rgba(255, 255, 255, 0.1); /* Transparent effect */
    border-radius: 10px;
    margin: 40px auto;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Section Headings */
h2 {
    font-size: 28px;
    color: #ffae00;
    margin-bottom: 20px;
}

/* Section Paragraphs */
section p {
    font-size: 16px;
    line-height: 1.6;
}

/* Grid Layout for Services */
.grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.grid-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 8px;
    width: 30%;
    text-align: center;
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: scale(1.05);
}

.grid-item i {
    font-size: 40px;
    color: #ffae00;
}

/* Contact Section */
#contact a {
    color: #ffae00;
    font-weight: bold;
    text-decoration: none;
}

#contact a:hover {
    color: #ffd700;
    text-decoration: underline;
}

/* Footer */
footer {
    background: rgba(34, 34, 34, 0.9);
    color: white;
    padding: 15px;
    margin-top: 40px;
}

/* Fix for Navbar Covering Titles */
section::before {
    content: "";
    display: block;
    height: 80px;
    margin-top: -80px;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        background: rgba(34, 34, 34, 0.9);
        top: 60px;
        width: 100%;
        left: 0;
        padding: 10px 0;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    /* Fix grid layout in mobile */
    .grid-item {
        width: 100%;
    }
}

/* Contact Form Styling */
#contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 20px auto;
}

#contact input, #contact textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}

#contact textarea {
    height: 120px;
    resize: vertical;
}

#contact button {
    background: #ff6f00;
    color: white;
    padding: 12px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#contact button:disabled {
    background: gray;
    cursor: not-allowed;
}

#formMessage {
    font-size: 16px;
    margin-top: 10px;
    color: green;
}

/* Phone Input Styling */
.phone-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-input select {
    width: 160px;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: #fff;
}

.phone-input select option {
    padding: 5px;
}

/* Country Flag Styling */
.phone-input select option {
    padding-left: 20px;
}
