/* ===========================
   Modern Portfolio CSS
   Advanced Design with Animations
   =========================== */

/* CSS Variables - Dark Mode (Default) */
:root {
    --primary: #00F5FF;
    --secondary: #FF006E;
    --accent: #8338EC;
    --dark: #0A0E27;
    --darker: #050816;
    --light: #F8F9FA;
    --text: #E4E4E7;
    --text-dark: #A1A1AA;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(0, 245, 255, 0.3);
}

/* Light Mode Variables */
[data-theme="light"] {
    --primary: #667eea;
    --secondary: #FF006E;
    --accent: #8338EC;
    --dark: #F8F9FA;
    --darker: #FFFFFF;
    --light: #0A0E27;
    --text: #1a1a2e;
    --text-dark: #4a5568;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(102, 126, 234, 0.3);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--darker);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
    will-change: transform;
    transition: opacity 0.3s ease;
}

[data-theme="light"] .shape {
    opacity: 0.15;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-1);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-2);
    top: 50%;
    right: -150px;
    animation-delay: 5s;
}

.shape-3 {
    width: 600px;
    height: 600px;
    background: var(--gradient-3);
    bottom: -250px;
    left: 30%;
    animation-delay: 10s;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    top: 30%;
    left: 50%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, 100px) rotate(90deg); }
    50% { transform: translate(0, 200px) rotate(180deg); }
    75% { transform: translate(-100px, 100px) rotate(270deg); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo-image {
    width: 250px;
    height: 80px;
    object-fit: contain;
    filter: invert(1) brightness(2);
}

[data-theme="light"] .logo-image {
    filter: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: scale(1.05);
}

.theme-toggle i {
    position: absolute;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.theme-toggle .fa-sun {
    color: #FDB813;
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

.theme-toggle .fa-moon {
    color: var(--primary);
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-toggle .fa-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-toggle .fa-moon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-number {
    color: var(--primary);
    font-family: 'Space Grotesk', monospace;
    margin-right: 5px;
    font-size: 0.85rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::before {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

.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);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-greeting {
    font-family: 'Space Grotesk', monospace;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.hero-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero-tagline {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 540px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.hero-image-bg {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: 10px;
    z-index: -1;
    transition: all 0.3s ease;
}

.hero-image-wrapper:hover .hero-image-bg {
    top: 10px;
    left: 10px;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    filter: grayscale(30%);
    transition: all 0.3s ease;
    object-fit: cover;
}

.hero-image-wrapper:hover img {
    filter: grayscale(0%);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-dark);
    font-size: 0.85rem;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 15px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: rgba(0, 245, 255, 0.1);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--text-dark);
}

.btn-secondary:hover {
    border-color: var(--text);
    transform: translateY(-2px);
}

/* Section Styles */
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.section-number {
    font-family: 'Space Grotesk', monospace;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

.section-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-left: 1rem;
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 245, 255, 0.3);
    transform: translateY(-5px);
}

[data-theme="light"] .glass-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .glass-card:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary);
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Space Grotesk', sans-serif;
}

.stat-label {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
    position: relative;
    z-index: 5;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0.3;
    border-radius: 15px;
    z-index: 6;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.about-image-wrapper:hover .image-overlay {
    opacity: 0;
}

.floating-card {
    position: absolute;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 245, 255, 0.6);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 40px rgba(0, 245, 255, 0.3);
    animation: floatCard 3s infinite ease-in-out;
    z-index: 10;
}

.floating-card i {
    color: var(--primary);
    font-size: 1.3rem;
}

.floating-card span {
    color: var(--text);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

.card-1 {
    top: 5%;
    right: -15%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    left: -15%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 5%;
    right: -12%;
    animation-delay: 2s;
}

[data-theme="light"] .floating-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(102, 126, 234, 0.6);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.personal-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-5px);
}

[data-theme="light"] .info-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .info-card:hover {
    background: rgba(255, 255, 255, 0.95);
}

.info-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.info-card h4 {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.skill-category:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-5px);
}

[data-theme="light"] .skill-category {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .skill-category:hover {
    background: rgba(255, 255, 255, 0.95);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-header i {
    font-size: 2rem;
    color: var(--primary);
}

.category-header h3 {
    font-size: 1.5rem;
    color: var(--text);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background: rgba(0, 245, 255, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 245, 255, 0.2);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(0, 245, 255, 0.2);
    transform: translateY(-2px);
}

[data-theme="light"] .skill-tag {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

[data-theme="light"] .skill-tag:hover {
    background: rgba(102, 126, 234, 0.2);
}

.skills-visual {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.skill-circle {
    position: relative;
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
}

.skill-circle svg {
    width: 100%;
    height: auto;
    transform: rotate(-90deg);
}

.skill-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 10;
}

.skill-circle-progress {
    fill: none;
    stroke: var(--primary);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 565;
    stroke-dashoffset: calc(565 - (565 * var(--percent)) / 100);
    transition: stroke-dashoffset 1s ease;
    filter: drop-shadow(0 0 10px var(--primary));
    animation: drawCircle 2s ease-out forwards;
}

@keyframes drawCircle {
    from {
        stroke-dashoffset: 565;
    }
}

.skill-circle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.skill-circle-content i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.skill-circle-content span {
    display: block;
    color: var(--text);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.skill-circle-content strong {
    display: block;
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
}

/* Projects Section */
.projects {
    padding: 100px 0;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.project-card.featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.project-card.featured.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.project-card.featured.reverse .project-image {
    order: 2;
}

.project-card.featured.reverse .project-content {
    order: 1;
    text-align: right;
}

.project-card.featured.reverse .project-tech {
    justify-content: flex-end;
}

.project-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    object-fit: cover;
    min-height: 250px;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 245, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-links {
    display: flex;
    gap: 1.5rem;
}

.project-link {
    width: 50px;
    height: 50px;
    background: rgba(10, 14, 39, 0.9);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-5px);
}

.project-category {
    font-family: 'Space Grotesk', monospace;
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: 700;
}

.project-description-box {
    background: rgba(10, 14, 39, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-md);
}

.project-description-box p {
    color: var(--text-dark);
    line-height: 1.8;
}

[data-theme="light"] .project-description-box {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-tech span {
    font-family: 'Space Grotesk', monospace;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.other-projects {
    margin-top: 6rem;
}

.other-projects-title {
    text-align: center;
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 3rem;
}

.other-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.other-project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.other-project-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-10px);
}

[data-theme="light"] .other-project-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .other-project-card:hover {
    background: rgba(255, 255, 255, 0.95);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-header i.fa-folder {
    font-size: 2.5rem;
    color: var(--primary);
}

.card-links {
    display: flex;
    gap: 1rem;
}

.card-links a {
    color: var(--text-dark);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.card-links a:hover {
    color: var(--primary);
}

.other-project-card h4 {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.other-project-card p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.card-tech span {
    font-family: 'Space Grotesk', monospace;
    color: var(--text-dark);
    font-size: 0.85rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.contact-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.contact-intro p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper h3 {
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.1);
}

.form-input::placeholder {
    color: var(--text-dark);
}

[data-theme="light"] .form-input {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .form-input:focus {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateX(10px);
}

[data-theme="light"] .contact-info-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .contact-info-card:hover {
    background: rgba(255, 255, 255, 0.95);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 245, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.info-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

[data-theme="light"] .info-icon {
    background: rgba(102, 126, 234, 0.1);
}

.contact-info-card h4 {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.info-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.info-link:hover {
    gap: 1rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .footer {
    background: rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-image {
    width: 250px;
    height: 80px;
    object-fit: contain;
    filter: invert(1) brightness(2);
}

[data-theme="light"] .footer-logo-image {
    filter: none;
}

.footer-description {
    color: var(--text-dark);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: var(--darker);
    border-color: var(--primary);
    transform: translateY(-5px);
}

[data-theme="light"] .social-link {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.footer-bottom i.fa-heart {
    color: var(--secondary);
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--darker);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-glow);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

[data-theme="light"] .scroll-top {
    color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-name {
        font-size: 3.5rem;
    }
    
    .hero-tagline {
        font-size: 2.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image-wrapper {
        max-width: 350px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .skills-categories {
        grid-template-columns: 1fr;
    }
    
    .skills-visual {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-card.featured,
    .project-card.featured.reverse {
        grid-template-columns: 1fr;
    }
    
    .project-card.featured.reverse .project-image {
        order: 1;
    }
    
    .project-card.featured.reverse .project-content {
        order: 2;
        text-align: left;
    }
    
    .project-card.featured.reverse .project-tech {
        justify-content: flex-start;
    }
    
    .other-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .personal-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Reduce animation complexity on tablets */
    .shape {
        filter: blur(60px);
        opacity: 0.2;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(10px);
        padding: 100px 30px;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-image-wrapper {
        max-width: 300px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .about, .skills, .projects, .contact {
        padding: 60px 0;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .about-image-wrapper {
        max-width: 300px;
    }
    
    .skills-visual {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .skill-circle {
        max-width: 150px;
    }
    
    .project-description-box {
        padding: 1.2rem;
    }
    
    .project-title {
        font-size: 1.5rem;
    }
    
    .other-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .personal-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .glass-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-bracket {
        font-size: 1.4rem;
    }
    
    .hero-name {
        font-size: 1.8rem;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .hero-greeting {
        font-size: 0.95rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .section-number {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .section-line {
        display: none;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .category-header h3 {
        font-size: 1.2rem;
    }
    
    .category-header i {
        font-size: 1.5rem;
    }
    
    .skill-tag {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .skills-visual {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skill-circle {
        max-width: 180px;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .project-category {
        font-size: 0.85rem;
    }
    
    .project-tech span {
        font-size: 0.85rem;
    }
    
    .other-projects-title {
        font-size: 1.5rem;
    }
    
    .other-project-card h4 {
        font-size: 1.1rem;
    }
    
    .contact-form-wrapper h3 {
        font-size: 1.5rem;
    }
    
    .form-input {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .footer-logo {
        font-size: 1.2rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
}

/* Image Loading States */
img {
    max-width: 100%;
    height: auto;
}

img[src*="placeholder"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Prevent horizontal scroll */
body, html {
    overflow-x: hidden;
    max-width: 100%;
}

/* Better touch targets for mobile */
@media (max-width: 768px) {
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00d4dd;
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--dark);
}

/* Smooth image loading */
img {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader-content {
    text-align: center;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 245, 255, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 500;
}

.dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10000;
    transition: transform 0.15s ease;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    transition: transform 0.15s ease, opacity 0.3s ease;
}

@media (max-width: 768px) {
    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

/* Typing Effect */
.typing-text {
    color: var(--primary);
    font-weight: 600;
}

.typing-cursor {
    color: var(--primary);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Project Filter */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: var(--darker);
    border-color: var(--primary);
}

[data-theme="light"] .filter-btn {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .filter-btn.active {
    color: #FFFFFF;
}

/* Form Success Message */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.form-success i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1rem;
    animation: scaleIn 0.5s ease;
}

.form-success p {
    font-size: 1.2rem;
    color: var(--text);
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Active Nav Link */
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    width: 100%;
}

/* Removed Parallax Effect - Images stay in place */

/* Project Card Transition */
.other-project-card {
    transition: all 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

/* Floating Social Links */
.floating-social {
    position: fixed;
    left: 40px;
    bottom: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.floating-social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-social-link:hover {
    color: var(--primary);
    transform: translateY(-5px);
}

.floating-line {
    width: 2px;
    height: 100px;
    background: var(--text-dark);
}

@media (max-width: 768px) {
    .floating-social {
        display: none;
    }
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--primary);
    width: 0%;
    z-index: 10001;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px var(--primary);
}

/* Particles Canvas */
#particlesCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

/* Experience Timeline */
.experience-timeline {
    max-width: 800px;
    margin: 3rem auto 4rem;
    position: relative;
    padding-left: 50px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-dot {
    position: absolute;
    left: -30px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0, 245, 255, 0.2);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateX(10px);
}

.timeline-date {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.timeline-content h4 {
    color: var(--text);
    font-size: 1.3rem;
    margin: 0.5rem 0;
}

.timeline-content p {
    color: var(--text-dark);
}

[data-theme="light"] .timeline-content {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials-section {
    margin: 5rem 0;
}

.testimonials-title {
    text-align: center;
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 3rem;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2.5rem;
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: block;
}

.testimonial-stars {
    color: #FDB813;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.testimonial-author h5 {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.testimonial-author span {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

.dot:hover {
    background: var(--primary);
}

[data-theme="light"] .testimonial-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Skill Circle Hover Effect */
.skill-circle {
    cursor: pointer;
    transition: all 0.3s ease;
}

.skill-circle:hover {
    transform: scale(1.1);
}

.skill-circle:hover .skill-circle-progress {
    filter: drop-shadow(0 0 20px var(--primary));
}

/* Floating Animation for Cards */
@keyframes floatUp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.info-card:hover {
    animation: floatUp 2s ease-in-out infinite;
}

/* Gradient Text Effect */
.hero-name {
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth Reveal Animation */
@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);
    }
}

/* Glowing Effect on Hover */
.project-link:hover,
.social-link:hover {
    box-shadow: 0 0 20px var(--primary);
}

/* Ripple Effect */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
    opacity: 0;
    transition: 0s;
}

/* Progress Bar Animation */
@keyframes progressBar {
    from {
        width: 0;
    }
}

/* Shake Animation for Errors */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.form-input:invalid:focus {
    animation: shake 0.5s;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.theme-toggle:active {
    animation: pulse 0.3s ease;
}

/* Gradient Border Animation */
@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 400% 400%;
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientBorder 3s ease infinite;
}

.glass-card:hover::before {
    opacity: 0.5;
}

.glass-card {
    position: relative;
}

/* Text Gradient Animation */
@keyframes textGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.section-number {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradient 3s ease infinite;
}
