/* ===== GLOBAL STYLES ===== */
:root {
    --dark-bg: #0a0a0a;
    --dark-secondary: #121212;
    --light-blue: #00aaff;
    --light-blue-transparent: rgba(0, 170, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --transition-speed: 0.3s;
    --cubic-bezier: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--light-blue) var(--dark-bg);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.highlight {
    color: var(--light-blue);
    font-weight: 600;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px; /* This adds space above the section when scrolled to */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--light-blue);
    margin: 0 auto;
    position: relative;
}

.section-line::before, .section-line::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 4px;
    background: var(--light-blue);
    opacity: 0.6;
}

.section-line::before {
    left: -25px;
}

.section-line::after {
    right: -25px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed) var(--cubic-bezier);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
}

.primary-btn {
    background-color: var(--light-blue);
    color: var(--dark-bg);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 170, 255, 0.3);
}

.secondary-btn {
    background-color: transparent;
    color: var(--light-blue);
    border: 2px solid var(--light-blue);
}

.secondary-btn:hover {
    background-color: var(--light-blue);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s;
}

.btn:hover::before {
    left: 100%;
}

/* ===== CUSTOM CURSOR ===== */
.custom-cursor {
    width: 25px;
    height: 25px;
    border: 2px solid var(--light-blue);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: all 0.1s ease;
    opacity: 0;
}

.cursor-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background-color: var(--light-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* ===== LOADER ===== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-content {
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.loader-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    gap: 2px; /* Add a small gap between logo image and letters */
}

.logo-letter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-blue);
    margin: 0 2px;
    display: inline-block;
    opacity: 0;
    animation: fadeInOut 1.8s infinite;
    transform: translateY(0);
}

.logo-letter:nth-child(1) { animation-delay: 0.1s; }
.logo-letter:nth-child(2) { animation-delay: 0.2s; }
.logo-letter:nth-child(3) { animation-delay: 0.3s; }
.logo-letter:nth-child(4) { animation-delay: 0.4s; }
.logo-letter:nth-child(5) { animation-delay: 0.5s; }
.logo-letter:nth-child(6) { animation-delay: 0.6s; }
.logo-letter:nth-child(7) { animation-delay: 0.7s; }
.logo-letter:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-10px); }
}

.loading-bar {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    margin-bottom: 15px;
}

.loading-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background-color: var(--light-blue);
    transition: width 0.3s ease;
    animation: progressPulse 1.5s infinite;
}

@keyframes progressPulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.loading-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 3%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 15px 5%;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.nav-links {
    display: flex;
    gap: 30px;
    margin: 0 auto; /* Center the navigation links */
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--light-blue);
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--light-blue);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--dark-secondary);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: all 0.5s var(--cubic-bezier);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--light-blue);
    transform: translateX(10px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--dark-bg);
    padding: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    line-height: 1.1;
}

.hero-text .subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.typewriter {
    height: 40px;
    margin-bottom: 30px;
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--light-blue);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: all 0.5s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.image-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Special handling for the main profile image - different from logo */
.hero-image .image-container img {
    object-fit: cover;
    mix-blend-mode: normal;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 170, 255, 0.2), transparent);
    pointer-events: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.scroll-indicator a:hover {
    color: var(--light-blue);
}

.scroll-indicator i {
    margin-top: 10px;
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: var(--text-primary);
    animation: glitch-skew 1s infinite linear alternate-reverse;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--light-blue);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-1 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: 1px 0 var(--light-blue);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-2 5s infinite linear alternate-reverse;
    animation-delay: 0.3s;
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(66px, 450px, 119px, 0);
    }
    5% {
        clip: rect(30px, 450px, 41px, 0);
    }
    10% {
        clip: rect(62px, 450px, 78px, 0);
    }
    15% {
        clip: rect(34px, 450px, 15px, 0);
    }
    20% {
        clip: rect(26px, 450px, 61px, 0);
    }
    25% {
        clip: rect(7px, 450px, 88px, 0);
    }
    30% {
        clip: rect(44px, 450px, 36px, 0);
    }
    35% {
        clip: rect(54px, 450px, 82px, 0);
    }
    40% {
        clip: rect(66px, 450px, 23px, 0);
    }
    45% {
        clip: rect(31px, 450px, 49px, 0);
    }
    50% {
        clip: rect(40px, 450px, 32px, 0);
    }
    55% {
        clip: rect(4px, 450px, 72px, 0);
    }
    60% {
        clip: rect(20px, 450px, 26px, 0);
    }
    65% {
        clip: rect(13px, 450px, 86px, 0);
    }
    70% {
        clip: rect(25px, 450px, 35px, 0);
    }
    75% {
        clip: rect(57px, 450px, 68px, 0);
    }
    80% {
        clip: rect(16px, 450px, 49px, 0);
    }
    85% {
        clip: rect(51px, 450px, 77px, 0);
    }
    90% {
        clip: rect(49px, 450px, 23px, 0);
    }
    95% {
        clip: rect(12px, 450px, 55px, 0);
    }
    100% {
        clip: rect(44px, 450px, 32px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(10px, 450px, 49px, 0);
    }
    5% {
        clip: rect(42px, 450px, 73px, 0);
    }
    10% {
        clip: rect(45px, 450px, 91px, 0);
    }
    15% {
        clip: rect(31px, 450px, 45px, 0);
    }
    20% {
        clip: rect(45px, 450px, 60px, 0);
    }
    25% {
        clip: rect(5px, 450px, 64px, 0);
    }
    30% {
        clip: rect(30px, 450px, 88px, 0);
    }
    35% {
        clip: rect(89px, 450px, 95px, 0);
    }
    40% {
        clip: rect(41px, 450px, 53px, 0);
    }
    45% {
        clip: rect(56px, 450px, 68px, 0);
    }
    50% {
        clip: rect(4px, 450px, 73px, 0);
    }
    55% {
        clip: rect(30px, 450px, 40px, 0);
    }
    60% {
        clip: rect(79px, 450px, 93px, 0);
    }
    65% {
        clip: rect(16px, 450px, 21px, 0);
    }
    70% {
        clip: rect(34px, 450px, 45px, 0);
    }
    75% {
        clip: rect(53px, 450px, 71px, 0);
    }
    80% {
        clip: rect(1px, 450px, 81px, 0);
    }
    85% {
        clip: rect(85px, 450px, 97px, 0);
    }
    90% {
        clip: rect(42px, 450px, 76px, 0);
    }
    95% {
        clip: rect(9px, 450px, 23px, 0);
    }
    100% {
        clip: rect(61px, 450px, 100px, 0);
    }
}

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    10% { transform: skew(0deg); }
    20% { transform: skew(0.5deg); }
    30% { transform: skew(0deg); }
    40% { transform: skew(-0.5deg); }
    50% { transform: skew(0.2deg); }
    60% { transform: skew(0deg); }
    70% { transform: skew(0.3deg); }
    80% { transform: skew(-0.1deg); }
    90% { transform: skew(0.2deg); }
    100% { transform: skew(0deg); }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background-color: var(--dark-secondary);
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
    padding: 0 5%;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.skills {
    margin-top: 40px;
}

.skills h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.skill-category {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.category-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 0;
}

.category-title:hover {
    color: #fff;
}

.category-title i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.category-title.active i {
    transform: rotate(180deg);
}

.skill-dropdown {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: none;
    margin: 0;
    padding: 0;
}

.skill-dropdown.active {
    height: auto;
    opacity: 1;
    margin-top: 10px;
    margin-bottom: 20px;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill {
    width: 100%;
}

.skill-name {
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.skill-bar {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    width: 0;
    background-color: var(--light-blue);
    border-radius: 4px;
    position: relative;
    transition: width 0.3s linear;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.5);
}

.skill-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: progressShine 2s infinite linear;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.rotating-cube {
    width: 250px;
    height: 250px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 20s infinite linear;
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--light-blue-transparent);
    border: 2px solid var(--light-blue);
    opacity: 0.7;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.3);
}

.front {
    transform: translateZ(125px);
}

.back {
    transform: translateZ(-125px) rotateY(180deg);
}

.right {
    transform: translateX(125px) rotateY(90deg);
}

.left {
    transform: translateX(-125px) rotateY(-90deg);
}

.top {
    transform: translateY(-125px) rotateX(90deg);
}

.bottom {
    transform: translateY(125px) rotateX(-90deg);
}

@keyframes rotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    background-color: var(--dark-bg);
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.project-card {
    background-color: var(--dark-secondary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 170, 255, 0.2);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.view-project {
    background-color: var(--light-blue);
    color: var(--dark-bg);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.project-card:hover .view-project {
    transform: translateY(0);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tech span {
    background-color: var(--light-blue-transparent);
    color: var(--light-blue);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.view-more {
    text-align: center;
    margin-top: 50px;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    background-color: var(--dark-secondary);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--light-blue);
    color: var(--dark-bg);
    border-color: var(--light-blue);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gallery-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background-color: var(--dark-bg);
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--light-blue);
    font-size: 1.2rem;
    margin-right: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-secondary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--light-blue);
    transform: translateY(-5px);
}

.social-link i {
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--light-blue);
    outline: none;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.2);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.2s ease;
}

.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: -10px;
    left: 10px;
    font-size: 0.8rem;
    background-color: var(--dark-bg);
    padding: 0 5px;
    color: var(--light-blue);
}

/* ===== NOTIFICATION ===== */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 25px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    display: none;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.success {
    background-color: #4CAF50;
}

.notification.error {
    background-color: #F44336;
}

.notification.warning {
    background-color: #FF9800;
}

/* ===== RESPONSIVE NOTIFICATION ===== */
@media (max-width: 768px) {
    .notification {
        left: 20px;
        right: 20px;
        bottom: 20px;
        text-align: center;
    }
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark-secondary);
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    margin-bottom: 50px;
}

.footer-logo h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--light-blue);
}

.footer-logo p {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 50px;
}

.footer-link-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-link-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--light-blue);
}

.footer-link-column a {
    display: block;
    margin-bottom: 10px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-link-column a:hover {
    color: var(--light-blue);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 992px) {
    .hero-content, .about-content, .contact-container {
        flex-direction: column;
    }
    
    .hero-text, .about-text, .contact-info {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .about-visual {
        order: -1;
        margin-bottom: 50px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-text .subtitle {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .rotating-cube {
        width: 200px;
        height: 200px;
    }
    
    .front { transform: translateZ(100px); }
    .back { transform: translateZ(-100px) rotateY(180deg); }
    .right { transform: translateX(100px) rotateY(90deg); }
    .left { transform: translateX(-100px) rotateY(-90deg); }
    .top { transform: translateY(-100px) rotateX(90deg); }
    .bottom { transform: translateY(100px) rotateX(-90deg); }
    
    .gallery-filter {
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    nav {
        padding: 12px 2%;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.fade-in {
    animation: fadeIn 0.6s forwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* 3D Tilt Effect */
.tilt-element {
    transform-style: preserve-3d;
    transform: perspective(1000px);
    transition: transform 0.5s ease;
}

.tilt-element:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}
