/* Reset and General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #fcdbe4; /* Soft light gray for a clean, modern look */
    color: #222222; /* Deep black text for readability */
    text-align: center;
    line-height: 1.6;
}

.project-page {
    background-color: #fef4f5; /* Background color for the project pages */
    color: #222222; /* Text color for contrast on the project pages */
}

.project-page header {
    background: #ebb3c0; /* Dark blue for a more professional feel */
    color: #FFFFFF;
    padding: 15px 0;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Header */
header {
    background: #ebb3c0; /* Dark blue for a more professional feel */
    color: #FFFFFF;
    padding: 15px 0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

h1 {
    margin-bottom: 5px;
    font-size: 40px;
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #e8587a; /* Vibrant blue accent */
}

h1, h2, h3, nav ul li a {
    font-family: 'Montserrat', sans-serif;
}

/* Sections */
section {
    padding: 100px 20px;
    margin-top: 80px;
}

/* background-image: url('images/background.jpg'); background-size: cover; background-position: center; background: #fef4f5;   
padding: 100px 20px;
color: #222222;*/
#about {
    background-image: url('images/background2.png'); background-size: cover; background-position: center;

} 

#about h2 {
    font-size: 30px; /* Adjust this value as needed */
    margin-bottom: 20px; /* Optional: Adjust space below the heading */
    text-shadow: 2px 2px 8px #fca9bc;
}

/* Portfolio Section */
.portfolio {
    padding: 60px 20px;
    text-align: center;
    background: #fcdbe4; /* Light gray */
}

/* "My Work" Heading */
.portfolio h2 {
    margin-top: -60px; /* Adjust space above the heading */
    margin-bottom: 70px; /* Space between the heading and the projects */
    color: #222222;;
    font-size: 30px;
    text-shadow: 2px 2px 8px #fca9bc; /* Added shadow */
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.project {
    background: white;
    padding: 20px;
    width: 300px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.project:hover {
    transform: translateY(-5px);
}

.project img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.project h3 {
    margin: 15px 0 10px;
    font-size: 20px;
}

.project p {
    font-size: 16px;
    color: #606060; /* Neutral gray for balance */
}

.project a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #ebb3c0; /* Vibrant blue */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.project a:hover {
    background: #e8587a; /* Bold purple on hover */
}


.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #ebb3c0; /* Vibrant blue */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #e8587a; /* Bold purple on hover */
}

.btn:focus {
    outline: none;
}


/* Contact Section */
#contact {
    padding: 100px 20px;
    background: white;
}

#contact p {
    font-size: 18px;
}

#contact p a {
    color: #ebb3c0; /* Blue accent */
    font-weight: bold;
    text-decoration: none;
}

#contact p a:hover {
    color: #e8587a; /* Purple hover effect */
    text-decoration: underline;
}

/* Footer */
footer {
    background: #ebb3c0;
    color: white;
    padding: 15px 0;
    margin-top: 20px;
    text-align: center;
    position: relative;
}

.contact-page footer {
    background: #ebb3c0;
    color: white;
    padding: 15px 0;
    text-align: center;
    position: relative;
    justify-content: center;
    width: 100%; /* Ensure it spans across the full width */
    position: absolute; /* Position it at the bottom */
    bottom: 0; 
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        padding: 80px 15px;
        margin-top: 80px;
    }

    .portfolio-grid {
        flex-direction: column;
        align-items: center;
    }

    .project {
        width: 90%;
    }
}

/* Carousel Styles */
#carousel {
    margin-top: -50px;
    text-align: center;
}

#carousel h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Container for the carousel */
.carousel-container {
    position: relative;
    max-width: 80%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px; /* Optional: rounded corners */
}

/* The slide itself */
.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Images in the carousel */
.carousel-slide img {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    max-width: 100%;
}

/* Carousel buttons */
.carousel-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carousel-buttons button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.carousel-buttons button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-buttons button:focus {
    outline: none;
}

/* Adjust the positioning of the arrows */
.carousel-buttons .prev {
    left: 10px;
}

.carousel-buttons .next {
    right: 10px;
}

button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #ebb3c0; 
    color: white;
    text-decoration: none;
    border-radius: 5px;
    

}

button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

button:focus {
    outline: none;
}


.dropdown-btn {
    background-color: #ebb3c0;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

.dropdown-btn:hover {
    background-color: #e8587a; /* Bold purple on hover */
}

.dropdown-content {
    display: none;
    margin-top: 10px;
    background-color: #f9f9f9;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}