/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Base styles for the navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 10px 15px;
    position: relative;
    z-index: 10;
}

/* Hamburger menu for mobile */
.hamburger {
    display: none; /* Hidden on larger screens */
    flex-direction: column;
    cursor: pointer;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 20;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}

/* Navigation links for desktop */
.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

/* Responsive menu (mobile) */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* Show the hamburger on mobile */
    }

    /* Initially hide the navigation links */
    .nav-links {
        position: fixed;
        top: 60px; /* Start right below the header */
        left: 0;
        width: 100%;
        background-color: #4407ee;
        display: flex;
        justify-content: center;
        flex-direction: row; /* Display links side-by-side */
        padding: 10px;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; /* Added opacity transition */
        transform: translateY(-100%); /* Initially hidden */
        opacity: 0; /* Start hidden */
        z-index: 10;
    }

    /* Show the navigation links when active */
    .nav-links.nav-active {
        transform: translateY(0); /* Slide down into view */
        opacity: 1; /* Fade in */
    }

    /* Ensure links are aligned properly */
    .nav-links li {
        margin: 0 10px;
    }

    .nav-links a {
        color: white;
        text-decoration: none;
        font-size: 18px;
        display: block;
        padding: 5px 10px;
        white-space: nowrap; /* Prevent wrapping */
    }

    /* Adjust for mobile view */
    body {
        overflow-x: hidden;
    }
}


nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* Ensure responsiveness */
}

nav ul li {
    display: inline-block;
    margin: 10px 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 1.2rem;
}

nav ul li a:hover {
    background-color: #d80c8a;
    border-radius: 5px;
}

/* Section Styles */
section {
    padding: 50px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        display: block;
    }
}

/* Home Section Styles */
.home-section {
    background-image: radial-gradient(red,blue); /* Professional blue gradient */
    color: rgb(250, 248, 255);
    height: 25vh; /* Full screen height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5); /* Subtle shadow */
}

.home-section h1 {
    font-size: 4rem; /* Large, eye-catching font size */
    font-family: 'Poppins', sans-serif; /* Modern, professional font */
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5); /* Shadow for depth */
}

/* Responsive Home Section */
@media (max-width: 768px) {
    .home-section h1 {
        font-size: 2.5rem; /* Adjust for smaller screens */
    }
}

/* About Me Section Styles */
#about {
    background-color: #f0f8ff; /* Light blue background for section */
    padding: 50px;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.photo-container {
    border: 5px solid #eb0ca1; /* Colorful border */
    border-radius: 10%;
    padding: 5px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for photo */
}

.photo-container img {
  width: 100%; /* Ensure it fits the container */
  height: auto; /* Maintain the aspect ratio */
  object-fit: cover; /* This will ensure the image is cropped nicely */
  border-radius: 10px; /* Rounded corners for a smooth look */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a shadow for appeal */
}

.about-text {
    max-width: 768px;
    font-size: 1.2rem;
    line-height: 1.2;
    color: #111010;
    padding: 20px;
    background-color: #f770f0; /* Light orange background for text */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Shadow for text box */
}

/* Responsive */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .photo-container img {
        width: 100%;
        height: auto;
        border-radius: 5px;
        box-shadow: none;
    }

    .about-text {
        font-size: 1rem;
    }
}

/* Education Section Styles */
#education {
    background-color: #f4f4f9; /* Light gray background */
    padding: 50px;
    text-align: center;
}

#education h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.education-container {
    display: flex; /* Use flexbox layout */
    justify-content: space-around; /* Space items evenly */
    flex-wrap: wrap; /* Allow items to wrap to the next line on smaller screens */
}

.education-item {
    background-color: #fff; /* White background for each education item */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 20px;
    margin: 20px;
    width: 280px; /* Fixed width for consistency */
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effects */
}

.education-item:hover {
    transform: translateY(-5px); /* Slightly raise the item on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Increase shadow depth on hover */
}

.education-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #1e3c72; /* Same professional blue as the home section */
}

.education-item p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 10px;
}

.education-item a {
    color: #2a5298;
    text-decoration: none;
    font-size: 1rem;
}

.education-item a:hover {
    text-decoration: underline;
}

/* Responsive Education Section */
@media (max-width: 768px) {
    .education-item {
        width: 90%; /* Full width on smaller screens */
    }

    #education h2 {
        font-size: 2rem; /* Adjust heading size for smaller screens */
    }
}


/* Skills Section Styles */
#skills {
    background-color: #f9f9f9; /* Light background */
    padding: 50px;
    text-align: center;
}

#skills h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.skills-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
}

.skill-item {
    background-color: #fff; /* White background for each skill item */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    padding: 20px;
    margin: 20px;
    width: 280px; /* Fixed width for consistency */
    text-align: center;
}
.skill-item:hover{
    transform: translateY(-5px); /* Slightly raise the item on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Increase shadow depth on hover */
}

.skill-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #1e3c72; /* Professional blue */
}

.skill-item ul {
    list-style-type: none; /* Remove default list styling */
    padding: 0; /* Remove padding */
}

.skill-item li {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 5px;
}

/* Responsive Skills Section */
@media (max-width: 768px) {
    .skills-container {
        flex-direction: column;
        align-items: center;
    }

    .skill-item {
        width: 90%; /* Full width on smaller screens */
    }

    #skills h2 {
        font-size: 2rem; /* Adjust heading size for smaller screens */
    }
}
/* Projects Section Styles */
#projects {
    background-color: #f9f9f9; /* Light background */
    padding: 50px;
    text-align: center;
}

#projects h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.projects-container {
    display: flex; /* Use flexbox layout */
    justify-content: space-around; /* Space items evenly */
    flex-wrap: wrap; /* Allow items to wrap to the next line on smaller screens */
}

.project-item {
    background-color: #fff; /* White background for each project item */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 20px;
    margin: 20px;
    width: 280px; /* Fixed width for consistency */
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effects */
}

.project-item:hover {
    transform: translateY(-5px); /* Slightly raise the item on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Increase shadow depth on hover */
}

.project-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #1e3c72; /* Same professional blue */
}

.project-item p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 10px;
}

.project-item a {
    color: #2a5298;
    text-decoration: none;
    font-size: 1rem;
}

.project-item a:hover {
    text-decoration: underline;
}

/* Responsive Projects Section */
@media (max-width: 768px) {
    .project-item {
        width: 90%; /* Full width on smaller screens */
    }

    #projects h2 {
        font-size: 2rem; /* Adjust heading size for smaller screens */
    }
}
/* Certifications Section Styles */
#certifications {
    background-color: #f4f4f9; /* Light gray background */
    padding: 50px;
    text-align: center;
}

#certifications h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.certifications-container {
    display: flex; /* Use flexbox layout */
    justify-content: space-around; /* Space items evenly */
    flex-wrap: wrap; /* Allow items to wrap to the next line on smaller screens */
}

.certification-item {
    background-color: #fff; /* White background for each certification item */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 20px;
    margin: 20px;
    width: 280px; /* Fixed width for consistency */
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effects */
}

.certification-item:hover {
    transform: translateY(-5px); /* Slightly raise the item on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Increase shadow depth on hover */
}

.certification-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #1e3c72; /* Same professional blue as other sections */
}

.certification-item p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 10px;
}

.certification-item a {
    color: #2a5298;
    text-decoration: none;
    font-size: 1rem;
}

.certification-item a:hover {
    text-decoration: underline;
}

/* Responsive Certifications Section */
@media (max-width: 768px) {
    .certification-item {
        width: 90%; /* Full width on smaller screens */
    }

    #certifications h2 {
        font-size: 2rem; /* Adjust heading size for smaller screens */
    }
}
/* Contact Section Styles */
#contact {
    background-color: #f4f4f9; /* Light gray background */
    padding: 50px;
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.contact-container {
    display: flex; /* Use flexbox layout */
    justify-content: center; /* Center the content */
    flex-wrap: wrap; /* Allow items to wrap to the next line on smaller screens */
    margin-top: 20px;
}

form {
    background-color: #fff; /* White background for the form */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 20px;
    margin: 20px;
    width: 300px; /* Fixed width for the form */
}

.form-group {
    margin-bottom: 15px; /* Space between form groups */
}

label {
    display: block; /* Block-level label for better styling */
    margin-bottom: 5px;
}

input, textarea {
    width: 100%; /* Full width inputs */
    padding: 10px;
    border: 1px solid #ccc; /* Light border */
    border-radius: 5px; /* Rounded corners */
}

button {
    background-color: #1e3c72; /* Button color */
    color: white; /* Button text color */
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth transition */
}

button:hover {
    background-color: #2a5298; /* Darker button color on hover */
}

.social-media {
    margin-top: 20px;
}

.social-media h3 {
    margin-bottom: 10px; /* Space between heading and links */
}

.social-media a {
    display: inline-block; /* Block display for spacing */
    margin: 5px 10px; /* Space between links */
    color: #2a5298; /* Link color */
    text-decoration: none; /* No underline */
}

.social-media a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Responsive Contact Section */
@media (max-width: 768px) {
    form {
        width: 90%; /* Full width on smaller screens */
    }

    #contact h2 {
        font-size: 2rem; /* Adjust heading size for smaller screens */
    }
}
/* Blog section styles */
#blog {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

#blog h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

/* Grid layout for blog posts */
.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    justify-items: center;
}

.blog-posts .post {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    width: 100%;
    max-width: 350px;
    transition: box-shadow 0.3s ease;
}

.blog-posts .post h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #3498db;
}

.blog-posts .post p {
    font-size: 1em;
    color: #555;
    margin-bottom: 10px;
}

.blog-posts .post a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s ease;
}

.blog-posts .post a:hover {
    border-bottom: 2px solid #3498db;
}

/* Hover effect for blog posts */
.blog-posts .post:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
/* YouTube section styles */
#youtube {
    padding: 40px 20px;
    background-color: #f1f1f1;
    text-align: center;
}

#youtube h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

#youtube p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
}

.youtube-videos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.youtube-videos .video {
    flex: 1 1 300px;
    max-width: 500px;
}

.youtube-videos iframe {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.youtube-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #ff0000;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.youtube-link:hover {
    background-color: #cc0000;
}

/* Responsive YouTube section */
@media screen and (max-width: 600px) {
    .youtube-videos {
        flex-direction: column;
    }
}

/* Example: Add this to your existing CSS file */
html {
    scroll-behavior: smooth;
}

/* Your other CSS rules below... */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-content {
    padding: 0 20px;
  }
  
  .social-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid #fff;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
  }
  
  .social-links a:hover {
    background-color: yellow;
    color: #333;
  }
  
  .developer {
    margin-bottom: 5px;
    font-size: 14px;
    color: yellow;
  }
  
  h3 {
    font-size: 18px;
    margin: 10px 0;
  }
  
  @media (max-width: 768px) {
    .footer-content {
      padding: 0 10px;
    }
  
    .social-links a {
      display: block;
      margin: 10px 0;
    }
  }
  

