@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css');

body {
    font-family: Arial, sans-serif;
    background-color: #e9e9e9;
    color: #333;
    margin: 0;
    padding: 0; /* Remove padding to make the body take full width */
    width: 90%; /* Ensure the body takes 90% of the viewport width */
    margin: 0 auto; /* Center the body */
}

.header {
    background-image: url('../images/header.jpg'); /* Replace with the chosen image */
    background-size: cover;
    background-position: center;
    position: relative;
    height: 200px; /* Adjusted to be shorter */
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
    flex-wrap: wrap; /* Allows wrapping of flex items */
    z-index: 999;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Prevent shrinking of logo container */
}

.logo {
    max-width: 100px;
    height: auto;
    margin-right: 20px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text .line1 {
    font-size: 1.5em;
    font-weight: bold;
}

.logo-text .line2 {
    font-size: 1.2em;
}

.cert-logos {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.cert-logos img {
    max-width: 60px;
    margin-left: 10px;
}

.navbar {
    display: flex;
    justify-content: center;
    flex: 1;
    gap: 15px;
    margin-left: -180px;
    flex-wrap: wrap; /* Allows wrapping of nav items */
}
.navbar a {
    text-decoration: none;
    color: white;
    padding: 8px 16px;
    transition: background-color 0.3s;
    font-size: 1.2em;
}

.navbar a:hover {
    background-color: #555;
}

.linkedin-button {
    display: none;
}

/* Show the LinkedIn button in mobile menu */
@media screen and (max-width: 768px) {
    .linkedin-button {
        display: block;
        padding: 15px;
        text-decoration: none;
        color: white;
        border-top: 1px solid #444;
    }
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Add space between buttons */
}



.call-button,
.email-button,
.call-button-mobile {
    background-color: #007BFF;
    border: none;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1.2em;
    text-decoration: none;
    display: inline-block;
    width: 200px; /* Fixed width for both buttons */
    text-align: center; /* Center text within buttons */
}

.call-button-mobile{
    display: none;
}

.email-button {
    background-color: #28a745; /* Green background for email button */
}

.call-button:hover,
.email-button:hover {
    background-color: #0056b3;
}

.email-button:hover {
    background-color: #218838;
}


.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-top: 10px;
}

.burger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
}

.mobile-menu a {
    padding: 15px;
    text-decoration: none;
    color: white;
    border-top: 1px solid #444;
}


/* Responsive styles for medium screens */
@media screen and (max-width: 1400px) {

    .call-button, .email-button {
        width: 250px; /* Adjust width for smaller screens */
    }

    .header{
        height: 350px;
    }
    .header-content {
        flex-direction: column;
        align-items: center;
    }

    .header-right {
        flex-direction: row;
        margin-top: 10px;
    }

    .navbar {
        flex-direction: row;
        justify-content: center;
        margin: 10px 0; /* Adjust margin for spacing */
    }

    .call-button,
    .email-button {
        margin: 0 5px; /* Adjust margin for spacing between buttons */
    }
}

@media screen and (max-width: 768px) {
    .body{
        width: 100%;
    }

    .call-button-mobile {
        display: block;
    }

    .call-button{
        display: none;
    }

    .call-button-mobile, .email-button {
        font-size: 1em; /* Adjust font size for smaller screens */
        width: 200px; /* Adjust width for smaller screens */
        margin: 0px 5px;
    }

    .cert-logos img {
        max-width: 45px;
        margin-left: 5px;
    }

    .header {
        height: 280px; /* Adjusted to be shorter */
    }
    .header-content {
        flex-direction: column;
        align-items: center;
    }

    .header .social-icons {
        margin-left: 0px;
    }

    .header .burger-menu {
        margin-top: 20px;
    }

    .logo {
        max-width: 80px;
    }

    .navbar {
        display: none; /* Hide navbar in mobile view */
    }

    .burger-menu {
        display: flex;
    }

    .header-right {
        flex-direction: column;
        margin-top: 10px;
    }

    .social-icons {
        margin-top: 5px;
        gap: 10px;
    }

    .mobile-menu.active {
        display: flex;
    }
}

/* General Styling for Sections */
section {
    padding: 60px 10px; /* Adjusted to match the body padding */
}

.w3-center {
    text-align: center;
}

.w3-padding-64 {
    padding-top: 64px;
    padding-bottom: 64px;
}

.w3-light-grey {
    background-color: #f1f1f1;
}

.w3-container {
    max-width: 100%;
    margin: 0 auto;
}

.w3-fifth {
    width: 20%;
    padding: 0 10px; /* Adjust padding for spacing */
    box-sizing: border-box;
}

.separator {
    height: 10px;
    background-color: #2a3d66;
    margin: 40px 0;
}

/* Dictionary styling*/
.dictionary-definition {
    font-family: 'Times New Roman', Times, serif;
    background-size: cover;
    background-position: center;
    padding: 20px;
    width: 80%; /* Adjust width as needed */
    margin: 0 auto; /* Center the div */
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    margin-bottom: 25px;
}

.dictionary-definition h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    text-align: left;
}

.dictionary-definition .term {
    font-weight: bold;
    text-transform: none;
}

.dictionary-definition .bullet {
    font-weight: bold;
    margin: 0 5px;
}

.dictionary-definition .noun {
    font-weight: bold;
    font-style: italic;
}

.dictionary-definition ol {
    list-style-type: none;
    padding-left: 20px;
    font-size: 1.2em;
}

.dictionary-definition ol li {
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
    .dictionary-definition {
        width: 100%; /* Adjust width to full width on small screens */
    }
}

/* Service Cards Styling */
.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}


.service-card h3 {
    margin-top: 0;
}

.service-card .w3-container {
    flex: 1;
}

@media screen and (max-width: 1200px) {
    .w3-fifth {
        width: 33.33%; /* Adjust to 3 columns on medium screens */
    }
}

@media screen and (max-width: 768px) {
    .w3-fifth {
        width: 100%; /* Adjust to 2 columns on small screens */
    }
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.w3-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#services .w3-card h3, #services .w3-card p {
    margin: 0;
    padding: 16px;
}

@media screen and (max-width: 768px) {
    #services .w3-card h3, #services .w3-card p{
        padding: 4px;
    }
}

/* Testimonials Styling */
#testimonials .w3-card {
    background-color: white;
    padding: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Contact Form Styling */
#contact form .w3-input {
    margin-bottom: 20px;
}

#contact form .w3-button {
    width: 100%;
    padding: 12px;
}

/* Colors */
.w3-dark-blue {
    background-color: #2a3d66 !important;
    color: white !important;
}

.w3-button {
    background-color: #007BFF;
    color: white;
    transition: background-color 0.3s;
}

.w3-button:hover {
    background-color: #0056b3;
}

.footer {
    padding: 32px;
    background-color: #2a3d66;
    color: white;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer h3 {
    margin-top: 0;
}

.footer .footer-link {
    color: white;
    text-decoration: none;
}

.footer .footer-link:hover {
    text-decoration: underline;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

/* About Section Styling */
.about-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the content */
    gap: 20px;
    max-width: 80%; /* Limit the width of the entire section */
    margin: 0 auto; /* Center the section */
}

.about-img-container {
    display: flex;
    justify-content: center;
}

.about-img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 500px; /* Larger max height for the about page */
    border-radius: 15px;
}

.about-img-index {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 400px; /* Smaller max height for the index page */
    border-radius: 15px;
}

.about-text {
    flex: 1;
    max-width: 600px; /* Limit the width of the text box */
}

.about-text .cert-logos {
    display: flex;
    gap: 10px;
    justify-content: center; /* Center the logos */
    margin: 20px 0; /* Increase margin for formatting */
}

.about-text .contact-button {
    display: block;
    margin: 0 auto; /* Center the button */
}
/*  Contact Page Styling  */

.contact-page {
    max-width: 70%;
    margin: 0 auto;
}

.contact-options {
    display: flex;
    flex-wrap: row;
    justify-content: center;
    gap: 20px;
}

.contact-card {
    background-color: #2a3d66;
    color: white;
    width: 100%;
    max-width: 350px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 32px;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-link {
    color: white;
    text-decoration: none;
    display: block;
    font-size: 1.2em;
}

.contact-link:hover {
    text-decoration: none;
}

.contact-link p {
    margin: 0;
    font-size: 1em;
}

@media screen and (max-width: 1400px) {
    .contact-page{
        max-width: 100%;
    }
    .contact-card {
        max-width: 100%;
    }
    .contact-options {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .contact-page{
        max-width: 100%;
    }

    .contact-card{
        max-width: 100%;
    }

    .contact-options {
        flex-direction: column;
        align-items: center;
    }
    .about-flex {
        flex-direction: column;
        align-items: center;
    }
    .about-text {
        text-align: center;
        max-width: 100%;
    }
}

/* Social Media Icons */
.social-icons {
    display: flex;
}

.social-icons a {
    color: white;
    font-size: 1.4em;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #007BFF;
}
/* Social Proof Section */
.social-proof img {
    max-width: 100%;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.social-proof img:hover {
    opacity: 1;
}
