/* Body and HTML reset */
/* Global Box-Sizing */  
*, *::before, *::after {  
    box-sizing: border-box;  
} 

body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    /*overflow-x: hidden;*/
}

.container {  
    max-width: 100%; /* Ensure consistent max width for both sections */  
    margin: 0 auto; /* Center the container */  
    padding: 0 20px; /* Add some padding for better spacing */  
    box-sizing: border-box; /* Ensure padding is included in the width */  
}  

.hero-section {
    position: relative;
    width: 100%;
    height: 50vh !important; /* Force the height */ 
    overflow: hidden;
}


.hero-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
}

.logo {
    position: absolute; /* Allows placement relative to its container */
    top: 20px; /* Adjust for desired spacing from the top */
    right: 30px; /* Adjust for desired spacing from the right */
    width: 100px; /* Set desired width */
    height: auto; /* Maintain aspect ratio */
    z-index: 10; /* Ensure it stays above other elements */
}

/* Hero Content */
.hero-content {
    position: absolute; /* Stays above the image */
    left: 5%; /* Align to the left side */
    z-index: 1; /* Ensures text is above the image */
    color:#222; /* Text color for contrast */
    text-align: left; /* Centers the text horizontally */
    max-width: 600px;
    margin: 0 auto;
    padding-top: 14%; /* Adds some spacing at the top */
    padding-left: 20px; /* Adjust based on your layout */
}


.hero-content h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content p {
    font-family: "Roboto", sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    font-weight: 300;
    color: #222;
}

/* Our Expertise Section */
/*
.our-expertise {
    padding: 20px;
    width: 100%;
    max-width: 2000px;
    margin-left: 20px;
} 
*/
.our-expertise {  
    padding: 20px; /* Ensure consistent padding */  
    width: 100%;  
    margin: 0 auto; /* Center the container */  
    box-sizing: border-box; /* Ensure padding is included in the width */  
}  


.section-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #222;
    text-align: left;
    margin-bottom: 90px;
    padding-left: 5%; /* Aligns with hero-section text */
}


/* Expertise List Styling */
.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: 60px;
    max-width: 100%;
}

.expertise-list li {
    display: flex;
    flex-wrap: wrap; /* Ensures text wraps on smaller screens */
    margin-bottom: 80px;
}



.service-container {
    display: flex;
    align-items: center;
    gap: clamp(20px, 5vw, 200px);
    white-space: normal; 
}

.service-name {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #222;
    margin-right: 0;
    min-width: min(700px, 90vw); 
}

.service-description {
    font-family: "Roboto", sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: #555;
}

.line {
    position: absolute;
    width: 87%; /* length of the line */
    background-color: #666; /* Line color */
    height: 1px;
    margin: -40px 0; /* Space above and below the line */
}


/* About Us section */
.about-us {
    max-width: 800px;
    margin: 0 auto; /* Centers the section */
    padding: 50px 20px;
    background-color: #fff; /* or your desired color */
    text-align: center;
    margin-top: 0; /* Add this line */
}

.about-us h2 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 400;
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-us h3 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 400;
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-us p {
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}


/* Features Section */
.features {
    display: block; /* Ensures the section is displayed as a block */
    margin: 0 auto; /* Centers the section */
    padding: 20px; /* Optional padding */
    text-align: center; /* Centers all child elements by default */
    background-color: #f9f9f9; /* Sets the background color */
}

.features-header {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 400;
    font-size: 2.5rem;
    text-align: center; /* Centers the header */
    margin-bottom: 20px; /* Adds space below the header */
}

.feature-container {
    display: flex; /* Displays feature items in a row */
    gap: 40px; /* Space between each feature */
    flex-wrap: wrap; /* Allows wrapping if the screen is too small */
    justify-content: center; /* Centers the feature items horizontally */
}

.feature {
    flex: 1; /* Ensures that each feature item takes equal space */
    min-width: 250px; /* Sets a minimum width to prevent too much compression */
    max-width: 300px; /* Optional: Limits the feature box width */
    text-align: center; /* Centers the text within each feature */
    font-size: 0; /* Added this to remove black underline between linkedin and globe icons*/
}

.feature h4 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    color: #222;
    margin-bottom: 10px; /* Adds space below the name */
    display: inline-flex; /*flex;*/ 
    align-items: center; /* Vertically align items */
    margin-right: 10px;
}

.feature p {
    font-family: "Roboto", sans-serif;
    margin: 0; /* Ensures no extra space around the paragraph */
    font-weight: 300;
    font-size: 1.2rem;
    color: #222;
}

.linkedin-logo {
    width: 24px; /* Adjust size as needed */
    height: auto; /* Maintain aspect ratio */
    vertical-align: left; /* Aligns with the text */
}

.globe-icon {
    width: 20px; /* Adjust size as needed */
    height: auto; /* Maintain aspect ratio */
    vertical-align: left; /* Align with text */
}

/*Mobile friendly*/
@media (max-width: 1500px) {  
    /*
    .hero-section {  
        height: 40vh !important; 
    }  
    
    .hero-image {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        object-fit: cover;
        object-position: center;
    }
*/
    .hero-content {
        padding-top: 3%;
        padding-left: 10px;
        max-width: 600px;
    }
/*
    .hero-content h1 {
        font-size: 2rem; 
    }
    .hero-content p {
        font-size: 1.1rem;
    }
*/
    .logo {
        width: 80px; /* Adjust logo size for smaller screens */
        top: 10px; /* Reduce top spacing */
        right: 20px; /* Reduce right spacing */
    }
    
} 




@media (max-width: 768px) {
    body {
        font-size: 14px; /* Adjust base font size */
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-content {
        padding-top: 10%;
        padding-left: 10px;
        max-width: 90%;
    }

    .hero-content h1 {
        font-size: 2rem; /* Scale down text size */
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-image {
        height: 40vh; /* Reduce height for better mobile display */
    }

    .logo {
        width: 80px; /* Adjust logo size for smaller screens */
        top: 10px; /* Reduce top spacing */
        right: 20px; /* Reduce right spacing */
    }

    .our-expertise {
        margin-left: 10px;
        width: 95%;
        margin-top: 0px; /* Adjusted for mobile */
    }

    
    .expertise-list {
        margin-left: 30px; 
    }

    .service-container {
        gap: 15px;
    }

    .expertise-list li {
        flex-direction: column; /* Stack items vertically */
        margin-bottom: 40px;
    }

    .service-container {
        flex-direction: column; /* Stack name and description */
        align-items: flex-start;
        gap: 10px; /* Reduce gap */
    }

    .service-name {
        min-width: unset; /* Allow flexible widths */
        font-size: 1.5rem; /* Adjust text size */
    }

    .service-description {
        font-size: 1rem; /* Adjust text size */
    }

    .line {  
        width: 90%; /* Further adjust width for very small screens */  
        margin: -20px 0; /* Further reduce negative margin for very small screens */  
    }  

    .feature-container {
        flex-direction: column; /* Stack features vertically */
        gap: 20px;
    }

    .feature {
        max-width: 90%; /* Adjust width to fit smaller screens */
        margin: 0 auto; /* Center items */
    }

    .feature h4 {
        font-size: 1.2rem; /* Adjust text size */
    }

    .linkedin-logo, .globe-icon {
        width: 18px; /* Reduce icon size */
    }

    .feature p {
        font-size: 1rem; /* Adjust text size */
    }

    .hero-section {  
        height: 40vh !important; 
    }  
}


@media (max-width: 480px) {
    .hero-section {  
        height: 40vh !important; 
    }  
    
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 40px;
    }

    .service-name {
        font-size: 1.25rem;
    }

    .service-description {
        font-size: 0.9rem;
    }

    .feature p {
        font-size: 0.9rem;
    }

    .our-expertise {
        margin-top: 0px;
    }

    .line {  
        width: 80%; /* Further adjust width for very small screens */  
        margin: -20px 0; /* Further reduce negative margin for very small screens */  
    }  

    .expertise-list {
        margin-left: 15px; 
    }

}