* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: #fff;
}

body {
    background: #fff;
    color: #222;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes rotate360 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate3D {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* Add shake animation for about image */
@keyframes phoneRing {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(-15deg); }
    40% { transform: rotate(15deg); }
    60% { transform: rotate(15deg); }
    70% { transform: rotate(-15deg); }
    100% { transform: rotate(0deg); }
}

/* Smooth shake animation */
@keyframes smoothShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
    75% { transform: translateX(-5px); }
}

/* Smooth side-to-side shake animation */
@keyframes smoothSideShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-10px); }
    40% { transform: translateX(10px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
}

/* Vertical shake animation */
@keyframes verticalShake {
    0%, 100% { transform: translateY(0); }
    20% { transform: translateY(-10px); }
    40% { transform: translateY(10px); }
    60% { transform: translateY(-5px); }
    80% { transform: translateY(5px); }
}

.about-image img.animate {
    animation: verticalShake 0.8s ease-in-out forwards;
    transform-origin: center center;
}

header {
    position: relative;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 64px;
    height: 96px;
    background: #fff;
    width: 100%;
    position: relative;

}

.nav_left h1,
.nav_left h2 {
    font-family: "Major Mono Display", monospace;
    display: inline-block;
    color: #222;
}

.nav_left h1 {
    font-size: 2.5rem;
}

.nav_left h2 {
    font-size: 1.5rem;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 48px;
    align-items: center;
}

header nav ul li a {
    color: #222;
    font-size: 1.15rem;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    font-weight: 600;
}

header nav ul li a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #222;
    transition: width 0.25s cubic-bezier(.4, 0, .2, 1);
}

header nav ul li a:hover::after,
header nav ul li a.active::after {
    width: 100%;
}

/* Mobile Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    header nav {
        padding: 0 24px;
        height: 72px;
    }

    .hamburger {
        display: block;
    }

    .hamburger span {
        background-color: #222;
    }

    .nav_right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%; /* Adjust width for smaller screens */
        height: 100vh;
        background: #fff;
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 24px;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    }

    .nav_right.active {
        right: 0;
    }

    header nav ul {
        flex-direction: column;
        gap: 24px;
    }

    .hamburger {
        display: block;
        z-index: 1000;
    }
}

body.menu-open {
    overflow: hidden; /* Prevent scrolling when menu is open */
}

@media (min-width: 992px) {
    .nav_right {
        position: relative;
        right: 0;
        width: auto;
        height: auto;
        background: none;
        box-shadow: none;
    }

    .hamburger {
        display: none;
    }
}

/* ------------------------------Main----------------------------------- */

#landing-page {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    align-items: center;
    justify-content: space-between;
    padding: 100px 32px 40px;
}

.intro {
    flex: 1;
    max-width: 45%;
    z-index: 3;
    text-align: left;
}

/* Update video container styles */
.intro-video {
    position: relative;
    width: 50%;
    height: 70vh;
    max-width: 800px;
    z-index: 3;
    overflow: hidden;
    margin: 0 auto; /* Center the video on smaller screens */
}

.intro-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
}

/* Ensure intro text stays visible */
.intro {
    position: relative;
    z-index: 3;
    max-width: 45%;
}

/* Remove the overlay */
#landing-page::before {
    display: none; 
}

.intro {
    position: relative;
    z-index: 2;
    text-align: left;
    color: #fff;
    font-family: 'Major Mono Display', monospace;
    margin-top: -36px;
    background: rgb(0, 179, 255); /* Dark background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 30px 40px;
    max-width: 500px;
    width: auto;
}

.intro h1, 
.intro h2,
.intro p {
    color: #ffffff; /* Bright white text */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.intro span {
    color: #ffffff; /* Ensure spans are also white */
}

.intro-image {
    display: none;
}

@media (max-width: 1024px) {
    .intro-video {
        width: 100%;
        height: 50vh;
        margin-top: 20px; /* Add spacing below intro text */
    }
}

@media (max-width: 768px) {
    #landing-page {
        flex-direction: column;
        padding: 80px 16px 40px;
    }

    .intro {
        max-width: 100%;
        text-align: center;
    }

    .intro h1 {
        font-size: 1.8rem;
    }

    .intro h2 {
        font-size: 1.5rem;
    }

    .intro-video {
        position: relative;
        width: 100%;
        height: 40vh; /* Decrease height for smaller screens */
        right: auto;
        top: auto;
        transform: none;
        margin-top: 32px;
    }
}

@media (max-width: 576px) {
    .intro-video {
        width: 100%;
        height: 35vh; /* Further decrease height for very small screens */
        margin-top: 16px;
    }
}

.wave {
    animation: wave-animation 2s infinite;
    display: inline-block;
    transform-origin: 70% 70%;
}

@keyframes wave-animation {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(20deg);
    }
}


/* General Section Styling */
#about {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 60px 32px;
    background: #fff;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
}

.about-content {
    flex: 1;
    padding: 20px;
    text-align: left;
    /* Remove these properties */
    border: none;
    box-shadow: none;
    border-radius: 0;
}

/* Remove hover effect */
.about-content:hover {
    transform: none;
    box-shadow: none;
    background-color: transparent;
    border: none;
}

/* Keep the text styles */
.about-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.about-content ul li {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 16px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-buttons {
    display: flex;
    gap: 16px;
}

.about-buttons .btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    #about {
        flex-direction: column;
        padding: 40px 16px;
    }

    .about-image img {
        max-width: 80%;
    }

    .about-content ul li {
        font-size: 1rem;
    }

    .about-buttons {
        flex-wrap: wrap;
    }
}

/* Profile Picture */
.profile-picture {
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    box-shadow: none;
}

/* Profile Picture in About Section */
.profile-picture img {
    height: 450px;
    width: 450px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease-in-out;
}

.profile-picture img:hover {
    transform: scale(1.05);
    /* Slight zoom on hover */
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.7), 0 0 50px rgba(255, 255, 255, 0.6);
}

/* Responsive adjustments for About section */
@media (max-width: 1024px) {
    #about {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 15px;
    }

    .profile-picture img {
        width: 300px;
        height: 300px;
    }

    .about-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .profile-picture img {
        width: 250px;
        /* Adjust size for smaller tablets */
        height: 250px;
    }

    .about-content {
        padding: 15px;
        /* Further reduce padding */
    }
}

@media (max-width: 480px) {
    .profile-picture img {
        width: 200px;
        /* Adjust size for mobile devices */
        height: 200px;
    }

    .about-content {
        padding: 10px;
        /* Minimal padding for mobile */
    }
}

/* Content Section */
.about-content {
    text-align: left;
    background: #fff;
    /* Initial glass effect */
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    padding: 40px 60px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.about-content:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: rgba(0, 0, 0, 0.8);
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 400;
    color: #aaa;
    margin-bottom: 10px;
}

.about-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.about-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.about-content ul li {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.about-content ul li::before {
    content: "•";
    color: #ff00ff;
    margin-right: 10px;
    font-size: 1.5rem;
}

/* Buttons */
.about-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.about-buttons .btn {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease-in-out;
}

.resume-btn {
    background-color: #6c63ff;
    border: none;
}

.linkedin-btn {
    background-color: #0077b5;
    border: none;
}

.github-btn {
    background-color: #333;
    border: none;
}

.about-buttons .btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.2);
    /* Add glass effect on hover */
    color: rgba(8, 8, 8, 0.907);
}

/* Responsive Design */
@media (max-width: 1200px) {

    /* Adjust font sizes for medium screens */
    html {
        font-size: 15px;
    }

    .intro h1 {
        font-size: 2.5rem;
    }

    .intro h2 {
        font-size: 1.8rem;
    }

    .about-content h1 {
        font-size: 2.5rem;
    }

    .about-content ul li {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    #journey h2 {
        font-size: 2.5rem;
    }
    
    .project-card {
        min-width: 280px;
    }
}

@media (max-width: 768px) {

    /* Adjust layout for tablets */
    header nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .intro {
        margin-top: 50px;
        padding: 20px 30px;
    }

    .intro h1 {
        font-size: 2rem;
    }

    .intro h2 {
        font-size: 1.5rem;
    }

    .intro-image img {
        height: 300px;
        width: 250px;
    }

    #about {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-picture img {
        width: 250px;
        height: 250px;
    }

    .about-content h1 {
        font-size: 2rem;
    }

    .about-content ul li {
        font-size: 1rem;
    }

    .about-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .experience-projects-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 15px;
    }

    .experience-frame {
        max-width: 100%;
        margin: 0 auto;
    }

    .projects-gallery {
        height: 200px;
        padding: 10px 0;
        margin: 0 auto;
        width: 100%;
    }

    .project-item {
        width: 100%;
    }

    .project-item:hover {
        width: 250px;
    }

    .projects-gallery h2 {
        font-size: 1.5rem;
    }

    .project-item img {
        width: 100%;
        height: auto;
    }

    .certificates-gallery {
        min-height: 300px;
    }

    .certificate-item {
        width: 200px;
        height: 280px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 16px;
    }
    
    .intro {
        padding: 20px;
    }
    
    .project-card {
        min-width: 240px;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
    }
}

/* Remove old projects gallery styles */
.projects-gallery {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping of project items */
    justify-content: center; /* Center-align the project items */
    gap: 16px; /* Add spacing between project items */
    padding: 20px 0;
    overflow: hidden; /* Prevent horizontal scrolling */
}

.project-item {
    width: 150px; /* Reduce the size of project items for smaller screens */
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hover effect for project items */
.project-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .projects-gallery {
        gap: 12px; /* Reduce spacing between project items */
        padding: 10px 0;
    }

    .project-item {
        width: 120px; /* Further reduce the size of project items */
        height: 160px;
    }
}

@media (max-width: 480px) {
    .projects-gallery {
        gap: 8px; /* Minimal spacing for very small screens */
    }

    .project-item {
        width: 100px; /* Adjust size for mobile devices */
        height: 140px;
    }
}

/* Certificates Section */
#awards {
    padding: 60px 0;
    background: #fff;
}

.certificates-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

#awards h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 40px;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    width: 100%;
}

.certificate-card {
    background: #f4f4f4;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e5e5e5;
    text-decoration: none; /* Remove default link styling */
    display: block; /* Make the entire card clickable */
}

.certificate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(98, 0, 255, 0.3);
    border-color: rgba(98, 0, 255, 0.2);
}

.certificate-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #e5e5e5;
}

.certificate-details {
    padding: 20px;
    background: #f7f7f7;
}

.certificate-details h3 {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.certificate-details p {
    font-size: 0.9rem;
    color: #666;
}

.certificate-card:hover .certificate-details h3 {
    color: #6200ff;  /* Neon purple text on hover */
}

@media (max-width: 768px) {
    .certificates-container {
        padding: 0 16px;
    }
    
    .certificates-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 16px;
    }
    
    .certificate-card img {
        height: 160px;
    }
}

/* ---------------------------------Footer--------------------------------- */
/* Footer Styling */
footer {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 0;
    margin-top: 60px;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

.footer-content {
    padding: 0 24px;
    position: relative;
}

/* Add vertical divider lines between sections */
.footer-content:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: -12px;
    height: 100%;
    width: 1px;
    background-color: #e5e5e5;
}

.footer-links ul,
.footer-connect ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-connect li {
    margin-bottom: 16px;
    list-style-type: none;
}

.footer-links a,
.footer-connect a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
    position: relative;
    display: inline-block;
}

/* New hover effect with line */
.footer-links a::after,
.footer-connect a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #222;
    transition: width 0.2s ease;
}

.footer-links a:hover::after,
.footer-connect a:hover::after {
    width: 100%;
}

.footer-links a:hover,
.footer-connect a:hover {
    color: #222;
}

/* Stay Connected Section */
.stay-connected {
    border-top: 1px solid #e5e5e5;
    padding: 32px 0;
    text-align: center;
    background: #fff;
}

.stay-connected h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #222;
}

/* Update social icons section */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 16px;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: translateY(-2px);
}

.social-icon img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.social-icon:hover img {
    opacity: 1;
}

/* Copyright Section */
.copyright {
    text-align: center;
    padding: 24px;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        padding: 32px 16px;
        gap: 32px;
    }

    .footer-main > div:not(:last-child)::after {
        width: 100%;
        height: 1px;
        top: auto;
        bottom: -16px;
        left: 0;
        transform: none;
    }

    .footer-content {
        padding: 0;
    }
}

/* Base responsive breakpoints */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    #journey h2 {
        font-size: 2.5rem;
    }
    
    .project-card {
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .experience-frame,
    .about {
        flex-direction: column;
    }
    
    .intro h1 {
        font-size: 2rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 16px;
    }
    
    .intro {
        padding: 20px;
    }
    
    .project-card {
        min-width: 240px;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
    }
}

/* Back to Top Button - Original Styling */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 50px;
    height: 50px;
    background-color: #222;
    color: white;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: transform 0.3s;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* Remove sticky positioning and update text weights */
header {
    position: relative;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 64px;
    height: 96px;
    background: #fff;
    width: 100%;
    position: relative;
}

/* Increase text weights */
header nav ul li a {
    color: #222;
    font-size: 1.15rem;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    font-weight: 600;
}

/* Update general text weights */
p {
    font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.footer-links a, 
.footer-connect a {
    font-weight: 500;
}

.about-content ul li {
    font-weight: 500;
}

.experience-item {
    font-weight: 500;
}

.project-info h3 {
    font-weight: 700;
}

/* Projects Section */
#projects {
    padding: 60px 0;
    background: #fff;
    margin-top: 0;  /* Remove top margin */
    border-top: 1px solid #e5e5e5;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.projects-container h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 40px;
    font-weight: 700;
}

.projects-slider {
    position: relative;
    overflow: hidden; /* Hide overflow for smooth scrolling */
    background: #f4f4f4;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
}

.project-cards {
    display: flex;
    gap: 24px;
    animation: scrollProjects 20s linear infinite; /* Add infinite scroll animation */
}

.project-card {
    min-width: 300px;
    flex: 0 0 auto;
}

/* Infinite scrolling animation */
@keyframes scrollProjects {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 5 - 24px * 5)); /* Adjust based on card width and gap */
    }
}

/* Pause animation on hover */
.project-cards:hover {
    animation-play-state: paused;
}

.project-card {
    text-decoration: none; /* Remove default underline */
    color: inherit; /* Ensure text color is inherited */
}

.project-card:hover {
    text-decoration: none; /* Ensure no underline on hover */
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #e5e5e5;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 8px;
    font-weight: 600;
}

.project-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Remove grab cursor from project cards */
.project-cards {
    cursor: default;
    user-select: none;
}

.experience-container {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #e5e5e5;
}

.experience-frame {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.experience-content {
    flex: 1;
}

.experience-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 24px;
}

.experience-item {
    margin-bottom: 32px;
}

.experience-item h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.experience-item p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

.experience-item p strong {
    color: #222;
    font-weight: 600;
}

.experience-image {
    flex: 1;
    text-align: right;
}

.experience-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .experience-frame {
        flex-direction: column-reverse;
        padding: 0 16px;
    }
    
    .experience-image {
        text-align: center;
        margin-bottom: 32px;
    }
    
    .experience-content h2 {
        font-size: 2rem;
    }
    
    .experience-item h3 {
        font-size: 1.5rem;
    }
}

/* ------------------------------Journey Section------------------------------ */
#journey {
    background: url('../Assets/Images/ALLlinks.png') no-repeat center center;
    background-size: cover;
    padding: 80px 32px;
    text-align: center;
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.journey-container {
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

#journey h2 {
    font-size: 3rem;
    color: #222;
    font-weight: 800;
    margin-bottom: 32px;
    text-transform: capitalize;
}

.resume-button {
    display: inline-block;
    padding: 16px 32px;
    background-color: #222;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.resume-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    #journey {
        padding: 60px 16px;
    }
    
    #journey h2 {
        font-size: 2rem;
    }
}

/* Adjust intro text position for larger screens */
@media (min-width: 1200px) {
    .intro {
        margin-top: -500px !important; /* Move the intro text further upward */
    }
}