* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-flex;
    /* Changed to inline-flex for better alignment control */
    align-items: center;
    /* Align items vertically in the center */
    width: 100%;
    /* Ensure it takes up the full width of its container */
    height: 40px;
    /* Match the height to the input field */
    box-sizing: border-box;
    /* Include padding and border in the element's total width and height */
}

.search-input {
    width: 100%;
    padding: 10px;
    /* Ensure padding is consistent */
    box-sizing: border-box;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 100%;
    /* Match the height of the input to its container */
    margin: 0;
    /* Ensure no extra margin */
    box-sizing: border-box;
    /* Ensure padding is included in the height */
}

/* Adjust phone container to ensure dropdown aligns with the input */
.phone-container {
    display: flex;
    align-items: center;
    /* Align items vertically in the center */
    width: 100%;
    /* Ensure it fills the container */
    max-width: 600px;
    /* Optional: Limit the maximum width */
    margin: 0 auto;
    /* Center the container */
}

.phone-container .dropdown {
    flex: 2;
    margin: 0;
    /* Ensure no extra margin */
    position: relative;
    /* Ensure dropdown aligns properly */
}

.phone-container input[type="tel"] {
    flex: 3;
    margin-left: 0;
    /* Remove left margin to align properly */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    /* Make sure it stretches fully */
    box-sizing: border-box;
    /* Ensure padding is included in the height */
    height: 40px;
    /* Ensure height matches the dropdown */
    margin: 0;
    /* Ensure no extra margin */
}

/* Dropdown styling */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 100%;
    /* Adjust width to match the dropdown container */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    max-height: 200px;
    overflow-y: auto;
    border-radius: 4px;
    top: 100%;
    /* Ensure dropdown appears below the input */
    left: 0;
}

.dropdown.open .dropdown-content {
    display: block;
}

.dropdown-content div {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown-content div:hover {
    background-color: #f1f1f1;
}

.dropdown img {
    width: 20px;
    height: 15px;
    margin-right: 10px;
    vertical-align: middle;
}








/* Center dropdown on wider screens */
@media (min-width: 769px) {
    .dropdown {
        max-width: 600px;
        /* Adjust width to fit your layout */
        margin: 0 auto;
        /* Center the dropdown */
    }
}

.dropdown-content div {
    transition: background-color 0.3s ease;
}

/* Header */
header {
    background: #1a1a1a;
    /* Dark background color for the header */
    color: #fff;
    padding: 10px 0;
    /* Reduced padding for a smaller header */
    position: relative;
    /* Ensure proper stacking context */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    /* Reduced padding */
}

header h1 {
    margin: 0;
    font-size: 1.5em;
    /* Adjust the font size if needed */
}

.logo {
    width: 20%;
    /* Adjust width for the logo */
    height: auto;
    background: transparent;
    /* Ensure the background is fully transparent */
    border: none;
    /* Remove any borders */
    box-shadow: none;
    /* Remove any shadow effects */
    z-index: 1;
    /* Make sure it's above other elements */
    display: block;
    /* Ensure proper block display */
    opacity: 1;
    /* Ensures full visibility */
    margin: 0 auto;
    text-align: center;
    position: relative;
    /* Ensure logo is positioned correctly within the header */
}

/* Adjust navigation items if needed */
nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 15px;
    /* Reduced margin */
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f5a623;
}

/* Section styles */
section {
    padding: 60px 20px;
    text-align: center;
    flex-grow: 1;
}

.hero {
    background: linear-gradient(135deg, #00b4db, #0083b0);
    color: #fff;
    padding: 100px 20px;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Buttons */
.btn-primary {
    background: #f5a623;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
    text-decoration: none;
}

.btn-primary:hover {
    background: #e59f1e;
}

/* Services */
.service {
    margin: 20px 0;
}

.service h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

/* Forms */
form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

form input,
form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

form button {
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1em;
    font-weight: bold;
    transition: background 0.3s;
}

form button:hover {
    background: #333;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero h2 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }
}


.service-section {
    background-color: #fff;
    /* White background for the section */
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-section h2 {
    color: #000;
    /* Black */
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: bold;
    animation: fadeIn 1s ease-out;
}

.service-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 auto;
    max-width: 1200px;
}

.service-card {
    background-color: #fff;
    /* White */
    border: 1px solid #ddd;
    /* Light gray border */
    border-radius: 12px;
    padding: 30px;
    width: 300px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
    animation: slideUp 0.6s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Aligns items evenly */
}

.service-card:hover {
    transform: scale(1.05);
    /* Slightly enlarge the card */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    /* Darker shadow on hover */
    background-color: #f9f9f9;
    /* Light gray background on hover */
}

.service-card h3 {
    color: #222;
    /* Darker gray */
    margin-top: 0;
    font-size: 1.2em;
    font-weight: bold;
    animation: fadeIn 1s ease-out;
    line-height: 1.5;
    /* Adjust line height */
    max-height: 60px;
    /* Set a max height for consistent title size */
    overflow: hidden;
    /* Hide overflow if title is too long */
}

.service-card p {
    color: #555;
    /* Medium gray */
    font-size: 1em;
    margin: 10px 0;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
    text-align: justify;
    /* Justify text */
    line-height: 1.5;
    /* Adjust line height for better readability */
    min-height: 50px;
    /* Set a minimum height to align text */

}

.service-card a {
    color: #000;
    /* Black */
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    border: 2px solid #000;
    border-radius: 25px;
    background-color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.service-card a:hover {
    background-color: #000;
    /* Black background */
    color: #fff;
    /* White text */
    text-decoration: none;
    transform: scale(1.1);
    /* Slightly enlarge the button */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}