* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #1a1a1a;
    color: #fff;
    overflow-x: hidden;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: rgba(26, 26, 26, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-left a {
    color: #fff;
    text-decoration: none;
    margin-right: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-left a:hover {
    opacity: 0.7;
}

.nav-center {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}
.link-port{
    text-decoration: none;
    color: inherit;
}
.nav-right {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-right a {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    text-decoration: none;
    transition: opacity 0.3s;
    color: #fff;
}

.nav-right a:hover {
    opacity: 0.6;
}

.nav-right svg {
    width: 26px;
    height: 26px;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 60px;
}

.hero h1 {
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 18px;
    color: #aaa;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out 0.2s both;
    margin-bottom: 20px;
}

.tech-item a {
    text-decoration: none !important;
    color: inherit !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tech-item a:visited,
.tech-item a:hover,
.tech-item a:active {
    text-decoration: none !important;
    color: inherit !important;
}   

.tech-stack {
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    position: relative;
    margin-top: 60px;
    text-decoration: none;
    color: inherit;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.tech-stack-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-align: center;
}

.tech-scroll-container {
    display: flex;
    gap: 30px;
    width: fit-content;
    animation: scroll 30s linear infinite;
}

.tech-scroll-wrapper {
    overflow: hidden;
    position: relative;
}

.tech-scroll-container:hover {
    animation-play-state: paused;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 100px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.tech-icon {
    font-size: 40px;
    font-weight: 600px;
    filter: grayscale(0.3);
    transition: filter 0.3s;
}

.tech-item:hover .tech-icon {
    filter: grayscale(0);
}

.tech-name {
    font-size: 14px;
    color: #aaa;
    font-weight: 500;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100px * 10 - 30px * 10));
    }
}

.scroll-bottom-button {
    width: 25px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 90px auto 0;
}

.scroll-bottom-button:hover {
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.02);
}

.scroll-bottom-arrow {
    width: 7px;
    height: 7px;
    border-left: 2px solid rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    transform: rotate(-45deg);
    position: absolute;
    left: 50%;
    margin-left: -3.5px;
    animation: scroll-down 2s infinite;
}

.scroll-buttom-button:hover .scroll-arrow {
    border-color: rgba(255, 255, 255, 1);
}

@keyframes scroll-down {
    0% {
        top: 6px;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    60% {
        opacity: 1;
    }
    100% {
        top: 32px;
        opacity: 0;
    }
}

.scroll-arrow:nth-child(2) {
    animation-delay: 1s;
}

.gallery-item a:link,
.gallery-item a:visited,
.gallery-item a:hover,
.gallery-item a:active {
    color: white;   
    text-decoration: none;
}

.gallery {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/2;
    background-color: #1a1a1a;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.gallery-item:hover .gallery-item-info {
    opacity: 1;
}

.gallery h2 {
    font-size: 60px;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
}

.gallery-item-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-item-year {
    font-size: 14px;
    color: #aaa;
}

.about {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 40px;
    background-color: #1a1a1a;
}

.about h2 {
    font-size: 60px;
    margin-bottom: 30px;
    font-weight: 700;
}

.about > p {
    font-size: 18px;
    color: #aaa;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-image {
    width: 100%;
    max-width: 1200px;
    margin-top: 50px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 300px;
    object-fit:cover;
    display: block;
}

.about-image p {
    background-color: rgba(26, 26, 26, 0.95);
    padding: 40px;
    text-align: left;
    line-height: 1.8;
    font-size: 16px;
    color: #ccc;
}

.contact {
    padding: 80px 40px;
    max-width: 600px;
    margin: 0 auto;
}
.name-dob {
    color: #aaa;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #aaa;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #1a1a1a;
    border: 1px solid #3a3a3a;
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    font-family: inherit;
}

.contact input:focus,
.contact textarea:focus {
    outline: none;
    border-color: #fff;
}

.contact textarea {
    min-height: 150px;
    resize: vertical;
}

:root {
    --color: #AAAAAA;
    --glare: hsla(0, 0%, 100%, 0.89);
    --font-size: 1rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif ;
}

.sparkle-button {
    --padding: 0.75rem 1.5rem;
    padding: var(--padding);
    border-radius: 0.75rem;
    border: 2px solid transparent;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
    margin-top: 10px;
}

.sparkle-button:hover {
    background: #333;
    --color: #19ba71e3;
    border: 2px solid #19ba71e3;
}

.sparkle-button .button-text {
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    color: var(--color); 
    text-shadow: none;
    transform: none; 
    transition: color 0.2s;
}

.sparkle-button .button-text-glare {
    display: none; 
}

.sparkle-button svg {
    position: absolute;
    z-index: 3;
    width: calc(var(--font-size) * 0.5);
    aspect-ratio: 1;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
}

.sparkle-button svg path {
    fill: var(--glare);
}

.sparkle-button:hover svg {
    animation: sparkle 0.75s both;
}

@keyframes sparkle {
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.sparkle-button svg:nth-of-type(1) { top: 20%; left: 0%; }
.sparkle-button svg:nth-of-type(2) { top: 80%; left: 15%; }
.sparkle-button svg:nth-of-type(3) { top: 40%; left: 45%; }
.sparkle-button svg:nth-of-type(4) { top: 60%; left: 75%; }
.sparkle-button svg:nth-of-type(5) { top: 30%; left: 100%; }


.scroll-button-up {
    width: 25px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: fixed;
    bottom: 40px;
    right: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-button-up.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-button-up:hover {
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(0) scale(1.02);
}

.scroll-arrow-up {
    width: 7px;
    height: 7px;
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    border-top: 2px solid rgba(255, 255, 255, 0.8);
    transform: rotate(-45deg);
    position: absolute;
    left: 50%;
    margin-left: -3.5px;
    animation: scroll-up 2s infinite;
}

.scroll-button-up:hover .scroll-arrow-up {
    border-color: rgba(255, 255, 255, 1);
}

@keyframes scroll-up {
    0% {
        bottom: 6px;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    60% {
        opacity: 1;
    }
    100% {
        bottom: 32px;
        opacity: 0;
    }
}

.scroll-arrow-up:nth-child(2) {
    animation-delay: 1s;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 60px 80px;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: checkmark 0.5s ease-out 0.3s both;
}

.modal-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.modal-message {
    font-size: 16px;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-close-btn {
    padding: 15px 40px;
    background-color: #fff;
    color: #1a1a1a;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

.modal-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

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

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    nav {
        padding: 15px 20px;
    }
    
    .nav-center {
        font-size: 16px;
    }
    
    .about h2 {
        font-size: 40px;
    }

    .modal-content {
        padding: 40px 30px;
        margin: 20px;
    }
}

.footer {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.footer-port{
    text-decoration: none !important;
    color: inherit !important;
}
.social-container{
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-bottom: -20px;
}

.social-loader{
    display: flex;
    gap:10px;
    justify-content: center;
    align-items: center;
    transition:  opacity 0.3s ease;
}

.social-loader span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ff4ecd;
    display: inline-block;
    animation: bounce 0.6s infinite alternate;
}

.social-loader span:nth-child(2) {
    animation-delay: 0.2s;
}

.social-loader span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    to {
        transform: translateY(-15px);
        opacity: 0.5;
    }
}


.social-container:hover .social-loader span {
    animation: none;
    transform: translateY(0);
    opacity: 0;
    transition: all 0.3s ease;
}

.social-icons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 15px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease 0.2s;
}

.social-container:hover .social-icons {
    opacity: 1;
    pointer-events: all;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: #2a2a2a;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: #ff4ecd;
}

.social-container:hover .social-icons a {
    transform: scale(1);
}

.social-container:hover .social-icons a:nth-child(1) {
    transition-delay: 0.1s;
}

.social-container:hover .social-icons a:nth-child(2) {
    transition-delay: 0.2s;
}

.social-container:hover .social-icons a:nth-child(3) {
    transition-delay: 0.3s;
}

.social-icons a:hover {
    transform: scale(1.15) translateY(-3px);
}

.social-icons a svg {
    width: 22px;
    height: 22px;
    transition: all 0.3s ease;
}

.social-icons a:nth-child(1):hover {
    background: #5865F2;
    color: white;
}


.social-icons a:nth-child(2):hover {
    background: #1DA1F2;
    color: white;
}

.social-icons a:nth-child(3):hover {
    background: #333333;
    color: white;
}

.footer p {
    text-align: center;
    margin-bottom: 20px;
    color: #aaa;
    font-size: 14px;
    margin-top: 10x;
}

.footer hr {
    width: 500px;
    max-width: 90%;
    margin: 20px auto;
    border: 0;
    height: 2px;
    background-color: rgb(255, 89, 222);
}

@media (max-width: 600px) {
    .footer hr {
        width: 90%;
    }
}

.name-dob{
    text-align: center; 
    margin-bottom: 40px; 
    color: #aaa;
}

.concept {
  position: relative;
  height: 18vh;
  overflow: hidden;
}

.concept-two {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 1em 15em;
}

.concept-two h1 {
  -webkit-text-stroke: 2px #fff;
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.concept-two .hover:hover h1 {
  transform: scale(1.5);
  color: #780070;
  -webkit-text-stroke: 2px transparent;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hover{
  cursor: pointer;
  display: grid;
  place-items: center;
  margin: -6px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.wave {
    position: fixed;
    border: 4px solid rgb(255, 0, 0);
    border-radius: 40%;
    animation: wave-animation 0.7s ease-out forwards;
}

@keyframes wave-animation {
    0% {
        width: 0;
        height: 0;
        opacity: 0.7;
    }
    100% {
        width: 75px;
        height: 75px;
        opacity: 0;
    }
}