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

/* MOON CURSOR EFFECT */
.cursor-sphere {
    position: fixed;
    width: 28px;
    height: 28px;
    background:
        radial-gradient(circle at 25% 25%, #F0F8FF 0%, #E0F7FF 25%, #B3E5FC 50%, transparent 75%),
        radial-gradient(circle at 75% 75%, #FFF8E1 0%, #FFECB3 30%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.8) 0%, transparent 40%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    box-shadow:
        inset 3px 3px 6px rgba(255, 255, 255, 0.3),
        inset -3px -3px 6px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 248, 225, 0.6),
        0 0 40px rgba(240, 248, 255, 0.4),
        0 0 60px rgba(179, 229, 252, 0.2);
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(1px);
    animation: moonGlow 4s ease-in-out infinite alternate;
}

@keyframes moonGlow {
    0% {
        box-shadow:
            inset 3px 3px 6px rgba(255, 255, 255, 0.3),
            inset -3px -3px 6px rgba(0, 0, 0, 0.3),
            0 0 15px rgba(255, 248, 225, 0.5),
            0 0 30px rgba(240, 248, 255, 0.3),
            0 0 45px rgba(179, 229, 252, 0.15);
    }

    100% {
        box-shadow:
            inset 4px 4px 8px rgba(255, 255, 255, 0.4),
            inset -4px -4px 8px rgba(0, 0, 0, 0.4),
            0 0 25px rgba(255, 248, 225, 0.7),
            0 0 45px rgba(240, 248, 255, 0.5),
            0 0 70px rgba(179, 229, 252, 0.25);
    }
}

.cursor-glow {
    position: fixed;
    width: 70px;
    height: 70px;
    background:
        radial-gradient(circle, rgba(255, 248, 225, 0.4), rgba(240, 248, 255, 0.2), transparent),
        radial-gradient(circle at 30% 30%, rgba(179, 229, 252, 0.3), transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    filter: blur(12px);
    animation: moonHalo 6s ease-in-out infinite;
}

@keyframes moonHalo {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.9;
    }
}

/* Keep default cursor for text input */
input,
textarea,
button,
a,
[role="button"] {
    cursor: none;
}


body {
    font-family: 'Poppins', sans-serif;
    background: black;
    color: #FFFFFF;
    overflow-x: hidden;
}

#bg-frame {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    border: none;
}

.suhana-name {
    color: #00D4FF;
    font-weight: 700;
}

/* LOGO ANIMATIONS WITH CHARACTER SPACING */
.logo-text {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    overflow: hidden;
}

.logo-char {
    display: inline-block;
    animation: logoCharAnimation 0.6s ease-in-out;
    animation-fill-mode: both;
}

.logo-char:nth-child(1) {
    animation-delay: 0s;
}

.logo-char:nth-child(2) {
    animation-delay: 0.1s;
}

.logo-char:nth-child(3) {
    animation-delay: 0.2s;
}

.logo-char:nth-child(4) {
    animation-delay: 0.3s;
}

.logo-char:nth-child(5) {
    animation-delay: 0.4s;
}

.logo-char:nth-child(6) {
    animation-delay: 0.5s;
}

.logo-char:nth-child(7) {
    animation-delay: 0.6s;
}

.logo-char:nth-child(8) {
    animation-delay: 0.7s;
}

.logo-char:nth-child(9) {
    animation-delay: 0.8s;
}

.logo-char:nth-child(10) {
    animation-delay: 0.1s;
}

.logo-char:nth-child(11) {
    animation-delay: 0.2s;
}

.logo-char:nth-child(12) {
    animation-delay: 0.3s;
}

.logo-char:nth-child(13) {
    animation-delay: 0.4s;
}

.logo-char:nth-child(14) {
    animation-delay: 0.5s;
}

.logo-char:nth-child(15) {
    animation-delay: 0.6s;
}

.logo-char:nth-child(16) {
    animation-delay: 0.7s;
}

.logo-char:nth-child(17) {
    animation-delay: 0.8s;
}

.logo-char:nth-child(18) {
    animation-delay: 0.9s;
}

@keyframes logoCharAnimation {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.space {
    width: 0.3rem;
}

.logo-text:hover .logo-char {
    animation: logoCharHover 0.6s ease-in-out;
    animation-fill-mode: both;
}

.logo-text:hover .logo-char:nth-child(1) {
    animation-delay: 0s;
}

.logo-text:hover .logo-char:nth-child(2) {
    animation-delay: 0.05s;
}

.logo-text:hover .logo-char:nth-child(3) {
    animation-delay: 0.1s;
}

.logo-text:hover .logo-char:nth-child(4) {
    animation-delay: 0.15s;
}

.logo-text:hover .logo-char:nth-child(5) {
    animation-delay: 0.2s;
}

.logo-text:hover .logo-char:nth-child(6) {
    animation-delay: 0.25s;
}

.logo-text:hover .logo-char:nth-child(7) {
    animation-delay: 0.3s;
}

.logo-text:hover .logo-char:nth-child(8) {
    animation-delay: 0.35s;
}

.logo-text:hover .logo-char:nth-child(9) {
    animation-delay: 0.4s;
}

.logo-text:hover .logo-char:nth-child(10) {
    animation-delay: 0.05s;
}

.logo-text:hover .logo-char:nth-child(11) {
    animation-delay: 0.1s;
}

.logo-text:hover .logo-char:nth-child(12) {
    animation-delay: 0.15s;
}

.logo-text:hover .logo-char:nth-child(13) {
    animation-delay: 0.2s;
}

.logo-text:hover .logo-char:nth-child(14) {
    animation-delay: 0.25s;
}

.logo-text:hover .logo-char:nth-child(15) {
    animation-delay: 0.3s;
}

.logo-text:hover .logo-char:nth-child(16) {
    animation-delay: 0.35s;
}

.logo-text:hover .logo-char:nth-child(17) {
    animation-delay: 0.4s;
}

.logo-text:hover .logo-char:nth-child(18) {
    animation-delay: 0.45s;
}

@keyframes logoCharHover {

    0%,
    100% {
        transform: translateY(0);
        color: #FFFFFF;
    }

    50% {
        transform: translateY(-8px);
        color: #00D4FF;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1002;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00D4FF;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu-overlay.active {
    right: 0;
}

.menu-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 212, 255, 0.05);
}

.menu-header h3 {
    font-size: 1.2rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #F0F0F0;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #00D4FF;
}

.mobile-menu {
    list-style: none;
    padding: 1rem 0;
}

.mobile-link {
    display: block;
    color: #F0F0F0;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 1.2rem 2rem;
    transition: all 0.3s;
}

.mobile-link:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #00D4FF;
    padding-left: 3rem;
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #F0F0F0;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-link:hover {
    color: #00D4FF;
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 5% 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 5rem;
    width: 100%;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero-line1 {
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 0.2rem;

    color: #F0F0F0;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-name-line {
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
    margin-top: 1rem;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .hero-name-line {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-name-line {
        font-size: 1.8rem;
    }
}


.hero-line2 {
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #F0F0F0;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-line3 {
    font-size: 2.8rem;
    font-weight: 400;
    color: #00D4FF;
    line-height: 1;
    min-height: 3.2rem;
    display: flex;
    align-items: baseline;
}

.typing-demo {
    min-width: 0;
}

.cursor {
    width: 4px;
    height: 3rem;
    background: #00D4FF;
    animation: blink 0.8s infinite;
    margin-left: 4px;
    flex-shrink: 0;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.hero-buttons {
    margin-top: 2.5rem;
    display: flex;
    gap: 1.5rem;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #00D4FF, #0099CC);
    color: #000;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #F0F0F0;
    border: 2px solid #A78BFA;
}

.btn-secondary:hover {
    background: #A78BFA;
    color: #000;
    box-shadow: 0 5px 15px rgba(167, 139, 250, 0.3);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-container {
    animation: float 5s ease-in-out infinite;
}

.profile-img {
    width: 340px;
    height: 340px;
    border-radius: 30px;
    object-fit: cover;
    border: 3px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 212, 255, 0.4);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

/* SECTION SEPARATOR */
.section-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, #00D4FF, #A78BFA, #00D4FF, transparent);
    max-width: 800px;
    margin: 0 auto 2rem;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* About Section */
.about-section {
    padding: 120px 5% 100px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-img {
    width: 350px;
    height: 450px;
    border-radius: 20px;
    object-fit: cover;
    border: 4px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 212, 255, 0.2);
    animation: aboutImageFloat 6s ease-in-out infinite;
}

@keyframes aboutImageFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }

    33% {
        transform: translateY(-20px) rotate(1deg) scale(1.02);
    }

    66% {
        transform: translateY(-10px) rotate(-1deg) scale(1.01);
    }
}

.about-text {
    max-width: 100%;
    text-align: center;
}

.about-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #F0F0F0;
}

.about-intro strong {
    color: #00D4FF;
    font-weight: 700;
}

.about-passion {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #F0F0F0;
}

.about-passion strong {
    color: #A78BFA;
    font-weight: 700;
}

.about-closing {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #F0F0F0;
    font-style: italic;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.tag {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.3), rgba(0, 212, 255, 0.2));
    border: 1px solid rgba(167, 139, 250, 0.5);
    color: #A78BFA;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
}

.tag:hover {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.5), rgba(0, 212, 255, 0.3));
    border-color: rgba(0, 212, 255, 0.8);
    color: #00D4FF;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(167, 139, 250, 0.2);
}

/* SKILLS SECTION */
.skills-section {
    padding: 120px 5% 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-card {
    perspective: 1000px;
    height: 240px;
    width: 100%;
}


.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.skill-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.card-front {
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.4);
}

.card-back {
    background: rgba(167, 139, 250, 0.2);
    border: 2px solid rgba(167, 139, 250, 0.4);
    transform: rotateY(180deg);
}

.skill-icon {
    font-size: 3.1rem;
    font-weight: 800;
    color: #00D4FF;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    margin-bottom: 0.5rem;
}

.skill-text {
    font-size: 1.1rem;
    line-height: 1.4;
    color: #F0F0F0;
    padding: 1rem;
}

/* PROJECTS SECTION */
.projects-section {
    padding: 120px 5% 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.projects-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.projects-carousel {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    padding: 20px 0;
}

.projects-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 100%;
}

.project-card {
    min-width: calc(33.333% - 1.35rem);
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(0, 212, 255, 0.1));
    border: 2px solid rgba(167, 139, 250, 0.3);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 350px;
    cursor: pointer;
    position: relative;
    transition: all 0.4s ease;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.6s ease;
    border-radius: 20px;
    pointer-events: none;
}

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

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.6);
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.2), rgba(0, 212, 255, 0.15));
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.15);
}

.project-content {
    position: relative;
    z-index: 2;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #A78BFA;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(167, 139, 250, 0.3);
}

.project-card p {
    font-size: 0.95rem;
    color: #F0F0F0;
    line-height: 1.5;
    margin: 0;
}

.project-btn {
    margin-top: auto;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: #00D4FF;
    border: 2px solid #00D4FF;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
    cursor: pointer;
    text-align: center;
    width: fit-content;
}

.project-btn:hover {
    background: #00D4FF;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    transform: translateY(-2px);
}

/* Carousel Buttons */
.carousel-btn {
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.5);
    color: #00D4FF;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: #00D4FF;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    transform: scale(1.05);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.3);
    border: 2px solid rgba(0, 212, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dot.active {
    background: #00D4FF;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(0, 212, 255, 0.6);
    border-color: #00D4FF;
    transform: scale(1.15);
}

/* EDUCATION SECTION */
.education-section {
    padding: 120px 5% 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #00D4FF, #A78BFA, transparent);
    top: 0;
}

.timeline-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #00D4FF, #A78BFA);
    transition: height 0.1s ease;
    z-index: 2;
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    width: calc(50% - 40px);
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    width: calc(50% - 40px);
    text-align: left;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8rem;
    top: 0;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #00D4FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 25px rgba(0, 212, 255, 0.8);
    }
}

.timeline-content {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.1), rgba(0, 212, 255, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.4s ease;
}

.timeline-content:hover {
    border-color: rgba(0, 212, 255, 0.6);
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(0, 212, 255, 0.1));
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    transform: translateY(-5px);
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: #00D4FF;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.timeline-date {
    font-size: 0.95rem;
    color: #A78BFA;
    font-weight: 600;
    margin: 0.3rem 0;
}

.timeline-school {
    font-size: 0.9rem;
    color: #F0F0F0;
    margin: 0.5rem 0;
}

.timeline-status {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin: 0.5rem 0 0 0;
}

/* CONTACT SECTION */
.contact-section {
    padding: 120px 5% 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.12), rgba(0, 212, 255, 0.08));
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 15px;
    text-decoration: none;
    color: #F0F0F0;
    transition: all 0.4s ease;
}

.contact-card:hover {
    border-color: rgba(0, 212, 255, 0.6);
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.2), rgba(0, 212, 255, 0.12));
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.contact-icon {
    font-size: 1.8rem;
    min-width: 50px;
    color: #00D4FF;
}

.contact-text {
    font-size: 1rem;
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.12), rgba(0, 212, 255, 0.08));
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 20px;
}

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

.form-group input,
.form-group textarea {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    color: #F0F0F0;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00D4FF;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.btn-send {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #A78BFA, #00D4FF);
    color: #000;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-send:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.4);
}

/* FOOTER */
.footer {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(20, 20, 40, 0.9));
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding: 3rem 5% 1.5rem;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
}

.footer-left h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

.footer-left p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-right {
    display: flex;
    justify-content: flex-end;
    gap: 3rem;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #F0F0F0;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.footer-links a:hover {
    color: #00D4FF;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(0, 212, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00D4FF;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 700;
    font-size: 1rem;
}

.footer-socials a:hover {
    background: #00D4FF;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-container {
        gap: 2rem;
    }

    .project-card {
        min-width: calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .hero-section {
        padding: 120px 5% 40px;
    }

    .hero-container {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 3rem;
    }


    .hero-line1,
    .hero-line2,
    .hero-line3 {
        font-size: 2.2rem;
    }

    .profile-img {
        width: 260px;
        height: 260px;
    }

    .about-section {
        padding: 100px 5% 80px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-img {
        width: 280px;
        height: 360px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .skills-section {
        padding: 100px 5% 80px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .skill-card {
        height: 180px;
    }

    .skill-icon {
        font-size: 2.5rem;
    }

    .projects-section {
        padding: 100px 5% 80px;
    }

    .projects-wrapper {
        gap: 0.5rem;
    }

    .projects-carousel {
        padding: 15px 0;
        margin: 0 35px;
    }

    .project-card {
        min-width: 100%;
        height: 300px;
        padding: 1.5rem;
    }

    .project-card:hover {
        transform: translateY(-8px);
    }

    .project-card h3 {
        font-size: 1.3rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        padding: 0;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 212, 255, 0.15);
        border: 2px solid rgba(0, 212, 255, 0.6);
    }

    .prev-btn {
        left: 0;
    }

    .next-btn {
        right: 0;
    }

    .carousel-dots {
        gap: 0.8rem;
        margin-top: 2.5rem;
    }

    .education-section {
        padding: 100px 5% 80px;
    }

    .timeline-line {
        left: 25px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 80px);
        margin-left: 70px;
        margin-right: 0;
        text-align: left;
    }

    .timeline-marker {
        left: 25px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .contact-section {
        padding: 100px 5% 80px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-right {
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .logo h1 {
        font-size: 1rem;
    }

    .hero-line1,
    .hero-line2,
    .hero-line3 {
        font-size: 1.8rem;
    }

    .projects-carousel {
        margin: 0 30px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .project-card {
        height: 260px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 0.9rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-line1,
    .hero-line2,
    .hero-line3 {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }

    .about-img {
        width: 200px;
        height: 280px;
    }

    .about-intro,
    .about-passion,
    .about-closing {
        font-size: 0.95rem;
    }

    .tag {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .skill-card {
        height: 150px;
    }

    .skill-icon {
        font-size: 2rem;
    }

    .projects-carousel {
        margin: 0 25px;
    }

    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .project-card {
        height: 320px;
        padding: 1rem;
    }

    .project-card h3 {
        font-size: 1.5rem;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 70px);
        margin-left: 65px;
    }

    .timeline-marker {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .btn-send {
        padding: 0.9rem 1.5rem;
    }

    .footer {
        padding: 2rem 4% 1rem;
    }

    .footer-left h3 {
        font-size: 1.2rem;
    }

    .footer-links {
        gap: 1rem;
    }
}

@media (max-width: 380px) {
    .logo h1 {
        font-size: 0.8rem;
    }

    .hero-section {
        padding: 100px 3% 30px;
    }

    .hero-buttons {
        gap: 0.5rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }

    .profile-img {
        width: 180px;
        height: 180px;
    }
}