/* Base Styles */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    background: #7C909C;
    color: #ffffff;
    overflow-x: hidden;
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    background: transparent;
    color: #ffffff;
    z-index: 1000;
    top: 0;
    left: 0;
}

.header-cta {
    text-align: right;
    padding: 50px;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

header nav ul li {
    display: inline;
    margin: 0 20px;
}

header nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

header .header-cta .cta-button,
header nav #contact cta-button  {
    padding: 15px 30px; /* Adjust padding to suit design */
    background-color: #000; /* Button color */
    color: #e1a517;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block; /* Allows the use of padding and margin */
    font-size: 1rem; /* Standard font size for buttons */
    text-align: center;
    margin: 10px 0; /* Space above and below button */
    transition: background-color 0.3s ease;
    border: none; /* Remove any default border */
    cursor: pointer; /* Pointer cursor on hover */
    position: static; /* Override if there's a position fixed somewhere */
    width: auto; /* Override if there's a full width somewhere */	
}

.header-cta .cta-button:hover,
#contact .cta-button:hover {
    background-color: #e1a517; /* Darker shade on hover for interaction */
	color: #fff;
    font-weight: normal; /* Normal text */	
    text-decoration: none; /* Ensures no text decoration on hover */
}

/* Main Content Styles */

main {
    position: relative;
    z-index: 1;	
}

.content-section {
	
}




.content-section:hover {
}


h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    color: #FAFAFA; /* Slightly off-white for headings for a softer look */
}

p {
    color: #cccccc; /* Light grey for body text for readability */
}

#home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full-screen height */
    text-align: center;
    /* background: url('contact.png') no-repeat center center/cover; */
    color: #ffffff; /* Assuming white text for contrast */
}

#home h1 {
    font-size: 3rem; /* Large text for the headline */
    margin-bottom: 0.5rem;
    color: #f2f2f2; /* Slightly off-white for a softer look */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for better legibility */
}

#home p {
    font-size: 1.25rem;
    max-width: 600px; /* Max width for optimal reading length */
    margin: 0 auto;
    line-height: 1.6;
    color: #cccccc; /* Light grey for body text for readability */
}

#home .cta-button {
    padding: 10px 20px;
    background-color: #000; /* A vibrant color for the button */
    color: #e1a517;
    border: none;
    border-radius: 5px;	
    cursor: pointer;

}

#home .cta-button:hover {
    background-color: #E1A517; /* Darken button on hover for interaction feedback */
	color: #fff;
	
}

#about {
    color: #849BAF;
    padding: 50px 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the opacity as needed */
}

#about h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center; /* Center align the content for a clean look */	
}
#about h3 {
    font-size: 1.5rem;
    text-align: center; /* Center align the content for a clean look */	
}

#about p {
    font-size: 1rem;
    max-width: 800px; /* Good reading length */
    margin: 0 auto;
    line-height: 1.6;
}

/* If you're using icons or images */
#about .about-icon {
    max-width: 100px; /* Adjust based on your actual icon size */
    margin: 20px auto;
    display: block;
}

/* Add a photo or personal branding element */
#about .about-image {
    max-width: 300px; /* Adjust to suit your design */
    margin: 30px auto;
    display: block;
    border-radius: 50%; /* Optional: for round images */
}

#services {
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the opacity as needed */
    color: #ffffff;
    padding: 50px 5px;
    text-align: center; /* Center align the content for a clean look */
}

#services h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#services h3 {
    font-size: 1.5rem;
}
#services h4 {
    font-weight: Normal;
}

#services .service-item {
    background-color: #2e2e2e; /* Slightly different background for each card */
    border-radius: 10px; /* Rounded corners for a modern feel */
    padding: 20px;
    margin: 20px;
    display: inline-block; /* For horizontal layout or use flex/grid for a more responsive design */
    vertical-align: top; /* Align tops of inline-block elements */
    width: calc(33.333% - 40px); /* Three items per row, adjust margins accordingly */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); /* Subtle shadow for depth */
}

#services .service-item h3 {
    font-size: 1.5rem;
    color: #f2f2f2;
}

#services .service-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #cccccc; /* Lighter text color for readability */
}

#portfolio {
    background-color: #101010;
    color: #ffffff;
    padding: 50px 20px;
    overflow: hidden; /* Prevents horizontal scrollbar */
    position: relative; /* For absolute positioning of children */
}

#portfolio h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

#portfolio .logo-slider {
    display: flex;
    align-items: center;
    animation: scroll-logos 30s linear infinite; /* Adjust time for different speeds */
    gap: 50px; /* Space between logos */
}

#portfolio .logo-slider img {
    /* Height removed to allow natural image size */
    opacity: 0.7;
    transition: opacity 0.3s ease;
    display: inline-block; /* Ensure images are aligned in a row */
    max-height: 120px; /* Set a maximum height if necessary to ensure consistency */
}

#portfolio .logo-slider img:hover {
    opacity: 1; /* Highlight logo on hover */
}

#blog {
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the opacity as needed */
    padding: 50px 20px;
    color: #ffffff;
}

#blog h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

#blog .articles-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Creates two columns */
    gap: 30px; /* Space between articles */
    max-width: 1200px; /* Adjust the max-width as needed */
    margin: 0 auto; /* Center the grid */
}

#blog .article-card {
    background-color: #7C909C; /* Dark background for the card */
    border-radius: 10px; /* Rounded corners */
    overflow: hidden; /* Ensures the child elements adhere to the border radius */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Shadow for depth */
    transition: transform 0.3s ease;
    text-decoration: none; /* Remove underline from links */
    color: inherit; /* Inherit text color from parent */	
}

#blog .article-card:hover {
    transform: translateY(-5px); /* Slight lift effect on hover */
    text-decoration: none; /* Ensures no text decoration on hover */
}

#blog .article-card:active {
    transform: translateY(-2px); /* Slight downpress effect when clicked */
}

#blog .article-card img {
    width: 100%; /* Make the image cover the card width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensures no extra space below the image */
}

#blog .article-content {
    padding: 20px;
}


#blog .article-title {
    font-size: 1.5rem;
    margin: 0;
}

#blog .article-snippet {
    font-size: 1rem;
    color: #fff;
    margin-top: 10px;
}

#blog .read-more {
    display: inline-block;
    margin-top: 15px;
    color: #e1a517; /* Accent color for the link */
    text-decoration: none;
}


.read-more-btn {
    padding: 10px 20px;
    background-color: #000; /* Soft orange color, similar to CTA buttons */
    color: #e1a517;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block; /* Necessary for padding and margin to work */
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #e1a517; /* Darker shade on hover for interaction */
	color: #fff;
}

#contact {
    background-color: rgba(124, 144, 156, 0.8); /* Example of semi-transparent background */
    color: #ffffff;
    padding: 50px 20px;
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#contact p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1rem;
    line-height: 1.6;
}


.cta-button {
    padding: 15px 30px; /* Adjust padding to suit design */
    background-color: #000; /* Button color */
    color: #e1a517;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block; /* Allows the use of padding and margin */
    font-size: 1rem; /* Standard font size for buttons */
    text-align: center;
    margin: 10px 0; /* Space above and below button */
    transition: background-color 0.3s ease;
    border: none; /* Remove any default border */
    cursor: pointer; /* Pointer cursor on hover */
}

.cta-button:hover {
    background-color: #cba106; /* Darker color on hover */
}




.social-media-links {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    gap: 30px; /* Space between icons */
}

.social-media-links a {
    filter: brightness(0) invert(1); /* Makes icons white */	
    display: inline-block;
    width: 15px; /* Fixed width for icons */
    height: 15px; /* Fixed height for icons */
}

.social-media-links img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.social-media-links a:hover img {
    filter: none; /* Restores original icon colors on hover */    
	transform: scale(1.1); /* Slightly enlarge icons on hover */
}

/* Add styles for lazyloading images */
.lazyload,
.lazyloading {
    opacity: 0;
}
.lazyloaded {
    opacity: 1;
    transition: opacity 300ms;
}


@media (max-width: 768px) {
    #blog .article-card {
        flex-direction: column; /* Stack image and content on smaller screens */
    }

    #blog .article-card img {
        width: 100%; /* Full width of the card */
        height: auto; /* Adjust height automatically */
        border-radius: 5px 5px 0 0; /* Rounded corners on the top */
    }
	
    #blog .articles-container {
        grid-template-columns: 1fr; /* One column on smaller screens */
    }	
}

@media (max-width: 768px) {
    #services .service-item {
        width: calc(50% - 40px); /* Two items per row on smaller screens */
    }
}

@media (max-width: 480px) {
    #services .service-item {
        width: 100%; /* Full width for mobile */
        margin: 20px 0; /* Stack vertically on small screens */
    }
}

/* Rest of your content styles here */

#network-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Below all other content */
}

footer#ai-statement {
    background-color: #545E6C; /* A darker shade for the footer for contrast */
    color: #ECECEC; /* A light grey for legibility */
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif; /* Keeping the font consistent with the body */
}

.logo-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); /* Creates a responsive grid layout */
    gap: 20px; /* Adjust the gap to your preference */
    align-items: center;
    justify-items: center;
    padding: 20px;
    max-width: 100%;
}

.logo-box {
    width: 120px; /* Fixed size container for logos */
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensures nothing spills out */
}

.client-logo {
    max-width: 100%; /* Ensure logo is contained within its box */
    max-height: 100%; 
    vertical-align: middle;
    transition: transform 0.3s, opacity 0.3s;
}

.client-logo:hover {
    transform: scale(1.1); /* Slightly scale logos on hover */

}
