/* remover retard effects */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --transparent-color: rgba(8, 27, 41, 0);
    --primary-color: #00abf0;
    --secondary-color: #081b29;
    --text-color: #ededed;
    --accent-color: #0ef;
    --card-bg: rgba(255, 255, 255, 0.05);
    --transition: all 0.3s ease;
    --gradient-color: linear-gradient(rgba(8, 27, 41, 0.8), rgba(8, 27, 41, 0.8));
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    user-select: none;           /* Standard syntax */
    -webkit-user-select: none;   /* Chrome, Safari, Opera */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    -webkit-tap-highlight-color: transparent;  /* Removes tap highlight on mobile */
}

img {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    user-select: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--secondary-color);
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: rgba(8, 27, 41, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.header.scrolled {
    padding: 15px 10%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 25px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.navbar {
    display: flex;
}

.navbar a {
    font-size: 18px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: var(--transition);
    position: relative;
}

.navbar a:hover, .navbar a.active {
    color: var(--primary-color);
}
.active {
    color: var(--primary-color);
}

.navbar a:hover::after, .navbar a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Home Section */
.home {
    height: 100vh;
    background: linear-gradient(rgba(8, 27, 41, 0.8), rgb(8, 27, 41)), url('miku3.webp') no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
    
}

/*
.blue-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 171, 240, 0.2) 0%, rgba(8, 27, 41, 0.7) 100%);
    backdrop-filter: blur(2px);
    z-index: 1;
} */

.home-content {
    max-width: 600px;
    z-index: 2;
}

.home-content h1 {
    position: relative;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

.home-content h3 {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.home-content p {
    position: relative;
    font-size: 16px;
    margin: 20px 0 40px;
    line-height: 1.6;
}

.btn-box {
    position: relative;
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 350px;
    height: 50px;
}

.btn-primary, .btn-secondary {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 25px;
    height: 100%;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 18px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: var(--transition);
    flex: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
}

.btn-primary:hover, .btn-secondary:hover {
    color: var(--primary-color);
}

.btn-secondary:hover {
    color: var(--secondary-color);
}

.btn-primary::before, .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--secondary-color);
    z-index: -1;
    transition: var(--transition);
}

.btn-secondary::before {
    background: var(--primary-color);
}

.btn-primary:hover::before, .btn-secondary:hover::before {
    width: 100%;
}

.home-sci {
    position: absolute;
    bottom: 40px;
    width: 200px;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.home-sci a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    font-size: 20px;
    color: var(--primary-color);
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: var(--transition);
}

.home-sci a:hover {
    color: var(--secondary-color);
}

.home-sci a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
    transition: var(--transition);
}

.home-sci a:hover::before {
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
    font-size: 14px;
    opacity: 0.7;
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-color);
    border-bottom: 2px solid var(--text-color);
    transform: rotate(45deg);
    margin-top: 5px;
}

/* General Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Skills Section within About */
.skills {
    margin-top: 30px;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-item span {
    display: block;
    margin-bottom: 5px;
}

.skill-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--primary-color);
    border-radius: 5px;
    width: 0;
    transition: width 2.5s ease;
    box-shadow: 10 10 120px var(--primary-color); /* try ts */
}

/* About Image Section */
.about-image {
    display: flex;
    justify-content: center;
    align-items: center; /* very important shyt */
}

.about-pfp {
    width: 260px;
    height: 260px; /* u can edit pfp size here */
    border-radius: 20px; /* or 50% for circle, less for smoth edges, 20px prefered */
    object-fit: cover;
    box-shadow: 0 0 25px rgba(0, 170, 255, 0.35);
    border: 3px solid rgba(0, 170, 255, 0.7);
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--card-bg);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px dashed var(--primary-color);
    color: var(--primary-color);
}

.image-placeholder i {
    font-size: 60px;
    margin-bottom: 15px;
}

/* Skill Read Cards Section */
.skill-read {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin: 30px 0;
    flex-wrap: wrap;
}

.skill-read-card {
    background: var(--card-bg);
    backdrop-filter: blur(5px);
    padding: 25px 15px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    flex: 1;
    min-width: 120px;
}

.skill-read-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 170, 255, 0.3);
}

.skill-card-info {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
    display: block;
}

.skill-read-card p {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
    opacity: 0.9;
}

/* Image Frame and Glow Effects */
.image-frame {
    position: relative;
    transition: var(--transition);
}

.image-frame:hover {
    transform: scale(1.05);
}

.about-pfp {
    transition: var(--transition);
}

.image-frame:hover .about-pfp {
    transform: scale(1.1);
}

.image-glow {
    transition: var(--transition);
}

.image-frame:hover .image-glow {
    opacity: 0.5;
    filter: blur(25px);
}

/* Services Section */
.services {
    background: linear-gradient(rgb(8, 27, 41), rgba(8, 27, 41, 0.8), rgb(8, 27, 41)), url('miku1.webp') no-repeat center top;
}

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

.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(5px);
    padding: 30px;
    box-shadow: 0 0 25px rgba(6, 28, 39, 0.452);
    border-radius: 10px;
  /*  background-color: #081b29; 
    mix-blend-mode: lighten; */
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.service-card i {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    line-height: 1.6;
}

/* Service Features List */
.service-features {
    list-style: none;
    text-align: left;
    margin-top: 20px;
}

.service-features li {
    padding: 6px 0;
    position: relative;
    padding-left: 25px;
    font-size: 14px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
}

/* Service Extras */
.serv-extras {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.serv-extras p {
    font-size: 13px;
    margin: 4px 0;
    padding-left: 18px;
    position: relative;
    opacity: 0.8;
}

.serv-extras p::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
    width: 30px;
    text-align: center;
    transition: var(--transition);
}

.contact-item span {
    font-weight: 500;
    transition: var(--transition);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
}

.form-container {
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    margin-bottom: 25px;
}

.form-group {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group:last-of-type {
    border-bottom: none;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 25px 20px 10px 60px;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 16px;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    outline: none;
}

.form-group textarea {
    padding: 25px 20px 15px 60px;
    resize: vertical;
    min-height: 120px;
}

.form-group i {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    transition: var(--transition);
    z-index: 2;
}

.form-group textarea + i {
    top: 30px;
    transform: none;
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 60px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    pointer-events: none;
    transition: var(--transition);
    font-weight: 400;
}

.form-group textarea + label {
    top: 30px;
    transform: none;
}

/* Focus States for Form */
.form-group input:focus, 
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.03);
}

.form-group:focus-within {
    background: rgba(255, 255, 255, 0.03);
}

.form-group input:focus ~ i,
.form-group textarea:focus ~ i {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.form-group textarea:focus ~ i {
    transform: scale(1.1);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 15px;
    font-size: 12px;
    color: var(--primary-color);
    transform: none;
    font-weight: 500;
}

/* Submit Button for Form */
.contact-form .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 55px;
    font-size: 1.1rem;
    border-radius: 10px;
    transition: var(--transition);
}

/* Footer */
.footer {
    /*background: rgba(0, 0, 0, 0.3); */
    background: linear-gradient(rgba(8, 27, 41, 0.8), rgba(8, 27, 41, 0.8)), url('miku3.webp') no-repeat;
    background-position: top;
    padding: 30px 0;
    text-align: center;
}

/* Animation section */
@keyframes showRight {
    100% {
        width: 0;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    .home-content h1 {
        font-size: 48px;
    }
    
    .home-content h3 {
        font-size: 28px;
    }
    
    .about-content, .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 5%;
    }
    
    .navbar {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .navbar.active {
        right: 0;
    }
    
    .navbar a {
        margin: 15px 0;
        font-size: 20px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .home {
        padding: 0 5%;
        text-align: center;
    }
    
    .home-content h1 {
        font-size: 40px;
    }
    
    .home-content h3 {
        font-size: 24px;
    }
    
    .btn-box {
        flex-direction: column;
        height: auto;
        gap: 15px;
        max-width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        height: 50px;
    }
    
    .home-sci {
        position: relative;
        bottom: auto;
        margin-top: 50px;
        justify-content: center;
        gap: 20px;
        width: 100%;
    }
    
    section {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Skill Read Cards Responsive */
    .skill-read {
        gap: 15px;
    }
    
    .skill-read-card {
        padding: 20px 10px;
        min-width: 100px;
    }
    
    .skill-card-info {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .home-content h1 {
        font-size: 32px;
    }
    
    .home-content h3 {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-content, .contact-content {
        gap: 30px;
    }
    
    .image-placeholder {
        width: 250px;
        height: 250px;
    }

    /* Skill Read Cards Mobile */
    .skill-read {
        flex-direction: column;
        gap: 15px;
    }
    
    .skill-read-card {
        min-width: auto;
    }
}