body {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    margin: 0;
    padding: 0;
    color: black;
    background-color: white;
}

.logo img {    
    width: 200px; /* Set the width to 50px */
    height: 64px; /* Set the height to 50px */    
}
.logo {
    padding-top:5px;
}
.hero {
    position: relative;
    height: 100vh; /* Adjust this to your preferred height */
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('resources/images/background.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5; /* Optional: Adjust the opacity for a darker overlay */
    z-index: -1;
}

.herocontent {
    z-index: 1;
    max-width: 80%;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.300); /* Optional: Add a semi-transparent background for better readability */
    border-radius: 10px;
}

.hero h1, .hero p, .hero button {
    margin: 20px 0;
}

/* General container styles */
.introcontainer {
    width: 80%;
    margin: 0 auto;
    padding: 2rem;
}

/* Responsive layout for intro section */
.intro {
    display: flex;
    flex-direction: row; /* Default to horizontal layout */
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    margin-bottom: 4rem;
}

/* Content styling */
.intro .content {
    flex: 1;
    padding: 20px;
    align-items: center;
}

/* Image styling */
.intro .image {
    flex: 1;
    display: flex;
    justify-content: center;
    overflow: hidden;
    border-radius: 70px 0 50px 0;
    box-shadow: 8px 10px 6px 7px rgba(0, 0, 0, 0.1);
}

.intro .image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* Heading styling */
.introcontainer h1 {
    margin-bottom: 20px;
    text-align: center;
    color: #183C5F;
}

/* Paragraph styling */
.intro p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.8;
}

/* Services overview styling */
.services-overview {
    background-color: #f0f4f8;
    padding: 3.5rem;
    border-radius: 30% 0 30% 0;
    color: black;
    box-shadow: 8px 10px 6px 7px rgba(0, 0, 0, 0.1);
}

/* Heading styling for services overview */
.services-overview h2 {
    color: #183C5F;
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

/* Paragraph styling for services overview */
.services-overview p {
    margin-bottom: 30px;
    font-size: 1.3rem;
    text-align: justify;
    line-height: 2rem;
}

  .our-services-link-container {
    display: none;
  }

.btn-primary {
    background-color: #183C5F;
    border: none;
    padding: 10px 20px;
    color: white;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #145080;
}


header {
    background-color: #d3d3d3; /* light grey */
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #183C5F;
    position: fixed;
    width: 100%;
    height: fit-content;
    top: 0;
    z-index: 1000;    
}




nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    margin-right: 20px; /* Add margin-right to move the menu to the right */
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: black; /* Set text color to white */
    text-decoration: none;
    font-size: 1rem;
}


nav ul li a:hover {
    color: #183C5F; /* Darker background color on hover */        
    font-size: 1.5rem; 
    font-style: bold;
}

.herocontent {
    text-align: center; /* Centers the content inside the herocontent div */
    padding: 20px; /* Adjust as needed */
}

.hero-button {
    display: inline-block;
    color: white;
    background-color: #183C5F;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin-top: 20px; /* Adds space between the paragraph and the button */
}

.hero-button:hover {
    background-color: #145a82; /* Adjust as needed */
}


/* Dropdown menu styles */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; /* Position the dropdown below the parent */
    left: 0;
    background-color: white;
    min-width: 650px; /* Adjust width for the mega menu */
    padding: 15px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001;
    color: black;
    white-space: nowrap; /* Prevent text wrapping */
    flex-direction: row;
    
}

.dropdown-content.show {
    display: flex; /* Show when 'show' class is added */
}

/* Style for each section in the dropdown */
.dropdown-content .dropdown-section {
    float: left;
    width: auto; /* Adjust column width */
    padding: 0 15px;
    box-sizing: border-box; /* Ensures padding doesn't affect width calculation */
}

.dropdown-content .dropdown-section h3 {
    margin-top: 0;
    color: #183C5F;    
}

.dropdown-content a {
    color: #000;
    text-decoration: none;
    display: block;
    padding: 5px 0;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: flex;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px;
    margin-top: 35px;
    padding: 20px;
    border: 1px transparent #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
}
.subcontainer {
    width:50%;
}
.left {
    flex: 1;
}
.right {
    flex: 2;
    padding-left: 20px;
}
.progress {
    margin-bottom: 10px;
}
.progress-bar {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}
.progress-bar div {
    height: 20px;
    background-color: #183C5F;
    border-radius: 8px 0 0 8px;
}
.progress-text {
    margin-bottom: 5px;
}


.container1 {
    display: flex;
    align-items: flex-start;
    margin: 20px;
    margin-top: 50px;
    padding: 20px;
    border: 1px transparent #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    position: relative;
}
.left {
    flex: 1;
}
.right {
    flex: 1;
    position: relative;
}
.image-wrapper {
    position: absolute;
    top: -30px;
    right: 0;
    height: 50%;
    width: 50%;
}
.image-wrapper img {
    max-width: 100%;
    border-radius: 5px;
}

.logo-about-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 10px;
}


.footer {
    background-color: black;
    color: white;
    padding: 40px;
    box-sizing: border-box; /* Ensures padding is included in the width */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allows columns to wrap on smaller screens */
}

.footer-content > div {
    flex: 1; /* All columns take equal space */
    min-width: 200px; /* Ensures columns don't become too narrow */
    padding: 0 10px;    
    box-sizing: border-box; /* Ensures padding is included in the width */
}

/* Adjust the name of the classes to match the HTML structure */
.footer-about, .footer-services, .footer-explore, .footer-contact {
    padding: 0 10px;
    text-align: center;
}


.logo-about-container h4, .footer-services h4, .footer-explore h4, .footer-contact h4 {
    margin-bottom: 10px;
    position: relative;    
    text-align: center;
    padding-bottom: 10px; /* Space between text and line */
}

.logo-about-container h4::after, .footer-services h4::after, .footer-explore h4::after, .footer-contact h4::after {
    content: "";
    display: block;
    width: 50%; /* Adjust width as needed */
    height: 1px; /* Line thickness */
    background-color: rgb(44, 164, 185); /* Line color */
    margin: 0 auto; /* Centers the line */
    position: absolute;
    bottom: 0;
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust for the exact center */
}


.footer-about p {
    margin: 0;
    line-height: 1.6; /* Adjust this value to increase or decrease line spacing */
    text-align: justify;
}

.footer-services ul, .footer-explore ul, .footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-services li, .footer-explore li, .footer-contact li {
    margin-bottom: 5px; /* Adjust the spacing between items */
}

.footer-services li:hover, .footer-explore li:hover, .footer-contact li:hover {
    transform: scale(1.2);
}

.footer-contact a {
    color: white; /* Ensure link color is set */
    text-decoration: none; /* Remove underline from links */
    transition: transform 0.3s ease; /* Smooth scaling transition */
}

.footer-contact a:hover {
    transform: scale(1.2); /* Apply scale effect on hover */
}


.footer a {
    color: white;
    text-decoration: none; /* Ensures no underline on links */
}

.footer a:hover {
    text-decoration: underline; /* Adds underline on hover */
    color: rgb(52, 94, 156);
}


.columns {
    display: flex;
    flex-wrap: wrap;
}
.column {
    flex: 1;
    margin-right: 20px;
}
.column:last-child {
    margin-right: 0;
}
ul {
    padding-left: 20px;
}


/*nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 1em;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #183C5F;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}
*/
main {
    padding-top: 70px; /* space to avoid content being hidden behind the fixed header */
}



/* General styles for the services section */
.services {
    margin-top: 20px;
    padding: 20px;
    margin-bottom:30px;
}

.services h2 {
    color: #183C5F;
    text-align: center;
    margin-bottom: 20px;
}

/* Container for service items */
.service-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Add gap between items */
}

/* Service items */
.service {
    background-color: #f0f4f8;
    color: #183C5F;
    margin: 10px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 8px 10px 6px 7px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    width: calc(33.333% - 50px); /* Adjust width for 3 items per row with gap */
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

/* Adjust icon size */
.service .icon {
    margin-bottom: 5px;
    transition: transform 0.3s;
}

.service .icon img {
    width: 100px;
    height: 100px;    
}

/* Scale icon on hover */
.service:hover .icon {
    transform: scale(1.5);
}

.service img {
    width: 100%;
    height: auto;
    margin-top: 5px;
}

.service-detail {
    display: none;
    background-color: #33809e; /* Slightly transparent to show the blurred background */
    color: white;
    padding: 0px;
    border-radius: 8px;
    position: absolute; 
    top: 50%;
    left: 50%;
    box-shadow: 8px 10px 6px 7px rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    width: 90%; /* Adjust width to fit nicely on the service */
    max-width: 500px; /* Max width for larger screens */
    box-sizing: border-box;
    z-index: 1002; /* Ensure it is above other elements */
    font-family: Arial, Helvetica, sans-serif;
}


.upwork-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.upwork-link img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.service-detail p {
    font-size: 0.9em;
}

.service-detail button {
    background-color: #183C5F;
    border: none;
    padding: 10px 20px;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
}

.service-detail button:hover {
    background-color: #14527A;
}


/* Existing CSS here... */

/*.about-us-section {
    overflow-x: auto;
    white-space: nowrap;
    padding: 20px;
    background-color: #f9f9f9; /* Light background for contrast 
}*/

.scroll-container {
    display: flex;
    flex-wrap: nowrap;
}

.content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 20px;
}

.text-block, .image-block {
    flex: 1;
    min-width: 300px; /* Adjust as needed */
}

.text-block {
    padding: 20px;
    background: #fff; /* Background for text block */
}

.image-block img {
    max-width: 100%;
    height: auto;
}

.section-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

section {
    min-width: 100vw; /* Ensure each section takes full viewport width */
    padding: 20px;
    box-sizing: border-box;
}

.expertise-section, .mission-vision-section, .founder-section, .join-us-section {
    margin-bottom: 40px; /* Space between sections */
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #183C5F;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.cta-button:hover {
    background-color: #0f2b40;
}

.contact {
    background-color: #183C5F;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
}

.contact button {   
        background-color: #dfdfebc4; /* Green background */
        border: none; /* Remove default border */
        color: black; /* White text */
        padding: 10px 20px; /* Add some padding */
        text-align: center; /* Center text */
        text-decoration: none; /* Remove underline */
        display: inline-block; /* Align properly */
        font-size: 16px; /* Adjust font size */
        margin: 4px 2px; /* Add margin */
        cursor: pointer; /* Change cursor to pointer */
        border-radius: 4px; /* Rounded corners */
    }

    /* Hover effect */
    .contact button:hover {
        background-color: #33809e; /* Darker green on hover */
    }


form label {
    display: block;
    margin-bottom: 10px;
    text-align: left;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
}

form button {
    background-color: #183C5F;
    border: none;
    padding: 10px 20px;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

form button:hover {
    background-color: #14527A;
}

footer {
    background-color: #183C5F;
    color: white;
    text-align: center;
    padding: 10px 0;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

blurred {
    filter: blur(5px);
    /* Ensure blur effect is visible only for the service */
    position: relative; /* Required to ensure z-index works */
    z-index: 2; /* Lower z-index to be below the .service-detail */
}

/* Animations */
.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.animated.infinite {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

@-webkit-keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        -webkit-transform: translate3d(0, -30px, 0);
        transform: translate3d(0, -30px, 0);
    }
    70% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        -webkit-transform: translate3d(0, -15px, 0);
        transform: translate3d(0, -15px, 0);
    }
    90% {
        -webkit-transform: translate3d(0,-4px, 0);
        transform: translate3d(0,-4px, 0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        -webkit-transform: translate3d(0, -30px, 0);
        transform: translate3d(0, -30px, 0);
    }
    70% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        -webkit-transform: translate3d(0, -15px, 0);
        transform: translate3d(0, -15px, 0);
    }
    90% {
        -webkit-transform: translate3d(0,-4px, 0);
        transform: translate3d(0,-4px, 0);
    }  
    

}


/* Media query for mobile view */
@media (max-width: 768px) {
    /* Ensure dropdown content is displayed properly */
    .dropdown-content {
        position: static; /* Stack below the dropdown item */
        width: 100%;
        box-shadow: none; /* Remove shadow for a cleaner look on mobile */
    }

    /* Ensure each dropdown section takes full width */
    .dropdown-content .dropdown-section {
        width: 100%;
        float: none;
        padding: 10px;
        box-sizing: border-box;
    }

    /* Adjust menu item padding and font size for smaller screens */
    nav ul li {
        margin: 0;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li a {
        padding: 10px;
        font-size: 1.2em;
    }

    /* Ensure dropdown links are displayed properly */
    .dropdown-content a {
        padding: 10px;
        display: block;
    }

    .dropdown:hover .dropdown-content {
        display: block; /* Show dropdown on click/tap on mobile */
    }
}

.menu-toggle {
    display: none; /* Hide by default */
    font-size: 1.5em;
    cursor: pointer;
    color: #183C5F;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Hide mega menu on small screens */
    .dropdown {
        display: none;
    }

    /* Show "Our Services" link on small screens */
    .our-services-link {
        display: flex;
        flex-direction: column; /* Ensure header elements are in a column */
        justify-content: space-between; /* Space between logo and menu toggle */
        padding: 0 10px; /* Adjust padding for smaller screens */
        align-items: center; /* Center items vertically */
    }

    /* Logo styles */
    .logo {
        margin-bottom: 0; /* Remove bottom margin to align logo properly */
        flex: 1; /* Allow logo to take available space on the left */
    }

    /* Menu toggle styles */
    .menu-toggle {
        display: block; /* Show menu toggle button on small screens */
        font-size: 1.5em; /* Larger font size for better visibility */
        color: #183C5F; /* Ensure color visibility */
        cursor: pointer; /* Add pointer cursor for clickable element */
    }

    /* Hide the standard navigation menu on small screens */
    nav ul {
        display: none; /* Hide by default */
        position: absolute;
        top: 60px; /* Adjust based on your header height */
        left: 0;
        background-color: white;
        width: 100%;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
        flex-direction: column;
        padding: 0; /* Remove default padding */
        margin: 0; /* Remove default margin */
    }

    /* Show the navigation menu when the menu toggle is active */
    .nav-active {
        display: flex;
    }

    /* Ensure the links in the menu are displayed in a column layout */
    nav ul li {
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        padding: 15px;
        display: block;
        border-bottom: 1px solid #ddd;
        text-decoration: none;
        color: #183C5F; /* Adjust color to match your theme */
    }

    /* Show the "Our Services" link container */
    .our-services-link-container {
        display: block;
    }

    .intro {
        flex-direction: column; /* Stack content and image vertically on smaller screens */
        gap: 5px;
    }

    .intro .content,
    .intro .image {
        flex: 1 1 auto;
        padding: 2px;
    }

    .intro p {
        font-size: 1.2rem;
    }

    .service {
        width: calc(50% - 2rem); /* Two items per row on tablets */
    }

    .service-detail {
        width: 90%; /* Fit better on smaller screens */
    }
}

@media (max-width: 480px) {
    .intro p {
        font-size: 1rem;
    }

    .services-overview {
        padding: 2rem;
        border-radius: 20% 0 20% 0;
    }

    .services-overview h2 {
        font-size: 1.5rem;
    }

    .services-overview p {
        font-size: 1rem;
        line-height: 1.5rem;
    }
    .service {
        width: calc(80% - 3rem); /* One item per row on mobile */
    }

    .service-detail {
        width: 100%; /* Full width on mobile screens */
        padding: 10px; /* Add padding for mobile */
    }
}
