@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300&display=swap");
:root {
    --bgOrange: #e84949;
}

body { 
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Be Vietnam Pro", sans-serif;
    scroll-behavior: smooth
}

/* Smooth scrolling for navigation links */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--bgOrange);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Active navigation state */
.nav-link.active {
    color: var(--bgOrange);
    font-weight: bold;
}

.nav-link.active::after {
    width: 100%;
}

a {
    text-decoration: none;
}

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

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 10px;
    margin: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.logo-group {
    display: flex;
    justify-content: baseline;
    align-items: center;
}

.nav-logo {
    width: 70px;
    z-index: -1;
    
}

.nav-logo-text {
    margin-left: -0.9rem;
    font-size: 30px;
    font-style:calc()
}

.nav-items {
    display: flex;
    gap: 2rem;
    padding: 0 4em;
}

.nav-items div {
    transition: all 0.5s;
    font-size: 20px;
    cursor: pointer;
    font-weight: 500;
}

.nav-items div a {
    color: white
}

.nav-items div:hover {
    transition: all 0.1s;
    color: var(--bgOrange);
    font-weight: bold;
}

.nav-items a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.nav-items a:hover {
    color: var(--bgOrange);
    transform: translateY(-2px);
}

.resume-link {
    background-color: var(--bgOrange);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.resume-link:hover {
    background-color: #ff6b6b;
    color: white !important;
    transform: translateY(-2px);
}

@media (max-width:1500px) {
    .nav-items {
        padding: 0 8em;
    }
}

@media (max-width:1000px) {
    .nav-items {
        display: none;
    }
}

/* Navbar Style End */

/* Hero Section Start */

/* Hero Left Section Start */

.hero-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    margin: 4rem auto;
    padding: 0 1rem;
    padding-bottom: 8rem;
   
}

.faded-text {
    user-select: none;
    font-size: 7em;
    color: rgb(231, 231, 231);
    z-index: -0;
    bottom: -16%;
    left: -5%;
    font-weight: bold;
    transition: all 3s;
}

.hero-section-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
  
}

.hero-section-heading {
    font-size: 35px;
    color: white;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.herosection-sub-heading {
    font-size: 45px;
    line-height: 45px;
}

.role {
    color: #4e45d5;
    font-weight: 800;
}

.hero-section-description {
    margin-top: 1rem;
    width: 70%;
    font-weight: 500;
}

.btn-pink {
    background: rgba(255, 107, 107, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
    color: white;
    padding: 0.8rem 2.3rem;
    box-shadow: 5px 5px 7px 0px #0000003f;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.btn-pink::before {
    content: "";
    position: absolute;
    background-color: #fff;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0px;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.8s;
}

.btn-pink:hover::before {
    transform: scaleX(1);
}

.btn-pink:hover {
    background: rgba(255, 107, 107, 1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    color: black
}

#btn-bottom {
    display: none;
}

/* Hero Left Section End */

/* Hero Right Section Start */

.hero-section-right {
    position: relative;
}

.absolute {
    position: absolute;
}

.user-image {
    padding: 2.5rem;
    filter: grayscale(1);
    transition: all 1s;
    animation: scaleImage 5s linear infinite;
}

.user-image img {
    object-fit: cover;
    z-index: -9;
}

@keyframes scaleImage {
    0% {
        filter: grayscale(1);
        scale: 1;
    }
    50% {
        filter: grayscale(0);
        scale: 0.9;
        box-shadow: 3px 3px 10px black;
    }
    100% {
        filter: grayscale(1);
        scale: 1;
    }
}

.icon-dots {
    z-index: 9;
    bottom: -1rem;
    right: 0;
    animation-name: dotsAnimation;
    animation-duration: 5s;
    animation-iteration-count: infinite;
}

@keyframes dotsAnimation {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.icon-cube {
    top: -0.8em;
    right: 1em;
    animation-name: cubeRotate;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

@keyframes cubeRotate {
    0% {
        transform: rotateY(0deg) translateY(0px);
    }
    50% {
        transform: rotateY(180deg) translateY(-12px);
    }
    100% {
        transform: rotateY(360deg) translateY(0px);
    }
}

.icon-circle {
    bottom: 0;
    left: 0;
    animation: shakeEffect 6s linear infinite;
}

@keyframes shakeEffect {
    50% {
        bottom: 10%;
        left: 5%;
    }
}

.icon-zigzak {
    z-index: 10;
    top: 1.5em;
    left: -0.3em;
    animation: zigzakAnimation 5s ease-in infinite;
}

@keyframes zigzakAnimation {
    50% {
        top: 2%;
        left: 5%;
    }
}

.icon-plus {
    top: -0.8rem;
    left: 50%;
    animation: shakeEffectPlus 5s ease-in infinite;
}

@keyframes shakeEffectPlus {
    50% {
        top: 3%;
        left: 48%;
    }
}

/* Hero Right Section End */

@media (max-width:1300px) {
    .hero-section {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-top: -1rem;
        padding-bottom: 3rem;
    }
    .hero-section-description {
        text-align: center;
        margin: auto;
    }
    .faded-text {
        display: none;
    }
    #btn-top {
        display: none;
    }
    #btn-bottom {
        margin-top: -7rem;
        display: block;
    }
    .hero-section-right {
        margin-top: -6em;
        scale: 0.7;
    }
}

/* Hero section end */

/* Experience Section Start */
.experience {
    padding: 120px 0 80px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

.experience-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
    opacity: 0;
    transition: opacity 1s ease;
}

.experience-blur-overlay.active {
    opacity: 1;
}

.experience-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.experience-heading {
    text-align: center;
    font-size: 3.5rem;
    color: var(--bgOrange);
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.experience-heading.visible {
    opacity: 1;
    transform: translateY(0);
}

.experience-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease 0.3s;
}

.experience-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.experience-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.experience-card:hover::before {
    left: 100%;
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(232, 73, 73, 0.5);
}

.experience-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.company-logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.company-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.experience-card:hover .company-logo {
    border-color: var(--bgOrange);
    transform: scale(1.1);
}

.experience-title h3 {
    color: var(--bgOrange);
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.experience-title h4 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.duration {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

.experience-description {
    margin-bottom: 1.5rem;
}

.experience-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience-description li {
    color: #e0e0e0;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.experience-description li::before {
    content: '▸';
    color: var(--bgOrange);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.experience-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-tag {
    background: rgba(232, 73, 73, 0.2);
    color: var(--bgOrange);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(232, 73, 73, 0.3);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(232, 73, 73, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 73, 73, 0.3);
}

/* Responsive Design for Experience */
@media (max-width: 768px) {
    .experience-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .experience-card {
        padding: 1.5rem;
    }
    
    .experience-heading {
        font-size: 2.5rem;
    }
    
    .experience-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .company-logo {
        width: 70px;
        height: 70px;
    }
}

/* Project Section Start */

.projects {
    padding: 120px 0 80px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

.projects-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
    opacity: 0;
    transition: opacity 1s ease;
}

.projects-blur-overlay.active {
    opacity: 1;
}

.projects-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.projects-heading {
    text-align: center;
    font-size: 3.5rem;
    color: var(--bgOrange);
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.projects-heading.visible {
    opacity: 1;
    transform: translateY(0);
}

.projects h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease 0.3s;
}

.projects-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(232, 73, 73, 0.5);
}

.project-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.project-image {
    position: relative;
    width: 200px;
    height: 150px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.project-title h3 {
    color: var(--bgOrange);
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.project-category {
    color: #ccc;
    font-size: 1rem;
    margin: 0;
    font-style: italic;
}

.project-description {
    margin-bottom: 1.5rem;
}

.project-description p {
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
}

.project-features {
    margin-bottom: 1.5rem;
}

.project-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-features li {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.project-features li::before {
    content: '▸';
    color: var(--bgOrange);
    position: absolute;
    left: 0;
    font-weight: bold;
}



.project-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.project-link {
    padding: 0.8rem 1.5rem;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.project-link.github {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.project-link.live {
    background: var(--bgOrange);
    border-color: var(--bgOrange);
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.project-link.github:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.project-link.live:hover {
    background: #ff6b6b;
    box-shadow: 0 5px 15px rgba(232, 73, 73, 0.4);
}



/* Responsive Design for Projects */
@media (max-width: 768px) {
    .projects-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        padding: 1.5rem;
    }
    
    .projects-heading {
        font-size: 2.5rem;
    }
    
    .project-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .project-image {
        width: 100%;
        height: 200px;
    }
    
    .project-links {
        flex-direction: column;
        width: 100%;
    }
    
    .project-link {
        justify-content: center;
        width: 100%;
    }
}

/* Ensure proper z-index stacking */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

section {
    position: relative;
    z-index: 1;
}

/* Animation classes */
.project-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for cards */
.projects-container .project-card:nth-child(1) { animation-delay: 0.1s; }
.projects-container .project-card:nth-child(2) { animation-delay: 0.2s; }
.projects-container .project-card:nth-child(3) { animation-delay: 0.3s; }
.projects-container .project-card:nth-child(4) { animation-delay: 0.4s; }

/* Skills Section Start */

.skills-container {
    position: relative;
    display: flex;
    padding: 5rem;
    margin: 10rem auto;
    gap: 30px;
}

.skill-container-left {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.skill-fade-text {
    font-size: 15em;
    font-weight: bold;
    color: rgb(231, 231, 231);
    bottom: -34.5%;
    overflow-y: hidden;
    right: -25%;
    user-select: none;
}

.skill-container-right {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    width: 50%;
    position: relative;
    justify-content: center;
}

.blob-style {
    position: absolute;
    z-index: -5;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: blobAnimate 3s linear infinite;
}

@keyframes blobAnimate {
    50% {
        top: 54%;
        left: 46%;
    }
}

.skills-logo {
    width: 90px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s ease;
}

.skills-logo:hover {
    transform: scale(1.1);
}

.skill-heading {
    font-size: 50px;
    font: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.skill-heading {
    position: relative;
    z-index: -9;
    color: var(--bgOrange);
    line-height: 50px;
}

.caps {
    font-size: 80px;
}

.skill-subHeading {
    margin-top: 1rem;
    width: 85%;
    text-align: justify;
}

.skill-subHeading p {
    margin: 15px 0;
}

@media (max-width: 1300px) {
    .skills-container {
        margin: 0;
        padding: 2em;
        flex-direction: column;
    }
    .skill-heading {
        font-size: 40px;
        font: bold;
    }
    .caps {
        font-size: 60px;
    }
    .skill-container-left {
        width: 100%;
    }
    .skill-container-right {
        width: 100%;
    }
    .skills-logo {
        width: 50px;
    }
    .skill-fade-text {
        display: none;
    }
    .skill-subHeading {
        width: 100%;
    }
    .skill-heading::after {
        bottom: 9%;
    }
}

/* Skills Section End */

/* Contact Us Start */

.contactus-container {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contactus-heading {
    padding-top: 2rem;
    font-size: 5em;
    color: var(--bgOrange);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contactus-sub-heading {
    font-size: 3rem;
    text-transform: capitalize;
    color: #343d68aa;
}

.contactus-form-container {
    display: flex;
    margin-top: 25px;
    justify-content: center;
    align-items: center;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 70%;
    margin: 2rem 5rem;
}

.formfield-container {
    width: 100%;
}

.formfield {
    width: 100%;
    height: 42px;
    padding: 0 2rem;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
    font-weight: 500;
    color: white;
    transition: all 0.3s ease;
}

.formfield::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.formfield:focus {
    border: none;
}

.formfield-textarea {
    height: auto;
    padding-top: 1rem;
}

#submit-btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.4rem;
    margin: 1rem 0;
    background: rgba(232, 73, 73, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

#submit-btn:hover {
    scale: 0.9;
    color: black;
}

.submit-icon {
    padding: 0 1rem;
    font-size: 1.5rem;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    display: none;
    font-weight: 500;
}

/* Loading state for submit button */
.btn-pink.loading {
    background: rgba(255, 107, 107, 0.7);
    cursor: not-allowed;
    pointer-events: none;
}

.btn-pink.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced form validation styles */
.formfield.error {
    border: 2px solid #dc3545;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
}

.formfield.success {
    border: 2px solid #28a745;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
}

/* Form field focus enhancement */
.formfield:focus {
    outline: none;
    border: 2px solid var(--bgOrange);
    box-shadow: 0 0 15px rgba(232, 73, 73, 0.3);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.form-status.success {
    display: block;
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid #28a745;
}

.form-status.error {
    display: block;
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid #dc3545;
}

.formfield:invalid {
    border: 1px solid #dc3545;
}

.formfield:valid {
    border: 1px solid #28a745;
}

@media (max-width: 1300px) {
    .contactus-heading {
        font-size: 40px;
        text-align: center;
        padding: 15px 10px;
    }
    .contactus-sub-heading {
        font-size: 20px;
        padding: 0 10px;
        text-align: center;
    }
    .form {
        width: 100%;
        margin: 0;
        align-items: center;
    }
    .formfield-container {
        display: flex;
        align-items: center;
        width: 90%;
    }
    .formfield {
        width: 90%;
    }
}

/* Contact Us End */

/* Footer Styles */
.footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #fff;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--bgOrange);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #ccc;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    color: var(--bgOrange);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(232, 73, 73, 0.3);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #ccc;
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Three.js Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000000;
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

#projectheading{
    text-align: center;
    margin-bottom: 40px;
    color:white;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1.0);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: white;
    max-width: 400px;
    padding: 2rem;
    animation: contentPulse 2s ease-in-out infinite;
}

@keyframes contentPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.loading-spinner {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--bgOrange);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    position: relative;
}

.loading-spinner::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 3px solid transparent;
    border-top: 3px solid rgba(232, 73, 73, 0.3);
    border-radius: 50%;
    animation: spin 2s linear infinite reverse;
}

.loading-spinner::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px solid transparent;
    border-top: 2px solid rgba(255, 107, 107, 0.5);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, var(--bgOrange), #4e45d5);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.loading-content p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
    opacity: 0.8;
    font-style: italic;
}

/* Progress bar */
.loading-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 1rem;
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--bgOrange), #4e45d5);
    border-radius: 2px;
    width: 0%;
    animation: progressFill 3s ease-in-out infinite;
}

@keyframes progressFill {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

/* Floating particles in loading screen */
.loading-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--bgOrange);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 10px var(--bgOrange);
}

/* Additional cosmic elements */
.cosmic-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 4s ease-in-out infinite;
}

.cosmic-star:nth-child(1) { top: 15%; left: 15%; animation-delay: 0s; }
.cosmic-star:nth-child(2) { top: 25%; left: 85%; animation-delay: 1s; }
.cosmic-star:nth-child(3) { top: 75%; left: 25%; animation-delay: 2s; }
.cosmic-star:nth-child(4) { top: 85%; left: 75%; animation-delay: 3s; }
.cosmic-star:nth-child(5) { top: 45%; left: 45%; animation-delay: 1.5s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 6s; }
.particle:nth-child(8) { left: 80%; animation-delay: 7s; }
.particle:nth-child(9) { left: 90%; animation-delay: 8s; }

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bgOrange);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(232, 73, 73, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    background: #ff6b6b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232, 73, 73, 0.6);
}

.scroll-to-top.show {
    display: flex;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}