/* === THEME: DRAVIDIAN CYBER-FUSION - PEACOCK EDITION === */
:root {
    --bg-dark: #001A33;
    --text-light: #F8F0E3;
    --accent-gold: #FFC300;
    --accent-teal: #00FFFF;
    --accent-peacock-green: #00FFAA;
    --accent-peacock-blue: #0080FF;
    --accent-peacock-purple: #8A2BE2;
    --border-color: #004080;
    --card-bg: #00264D;
    --whatsapp-green: #25D366;
    --linkedin-blue: #0077B5;
    --github-purple: #6e5494;
    --telegram-blue: #0088cc;
    
    font-family: 'Share Tech Mono', monospace, 'Georgia', serif; 
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    position: relative;
}

/* === FLOATING SOCIAL SIDEBAR === */
.floating-social-sidebar {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-float {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 2px solid transparent;
}

.social-float::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--card-bg);
    color: var(--text-light);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8em;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid var(--border-color);
}

.social-float:hover::before {
    opacity: 1;
    right: 75px;
}

.float-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: float-pulse 2s ease-in-out infinite;
}

.whatsapp-float {
    background: var(--whatsapp-green);
    color: white;
}
.whatsapp-float .float-pulse {
    border: 2px solid var(--whatsapp-green);
}

.linkedin-float {
    background: var(--linkedin-blue);
    color: white;
}
.linkedin-float .float-pulse {
    border: 2px solid var(--linkedin-blue);
}

.github-float {
    background: var(--github-purple);
    color: white;
}
.github-float .float-pulse {
    border: 2px solid var(--github-purple);
}

.telegram-float {
    background: var(--telegram-blue);
    color: white;
}
.telegram-float .float-pulse {
    border: 2px solid var(--telegram-blue);
}

.social-float:hover {
    transform: scale(1.1) translateX(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

@keyframes float-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* === HERO SOCIAL LINKS === */
.hero-social-links {
    margin: 25px 0;
    text-align: center;
}

.social-label {
    display: block;
    color: var(--accent-peacock-blue);
    font-size: 0.9em;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hero-social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-social-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.whatsapp-hero {
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp-green);
    border: 2px solid var(--whatsapp-green);
}
.whatsapp-hero:hover {
    background: var(--whatsapp-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.linkedin-hero {
    background: rgba(0, 119, 181, 0.1);
    color: var(--linkedin-blue);
    border: 2px solid var(--linkedin-blue);
}
.linkedin-hero:hover {
    background: var(--linkedin-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

.github-hero {
    background: rgba(110, 84, 148, 0.1);
    color: var(--github-purple);
    border: 2px solid var(--github-purple);
}
.github-hero:hover {
    background: var(--github-purple);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(110, 84, 148, 0.4);
}

.telegram-hero {
    background: rgba(0, 136, 204, 0.1);
    color: var(--telegram-blue);
    border: 2px solid var(--telegram-blue);
}
.telegram-hero:hover {
    background: var(--telegram-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
}

/* === ENHANCED SOCIAL CARDS IN CONTACT === */
.whatsapp-social {
    border: 2px solid var(--whatsapp-green);
}
.whatsapp-social:hover {
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.linkedin-social {
    border: 2px solid var(--linkedin-blue);
}
.linkedin-social:hover {
    box-shadow: 0 10px 25px rgba(0, 119, 181, 0.3);
}

.github-social {
    border: 2px solid var(--github-purple);
}
.github-social:hover {
    box-shadow: 0 10px 25px rgba(110, 84, 148, 0.3);
}

.telegram-social {
    border: 2px solid var(--telegram-blue);
}
.telegram-social:hover {
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.3);
}

.social-status {
    font-size: 0.7em;
    color: var(--accent-peacock-blue);
    margin-top: 5px;
    opacity: 0.8;
}

/* === FOOTER SOCIAL LINKS === */
.main-footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text p {
    margin: 5px 0;
    color: var(--accent-peacock-blue);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.footer-social-link:nth-child(1) { color: var(--whatsapp-green); }
.footer-social-link:nth-child(2) { color: var(--linkedin-blue); }
.footer-social-link:nth-child(3) { color: var(--github-purple); }
.footer-social-link:nth-child(4) { color: var(--telegram-blue); }

.footer-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.footer-social-link:nth-child(1):hover { background: var(--whatsapp-green); color: white; }
.footer-social-link:nth-child(2):hover { background: var(--linkedin-blue); color: white; }
.footer-social-link:nth-child(3):hover { background: var(--github-purple); color: white; }
.footer-social-link:nth-child(4):hover { background: var(--telegram-blue); color: white; }

/* === REST OF THE CSS (Previous styles) === */
/* Floating Shapes Animation */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(20px);
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--accent-peacock-blue);
    top: 10%;
    left: 5%;
    animation: float 15s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--accent-peacock-green);
    top: 60%;
    right: 10%;
    animation: float 12s ease-in-out infinite reverse;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--accent-peacock-purple);
    bottom: 20%;
    left: 15%;
    animation: float 18s ease-in-out infinite;
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: var(--accent-gold);
    top: 30%;
    right: 20%;
    animation: float 14s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-peacock-green), var(--accent-peacock-blue));
    z-index: 1001;
    transition: width 0.3s ease;
}

/* --- SCROLL REVEAL ANIMATION STATES --- */
.section-hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- FANCY CYBERSECURITY BACKGROUND ANIMATION - PEACOCK THEME --- */
.cyber-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    opacity: 0.15;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 170, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 128, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(138, 43, 226, 0.08) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            rgba(0, 255, 170, 0.05), 
            rgba(0, 128, 255, 0.05) 2px,
            transparent 2px,
            transparent 15px
        );
    animation: background-scroll 60s linear infinite;
}

@keyframes background-scroll {
    to {
        background-position: 2000% 2000%;
    }
}

/* --- INTERACTIVE FONT (PEACOCK GLOW) --- */
.glitch {
    font-size: 3.8em;
    font-weight: bold;
    color: var(--accent-peacock-green); 
    text-shadow: 0 0 12px rgba(0, 255, 170, 0.8);
    position: relative;
    animation: text-glow 2s ease-in-out infinite alternate;
}

@keyframes text-glow {
    from { text-shadow: 0 0 10px rgba(0, 255, 170, 0.5); }
    to { text-shadow: 0 0 20px rgba(0, 255, 170, 0.8), 0 0 30px rgba(0, 128, 255, 0.6); }
}

/* --- CODE TYPING ANIMATION (Tagline) --- */
.code-typing {
    font-size: 1.1em;
    display: block;
    min-height: 1.5em;
}
.blinking-cursor {
    display: inline-block;
    color: var(--accent-peacock-blue);
    animation: blink-cursor .75s step-end infinite;
}
@keyframes blink-cursor {
    from, to { opacity: 0; }
    50% { opacity: 1; }
}

/* --- HERO SECTION LAYOUT & IMAGE --- */
#hero {
    min-height: 100vh;
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding-top: 80px;
    position: relative;
}
.hero-content { 
    max-width: 55%; 
}
.pre-title {
    color: var(--accent-peacock-blue);
    font-size: 1.2em;
    margin-bottom: 10px;
}
.secondary-title { 
    color: #A0D0FF;
    font-size: 3.5em; 
}
.tagline { 
    margin: 20px 0 40px; 
    max-width: 700px; 
    font-size: 1.3em;
    min-height: 2em;
}
.location-tag { 
    color: var(--accent-peacock-green); 
    font-style: italic; 
    margin-top: 15px; 
}

.hero-visuals {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Enhanced Profile Photo with Glow */
.profile-container {
    position: relative;
    display: inline-block;
}

.profile-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent-peacock-blue); 
    box-shadow: 0 0 25px rgba(0, 128, 255, 0.8); 
    margin-bottom: 30px;
    z-index: 10;
    position: relative;
}

.profile-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-peacock-blue), var(--accent-peacock-green));
    opacity: 0;
    z-index: -1;
    animation: profile-pulse 3s ease-in-out infinite;
}

@keyframes profile-pulse {
    0%, 100% { 
        opacity: 0; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.3; 
        transform: scale(1.05);
    }
}

/* --- 3D ROTATING CUBE ANIMATION - PEACOCK COLORS --- */
.cube-container {
    perspective: 1000px;
    width: 200px; 
    height: 200px;
    transform: scale(0.8);
    margin-right: 0;
    z-index: 5;
}
.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: spin 30s infinite ease-in-out;
}
.face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent-peacock-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    color: var(--accent-peacock-blue);
    background: rgba(0, 38, 77, 0.8);
    box-shadow: 0 0 10px var(--accent-peacock-purple); 
    backface-visibility: hidden;
}
.front  { transform: rotateY(0deg) translateZ(100px); }
.back   { transform: rotateY(180deg) translateZ(100px); }
.right  { transform: rotateY(90deg) translateZ(100px); }
.left   { transform: rotateY(-90deg) translateZ(100px); }
.top    { transform: rotateX(90deg) translateZ(100px); }
.bottom { transform: rotateX(-90deg) translateZ(100px); }

@keyframes spin {
    from { transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg); }
    to { transform: rotateY(360deg) rotateX(360deg) rotateZ(360deg); }
}

/* --- NAVIGATION & BUTTONS - PEACOCK THEME --- */
nav {
    background-color: rgba(0, 13, 38, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    padding: 15px 0;
    text-align: center;
}
.nav-link {
    color: var(--text-light);
    padding: 15px 20px;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
    position: relative;
    font-size: 1.1em;
}
.nav-link:hover, .active-nav {
    color: var(--accent-peacock-green) !important;
    text-shadow: 0 0 10px var(--accent-peacock-green);
    border-bottom: 2px solid var(--accent-peacock-blue);
}

/* CTA Buttons */
.cta-buttons {
    margin: 25px 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s;
    font-family: 'Share Tech Mono', monospace;
    text-align: center;
}
.primary { 
    border: 1px solid var(--accent-peacock-blue); 
    color: var(--accent-peacock-blue); 
}
.primary:hover { 
    background-color: rgba(0, 128, 255, 0.1); 
    box-shadow: 0 0 15px rgba(0, 128, 255, 0.3);
}
.secondary { 
    border: 1px solid var(--accent-peacock-green); 
    color: var(--accent-peacock-green); 
}
.secondary:hover { 
    background-color: rgba(0, 255, 170, 0.1); 
    box-shadow: 0 0 15px rgba(0, 255, 170, 0.3);
}

/* Pulse Animation for CTA Buttons */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Certificate Button Special Styling */
.certificate-btn {
    position: relative;
    overflow: hidden;
}

.certificate-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: left 0.5s;
}

.certificate-btn:hover::before {
    left: 100%;
}

.resume-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

/* --- SECTIONS & HEADINGS - PEACOCK COLORS --- */
section { 
    padding: 100px 0; 
    border-bottom: 1px dashed var(--border-color); 
}
h2 {
    color: var(--accent-peacock-blue);
    border-left: 5px solid var(--accent-peacock-green);
    padding-left: 15px;
    margin-bottom: 40px;
    font-size: 2.2em;
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-group { 
    background: var(--card-bg); 
    padding: 25px; 
    border-top: 3px solid var(--accent-peacock-blue);
    border-radius: 4px; 
    transition: transform 0.3s ease;
    position: relative;
}

.skill-group:hover {
    transform: translateY(-5px);
}

.skill-icon {
    font-size: 2em;
    color: var(--accent-peacock-green);
    margin-bottom: 15px;
    text-align: center;
}

.skill-group h3 { 
    color: var(--accent-peacock-green); 
    margin-top: 0; 
    font-size: 1.4em;
}
.skill-group ul { 
    list-style: none; 
    padding-left: 0; 
}
.skill-group li { 
    padding: 8px 0; 
    border-bottom: 1px dashed var(--border-color); 
    position: relative;
    padding-left: 20px;
}
.skill-group li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-peacock-blue);
}

/* --- PROJECT GRID & 3D HOVER - PEACOCK THEME --- */
.filter-buttons {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--accent-peacock-blue);
    color: var(--accent-peacock-blue);
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Share Tech Mono', monospace;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--accent-peacock-blue);
    color: var(--bg-dark);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    perspective: 1000px;
}
.project-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 4px;
    border-top: 3px solid var(--accent-peacock-blue);
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
    cursor: pointer;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px -10px rgba(0, 255, 170, 0.5);
}
.project-image-container {
    width: 100%;
    height: 180px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: #000;
    position: relative;
}
.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.project-card:hover .project-img {
    opacity: 1;
}

/* Project Overlay Animations */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 38, 77, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    color: var(--accent-peacock-green);
    font-size: 1.5em;
    transition: transform 0.3s ease, color 0.3s ease;
}

.project-link:hover {
    transform: scale(1.2);
    color: var(--accent-peacock-blue);
}

.tags { 
    font-size: 0.8em; 
    color: var(--accent-peacock-green); 
    margin-bottom: 10px; 
}
.impact-text { 
    color: var(--accent-peacock-blue); 
    font-weight: bold; 
    margin-top: 10px; 
}

/* --- EXPERIENCE SECTION --- */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-peacock-blue);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.timeline-dot {
    position: absolute;
    left: -38px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-peacock-green);
    border: 2px solid var(--accent-peacock-blue);
    animation: dot-pulse 2s infinite;
}

@keyframes dot-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.timeline-date {
    color: var(--accent-peacock-green);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

/* Certificates Grid */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.certificate-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-peacock-green);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 255, 170, 0.2);
}

.certificate-icon {
    font-size: 3em;
    color: var(--accent-peacock-blue);
    margin-bottom: 15px;
}

.certificate-link {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    background: var(--accent-peacock-green);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.certificate-link:hover {
    background: var(--accent-peacock-blue);
    color: var(--text-light);
}

/* === ENHANCED CONTACT SECTION ANIMATIONS === */
.contact-subtitle {
    text-align: center;
    font-size: 1.3em;
    margin-bottom: 60px;
    color: var(--accent-peacock-blue);
    animation: subtitle-glow 3s ease-in-out infinite alternate;
    position: relative;
}

.contact-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-peacock-green), transparent);
    animation: line-glow 2s ease-in-out infinite;
}

@keyframes subtitle-glow {
    from { 
        text-shadow: 0 0 10px rgba(0, 128, 255, 0.3);
        transform: translateY(0);
    }
    to { 
        text-shadow: 0 0 20px rgba(0, 128, 255, 0.6), 0 0 30px rgba(0, 255, 170, 0.4);
        transform: translateY(-2px);
    }
}

@keyframes line-glow {
    0%, 100% { opacity: 0.5; width: 100px; }
    50% { opacity: 1; width: 150px; }
}

/* Enhanced Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 38, 77, 0.9) 100%);
    border: 1px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 170, 0.1), transparent);
    transition: left 0.7s;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-peacock-green);
    box-shadow: 
        0 20px 40px rgba(0, 255, 170, 0.2),
        0 0 0 1px rgba(0, 255, 170, 0.1);
}

.contact-icon-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 38, 77, 0.8);
    border-radius: 50%;
    border: 2px solid var(--accent-peacock-blue);
    z-index: 2;
}

.contact-icon {
    font-size: 1.5em;
    color: var(--accent-peacock-blue);
    transition: all 0.3s ease;
}

.icon-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-peacock-green);
    animation: icon-pulse 2s ease-out infinite;
}

.icon-orbital {
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 170, 0.3);
    animation: orbital-rotate 4s linear infinite;
}

@keyframes icon-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes orbital-rotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.contact-card:hover .contact-icon {
    color: var(--accent-peacock-green);
    transform: scale(1.1);
}

.contact-text {
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1;
    z-index: 2;
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-peacock-blue);
    font-weight: bold;
    margin-bottom: 5px;
}

.contact-value {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-value:hover {
    color: var(--accent-peacock-green);
    text-shadow: 0 0 10px rgba(0, 255, 170, 0.5);
}

.contact-underline {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-peacock-green), var(--accent-peacock-blue));
    transition: width 0.6s ease;
    margin-top: 8px;
}

.contact-card:hover .contact-underline {
    width: 100%;
}

.contact-ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-peacock-green) 0%, transparent 70%);
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.contact-card:hover .contact-ripple {
    animation: ripple-effect 1s ease-out;
}

@keyframes ripple-effect {
    0% {
        transform: scale(0);
        opacity: 0.5;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Contact Content Layout */
.contact-content-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    margin-bottom: 60px;
    align-items: start;
}

/* Enhanced Contact Form */
.contact-form-wrapper {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 38, 77, 0.7) 100%);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(0, 255, 170, 0.1),
        transparent 30%
    );
    animation: border-spin 8s linear infinite;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.form-header h3 {
    color: var(--accent-peacock-green);
    font-size: 1.6em;
    margin: 0;
}

.form-security-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-peacock-green);
    font-size: 0.8em;
}

.security-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-peacock-green);
    animation: security-pulse 2s ease-in-out infinite;
}

.security-dot:nth-child(2) { animation-delay: 0.3s; }
.security-dot:nth-child(3) { animation-delay: 0.6s; }

@keyframes security-pulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.cyber-form {
    position: relative;
    z-index: 2;
}

.form-group {
    position: relative;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
}

.input-container {
    position: relative;
    flex: 1;
}

.input-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 38, 77, 0.5);
    border-radius: 10px;
    margin-left: 15px;
    border: 1px solid var(--border-color);
    color: var(--accent-peacock-blue);
    transition: all 0.3s ease;
}

.form-group:focus-within .input-icon {
    color: var(--accent-peacock-green);
    border-color: var(--accent-peacock-green);
    transform: scale(1.1);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1em;
    font-family: 'Share Tech Mono', monospace;
    resize: vertical;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 120px;
}

.floating-label {
    position: absolute;
    top: 15px;
    left: 0;
    color: var(--accent-peacock-blue);
    font-size: 1em;
    pointer-events: none;
    transition: all 0.3s ease;
    transform-origin: left center;
}

.form-group input:focus ~ .floating-label,
.form-group textarea:focus ~ .floating-label,
.form-group input:valid ~ .floating-label,
.form-group textarea:valid ~ .floating-label {
    top: -20px;
    font-size: 0.8em;
    color: var(--accent-peacock-green);
    transform: translateY(0);
}

.input-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    transition: all 0.3s ease;
}

.input-focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-peacock-green), var(--accent-peacock-blue));
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.form-group:focus-within .input-focus-border {
    width: 100%;
}

.form-group:focus-within .input-underline {
    opacity: 0;
}

/* Enhanced Submit Button */
.cyber-submit-btn {
    position: relative;
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--accent-peacock-green), var(--accent-peacock-blue));
    border: none;
    border-radius: 12px;
    color: var(--bg-dark);
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-top: 20px;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.cyber-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 30px rgba(0, 255, 170, 0.4),
        0 0 0 1px rgba(0, 255, 170, 0.2);
}

.cyber-submit-btn:hover .btn-icon {
    transform: translateX(5px) scale(1.1);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.cyber-submit-btn:hover .btn-shine {
    left: 100%;
}

.btn-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.btn-loader {
    display: none;
}

.loader-dots {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bg-dark);
    animation: dot-bounce 1.4s ease-in-out infinite both;
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes dot-bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Social Wrapper */
.social-wrapper {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 38, 77, 0.7) 100%);
    padding: 30px;
    border-radius: 25px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.social-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.social-header h3 {
    color: var(--accent-peacock-green);
    font-size: 1.4em;
    margin: 0;
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-peacock-green);
    font-size: 0.8em;
}

.status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-peacock-green);
    animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 255, 170, 0.7);
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
        box-shadow: 0 0 0 10px rgba(0, 255, 170, 0);
    }
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 20px;
    border-radius: 15px;
    background: rgba(0, 38, 77, 0.5);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.social-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-peacock-green);
    box-shadow: 0 10px 25px rgba(0, 255, 170, 0.2);
}

.social-inner {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.social-icon {
    font-size: 1.8em;
    color: var(--accent-peacock-blue);
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.social-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-peacock-green) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-orbits {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(0, 255, 170, 0.3);
    border-radius: 50%;
    animation: orbit-rotate 3s linear infinite;
}

.orbit-1 {
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orbit-2 {
    width: 140%;
    height: 140%;
    top: -20%;
    left: -20%;
    animation-delay: -1.5s;
}

@keyframes orbit-rotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}

.social-card:hover .social-icon {
    color: var(--text-light);
    transform: scale(1.1);
}

.social-card:hover .social-glow {
    opacity: 0.3;
}

.social-label {
    color: var(--accent-peacock-blue);
    font-size: 0.9em;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-card:hover .social-label {
    color: var(--accent-peacock-green);
}

.response-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(0, 38, 77, 0.5);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.response-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-peacock-green);
    animation: response-blink 2s ease-in-out infinite;
}

@keyframes response-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.response-text {
    color: var(--accent-peacock-blue);
    font-size: 0.85em;
    font-weight: 500;
}

/* Enhanced Status Indicator */
.status-indicator {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 38, 77, 0.8) 100%);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    max-width: 500px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.status-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.status-visual {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-peacock-green);
    animation: status-dot-pulse 2s ease-in-out infinite;
    box-shadow: 0 0 20px var(--accent-peacock-green);
    z-index: 3;
    position: relative;
}

.status-ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-peacock-green);
    animation: status-ripple 2s ease-out infinite;
}

.status-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-peacock-green) 0%, transparent 70%);
    animation: status-pulse-glow 3s ease-in-out infinite;
}

@keyframes status-dot-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.8; }
}

@keyframes status-ripple {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes status-pulse-glow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.status-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.status-text {
    color: var(--accent-peacock-green);
    font-size: 1.1em;
    font-weight: bold;
}

.status-subtext {
    color: var(--accent-peacock-blue);
    font-size: 0.9em;
    opacity: 0.8;
}

/* Background Elements */
.contact-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.bg-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(40px);
}

.bg-element-1 {
    width: 200px;
    height: 200px;
    background: var(--accent-peacock-green);
    top: 10%;
    left: 5%;
    animation: float-slow 20s ease-in-out infinite;
}

.bg-element-2 {
    width: 150px;
    height: 150px;
    background: var(--accent-peacock-blue);
    bottom: 20%;
    right: 10%;
    animation: float-slow 25s ease-in-out infinite reverse;
}

.bg-element-3 {
    width: 100px;
    height: 100px;
    background: var(--accent-peacock-purple);
    top: 50%;
    left: 80%;
    animation: float-slow 30s ease-in-out infinite;
}

.bg-element-4 {
    width: 120px;
    height: 120px;
    background: var(--accent-gold);
    bottom: 10%;
    left: 20%;
    animation: float-slow 22s ease-in-out infinite reverse;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -20px) rotate(120deg); }
    66% { transform: translate(-20px, 15px) rotate(240deg); }
}

/* AOS-like animations */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="flip-left"] {
    transform: perspective(1000px) rotateY(-90deg);
}

[data-aos="flip-left"].aos-animate {
    transform: perspective(1000px) rotateY(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* Fade-in-up animation */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-content {
        max-width: 50%;
    }
}

@media (max-width: 968px) {
    .contact-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floating-social-sidebar {
        right: 15px;
    }
    
    .social-float {
        width: 50px;
        height: 50px;
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    #hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }
    
    .secondary-title {
        font-size: 2.5em;
    }
    
    .glitch {
        font-size: 2.8em;
    }
    
    .cube-container {
        transform: scale(0.6);
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 25px;
    }
    
    .contact-form-wrapper,
    .social-wrapper {
        padding: 25px;
    }
    
    .form-header,
    .social-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .status-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .floating-social-sidebar {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .resume-links {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-social-icons {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .glitch {
        font-size: 2.2em;
    }
    
    .secondary-title {
        font-size: 2em;
    }
    
    .contact-form-wrapper,
    .social-wrapper {
        padding: 20px;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
}
