/* General Styles */
body {
    background-color: #000000; /* Black background */
    color: #fff; /* White text */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    font-family: 'Roboto', sans-serif;

}

/* Logo and Navigation Menu */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 96%; /* Adjust navigation width */
    padding: 20px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: flex-end; /* Align navigation items to the right */
    align-items: center;
}

.logo {
    position: fixed;
    top: 5px; /* Adjusts how far down the logo is from the top */
    left: 15px; /* Adjusts how far right the logo is from the left */
    transform: translate(0, 10px); /* Fine-tunes the positioning */
    z-index: 1001;
}

.logo img {
    max-width: 110px; /* Adjust logo size as needed */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

nav ul li a::before {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #ff5722;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #ff5722;
    transform: translateY(-2px);
}

nav ul li a:hover::before {
    width: 100%;
}
/* mobile Nav */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    .hamburger-menu {
        display: block;
    }
}

/* Responsive Layout Adjustments */
@media (max-width: 768px) {
    nav {
        justify-content: center;
        align-items: flex-start;
        padding: 10px;
    }
    .logo {
        position: relative;
        margin-bottom: 10px;
    }
}

/* Welcome Section */
* { color:#fff; text-decoration: none;}
.typewrite > .wrap {
    border-right: 0.08em solid #fff; /* Creates the typing cursor */
    font-weight: bold; /* Optional: Makes the text bold */
    font-size: 1.2em; /* Increase for emphasis on mobile */
    background: linear-gradient(to right, #238bed, #8480ff); /* Blue to light blue gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Transparent fill to show the gradient */
}


#welcome .Howdy {
    font-size: 1.5em; /* Increase for emphasis on mobile */
    background: linear-gradient(to right, #ffffff, #ffffff); /* Blue to light blue gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Transparent fill to show the gradient */
    font-weight: bold;
}

#welcome .im-word {
    font-size: 1.2em; /* Increase for emphasis on mobile */
    background: linear-gradient(to right, #ffffff, #ffffff); /* Blue to light blue gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Transparent fill to show the gradient */
    font-weight: bold;
}

#welcome h1 {
    font-size: 3em; /* Adjust this value to make the text larger or smaller */
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

#welcome .gradient-text {
    font-size: 1.2em;
    background: linear-gradient(to right, #8480ff, #8480ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

/* Reduce Padding and Margin */
@media (max-width: 768px) {
    #welcome {
        padding: 20px;
    }
}

/* Responsive Adjustments */
@media (min-width: 1024px) {
    #welcome {
        padding-top: 10px; /* More space for larger screens */
    }
}

@media (max-width: 768px) {
    #welcome {
        padding-top: 80px; /* Less space for smaller screens */
    }
}

/* Seamless Section Styles */
section {
    margin: 0;
    background-color: inherit; /* Ensures a seamless transition between sections */
}

/* Contact Form */
#contact-section {
    text-align: center;
}

#contact-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

#contact-form {
    max-width: 600px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: none; /* Remove background for seamless integration */
    border-radius: 0;
    box-shadow: none;
}

#contact-form label {
    font-size: 1.2em;
    font-weight: bold;
}

#contact-form input, #contact-form textarea {
    padding: 15px;
    font-size: 1em;
    border: 2px solid #224eff;
    background-color: #111;
    color: #fff;
    border-radius: 5px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

#contact-form input:focus, #contact-form textarea:focus {
    border-color: #224eff;
    background-color: #222;
    outline: none;
}

#contact-form button {
    padding: 15px;
    font-size: 1.2em;
    border: none;
    background-color: #224eff;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#contact-form button:hover {
    background-color: #ff5722;
    transform: translateY(-3px);
}

/* Resume Section */
#portfolio {
    text-align: center;
}

.project-links {
    margin-top: 20px;
}
/* Responsive Image Sizes */
@media (max-width: 768px) {
    .profile-picture img,
    .project-card img {
        width: 100%;
        height: auto;
    }
}

.view-resume-button {
    padding: 10px 20px;
    font-size: 1.2em;
    border: none;
    background-color: #224eff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.view-resume-button:hover {
    background-color: #ff5722;
    transform: translateY(-3px);
}

/* Project Section */
#projects h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
    color: #ffffffed;
    font-family: 'Montserrat', sans-serif; /* Modern font */
    letter-spacing: 2px;
}

.project-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.project-card {
    background-color: #000000;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    width: 100%;
    max-width: 310px;
    min-height: 370px; /* Changed from max-height to min-height */

    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 15px #00000080;
    display: flex;
    flex-direction: column; /* Ensures content is aligned vertically */
}

.project-card img {
    width: 100%;
    height: 250px; /* Reduced height to give more space for text */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card video {
    width: 100%;
    height: 250px; /* Reduced height to give more space for text */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card a {
    padding: 20px;
    color: #224eff;
    text-decoration: none;
    font-weight: bold;
    background-color: #111;
    transition: background-color 0.3s ease;
    flex-grow: 1; /* Allow text area to expand as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4; /* Better line spacing for multi-line text */
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.9);
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card:hover a {
    background-color: #224eff;
    color: #fff;
}

/* Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .content-container {
        flex-direction: column;
        align-items: center;
        padding: 20px 10px;
    }

    .profile-picture img {
        width: 200px;
    }

    .project-cards {
        flex-direction: column;
        align-items: center;
    }

    .view-resume-button, #contact-form button {
        width: 100%;
    }
}

/* Small Tablets and Large Phones */
@media (max-width: 768px) {
    .project-cards {
        justify-content: space-between;
    }

    .project-card {
        width: calc(50% - 10px); /* Two cards per row on medium screens */
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .profile-picture img {
        width: 180px;
    }
}

/* Small Phones */
@media (max-width: 480px) {
    .project-card {
        width: 100%;
    }

    .profile-picture img {
        width: 120px;
    }

    .view-resume-button, #contact-form button {
        font-size: 1em;
        padding: 10px;
    }

    #welcome h1 {
        font-size: 2em;
    }

    .gradient-text {
        font-size: 1.2em;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }
}


/* Social Media and Contact Section */
.contact-social-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.social-media-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 40px;
}

.social-media-icons h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #ffffffed;
    text-align: center;
}

.connect-text {
    font-size: 1.2em;
    margin-bottom: 70px;
    color: #ffffff;
    text-align: center;
    max-width: 300px;
}

.icons {
    display: flex;
    gap: 70px;
    justify-content: center;
}

.icons a img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.icons a img:hover {
    transform: scale(1.1);
}

#contact-form-container {
    max-width: 600px;
    flex: 1;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: none;
}

#contact-form input, #contact-form textarea {
    padding: 15px;
    font-size: 1em;
    border: 2px solid #224eff;
    background-color: #111;
    color: #fff;
    border-radius: 5px;
}

#contact-form input:focus, #contact-form textarea:focus {
    border-color: #224eff;
    background-color: #222;
}

#contact-form button:hover {
    background-color: #ff5722;
}

#message-sent {
    display: none;
    color: #00ff00;
    margin-top: 20px;
    font-size: 1.2em;
    text-align: center;
}

#send-button:disabled {
    opacity: 0.7;
}
/* Intro Text Styling */
.intro-text {
    color: #d3d3d3; /* Light grey text */
    font-size: 1.5em; /* Larger font size than the default */
    margin-top: 10px;
    line-height: 1.6; /* Line height for readability */
}
.scu {
    font-size: 1em;
    line-height: 1.6; /* Line height for readability */
    background: linear-gradient(90deg, rgb(255, 139, 139), rgb(247, 202, 202), rgb(247, 157, 157));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block; /* Ensures gradient applies fully across text */
}

/* Initially hidden */
#about {
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  /* Show the section when the 'show' class is added */
  #about.show {
    opacity: 1;
  }
  
  
  .emoji {
    width: 1.5em; /* Adjust the width to make it smaller */
    height: auto; /* Maintain aspect ratio */
    vertical-align: middle; /* Aligns the emoji with the text */
    padding-bottom: 0.2in;
}
/* About Me paragraph styling */
#about p {
    color: #d3d3d3; /* Light grey font */
    font-size: 1.1em; /* Slightly larger font */
    line-height: 1.8; /* Adjust line height for better readability */
}



/* Content Layout */
.content-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 120px 20px 1px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.text-content {
    flex: 1;
    margin-right: 100px;
    max-width: 70%; /* Keep intro text at 60% of the container */
}

.profile-picture {
    flex: 0 0 35%; /* Image takes up 35% of the container */
    margin-top: 50px; /* Lowered the image */
    display: flex;
    justify-content: flex-end;
}

.profile-picture img {
    width: 480px; /* Increased size for more zoom */
    height: 480px;
    border-radius: 50%; /* Perfect circle */
    object-fit: cover; /* Maintains aspect ratio without stretching */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
    transition: transform 0.3s ease; /* Smooth hover effect */
}

.about-content {
    margin-top: 0px; /* Space between image and about section */
}

#about h2 {
    text-align: left;
    padding-left: 15%; /* Adjust percentage as needed */
}

#about p {
    color: #d3d3d3;
    font-size: 1.2em;
    line-height: 1.8;
    margin-top: 20px;
    max-width: 100%;
    padding-left: 15%; /* Adjust percentage as needed */
    padding-right: 15%; /* Adjust percentage as needed */
}


/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
        align-items: center;
    }

    .text-content {
        max-width: 100%; /* Ensure text takes full width on smaller screens */
        margin: 0;
    }

    .profile-picture {
        margin-top: 20px;
        margin-bottom: 20px; /* Add margin below the image */
    }

    .profile-picture img {
        width: 200px;
        height: 200px;
    }

    #about p {
        max-width: 100%;
    }
}

html {
    scroll-behavior: smooth;
  }
  


/* Container for About Me and Image */
.content-container2 {
    display: flex;
    justify-content: space-between; /* Space between text and image */
    align-items: flex-start; /* Align text and image at the top */
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px; /* Space between text and images */
}

/* About Me text section */
.aboutmesection {
    flex: 1; /* Text section takes remaining space */
    color: #4b4b4b;
    font-size: 1.2em;
    line-height: 1.6;
    margin-top: 11%; /* Adjust as needed */
    padding-right: 20px; /* Space between text and image */
    padding-left: 20%; /* Space between text and image */
}

.profile-pictures {
    flex: 0 0 450px; /* Increased width for the image container */
    display: flex;
    flex-direction: column; /* Images stack vertically */
    gap: 20px; /* Space between images */
    margin-top: 20%; /* Lowered the image by increasing margin */
}

.profile-picture2 img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
}

.profile-picture3 img, .profile-picture3 video {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
}

/* Make app screenshots bigger */
.app-screenshots img {
    max-width: 550px !important;
    width: 100% !important;
}
#about-me p{
    color: #cecece;
 
}


/* Profile picture section */
.profile-picture2 {
    flex: 0 0 35%; /* Image takes up 35% of the width */
    padding-top: 5%;   
     margin-right: 10%; /* Align with the text */
    margin-top: 100px; /* Align with the text */
    display: flex;
    justify-content: flex-end; /* Align image to the right */
}

.profile-picture2 img {
    width: 400px; /* Adjust image size as needed */
    height: 400px;
    border-radius: 1%;
}
/* Profile picture section */
.profile-picture3 {
    flex: 0 0 35%; /* Image takes up 35% of the width */
    padding-top: 2%;   
    padding-right: 10%;
    margin-left: auto; /* Automatically push the section to the right */
    margin-top: 10px; /* Align with the text */
    display: flex;
    justify-content: flex-end; /* Align image to the far right */
}

.profile-picture3 img {
    width: 400px; /* Adjust image size as needed */
    height: 400px;
    border-radius: 1%;
}


.about-icons {
    display: flex;
    gap: 70px;
    justify-content: center;
}

.about-icons a img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.about-icons a img {
    transition: transform 0.3s ease, filter 0.3s ease; /* Smooth transition for both transform and filter */
    filter: brightness(95%); /* Initial state */
}

.about-icons a img:hover {
    transform: scale(1.2); /* Slightly enlarge on hover */
    filter: brightness(.8) sepia(1) hue-rotate(100deg) saturate(4) contrast(.7); /* Blue tint */
}

#about-me h2 {
    font-size: 2em;
    margin-top: 10px;
    margin-bottom: 0; /* Remove space below the heading */
    background: linear-gradient(90deg, rgb(255, 230, 118), rgb(45, 77, 255));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ffffffed;
    font-family: 'Montserrat', sans-serif;
}

.view-all-projects {
    text-align: center;
    margin-top: 70px;
    margin-bottom: 10px;

}
  
  .view-all-button {
    padding-top: 101px;
    padding: 10px 20px;
    font-size: 1.2em;
    color: #fff;
    background-color: #224eff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  
  .view-all-button:hover {
    background-color: #ff5722;
    transform: translateY(-3px);
  }
  
  .skills-inline {
    font-size: 1em;
    margin-top: 10px;
    background: linear-gradient(90deg, rgb(255, 206, 114), rgb(139, 139, 240));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block; /* Ensures gradient applies fully across text */
}

/* Project links styling */
.aboutmesection a {
    background: linear-gradient(90deg, #224eff, #8480ff); /* Blue to purple gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: underline;
    font-weight: bold;
    transition: all 0.3s ease;
}

.aboutmesection a:hover {
    background: linear-gradient(90deg, #ff5722, #8480ff); /* Orange to purple on hover */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: underline;
}
.content-container2 {
    display: flex;
    align-items: flex-start; /* Aligns items to the top */
    gap: 40px; /* Space between text and images */
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.aboutmesection {
    flex: 1; /* Text section takes up remaining space */
}

.profile-pictures {
    flex: 0 0 400px; /* Fixed width for the image container */
    display: flex;
    flex-direction: column; /* Images stack vertically */
    gap: 20px; /* Space between images */
}

.profile-picture3 img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 5px;
}

.profile-picture2 img {
    width: 100%;
    max-width: 400px; 
    height: auto;
    border-radius: 5px;
}

/*project pages below */

.all-projects-section {
    padding: 150px 20px 60px;
    text-align: center;
}

.all-projects-section h1 {
    font-size: 2.5em;  
    margin-bottom: 10px;
    color: #ffffffed;
}

.intro-text {
    font-size: 1.3em;
    color: #d3d3d3;
    margin-bottom: 40px;
}

.project-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
/* Responsive Grid Layout */
@media (max-width: 768px) {
    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .project-gallery {
        grid-template-columns: 1fr;
    }
}


.project-card {
    background-color: #000000;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-card a {
    display: block;
    padding: 15px;
    font-size: 1.2em;
    color: #224eff;
    text-decoration: none;
    font-weight: bold;
    background-color: #000000;
    transition: background-color 0.3s ease;
}

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

.project-card:hover a {
    background-color: #224eff;
    color: #fff;
}

footer {
    padding: 20px;
    background-color: #111;
    text-align: center;
    font-size: 0.9em;
    color: #777;
}
.small-emoji {
    width: 1em; /* Adjust as needed */
    height: auto;
    vertical-align: middle; /* Align with text */
}


.project-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four cards per row */
    gap: 70px;
    justify-items: center; /* Center-aligns the cards */
}

.project-card {
    background-color: #000000;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    width: 100%;
    max-width: 310px;
    max-height: 370px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-card a {
    display: block;
    padding: 15px;
    font-size: 1.2em;
    color: #224eff;
    text-decoration: none;
    font-weight: bold;
    background-color: #111;
    transition: background-color 0.3s ease;
}

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

.project-card:hover a {
    background-color: #224eff;
    color: #fff;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
    .project-gallery {
        grid-template-columns: repeat(2, 1fr); /* Two cards per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .project-gallery {
        grid-template-columns: 1fr; /* One card per row on small screens */
    }
}


/* mobile stuff */
/*font sizes*/
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    .view-resume-button, #contact-form button {
        font-size: 1em;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5em;
    }
}
