* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

html,
body {
    height: 100%;
    width: 100%;
    background-color: #fff;
    color: #000;
    font-family: 'Poppins', sans-serif;
}

header {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    /* White background */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    background-color: #eee;
    /* Light grey background for nav items */
    padding: 10px 30px;
    border-radius: 50px;
}

nav ul li a {
    color: #000;
    /* Black text */
    text-decoration: none;
    font-weight: 400;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff8c00;
    /* Orange color on hover */
}

.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 80px);
    /* Adjust based on header height */
    text-align: center;
    padding-top: 50px;
    /* Space for the navigation bar */
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('grid.svg');
    /* Add a subtle grid pattern */
    background-size: 40px 40px;
    opacity: 0.1;
    z-index: -1;
}

.location {
    font-size: 15px;
    padding-bottom: 30px;
    font-family: Electrolize;
    color: #000;
    /* Black text */
}

.hero-section h1 {
    font-size: 70px;
    font-weight: 700;
    margin-bottom: 20px;
    /* background: linear-gradient(to right, #ff8c00, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    /* color: black; */
    font-family: 'Dancing Script', cursive;
}

.description {
    font-size: 18px;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #000;
    /* Black text */
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn.primary {
    background-color: #ff8c00;
    /* Orange background */
    color: #fff;
    /* White text */
}

.btn.primary:hover {
    background-color: #e07b00;
    /* Darker orange on hover */
    color: #fff;
}

.btn.secondary {
    /* background-color: #eee;  */
    color: #000;
    /* Black text */
    /* border: 1px solid #ccc; */
    font-size: 24px;
}


.social-links {
    display: flex;
    gap: 25px;
}

.social-links a {
    color: #000;
    /* Black icons */
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: purple;
}

.tech-stack-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #fff;
    color: #000;
}

.tech-stack-section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.tech-stack-description {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
    color: #333;
    /* Dark grey text */
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-item {
    background-color: #eee;
    /* Light grey background */
    padding: 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ccc;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.tech-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.tech-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #000;
    /* Black text */
}

.tech-item p {
    font-size: 14px;
    color: #333;
    /* Dark grey text */
}

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    /* Place behind other content */
}

.background-video video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-size: cover;
}


.personal-projects-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #fff;
    color: #000;
}

.personal-projects-section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-subheading {
    font-size: 18px;
    color: #333;
    /* Dark grey text */
    margin-bottom: 50px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: #eee;
    /* Light grey background */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ccc;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.project-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #ccc;
    /* Lighter grey placeholder */
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    /* Darker grey text */
    font-size: 18px;
    font-weight: 600;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
    /* Black text */
}

.project-description {
    font-size: 16px;
    color: #333;
    /* Dark grey text */
    margin-bottom: 15px;
    flex-grow: 1;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-tags span {
    background-color: #ddd;
    /* Lighter background */
    color: black;
    /* Orange text */
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 400;
    border: 1px solid #ccc;
}

.project-links {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.project-links .link-btn {
    background-color: #eee;
    /* Light grey background */
    color: #000;
    /* Black icons */
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border: 1px solid #ccc;
}

.project-links .link-btn:hover {
    background-color: #ff8c00;
    /* Orange on hover */
    color: #fff;
    /* White text on hover */
    border-color: #ff8c00;
}

#tech_stack {
    font-size: 30px;
    font-family: "Electrolize", sans-serif;
    font-weight: 600;
}

[data-scroll-container] {
    overflow: hidden;
}

#my_work {
    font-size: 35px;
    font-family: "Electrolize", sans-serif;
    font-weight: 600;
}

.empty-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #fff;
    color: #000;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.empty-section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.empty-section p {
    font-size: 18px;
    color: #333;
    /* Dark grey text */
}

.contact-section {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 80px 20px;
    background-color: #fff;
    color: #000;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-left {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.contact-left .greeting {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ff8c00;
    /* Orange color */
}

.contact-left .tagline {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 40px;
}

.mail-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    background-color: #eee;
    /* Light grey background */
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.mail-info .mail-icon {
    font-size: 28px;
    color: #ff8c00;
    /* Orange color */
}

.mail-info p {
    font-size: 16px;
    color: #333;
    /* Dark grey text */
}

.mail-info a {
    font-size: 18px;
    color: #ff8c00;
    /* Orange color */
    text-decoration: none;
}

.mail-info a:hover {
    text-decoration: underline;
}

.socials-text {
    font-size: 18px;
    color: #333;
    /* Dark grey text */
}

.socials-text a {
    color: #ff8c00;
    /* Orange color */
    text-decoration: none;
    margin-left: 10px;
}

.socials-text a:hover {
    text-decoration: underline;
}

.contact-right {
    flex: 1;
    min-width: 400px;
    background-color: #eee;
    /* Light grey background */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
}

.contact-right .send-message-heading {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ff8c00;
    /* Orange color */
}

.contact-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.contact-form label {
    display: block;
    font-size: 16px;
    color: #000;
    /* Black text */
    margin-bottom: 8px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #ddd;
    /* Lighter grey background */
    color: #000;
    /* Black text */
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form textarea::placeholder {
    color: #666;
    /* Darker grey placeholder */
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .send-btn {
    background-color: #ff8c00;
    /* Orange background */
    color: #fff;
    /* White text */
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    /* Space from last input */
}

.contact-form .send-btn:hover {
    background-color: #e07b00;
    /* Darker orange on hover */
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav ul {
        gap: 20px;
        padding: 8px 20px;
    }

    nav ul li a {
        font-size: 14px;
    }

    .hero-section h1 {
        font-size: 50px;
    }

    .description {
        font-size: 16px;
        max-width: 90%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 80%;
        max-width: 250px;
    }

    .tech-stack-section h2,
    .personal-projects-section h2,
    .contact-left .tagline {
        font-size: 30px;
    }

    .tech-stack-description,
    .section-subheading,
    .contact-left .greeting,
    .contact-right .send-message-heading {
        font-size: 16px;
    }

    .tech-stack-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .contact-section {
        flex-direction: column;
        align-items: center;
    }

    .contact-left,
    .contact-right {
        min-width: unset;
        width: 100%;
        max-width: 500px;
    }

    .contact-right {
        padding: 30px;
    }

    .mail-info,
    .socials-text {
        text-align: center;
        justify-content: center;
    }

    .mail-info a {
        font-size: 16px;
    }

    .socials-text a {
        margin-left: 5px;
    }
}

@media (max-width: 480px) {
    nav ul {
        gap: 10px;
        padding: 6px 10px;
    }

    nav ul li a {
        font-size: 12px;
    }

    .hero-section h1 {
        font-size: 35px;
    }

    .location {
        font-size: 12px;
    }

    .description {
        font-size: 14px;
    }

    .btn {
        width: 95%;
    }

    .tech-stack-section h2,
    .personal-projects-section h2,
    .contact-left .tagline {
        font-size: 24px;
    }

    .tech-stack-description,
    .section-subheading,
    .contact-left .greeting,
    .contact-right .send-message-heading {
        font-size: 14px;
    }

    .tech-item h3 {
        font-size: 18px;
    }

    .tech-item p {
        font-size: 12px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card h3 {
        font-size: 20px;
    }

    .project-description {
        font-size: 14px;
    }

    .tech-tags span {
        font-size: 11px;
        padding: 4px 8px;
    }

    .project-links .link-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .contact-right {
        padding: 20px;
    }

    .contact-form label,
    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
    }

    .contact-form .send-btn {
        font-size: 16px;
        padding: 10px 20px;
    }
}

.about-me-section {
    padding: 80px 20px;
    background-color: #fff;
    /* White background */
    color: #000;
    /* Black text */
    display: flex;
    gap: 50px;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}

.about-me-left {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-me-image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 400px;
    background-color: white;
    /* Light grey placeholder */
    border-radius: 50%;
    /* Changed to circular */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #555;
    /* Darker grey text */
    font-size: 20px;
    font-weight: 600;
    /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); Lighter shadow */
    overflow: hidden;
    /* For blur effect */
}

#image_2 {
    width: 270px;
    height: 270px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    /* Space between image and name */
    border: 5px solid #000;
    /* Black border */
}

.my-name {
    font-size: 28px;
    color: #000;
    /* Black text */
    margin-top: 10px;
    font-weight: 600;
    font-family: "Libertinus Keyboard", system-ui;
    font-weight: 400;
}

.about-me-right {
    flex: 2;
    min-width: 400px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.about-me-card {
    background-color: #333;
    /* Semi-transparent light grey */
    backdrop-filter: blur(10px);
    /* Blurry background effect */
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(204, 204, 204, 0.5);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-me-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.about-me-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
    /* Orange color for headings */
}

.about-me-card p {
    font-size: 16px;
    line-height: 1.6;
    color: white;
    /* Dark grey text */
}

.about-me-new-section {
    padding: 120px 20px;
    /* Increased padding for more space */
    background-color: #fff;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    /* Increased gap between text and image */
    flex-wrap: wrap;
}

.about-me-title {
    font-family: 'Poppins', sans-serif;
    font-size: 80px;
    /* Larger font size */
    font-weight: 800;
    /* Bolder font weight */
    color: #333;
    margin-bottom: 30px;
    /* Increased margin bottom */
}

.about-me-title-image {
    width: 200px;
    /* Adjust as needed */
    height: auto;
    margin-bottom: 30px;
}

.about-me-content {
    max-width: 550px;
    /* Slightly wider content area */
    text-align: left;
}

.about-me-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    /* Larger font size */
    line-height: 1.4;
    margin-bottom: 25px;
    /* Increased margin bottom */
    color: #555;
}

.about-me-description-main {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    /* Slightly larger font size */
    line-height: 1.7;
    /* Increased line height */
    color: #777;
}

.about-me-image-container {
    width: 450px;
    /* Slightly wider image container */
    height: 550px;
    /* Slightly taller image container */
    background-color: #e0e0e0;
    /* Grey background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-me-placeholder-image {
    width: 100%;
    height: 100%;
    background-color: #d0d0d0;
    /* Slightly darker grey for placeholder */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
    font-size: 20px;
    font-weight: 600;
}

.about-me-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns */
    gap: 10px;
    margin-top: 50px;
    /* Space from above content */
    max-width: 600px;
    /* Adjust as needed */
    width: 100%;
}

.grid-item {
    position: relative;
    /* Needed for absolute positioning of image */
    width: 100%;
    padding-bottom: 100%;
    /* Makes items square */
    background-color: #f0f0f0;
    /* Light grey for empty images */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    /* Hide overflowing parts of the image */
}

.grid-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover the entire area without distortion */
}

.grid-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Responsive styles for the new section */
@media (max-width: 768px) {
    .about-me-new-section {
        flex-direction: column;
        align-items: center;
    }

    .about-me-title {
        font-size: 60px;
    }

    .about-me-title-image {
        width: 150px;
        /* Adjust as needed */
        height: auto;
        margin-bottom: 20px;
    }

    .about-me-content {
        max-width: 90%;
        text-align: center;
    }

    .about-me-tagline {
        font-size: 22px;
    }

    .about-me-description-main {
        font-size: 16px;
    }

    .about-me-image-container {
        width: 90%;
        height: 450px;
    }

    .about-me-placeholder-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .about-me-new-right {
        max-width: 90%;
        padding: 20px;
        text-align: center;
    }

    .about-me-new-name {
        font-size: 30px;
    }

    .about-me-new-role {
        font-size: 14px;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }

    .about-me-new-description,
    .about-me-new-quote,
    .about-me-new-mantra {
        font-size: 14px;
        padding: 5px;
        margin-bottom: 10px;
    }

    .about-me-image-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on smaller screens */
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .about-me-title {
        font-size: 48px;
    }

    .about-me-title-image {
        width: 120px;
        /* Adjust as needed */
        height: auto;
        margin-bottom: 15px;
    }

    .about-me-tagline {
        font-size: 18px;
    }

    .about-me-description-main {
        font-size: 14px;
    }

    .about-me-image-container {
        width: 95%;
        height: 350px;
    }

    .about-me-image-grid {
        grid-template-columns: 1fr;
        /* 1 column on extra small screens */
        max-width: 300px;
    }
}