/* Index page specific styles */

/* Futuristic Theme - Optimized for Performance */
@font-face {
    font-family: 'FuturisticMono';
    src: local('Consolas'), local('Monaco'), local('Courier New'), monospace;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'FuturisticSans';
    src: local('Arial'), local('Helvetica'), sans-serif;
    font-weight: 300;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'FuturisticSans', Arial, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    line-height: 1.6;
    text-rendering: optimizeSpeed;
}

.background-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(120, 255, 198, 0.15) 0%, transparent 50%);
    animation: drift 30s ease-in-out infinite alternate;
    will-change: transform;
}

.background-particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(0, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 0, 255, 0.2), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 0, 0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 20s linear infinite;
    opacity: 0.6;
}

@keyframes drift {
    0% { transform: translateX(-10px) translateY(-5px) rotate(0deg); }
    100% { transform: translateX(10px) translateY(5px) rotate(0.5deg); }
}

@keyframes sparkle {
    0% { opacity: 0.4; }
    50% { opacity: 0.7; }
    100% { opacity: 0.4; }
}

@keyframes glow {
    from { 
        text-shadow: 0 0 15px rgba(0, 255, 255, 0.6), 0 0 25px rgba(0, 255, 255, 0.4); 
    }
    to { 
        text-shadow: 0 0 25px rgba(0, 255, 255, 0.8), 0 0 35px rgba(0, 255, 255, 0.6); 
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

/* Improve text visibility */
p, span, div, li {
    color: #e8e8e8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Enhanced Project Cards - Optimized */
.project-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    animation: float 8s ease-in-out infinite;
    will-change: transform;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

/* Hover effects removed for better performance */

.project-card:nth-child(2) { animation-delay: -2s; }
.project-card:nth-child(3) { animation-delay: -4s; }
.project-card:nth-child(4) { animation-delay: -1s; }

.project-card h3 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 15px;
}

.project-card p {
    color: #e0e0e0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    line-height: 1.6;
}

/* Enhanced Section Titles - Optimized */
.section-title {
    font-family: 'FuturisticMono', 'Consolas', monospace;
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.6), 0 2px 4px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    animation: glow 3s ease-in-out infinite alternate;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
}

/* Enhanced Hero Section - Optimized */
.hero-title-gradient {
    font-family: 'FuturisticMono', 'Consolas', monospace;
    font-size: 50px;
    font-weight: 900;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00, #00ff00);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
}

.white-bold {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.gradient-blue {
    color: #00ffff !important;
    -webkit-text-fill-color: #00ffff !important;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.7), 0 2px 4px rgba(0, 0, 0, 0.8);
}

.gradient-name {
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00, #00ff00, #ff6b6b);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.gradient-pink {
    color: #ff6b6b !important;
    -webkit-text-fill-color: #ff6b6b !important;
    text-shadow: 0 0 12px rgba(255, 107, 107, 0.7), 0 2px 4px rgba(0, 0, 0, 0.8);
}

.description {
    color: #e8e8e8;
    font-size: 18px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    margin-bottom: 30px;
}

.hero-subtitle {
    color: #ff6b6b;
    font-family: 'FuturisticMono', 'Consolas', 'Courier New', monospace;
    font-size: 28px;
    font-weight: 500;
    background: linear-gradient(135deg, #ff6b6b, #ffa500, #ff1493);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 107, 107, 0.5);
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-style: italic;
}

/* Typing Animation */
.typing-animation {
    font-family: 'FuturisticMono', 'Consolas', 'Courier New', monospace;
    font-size: 22px;
    font-weight: 400;
    color: #00ffff;
    min-height: 30px;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.typing-animation::after {
    content: '|';
    animation: blink 1s infinite;
    color: #00ffff;
    font-weight: 900;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Enhanced Buttons - Optimized */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'FuturisticMono', monospace;
    border: none;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.btn:hover::before {
    width: 200px;
    height: 200px;
}

.btn:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
}

.btn-outline {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #00ffff;
    color: #00ffff;
}

.btn-outline:hover {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: white;
}

/* Enhanced Skills Cards - Optimized */
.skills-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.skills-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 255, 255, 0.25);
    border-color: rgba(0, 255, 255, 0.6);
}

.skills-card-title {
    color: #ffffff;
    font-family: 'FuturisticMono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.skill-label {
    color: #e0e0e0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Enhanced Header */
header {
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.logo a {
    font-family: 'FuturisticMono', monospace;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

nav ul li a {
    color: #ffffff;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Enhanced Contact Section */
.contact-section {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 20, 40, 0.3) 50%, transparent 100%);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 98px,
        rgba(0, 255, 255, 0.03) 100px
    );
}

/* Enhanced Footer Styling */

footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 26, 46, 0.95) 100%);
    border-top: 2px solid rgba(0, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    color: #e8e8e8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 255, 255, 0.05) 50%, transparent 100%);
    pointer-events: none;
}

footer .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 60px;
    text-align: center;
}

footer a {
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
}

footer a:hover {
    color: #ffffff;
    background: rgba(0, 255, 255, 0.1);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
    transform: translateY(-2px);
}

.footer-back-to-top {
    background: linear-gradient(45deg, #00ffff, #ff00ff) !important;
    color: white !important;
    padding: 15px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    min-height: 50px;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.footer-back-to-top:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.5);
    background: linear-gradient(45deg, #ff00ff, #00ffff) !important;
}

.footer-back-to-top svg {
    stroke: white !important;
    width: 24px;
    height: 24px;
}

.copyright {
    color: #e0e0e0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-size: 16px;
    letter-spacing: 0.5px;
}

footer div:last-child {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

footer div:last-child a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .footer-padding {
        padding: 30px 0;
        margin-top: 60px;
    }
    footer .container {
        gap: 30px;
    }
    footer div:last-child {
        flex-wrap: wrap;
        gap: 20px;
    }
    .footer-back-to-top {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    footer div:last-child {
        flex-direction: column;
        gap: 15px;
    }
    footer div:last-child a {
        font-size: 13px;
    }
    .copyright {
        font-size: 14px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title-gradient {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title-gradient {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 24px;
    }
}

/* Index page specific styles */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 5rem;
    background: linear-gradient(180deg, rgba(13, 17, 31, 0.8) 0%, rgba(19, 27, 46, 0.8) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.hero-text {
    flex: 1;
}

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

.hero-image img {
    max-width: 100%;
    border-radius: 50%;
    border: 3px solid var(--color-secondary);
}

.subtitle {
    color: var(--color-secondary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

.title .highlight {
    color: var(--color-secondary);
    display: block;
}

.description {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.hero-title-gradient {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.2rem;
    text-align: left;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

/* About Section */
.about-content {
    display: block !important;
}

.about-text {
    margin-bottom: 2rem;
}

.about-content-display {
    display: block;
}

.about-text-spacing {
    margin-bottom: 2rem;
}

.education {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.education-item {
    margin-bottom: 1.5rem;
}

.education-title {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.education-place {
    font-weight: 600;
}

.education-period {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.education-card {
    background: var(--bg-card);
    border-radius: 1.2rem;
    box-shadow: 0 6px 24px rgba(168,139,250,0.08);
    padding: 2.2rem 2rem 1.5rem 2rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    max-width: 540px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.education-heading {
    color: var(--color-primary);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.edu-icon-style {
    display: inline-block;
    vertical-align: middle;
    margin-right: 1rem;
}

/* Skills Section */
.skills-section {
    background: linear-gradient(180deg, rgba(19, 27, 46, 0.8) 0%, rgba(13, 17, 31, 0.8) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: relative;
}

.skills-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.skills-content {
    margin-top: 2rem;
}

.skills-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.skills-card {
    background: var(--bg-card);
    border-radius: 1.2rem;
    box-shadow: 0 6px 24px rgba(168,139,250,0.08);
    padding: 2.2rem 2rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.skills-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.skills-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.skills-icons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 1.2rem;
    align-items: center;
}

.skill-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(34, 211, 238, 0.10);
    border-radius: 1.2rem;
    padding: 1.2rem;
    box-shadow: 0 2px 16px rgba(34,211,238,0.15);
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}

.skill-icon-link:hover {
    background: var(--color-secondary);
    transform: translateY(-8px) scale(1.10);
}

.skill-icon-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px #22d3ee55);
    background: transparent;
}

.skill-label {
    margin-top: 0.5rem;
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.01em;
}

/* Projects Section */
.projects-section {
    background: linear-gradient(180deg, rgba(13, 17, 31, 0.8) 0%, rgba(19, 27, 46, 0.8) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: relative;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(168, 139, 250, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.projects-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background-color: var(--bg-card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

/* Hover effects removed for better performance */

.project-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.project-description {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tag {
    background-color: rgba(34, 211, 238, 0.1);
    color: var(--color-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 0.3rem;
    font-size: 0.8rem;
}

.project-links {
    display: flex;
    justify-content: flex-end;
}

.project-link {
    color: var(--color-text);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

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

.view-all-btn {
    display: block;
    margin: 0 auto;
    padding: 0.8rem 2rem;
}

.view-all-btn-center {
    display: block;
    margin: 0 auto;
    width: fit-content;
    text-align: center;
}

.social-references-spacing {
    margin-bottom: 1.5rem;
}

.social-ref-link-style {
    display: inline-flex;
    align-items: center;
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.project-link-ref-style {
    display: inline-flex;
    align-items: center;
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.huggingface-logo {
    width: 22px;
    height: 20px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.streamlit-logo {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(180deg, rgba(19, 27, 46, 0.8) 0%, rgba(13, 17, 31, 0.8) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

.contact-info {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.contact-text {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-right: 1rem;
}

.social-links {
    margin-top: 2rem;
}

.social-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--glass-bg);
    color: var(--color-text);
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
}

.social-icon:hover {
    background-color: var(--color-secondary);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border-radius: 0.5rem;
    background-color: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--color-text);
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-secondary);
    background-color: rgba(255, 255, 255, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.submit-btn {
    width: 100%;
    background-color: var(--color-secondary);
}

.connect-options-spacing {
    margin-top: 2rem;
}

.connect-option-style {
    margin-bottom: 1.5rem;
    background-color: var(--glass-bg);
    padding: 1.5rem;
    border-radius: 0.8rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.connect-option-style:last-child {
    margin-bottom: 0;
}

.connect-option-title {
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

/* Footer specific styles */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--color-text-secondary);
    max-width: 400px;
    margin-bottom: 1rem;
}

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

.footer-links a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-secondary);
}

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

.copyright {
    width: 100%;
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* Responsive design for index page */
@media (max-width: 900px) {
    .skills-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero-title-gradient {
        font-size: 2.2rem;
    }
    
    .hero-image img {
        max-width: 220px;
    }
    
    .title {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .skills-card {
        padding: 1.1rem 0.7rem 0.7rem 0.7rem;
    }
    
    .skills-icons-row {
        gap: 0.5rem 0.5rem;
    }
    
    .skill-icon-img {
        width: 36px;
        height: 36px;
    }
    
    .skill-label {
        font-size: 0.92rem;
    }
    
    .hero {
        padding-top: 5rem;
        min-height: 80vh;
    }
    
    .hero-title-gradient {
        font-size: 1.1rem;
        margin-bottom: 0.7rem;
    }
    
    .gradient-pink {
        font-size: 0.8rem;
    }
    
    .description {
        font-size: 0.95rem;
    }
    
    .hero-image img {
        max-width: 120px;
        height: auto;
    }
    
    .about-text, .education, .contact-info, .contact-form {
        padding: 0.8rem;
        border-radius: 0.7rem;
        font-size: 0.98rem;
    }
    
    .about-text {
        margin-bottom: 1.2rem;
    }
    
    .projects-section {
        padding: 1.5rem 0;
    }
    
    .projects-intro {
        margin-bottom: 1.2rem;
        font-size: 0.98rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .project-card {
        padding: 0.2rem;
        border-radius: 0.7rem;
    }
    
    .project-image {
        height: 90px;
        border-radius: 0.5rem 0.5rem 0 0;
    }
    
    .project-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .project-description {
        font-size: 0.92rem;
        margin-bottom: 1rem;
    }
    
    .project-tags {
        gap: 0.3rem;
        margin-bottom: 1rem;
    }
    
    .project-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .contact-section {
        padding: 1.5rem 0;
    }
    
    .contact-container {
        gap: 1rem;
    }
    
    .social-icon {
        width: 28px;
        height: 28px;
    }
    
    .copyright {
        font-size: 0.8rem;
        padding-top: 1rem;
        margin-top: 1rem;
    }
}

@media screen and (max-width: 400px) {
    .hero-title-gradient {
        font-size: 0.9rem;
    }
    
    .gradient-pink {
        font-size: 0.7rem;
    }
    
    .project-title {
        font-size: 0.85rem;
    }
}

/* Enhanced Footer Styling Improvements */
.footer-padding {
    padding: 40px 0;
    margin-top: 80px;
}

footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 26, 46, 0.95) 100%);
    border-top: 2px solid rgba(0, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 255, 0.05) 50%, 
        transparent 100%);
    pointer-events: none;
}

footer .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    min-height: 60px;
}

footer a {
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
}

footer a:hover {
    color: #ffffff;
    background: rgba(0, 255, 255, 0.1);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
    transform: translateY(-2px);
}

.footer-back-to-top {
    background: linear-gradient(45deg, #00ffff, #ff00ff) !important;
    color: white !important;
    padding: 15px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    min-height: 50px;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.footer-back-to-top:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.5);
    background: linear-gradient(45deg, #ff00ff, #00ffff) !important;
}

.footer-back-to-top svg {
    stroke: white !important;
    width: 24px;
    height: 24px;
}

.copyright {
    color: #e0e0e0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* Footer links section styling */
footer div:last-child {
    display: flex;
    gap: 15px;
    align-items: center;
}

footer div:last-child a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive footer improvements */
@media (max-width: 768px) {
    .footer-padding {
        padding: 30px 0;
        margin-top: 60px;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    footer div:last-child {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .footer-back-to-top {
        order: -1;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    footer div:last-child {
        flex-direction: column;
        gap: 15px;
    }
    
    footer div:last-child a {
        font-size: 13px;
    }
    
    .copyright {
        font-size: 14px;
    }
}

.about-text, .education, .contact-info, .contact-form {
    font-size: 0.9rem;
}
