/* Basic Styles */
body {
    font-family: Comfortaa , sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
  }
  
  a {
    text-decoration: none;
    color: #000;
  }

/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
    margin: 0; 
    padding: 0; 
    scroll-behavior: smooth;
}

  
/* Hero Section */
.hero-section {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    height: 100vh; 
    padding: 20px;
    background-color: #2AB8F0;
}

/* Style for the logo container */
.logo-container {
    display: inline-block;
    background-color: #ffffff; 
    padding: 10px; 
    border-radius: 15px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
}

.logo {
    height: 100px;
    width: auto;
}

/*Navigation Settings*/
.navigation {
    position: absolute;
    top: 30px;
    right: 20px;
    display: flex;
    gap: 40px;
}

.navigation a {
    font-weight: bold;
    color: #ffffff;
    font-size: 1.5em;
}

/* Intro Section */
.intro {
    max-width: 50%;
    padding-right: 700px;
    margin-top: 200px; 
    z-index: 2; 
}

.intro h1,
.intro p {
    color: white;
}

.intro h1 {
    font-size: 5.5em; /* Larger font size */
}

.intro p {
    font-size: 1em; /* Adjust to your desired size */
}

/* Profile Image */
.profile-img {
    position: absolute;
    bottom: 0;
    right: -500px; /* Start off-screen on the right */
    width: 625px; /* Larger image size */
    height: auto;
    object-fit: cover;
    margin-bottom: 0px; /* Move image down */
    z-index: 1; /* Ensure image stays behind intro text */
    opacity: 0; /* Make the image invisible initially */
    animation: slideIn 2s forwards; /* Trigger the animation */
}

/* Keyframe animation for the sliding effect */
@keyframes slideIn {
    0% {
        right: -500px; /* Start off-screen */
        opacity: 0; /* Invisible */
    }
    100% {
        right: 0; /* Final position */
        opacity: 1; /* Fully visible */
    }
}


/* Skills Section */
.skills-section {
    opacity: 0; /* Start hidden */
    transform: translateY(50px); /* Positioned below */
    transition: opacity 1.5s ease-out, transform 1.5s ease-out; /* Smooth animation */
    background-color: white;
    padding: 50px;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header styling similar to Profile */
.skills-header {
    font-size: 2.5em; /* Adjust as per your needs */
    font-weight: bold;
    color: black;
    text-align: left; /* Align header to the left */
    border-bottom: 3px solid black; /* Black underline */
    display: inline-block; /* To only cover the header text */
    margin-bottom: 40px;
    padding-left: 0px; /* Move the header more to the left */
}

/* Box around skills and languages */
.skills-box {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

/* Remove default bullets and set up container */
.skills, .languages {
    list-style: none; /* Remove all default list styling (including bullets) */
    padding: 0;
    background-color: #2AB8F0; /* Set the box background color */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Shadow for the box */
    width: 45%;
}

/* Style list items with circles on the left */
.skills li, .languages li {
    font-size: 1.2em;
    margin: 10px 0;
    position: relative; /* For positioning the circle */
    padding-left: 25px; /* Space for the circle */
    color: white; /* Change the text color to white */
}

/* Remove any unwanted default bullets in the list items */
.skills li::marker, .languages li::marker {
    content: none; /* Remove default markers */
}

/* Add small circles before each list item */
.skills li::before, .languages li::before {
    content: "";
    position: absolute;
    left: 10px; /* Position the circle on the left side */
    top: 50%;
    transform: translateY(-50%); /* Center the circle vertically */
    width: 10px; /* Circle size */
    height: 10px; /* Circle size */
    border-radius: 50%; /* Make it round */
    background-color: #80DBFF; /* Change the circle color to #80DBFF */
}


/* Portfolio Section */
.portfolio-section {
    padding: 50px;
    background-color: black;
    text-align: center;
}

/* Portfolio container: Ensure 3 columns layout */
.portfolio-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    gap: 50px; /* Space between cards */
    max-width: 2200px;
    margin: 0 auto;
}

/* Center the second row of cards */
.portfolio-container > .portfolio-card:nth-child(4),
.portfolio-container > .portfolio-card:nth-child(5) {
    grid-column: span 1; /* Keep them in the same size and same grid column */
    justify-self: center; /* Center the items in their grid cell */
}

.portfolio-header {
    font-size: 2.5em; /* Adjust as per your needs */
    font-weight: bold;
    color: white;
    text-align: left; /* Align header to the left */
    border-bottom: 3px solid white; /* Black underline */
    display: inline-block; /* To only cover the header text */
    margin-bottom: 40px;
    padding-left: 0px; /* Move the header more to the left */
    margin-right: 10000px;
}

.portfolio-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    text-align: left;
}

.portfolio-card:hover {
    transform: translateY(-5px); /* Slight lift on hover */
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    font-weight: bold;
    background-color: #2AB8F0;
    color: white;
}

.card-title {
    font-size: 1.3em;
}

.expand-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.expand-img {
    width: 20px;  /* Adjust size */
    height: auto;  /* Maintain aspect ratio */
    transition: transform 0.3s ease;  /* Optional: for rotation effect */
}

.expand-btn.active .expand-img {
    transform: rotate(180deg);  /* Optional: rotate image when active */
}


.card-description {
    overflow: hidden;
    max-height: 0; /* Initially hidden */
    transition: max-height 0.5s ease-out; /* Smooth transition */
    margin-left: 10px;
}


.portfolio-card .card-description {
    max-height: 0; /* Initially hidden */
    overflow: hidden;
    transition: max-height 0.3s ease-out; /* Smooth expansion */
}

.portfolio-card.expanded .card-description {
    max-height: 1000px; /* Increase to accommodate more content */
}




/* Hidden state (before appearing) */
.hidden {
    opacity: 0;
    transform: translateY(20px); /* Slightly move cards down */
    transition: opacity 0.6s ease, transform 0.6s ease; /* Smooth animation */
}

/* Visible state (after appearing) */
.visible {
    opacity: 1;
    transform: translateY(0); /* Reset position */
}



/* Education and Work Experience Section */
.education-work-section {
    opacity: 0; /* Start hidden */
    transform: translateY(50px); /* Positioned below */
    transition: opacity 1.5s ease-out, transform 1.5s ease-out; /* Smooth animation */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 40px;
    background-color: white; /* Optional background color for the section */
    
}

/* Individual column styles */
.education, .work {
    width: 45%; /* Each takes up 45% of the available space */
}

/* Headers */
.education h2, .work h2 {
    text-align: left; /* Align header to the left */
    font-size: 2.5em; /* Adjust font size as needed */
    margin-bottom: 10px; /* Reduce space below the header */
    display: inline-block; /* Make the underline only as wide as the text */
    border-bottom: 3px solid black; /* Black underline */
    color: black; /* Header text color */
}

/* Boxes for education and work */
.education-box, .work-box {
    background-color: #2AB8F0; /* Same color as profile section box */
    padding: 20px;
    border-radius: 15px; /* Rounded corners */
    text-align: left; /* Align text inside the box to the left */
    color: white; /* Paragraph text color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional box shadow for depth */
}

/* Text inside the boxes */
.education-box p, .work-box p {
    font-size: 1.2em; /* Increase text size for readability */
    line-height: 1.5; /* Adjust line spacing */
    margin: 0; /* Remove default margins */
}

.education-box b,
.work-box b {
    font-size: 1.3em; /* Make the text larger */
    font-weight: bold; /* Ensure the boldness stands out */
    display: block; /* Makes it appear on its own line */
}

  
/* Footer */
.footer {
    padding: 0px;
    background-color: #f7f7f7; /* Background color of the page */
    width: 100%; /* Ensure the footer stretches the full width of the screen */
    position: relative;
    z-index: 1;
}

.footer-box {
    background-color: black; /* Black box background */
    padding: 20px;
    width: 100%; /* Ensure the box takes full width */
    max-width: 100%; /* Remove any width constraints */
    box-sizing: border-box; /* Make sure padding doesn't affect the width */
}

.footer-header {
    font-size: 2.5em;
    color: white; /* White text color */
    margin-bottom: 50px;
    text-align: center; /* Center the header */
}

.footer-info {
    display: flex;
    justify-content: center; /* Align items in one line */
    gap: 15px; /* Spacing between items */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.footer-link, .footer-city {
    color: white; /* White text and link color */
    font-size: 1.2em; /* Adjust font size */
    text-decoration: none; /* Remove underline from links */
}

.footer-link:hover {
    text-decoration: underline; /* Optional hover effect for links */
}

.footer-separator {
    color: white; /* Separator color */
    font-size: 1.2em; /* Match the font size of the text */
}

  