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

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
}

footer {
    background: #003366;
    color: white;
    padding: 20px 0;
    margin-top: 20px;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    padding: 10px 0;
}

/* Navbar Styling */
nav {
    background: #00509e;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

nav .logo {
    width: 200px;
    margin: 20px auto;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
}

nav ul li a:hover {
    text-decoration: underline;
}

header {
    background: linear-gradient(to right, #003366, #00509e);
    color: white;
    padding: 15px 0;
    margin-top: 168px;
}

/* Handwriting style tagline */
header .tagline-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

header p.tagline {
    font-family: 'Pacifico', cursive;
    font-size: 2.5rem;
    text-align: center;
    color: #ffffff;
    margin: 15px;
}

/* Sections */
section {
    /*border-radius: 10px;*/
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
    /*background: white;*/
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    margin: 20px 0;
    position: relative;
}
section ul {
    list-style: none;
    padding-left: 20px;
    text-align: left;
}

#about { background-image: url('images/bg1.jpg'); }
#services { background-image: url('images/bg2.jpg'); }
#why-choose { background-image: url('images/bg3.jpg'); }
#contact { background-image: url('images/bg4.jpg'); }

/* Semi-transparent text box */
.text-box {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 25px;
    padding: 30px;
    max-width: 800px;
    margin: auto;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* Left-align bullet points under "Services" and add icons */
#services ul li {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    line-height: 1.4;
}

#services ul li span{
    width: 24px;
    display: inline-block;
}

#services ul li span i {
    color: #00509e;  /* Ensures a consistent color */
    vertical-align: text-top; /* Aligns icons properly */
}


/* Left-align bullet points under "Why Choose Us" and add icons */
#why-choose ul {
    list-style: none; /* Removes default bullets */
    padding-left: 20px;
    text-align: left;
}

#why-choose ul li {
    display: flex;
    align-items: center; /* Align icon and text properly */
    gap: 10px;
    margin-bottom: 10px; /* Space between list items */
    line-height: 1.4;
}

#why-choose ul li i {
    font-size: 1rem; /* Smaller icons for better balance */
    color: #00509e; /* Ensures icon color is consistent */
    margin-top: 2px; /* Slight adjustment to align vertically */
    text-align: center;
}

/* Adjusting the checkmark icon
    #why-choose ul li::before {
        content: "✔";
        font-size: 1.2rem;
        color: #00509e;
        font-weight: bold;
        display: inline-block;
        width: 20px;
    }
*/

/* Ensure bold headings align properly */
#why-choose ul li strong {
    display: inline-block;
    min-width: 200px; /* Adjust as needed */
}

/* Fix text wrapping and spacing */
#why-choose ul li span {
    flex-grow: 1;
}

@media (max-width: 768px) {
    section ul {
        padding-left: 0px;
    }

    #why-choose ul li {
        flex-direction: row; /* Ensures icon and text stay in a line */
        align-items: flex-start;
    }

    #why-choose ul li strong {
        display: inline-block;
        min-width: 100px; /* Adjust as needed */
    }

    #why-choose ul li span {
        flex-grow: 1; /* Allows descriptions to take proper space */
    }

    nav .logo {
        width: 150px;
        margin: 10px auto;
    }

    header p.tagline {
        font-size: 2rem;
        line-height: 2.2rem;
    }

    .text-box {
        margin: 20px auto;
        padding: 15px;
    }
}
