/* General Resets & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-smoothing: antialiased;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.3;
    color: #333;
    margin-top: 60px;
    background: #f8f8f7; /* Soft background color for a subtle, clean look */
}

a {
    color: #dcdcdc;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
}

/* Header & Navigation */
.header {
    background: #161617;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    z-index: 1000;
}

.navbar ul {
    list-style-type: none;
    padding: 20px 0;
    text-align: center;
}

.navbar li {
    display: inline;
    margin: 0 25px;
}

.navbar a {
    font-weight: 600;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    color: #000;
    font-family: 'Open Sans', sans-serif;
    padding: 140px 0;
    text-align: center;
}

.hero-section {
    background-image: url('https://cdn.pixabay.com/photo/2022/09/01/14/18/white-background-7425603_1280.jpg');
    background-size: cover; /* Cover the entire section */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Do not repeat the image */
}


/* About Section */
.about-section {
    background: #fafafa; /* Pure white background for high contrast */
    padding: 80px 20px;
    text-align: center;
}

/* Headings and Text */
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    color: #000;
}

h1 {
    margin-bottom: 20px;
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666; /* Lighter text for softer appearance */
    max-width: 450px; /* Optimizing line length for readability */
    margin-left: auto;
    margin-right: auto;
}

/* Projects Section */
.projects-section {
    background: #fff; /* Consistent background for seamless flow */
    padding: 100px 20px;
    text-align: center;
}

.project {
    background-color: #f9f9f9; /* Slightly off-white for subtle distinction */
    padding: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.project h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.project a {
    display: inline-block;
    margin-top: 15px;
    background-color: #2997ff;
    color: white;
    padding: 20px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.project a:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    background: #202020;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}



.accordion-header.active {
    /* Example style for active state */
    background-color: #0056b3; /* Darker shade for active headers */
}


.accordion-content {
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    /* Initially, you might not need this line if max-height is controlled by JS */
    max-height: 0; /* This is crucial for the accordion to work */
}

.accordion-header {
    background-color: #f7f7f7; /* Light background to keep it clean and minimalist */
    color: #333; /* Dark text for contrast */
    cursor: pointer;
    padding: 15px 25px;
    margin: 10px 0; /* Give some space between buttons */
    border: 1px solid #e1e1e1; /* Slight border for definition without heaviness */
    outline: none;
    font-size: 16px;
    font-weight: 600;
    text-align: center; /* Align text to the left for a cleaner look */
    width: 100%; /* Ensure it spans the full width of its container */
    transition: background-color 0.3s ease;
    border-radius: 5px; /* Slightly rounded corners for a modern look */
}

.accordion-header:hover, .accordion-header.active {
    background-color: #e1e1e1; /* Slightly darker on hover for interactivity */
}

.accordion-header::before {
    content: '+';
    font-weight: bold;
    float: right; /* Position the toggle icon to the right */
    transition: transform 0.2s ease;
}

.accordion-header.active::before {
    content: '−'; /* Change icon to minus when active */
}

.accordion-content {
    background-color: #fff;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    padding: 5px;
    border: 1px solid #e1e1e1; /* Light border to match the button */
    border-top: none; /* Remove top border to blend with the button when expanded */
    border-radius: 0 0 5px 5px; /* Only round bottom corners */
    text-align: center;
    line-height: 1.5;
    color: #666; /* Soften the text color for readability */
}
/* Profile Picture and About Me Section Styling */
.profile-container {
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 20px;
    background: #ffffff; /* Optional: Can adjust based on your design */
    border-radius: 8px; /* Soft rounded corners */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Subtle shadow for depth */
    margin: 20px 0; /* Spacing around the container */
}

.profile-pic {
    width: 150px; /* Adjust based on your preference */
    height: 150px; /* Maintain a square aspect ratio */
    border-radius: 50%; /* Circular image */
    margin-right: 20px; /* Space between image and text */
    object-fit: cover; /* Ensure the image covers the space nicely */
    border: 3px solid #f0f0f0; /* Optional border */
}

.profile-text {
    text-align: left;
}

/* Adjustments to existing About Section for cohesive integration */
.about-section {
    display: flex;
    justify-content: center;
    background: transparent; /* Assuming you want to override previous styles */
    padding: 80px 20px;
}

.about-section h2, .about-section p {
    color: #333; /* Ensuring text is readable against potential light backgrounds */
}
