* {
    box-sizing: border-box;
}

body {
    background-image: linear-gradient(to top, #0250c5 0%, #d43f8d 100%);
    font-family: "Lexend", sans-serif;
}

a {
    text-decoration: none;
}

/* Default Font for Headings */
h1, h2, h3 {
    font-family: "Special Elite", sans-serif;
}
/* Override the specific h2 for Degrees & Certifications */
.no-padding-h2 {
    padding-top: 20px;  /* Remove padding */
    margin-top: 20px;   /* Remove margin */
}
@font-face {
    font-family: 'VenusRising';
    src: url('fonts/venus\ rising\ rg.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Mokoto Regular';
    src: url('fonts/mokoto.regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
/* Specific Game Section Font */
.gamesFont-h2 {
    font-family: 'Press Start 2P', sans-serif; /* Apply the game font */
    font-size: 3rem; /* Slightly larger size for game sections */
    letter-spacing: 1px; /* Adds spacing for a retro look */
    margin-top: 40px; /* Adjust the margin as needed */
    margin-bottom: 10px;
    padding-top: 10px; 
    color: #050505; /* Darker color for contrast */
}

/* Mobile Adjustments for Game Section Heading */
@media (max-width: 600px) {
    .gamesFont-h2 {
        font-size: 2rem; /* Make the text bigger */
        margin-top: 10px;
        padding-top: 5px;
        text-align: center; /* Center the text */
        line-height: 1.2; /* Adjust the line height */
    }
    
    /* Force a line break between "Game" and "Development" */
    .gamesFont-h2 span {
        display: block; /* Display each part on a new line */
    }
    #gameslink {
        font-size: 2em; /* Adjust the font size as needed */
        /* Add any other styles to ensure proper collapsing */
      }
}
.gamesFont-h3 {
    font-family: 'Press Start 2P', sans-serif; /* Use the game font */
    font-size: 1.2rem; /* Adjust size if needed */
    margin-top: 20px; /* Adds space above the h2 text */
    margin-bottom: 10px; /* Optional: space below the h2 text */
    letter-spacing: 1px; /* Optional spacing */
    color: #050505; /* Example color change */
}
.techFont-h1 {
    font-family: 'VenusRising', sans-serif; /* Use the game font */
    font-size: 3rem; /* Adjust size if needed */
    margin-top: 10px; /* Adds space above the h2 text */
    letter-spacing: 1px; /* Optional spacing */
    color: #ffffff; /* Example color change */
}
@media (max-width: 600px) {
    .techFont-h1 {
        font-size: 1.8rem; /* Smaller size for mobile screens */
        margin-top: 30px; /* Adjust margin for mobile */
    }
}
.techFont-h2 {
    font-family: 'VenusRising', sans-serif;
    font-size: 4rem;            /* Increase size to match other sections */
    letter-spacing: 1px;
    color: white;               /* Make it readable on the blue background */
    text-align: center;
}
.techFont-h3 {
    font-family: 'VenusRising', sans-serif; /* Use the game font */
    font-size: 1.2rem; /* Adjust size if needed */
    margin-top: 10px; /* Adds space above the h2 text */
    margin-bottom: 10px; /* Optional: space below the h2 text */
    letter-spacing: 1px; /* Optional spacing */
    color: #050505; /* Example color change */
}

#aboutmelink,
#gameslink,
#resumelink,
#virtualcreationslink,
#portfoliolink,
#bloglink,
#serviceslink,
#contactlink,
#projects h2 {
    scroll-margin-top: 120px;
}
/* Main navigation bar styling */
nav {
    display: flex;
    background-color: #3352FF;
    justify-content: center;
    position: fixed;
    width: 100%;
    z-index: 1000; /* Ensure it's on top */
    top: 0;
    padding: 0; /* Remove padding */
    height: 60px; /* Set a fixed height for the navigation bar */
    align-items: center; /* Ensure items are vertically centered */
}

/* Navigation list styling */
nav ul {
    display: flex;
    flex-wrap: wrap;             /* Let links wrap gracefully */
    justify-content: space-evenly; /* Evenly spread items */
    align-items: center;
    padding: 0;                /* Prevent overflow due to horizontal padding */
    margin: 0;
    list-style: none;
    transition: max-height 0.3s ease;
}

/* Navigation list items */
nav ul li {
    margin: 5px 15px; /* Adjusted margin for spacing */
}

/* Navigation links */
nav ul li a {
    font-size: 16px;
    color: white;
    transition: 0.2s;
    text-transform: uppercase;
    text-decoration: none;
    white-space: normal;       /* Allow wrapping */
    text-align: center;        /* Center if wrapped */
    display: inline-block;     /* Needed to respect text-align */
    line-height: 1.2;          /* Slightly tighter lines for 2-line links */
}

/* Hover effect for links */
nav ul li a:hover {
    color: #52c5FF;
}

/* Hamburger menu icon styling */
.hamburger {
    display: none; /* Hidden by default, shown on smaller screens */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 5px;
    height: 60px; /* Ensure the hamburger icon matches the nav height */
}

/* Hamburger icon bars */
.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: 0.3s;
}
@media (max-width: 1100px) and (min-width: 769px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 10px;
    }

    nav ul li a {
        font-size: 14px;
        text-align: center;
        white-space: normal;
    }
}

/* Media query for mobile screens */
@media (max-width: 768px) {
    nav {
        flex-direction: row; /* Fix hamburger + ul alignment */
        justify-content: space-between; /* Hamburger left, menu right */
        align-items: center;
        padding: 0 10px;
        height: auto;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start; /* ← Align left */
        cursor: pointer;
        padding: 10px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        display: flex;
        width: 100%;
        height: 0;
        overflow: hidden;
        text-align: center;
        background-color: #3352FF;
        transition: height 0.3s ease;
    }

    nav ul.show {
        height: auto;
        max-height: 100vh;
        overflow-y: auto;
    }

    nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: inline-block;
        padding: 15px 0;
        width: auto;
        text-align: center;
    }

    .hamburger.open div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.open div:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Transition for hamburger icon on toggle */
.hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Global mobile padding adjustment for all sections */
@media (max-width: 768px) {
    section {
        padding: 20px 10px; 
        margin: 0 auto;
    }
}
.container {
    position: relative;
    width: 95%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}
.hero {
    padding-top: 130px;
}
.hero img {
    display: block;
    margin: 0 auto; /* Center the image horizontally */
    margin-bottom: 30px;
    max-width: 90vw; /* Restrict width on mobile devices */
    width: 50%; /* Ensure it takes up full width if needed */
    height: auto; /* Maintain aspect ratio */
    border-radius: 50%; /* Keep the circular shape */
}
h1 {
    color: #333;
    text-align:center;
}

#name {
    color: white;
    font-size: 4rem;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 30px; 
    margin-top: -30px; /* Negative margin to offset the padding */
}
#aboutmelink {
    color: white;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 80px;
}

.aboutme {
    width: 95%;
    max-width: 1100px;
    height: auto;
    background-color: antiquewhite;
    text-align: center;
    padding: 40px 50px;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 60px;    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4), -10px -10px 0 rgba(11, 81, 187, 0.9);
    border-radius: 10px;
}

/* Container styles for the section */
.aboutme-section {
    padding: 5px;
    display: flex;
    flex-direction: row; /* Display items in a row by default */
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap; /* Prevent wrapping on larger screens */
}

/* PDF styling in place of the image */
.aboutme-pdf {
    width: 100%;
    max-width: 450px; /* Adjust to control the size of the PDF display */
    height: auto;
    border-radius: 8px;
    background-color: #f5f5f5;
}

/* Text styles */
.aboutme-text {
    width: 55%; /* Balance text width relative to the PDF */
    margin-left: 20px; /* Space between PDF and text */
    text-align: left;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .aboutme-section {
        flex-direction: column; /* Stack the PDF and text vertically */
        align-items: center; /* Center items for mobile layout */
        padding: 10px; 
        margin: 0 auto;
    }

    .aboutme-pdf {
        width: 100%; /* Full width on smaller screens */
        max-width: none; /* Allow full-width expansion */
        margin-bottom: 20px; /* Space below the PDF */
    }

    .aboutme-text {
        width: 100%; /* Full width for text on mobile */
        margin-left: 0; /* Remove margin to center align */
        text-align: center; /* Center align text for mobile */
    }
}

/* Modal container */
.pdf-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 100; /* Ensure it appears on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
}

/* Style the PDF button */
#openPdfBtn {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: rgb(19, 69, 235);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#openPdfBtn:hover {
    background-color: rgb(82, 129, 231);
}
/* Modal content */
.pdf-modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    height: 90%;
    background-color: white;
}

/* Close button */
.pdf-modal-close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

/* Close button hover effect */
.pdf-modal-close:hover,
.pdf-modal-close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}


/* Center the Projects Heading */
#projects h2 {
    color: white;
    font-size: 4rem;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 80px;
}

/* Projects Grid Layout */
.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px; /* Increase gap between project boxes */
    padding: 20px;
    justify-items: center;
    margin-bottom: 50px;
}

/* Individual Project Box Styling */
.project-box {
    width: 100%;
    max-width: 600px; /* Ensures a max size */
    height: auto;
    aspect-ratio: 1; /* Maintain a square aspect ratio */
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s ease;
}

/* Project Box Hover Effect */
.project-box:hover {
    transform: scale(1.05);
}

/* Text Container Inside Project Box */
.project-box .text {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    text-align: center;
    box-sizing: border-box;
    margin-top: 15px; /* Adds margin above the text */
    padding: 10px 15px; /* Adjust padding to space the content */
    position: relative;
}

/* Project name styling */
.project-box .project-name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 10px 0 10px 0;
    text-shadow: 0px 1px 3px rgba(0,0,0,0.3); /* Optional shadow for readability */
}

/* Text content styling */
.project-box .content {
    color: black;
    font-size: 14px;
}

/* Default state for project box content */
.text {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    text-align: center;
    box-sizing: border-box;
    max-height: 50px;
    overflow: hidden;
    padding: 15px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0.85; /* More visible on load */
}

/* Hover effect for desktop */
.project-box:hover .text {
    max-height: 250px;
    opacity: 1;
}

/* Hide content initially */
.text .content {
    display: none;
    padding: 10px 0;
}

/* Show content on hover */
.project-box:hover .text .content {
    display: block;
}

/* Button Styling */
.button {
    display: none; /* Hidden by default */
}

.project-box:hover .button {
    display: inline-block; /* Show on hover */
}

/* Button Styling */
.button {
    display: inline-block;
    border-radius: 10px;
    padding: 5px 10px;
    margin-top: 10px;
    margin-bottom: 15px;
    background-color: rgb(15, 88, 224);
    color: white;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.button:hover {
    background-color: deepskyblue;
    border: 2px solid deepskyblue;
    color: white;
}

@media (max-width: 1024px) {
    .projects {
        grid-template-columns: 1fr;
        margin: 0 auto;
    }

    .project-box {
        max-width: 90vw; /* Use viewport width to adapt to smaller screens */
        height: auto; /* Let height adjust with aspect ratio */
        margin: 10px; /* Add margin for spacing */
    }
}

@media (max-width: 768px) {
    .projects {
        padding: 10px;
        margin: 0 auto;
    }
        /* Remove hover effect for mobile */
    .project-box:hover .text {
        max-height: 50px; /* Reset hover on mobile */
    }
}

/* Games Section Heading Styling */
#gameslink {
    font-family: 'Press Start 2P', sans-serif;
    font-size: 4rem;
    letter-spacing: 1px;
    color: white;
    text-align: center;
    margin-top: 80px;
    margin-bottom: 40px;
}
/* Mobile Adjustments for Game Section Heading */
@media (max-width: 600px) {
    #gameslink {
        font-size: 2rem;
        text-align: center;
        line-height: 1.2;
    }
}

/* Game section styling */
.games {
    width: 95%;
    max-width: 1100px;
    height: auto;
    background-color: antiquewhite;
    text-align: center;
    padding: 40px 50px;
    margin: 0 auto 60px auto;  /* Removed top margin */
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4), -10px -10px 0 rgba(11, 81, 187, 0.9);
    border-radius: 10px;
}

/* Desktop Placeholder Styles */
.game-placeholder {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    background-color: #000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    cursor: pointer;
    padding: 10px;
    position: relative;
    text-align: center;
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.game-placeholder img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    object-position: top center;
}

.game-embed:not(:last-of-type) {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    margin-bottom: 80px;
}

/* Mobile-specific adjustments for games section */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-game-message {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.7);
        padding: 10px;
        border-radius: 5px;
        width: 90%;
        max-width: 320px;
        white-space: normal;
        text-align: center;
        z-index: 1;
        display: block;
    }

    .game-placeholder {
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
        background-color: #000;
        width: 85vw;
        height: auto;
        position: relative;
    }

    .games {
        padding: 20px;
        margin-top: 80px;
    }
}

/* Hide mobile-only message by default */
.mobile-game-message {
    display: none;
}

/* Position text within each game placeholder correctly */
.load-game-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
    width: auto;
    white-space: nowrap;
    text-align: center;
    z-index: 1;
}

/* Portfolio Section Heading Styling */
#portfoliolink {
    font-size: 4rem; /* Adjust the size to match other section headings */
    letter-spacing: 1px; /* Adds spacing for a retro look */
    color: white; /* Same as other headings */
    text-align: center;
    margin-bottom: 40px;
    margin-top: 80px; 
}
/* Mobile Adjustments for Portfolio Section Heading */
@media (max-width: 600px) {
    #portfoliolink {
        font-size: 2rem; /* Adjust the font size for mobile */
        margin-top: 0; /* Adjust the top margin for mobile */
        padding-top: 80px; /* Adjust the padding for mobile */
        text-align: center; /* Center the text */
        line-height: 1.2; /* Adjust the line height */
    }
}
/* portfolio section styling */
.portfolio {
    width: 95%;
    max-width: 1100px;
    height: auto;
    background-color: antiquewhite;
    text-align: center;
    padding: 40px 50px;
    margin: 0 auto;
    margin-bottom: 60px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4), 10px -10px 0 rgba(117, 11, 187, 0.9);
    border-radius: 10px;
}

    /* Mobile-specific adjustments for portfolio section */
@media (max-width: 768px) {
    .desktop-only {
        display: none; /* Hide desktop-only elements on mobile */
    }
}
.youtube-embed {
    aspect-ratio: 16 / 9; /* Keeps the aspect ratio */
    width: 100%; /* Use viewport width to adapt on smaller screens */
    max-width: 960px; /* Optional: cap width on large screens */
    margin: 20px auto;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.youtube-embed h3,

.youtube-embed p {
    color: white; /* Optional: make it pop on dark background */
    margin-bottom: 10px;
    text-align: center;
    max-width: 900px;
}
.youtube-embed .iframe-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
}

.youtube-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
#virtualcreationslink {
    font-size: 3rem;
    letter-spacing: 1px;
    color: white;
    text-align: center;
    margin-top: 80px;      /* Match others */
    margin-bottom: 40px;    /* Match others */
}
/* VRChat Section Styling */

.vrchat {
    width: 95%;
    max-width: 1100px;
    height: auto;
    background-color: antiquewhite;
    text-align: center;
    padding: 40px 50px;
    margin: 0 auto 60px auto; /* Consistent with others */
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4), 10px 10px 0px rgba(18, 59, 243, 0.9);
    border-radius: 10px;
}
/* Swiper wrapper container */
.swiper-wrapper-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0 auto 20px auto;
    position: relative;
    overflow: visible; /* Allow buttons to go outside */
}

/* Swiper image container */
.swiper-container {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    position: relative;
}

/* Visit World button container */
.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 60px;
}

/* Navigation Buttons (shared base style) */.swiper-button-prev,
.swiper-button-next {
    color: rgb(4, 149, 247) !important; /* Bright green arrow */
    text-shadow: 2px 2px 9px rgba(0, 0, 0, 0.85); /* Shadow on arrow only */
    background-color: transparent; /* Remove button circle */
    border-radius: 0;
    padding: 0;
    width: auto;
    height: auto;
    font-size: 36px; /* Make the arrow bold and clear */
    box-shadow: none;
}

/* Button positioning (desktop) */
.swiper-button-prev,
.museum-prev,
.island-prev,
.stacks-prev,
.vday-prev,
.avatars-prev,
.bs-island-prev {
    left: calc(50% - 300px); /* 700px / 2 + 20px buffer */
}

.swiper-button-next,
.museum-next,
.island-next,
.stacks-next,
.vday-next,
.avatars-next,
.bs-island-next {
    right: calc(50% - 300px);
}

/* Image styling inside Swiper */
.swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* World section spacing */
.world-embed {
    margin-bottom: 100px;
}
.world-embed:last-child {
    margin-bottom: 0;
}

/* Fade effect */
.swiper-slide {
    opacity: 0.7;
    transition: opacity 0.5s ease;
}
.swiper-slide-active {
    opacity: 1;
}

/* Caption style */
.swiper-caption {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

/* Mobile layout adjustments */
@media (max-width: 768px) {
    .swiper-wrapper-container {
        max-width: 90%;
        padding: 10px;
        margin-bottom: 10px;
    }

    .swiper-container {
        max-width: 100%;
        height: auto;
    }

    .swiper-slide img {
        max-width: 100vw;
        height: auto;
        border-radius: 5px;
    }

    /* Button positioning for smaller screens */
    .swiper-button-prev,
    .museum-prev,
    .island-prev,
    .stacks-prev,
    .vday-prev,
    .avatars-prev,
    .bs-island-prev {
        left: 5px;
    }

    .swiper-button-next,
    .museum-next,
    .island-next,
    .stacks-next,
    .vday-next,
    .avatars-next,
    .bs-island-next {
        right: 5px;
    }
}

.visit-world-button {
    margin-top: 20px; /* Ensures spacing above button */
    margin-bottom: 0; /* Reset margin on button */
    display: inline-block;
    padding: 10px 20px;
    background-color: rgb(15, 88, 224);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Additional mobile adjustments */
@media (max-width: 768px) {
    .visit-world-button {
        margin-top: 0px; /* Reduces space on mobile */
    }
}
.visit-world-button:hover {
    background-color: #ff4b3a; /* Darker color on hover */
}
/*Avatar section styling */
.avatarbuilds {
    width: 95%;
    max-width: 1100px;
    height: auto;
    background-color: antiquewhite;
    text-align: center;
    padding: 40px 50px;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 60px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4), -10px 10px 0px rgba(138, 17, 250, 0.9);
    border-radius: 10px;
}
/*Bigscreen section styling */
.bigscreenworlds {
    width: 95%;
    max-width: 1100px;
    height: auto;
    background-color: antiquewhite;
    text-align: center;
    padding: 40px 50px;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 60px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4), -10px -10px 0px rgba(248, 27, 211, 0.9);
    border-radius: 10px;
}
#resumelink {
    color: white;
    font-size: 4rem;
    text-align: center;
    margin-top: 80px;
    margin-bottom: 40px;
}

#bloglink {
    color: white;
    font-size: 4rem;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 80px;
}
#serviceslink {
    color: white;
    font-size: 4rem;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 80px;
}
#contactlink {
    color: white;
    font-size: 4rem;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 80px;
}
.resume-cv p {
    text-align: center; /* Center align the paragraph text */
    margin: 0 auto;
    margin-bottom: 5px; /* Adjust this value as needed */
}

.resume-cv {
    width: 95%;
    max-width: 1100px;
    background-color: antiquewhite;
    text-align: left;
    margin: 0 auto 60px auto;
    padding: 5px 50px 40px 50px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4), -10px 10px 0 rgba(11, 81, 187, 0.9);
    border-radius: 10px;
}

.resume-cv--text {
    width: 100%;
    text-align: left;
    margin-bottom: 20px; /* Added margin for spacing consistency */
}

.resume-cv ul {
    list-style-type: none; 
    padding-left: 0; 
}

.resume-cv ul li {
    padding: 5px 0;
}

.resume-cv h2, .resume-cv h3 {
    text-align: center;
    margin-top: 0px; /* Add more margin above the heading */
    margin-bottom: 10px; /* Add a little space below as well if needed */
}

.resume-cv .button {
    display: block;
    width: fit-content;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: rgb(15, 88, 224);
    color: white;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
}

.resume-cv .button:hover {
    background-color: deepskyblue;
    color: white;
}

/* Blog Section */
#blog h2 {
    margin-top: 60px; /* Standardized margin */
    margin-bottom: 20px; /* Consistency with the resume section */
}


.blog {
    width: 95%;
    max-width: 1100px;
    height: auto;
    background-color: antiquewhite;
    text-align: center;
    padding: 40px 50px; 
    margin: 0 auto;
    margin-bottom: 40px;
    margin-top: 20px;
    box-shadow: 10px 10px 10px rgb(0 0 0 /40%), -10px -10px 0px rgba(142, 12, 218, 0.9);
    border-radius: 10px;
}

.services {
    width: 95%;
    max-width: 1100px;
    height: auto;
    background-color: antiquewhite;
    text-align: left;
    padding: 40px 50px; 
    margin: 0 auto;
    margin-bottom: 40px;
    margin-top: 20px;
    box-shadow: 10px 10px 10px rgb(0 0 0 /40%), 10px -10px 0px rgba(248, 27, 211, 0.9);
    border-radius: 10px;
}
.contact {
    position: relative;
    width: 95%; /* Match the width of the blog */
    max-width: 1100px; /* Match the max width of the blog */
    height: auto;
    padding: 40px 50px;
    text-align: center;
    background-color: rgba(3, 3, 3, 45%);
    margin: 0 auto;
    margin-top: 10px; /* Increase this value to create space between the 'Contact' heading and section */
}


.contact p {
    margin-bottom: 50px;
    padding: 0 15px; /* Extra padding for better alignment on small screens */
}

.contact h2 {
    color: white;
    text-align: center;
    font-size: 2rem; 
}

.contact p {
    color: white;
    text-align: center;
}

.contact-form {
    max-width: 800px;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    text-align: left;
    margin: 0 auto;
    color: white;
    justify-content: space-between;
    gap: 15px; /* Space between form elements */
    padding: 0 15px; /* Add padding to the form container */
}

.contact-form label {
    display: block;
    margin-bottom: 9px;
}

.contact-details {
    flex: 1;
    margin-right: 25px;
    padding-left: 15px; /* Add padding to the left for consistency */
}

.contact-details input {
    width: 100%;
    border-radius: 5px;
    border: 0px;
    padding: 10px; /* Increase padding for more space inside the input */
    margin-bottom: 20px;
    font-size: 16px;
    box-sizing: border-box; /* Ensure inputs don't overflow their container */
}

.message {
    flex: 1;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.message textarea {
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
    width: 100%;
    margin-bottom: 20px; /* Add margin to separate from the button */
}
.message button {
    color: #1d3d5f;
    border: 0;
    border-radius: 5px;
    background: lightblue;
    width: 140px;
    height: 40px;
    margin-top: 40px;
    margin-left: auto;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.message button:hover {
    background: black;
    color: white;
    transition: 0.2s;
}

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay */
}

.modal-content {
    background-color: rgba(255, 255, 255, 0.938); /* Light translucent background */
    color: black !important; /* Force black font color */
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 400px;
    text-align: center;
}

/* Ensure modal text is black */
.modal-content p {
    color: black !important;
}

.close-btn {
    color: black;
    float: right;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

footer {
    position: relative; 
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 0;
    background-color: black;
    color: white;
    text-align: center;
    box-sizing: border-box;
    margin: 0; /* Ensures no unwanted margin */
}

footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ensures content is spaced appropriately */
    width: 95%;
    max-width: 1100px; /* Centers content within a max-width */
    margin: 0 auto; /* Centers container on page */
    padding: 0 15px; /* Add some padding to prevent content from sticking to edges on mobile */
}

.social-media {
    font-size: 200%;
    display: flex;
    gap: 10px; 
    justify-content: center; /* Center the icons */
    width: 100%;
    padding: 0 15px; /* Add padding for spacing on mobile */
}

.social-media a i {
    color: white;
    transition: color 0.2s ease;
}

.social-media a i:hover {
    color: lightblue;
}

.copyright {
    color: white;
    padding: 0 15px; /* Adds padding to ensure it's not touching the edges */
    text-align: left;
    white-space: nowrap; /* Prevents line breaks */
    margin: 0; /* Ensures no additional margins */
}
/* Fix the footer issue on mobile */
@media (max-width: 768px) {
    .contact-form {
        flex-direction: column; /* Stack contact form elements vertically on mobile */
        margin: 0 auto;
        padding: 0 10px;
    }

    .message {
        width: 100%; /* Ensure message section takes full width on mobile */
        padding: 0; /* Remove padding on smaller screens */
    }

    .contact-details {
        width: 100%; /* Ensure contact-details section takes full width on mobile */
        margin-right: 0; /* Remove margin on smaller screens */
        padding: 0; /* Remove padding on smaller screens */
    }

    footer {
        padding-bottom: 15px; /* Add padding to prevent it from appearing cut off */
        margin: 0 auto;
    }
        footer .container {
        flex-direction: column;
        text-align: center;
        padding: 0 10px;
        margin: 0 auto;
    }

    .copyright {
        margin: 10px 0; /* Add some spacing between copyright and icons */
        text-align: center;
    }

    .social-media {
        justify-content: center;
        margin-top: 10px;
    }
}


