/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

/* Global Styles */
body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
}

.navbar {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.brand {
    font-size: 1.5rem;
    font-weight: 700; /* Bold */
    color: #1a73e8; /* Professional blue color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.brand:hover {
    color: #0056b3; /* Darker blue on hover */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.nav-links li a:hover {
    color: #1a73e8; /* Change to blue on hover */
}

/* Intro Section */
.intro {
    padding: 2rem;
    text-align: center;
    background-color: #fff;
    margin-bottom: 2rem;
}

/* Projects Overview Section */
.projects-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

/* Project Preview Box */
.project-preview {
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.project-preview:hover {
    transform: scale(1.02);
}

.project-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Footer Section */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #333;
    color: #fff;
}

/* Heading Styles */
h1, h2, h3 {
    font-weight: 700; /* Bold */
}

p {
    font-weight: 400; /* Regular */
}

.light-text {
    font-weight: 300; /* Light */
}

/* Slideshow Container */
.slideshow.global{
    position: relative;
    width: 70%;
    max-width: 70%;
    height: 60vh; /* 60% of the viewport height */
    margin: 0 auto;
    overflow: hidden; /* Hide excess slides */
}

/* Individual Slide */
.slide {
    display: none;  /* Initially hide all slides */
    text-align: center;
    position: absolute; /* Stack slides on top of each other */
    width: 100%;
    height: 100%; /* Ensure slides take full container height */
    transition: opacity 1s ease;  /* Smooth fade transition */
    background-color: #333; /* Dark background for contrast */
    padding: 1rem; /* Optional spacing for clarity */
}

/* Displaying images inside slides */
.slide img {
    width: 100%; /* Ensure the image fills the slideshow's width */
    height: 100%; /* Fill the slideshow's height */
    object-fit: cover; /* Scale and crop the image to cover the entire container */
    object-position: center; /* Center the image for better cropping */
}

.slide .caption {
    position: absolute;
    bottom: 10px; /* Keep the text at the bottom of the slide */
    left: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
    padding: 10px; /* Add padding for text content */
    display: flex;
    flex-direction: column; /* Stack the title and description */
    gap: 5px; /* Add spacing between title and description */
}

.slide h2 {
    color: #ffffff; /* Ensures white color */
    margin: 0;
    font-size: 1.5rem; /* Adjusted for better readability */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Adds shadow for contrast */
}

.slide p {
    color: #ffffff; /* Ensures white color */
    margin: 0;
    font-size: 1rem; /* Adjusted for clarity */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Adds shadow for contrast */
}


.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-post h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.blog-post p {
    font-size: 1rem;
    color: #555;
}

.blog-post a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.blog-post a:hover {
    color: #007bff;
}

.post-content {
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.faq {
    margin-bottom: 20px;
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.question {
    font-weight: bold;
    margin: 10px 0;
    color: #333;
}

.answer {
    margin-bottom: 10px;
    color: #555;
    padding-left: 10px;
}
/* Professional Intro Section */
.intro-section {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #f4f4f4; /* Soft background color */
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow for a professional look */
}

.intro-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.intro-section h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #555;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.intro-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    max-width: 800px; /* Limit width for better readability */
    margin: 0 auto 1.5rem;
}

.intro-section p:last-child {
    margin-bottom: 0; /* Remove margin from last paragraph */
}
.projects-container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px;
}

.project {
    margin-bottom: 50px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.project-header h2 {
    font-size: 2rem;
    color: #333;
}

.project-header p {
    font-size: 1.2rem;
    color: #555;
}

.project-details h3,
.project-gallery-section h3 {
    margin-top: 20px;
    font-size: 1.5rem;
    color: #444;
}

.project-details ul {
    list-style: disc;
    margin-left: 20px;
    color: #555;
}

.slideshow.project {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.gallery-slide {
    display: none;
    text-align: center;
}

.gallery-slide img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.gallery-slide .caption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

