html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;

}


body {
    background-color: #1a1a1a;
    color: #fff;
}

/* Header Styling */
.landing-header {
    background-color: #111;
    padding: 20px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #FF6600;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #FF6600;
}

/* Landing Page Styling */
#landing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100vh;
    background: linear-gradient(135deg, #111, #333);
    padding: 0 80px;
}

.text-content h1 {
    font-size: 3.5em;
    font-weight: bold;
    color: #FF6600;
}

.text-content .role {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: #ff9f50;
}

.text-content .description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e6e6e6;
}

/* CTA Button Styling */
.cta-button {
    background-color: #FF6600;
    padding: 15px 30px;
    color: #111;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    background-color: #e65c00;
    transform: translateY(-3px);
    box-shadow: 0 0 15px 5px rgba(255, 102, 0, 0.8); /* Glowing effect */
}


/* Image Styling */
.image-content img {
    width: 500px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(229, 130, 10, 0.3);
}


.about-section {
    display: flex;
    justify-content: space-between;
    padding: 50px 80px;
    background-color: #111;
    color: white;
    border-radius: 10px;
}

.about-content {
    width: 60%;
    max-width: 600px;
}

.about-content h2 {
    font-size: 3em;
    color: #FF6600;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.about-content a {
    color: #FF6600;
    text-decoration: none;
    font-weight: bold;
}

.about-content a:hover {
    text-decoration: underline;
}

.game-container {
    width: 35%;
    text-align: center;
}

.glow-text {
    color: #FF6600;
    font-size: 1.5em;
    margin-top: 20px;
    text-shadow: 0 0 10px #FF6600, 0 0 20px #FF6600;
}

canvas {
    border: 2px solid #FF6600;
    border-radius: 10px;
    box-shadow: 0 0 10px #FF6600;
}


/* Skills Section */

.skills-section {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.skills-section h1 {
    color: #FF6600;
    font-size: 3em;
    margin-bottom: 30px;
}

.skills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allows the elements to wrap if the screen size is small */
}

.skill {
    display: flex;
    align-items: center;
    color: white;
    background-color: rgb(255, 121, 3);
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: medium;
    cursor: pointer;
}

/* Adding space between the logo and the skill text */
.skill img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

/* Brightest glow for hovered element */
.skill.brightest {
    transform: scale(1.2);
    box-shadow: 0 0 30px rgba(255, 165, 0, 1);
}

/* Slightly less bright for immediate left and right */
.skill.bright {
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.7);
}

/* Even less bright for second immediate left and right */
.skill.dim {
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.4);
}



/* Project Section */


.projects-section {
    text-align: center;
    margin: 50px;
}

.projects-section h1 {
    color: #FF6600;
    font-size: 3em;
    margin-bottom: 30px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.project-card {
    background-color: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

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

.project-info {
    padding: 20px;
    text-align: center;
}

.project-info h2 {
    color: #FFA500;
    margin-bottom: 10px;
}

.project-info p {
    margin-bottom: 10px;
}

.tech-stack span {
    background-color: #ff9d00;
    color: #121212;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 5px;
    display: inline-block;
    font-size: 0.9rem;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 132, 0, 0.7); /* Orange glow */
    border: 2px solid #ff8c00;
}

/* Buttons */
.project-buttons {
    margin-top: 10px;
}

.btn {
    background-color: #ff9100;
    color: #121212;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    margin: 5px;
}

.btn:hover {
    background-color: #ff6600;
}




/* contact section */

.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: linear-gradient(135deg, #ff6600, #ff9933);
    padding: 40px;
}

.contact-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: #1a1a1a;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-info {
    flex: 1;
    padding: 40px;
    background-color: #333;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #ff9933;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #f4f4f4;
}

.info-list {
    list-style: none;
    margin-bottom: 30px;
}

.info-list li {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #fff;
}

.info-list li i {
    margin-right: 10px;
    color: #ff9933;
    font-size: 20px;
}

.social-media a {
    font-size: 24px;
    color: #ff9933;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-media a:hover {
    color: #cc5200;
}

.contact-form {
    flex: 1;
    padding: 40px;
    background-color: #262626;
    color: #fff;
}

.contact-form h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #fff;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.input-box {
    position: relative;
    margin-bottom: 25px;
}

.input-box input,
.input-box textarea {
    width: 100%;
    padding: 15px;
    background: none;
    border: 1px solid #ff9933;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s, background-color 0.3s;
}

.input-box input:focus,
.input-box textarea:focus {
    border-color: #ff9933;
    background-color: rgba(255, 153, 51, 0.1);
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #ff9933;
    transition: 0.3s;
    pointer-events: none;
}

.input-box input:focus + label,
.input-box textarea:focus + label,
.input-box input:valid + label,
.input-box textarea:valid + label {
    top: -10px;
    left: 15px;
    font-size: 14px;
    color: #ff9933;
}

.button-box {
    text-align: center;
}

.button-box button {
    background-color: #ff9933;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.4);
    transition: background-color 0.3s, transform 0.3s;
}

.button-box button:hover {
    background-color: #e68a00;
    transform: translateY(-2px);
}

.button-box button:active {
    transform: translateY(2px);
}


/* Copyright Section */
.copyright {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #f4f4f4;
}
