:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #1a1f3a;
    --text-primary: #00ff41;
    --text-secondary: #00d9ff;
    --text-white: #e0e0e0;
    --accent: #ff0055;
    --border-color: #00ff4150;
}

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

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 60px; /* Adjusted for fixed header */
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    z-index: -1;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
    z-index: 1000;
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: inherit;
}
.logo h1 {
    color: var(--text-primary);
    font-size: 1.5rem;
    text-shadow: 0 0 10px var(--text-primary);
    cursor: pointer;
    animation: glitch 3s infinite;
    white-space: nowrap;
}

.logo h1::before {
    content: '$ ';
    color: var(--accent);
}

@keyframes glitch {
    0%, 100% { text-shadow: 0 0 10px var(--text-primary); }
    50% { text-shadow: 0 0 20px var(--text-primary), 0 0 30px var(--text-secondary); }
}

nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0;
}

nav a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.4rem 0.7rem;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    display: block;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover {
    color: var(--text-primary);
    border-color: var(--border-color);
    background: rgba(0, 255, 65, 0.05);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

nav a:hover::before {
    width: 80%;
}

nav a.active {
    color: var(--text-primary);
    border-color: var(--border-color);
    background: rgba(0, 255, 65, 0.08);
    box-shadow: 0 0 12px rgba(0, 255, 65, 0.25);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--text-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    nav ul {
        gap: 0.3rem;
    }
    
    nav a {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
    }

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

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(10px);
        border-left: 2px solid var(--border-color);
        transition: right 0.3s ease;
        padding-top: 5rem;
        justify-content: flex-start;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    nav a {
        font-size: 1.1rem;
        width: 100%;
        display: block;
        padding: 0.5rem 1rem;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Add padding to body for fixed header */
body {
    padding-top: 80px;
}

/* Main content positioning */
main {
    margin-top: 0;
    flex-grow: 1;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    padding: 2rem 2rem 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.glitch-title {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px var(--text-primary);
    position: relative;
    display: inline-block;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-white);
    margin-bottom: 2rem;
}

.highlight {
    color: var(--text-secondary);
    font-weight: bold;
    text-shadow: 0 0 5px var(--text-secondary);
}

/* Hero Image */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid var(--text-primary);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
    position: relative;
    z-index: 2;
}

.image-border {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--text-secondary);
    border-radius: 10px;
    z-index: 1;
    animation: borderPulse 3s infinite;
}

@keyframes borderPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 217, 255, 0.6);    
    }
}

/* Glitch Strips Container */
.glitch-strips {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
}

.image-container.glitching .glitch-strips {
    opacity: 1;
}

.image-container.glitching img {
    opacity: 0;
    filter: saturate(1.2);
}

.image-container.glitching::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(0, 255, 65, 0.08), rgba(0, 217, 255, 0.12), rgba(255, 0, 85, 0.08));
    mix-blend-mode: screen;
    opacity: 0.9;
    animation: rgbShift 0.5s ease-in-out;
    z-index: 4;
}

.line {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    will-change: transform;
}

@keyframes rgbShift {
    0% { transform: translate(0); }
    40% { transform: translate(-3px, 2px); }
    70% { transform: translate(2px, -1px); }
    100% { transform: translate(0); }
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.1);
    width: fit-content;
    transition: all 0.3s ease;
}

.social-links:hover {
    box-shadow: 0 0 25px rgba(0, 255, 65, 0.3);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    background: rgba(10, 14, 39, 0.8);
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--text-primary);
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    z-index: -1;
}

.social-links a:hover::before {
    width: 100%;
    height: 100%;
}

.social-links a:hover {
    border-color: var(--text-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
    transform: translateY(-5px) scale(1.1);
}

.social-links a:nth-child(1):hover {
    border-color: #1877f2;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.5);
}

.social-links a:nth-child(1):hover::before {
    background: #1877f2;
}

.social-links a:nth-child(2):hover {
    border-color: #e4405f;
    box-shadow: 0 0 20px rgba(228, 64, 95, 0.5);
}

.social-links a:nth-child(2):hover::before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-links a:nth-child(3):hover {
    border-color: #0077b5;
    box-shadow: 0 0 20px rgba(0, 119, 181, 0.5);
}

.social-links a:nth-child(3):hover::before {
    background: #0077b5;
}

.social-links a:nth-child(4):hover {
    border-color: var(--text-secondary);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.social-links a:nth-child(4):hover::before {
    background: var(--text-secondary);
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .glitch-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .social-links {
        justify-content: center;
        margin: 2rem auto 0;
    }

    .image-container {
        width: 300px;
        height: 300px;
    }

    .line {
        background-size: 300px 300px;
    }
}

/* Quote Section */
.quote-section {
    width: 100%;
    padding: 1rem 2rem 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-container {
    max-width: 800px;
    width: 100%;
    padding: 3rem 2.5rem;
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.15);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.quote-container:hover {
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.25);
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 4rem;
    color: var(--text-primary);
    line-height: 1;
    opacity: 0.3;
    font-family: Georgia, serif;
    margin-bottom: -1rem;
}

.quote-text {
    font-size: 1.3rem;
    color: var(--text-white);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.8s ease-in-out;
}

.quote-author {
    font-size: 1rem;
    color: var(--text-secondary);
    text-shadow: 0 0 5px var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeIn 0.8s ease-in-out 0.2s backwards;
}

.quote-author::before {
    content: '— ';
    color: var(--text-primary);
}

.quote-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 255, 65, 0.3);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(0, 255, 65, 0.5);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.dot.active {
    background: var(--text-primary);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.7);
    transform: scale(1.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .quote-section {
        padding: 3rem 1rem;
    }

    .quote-container {
        padding: 2rem 1.5rem;
    }

    .quote-icon {
        font-size: 3rem;
    }

    .quote-text {
        font-size: 1.1rem;
        min-height: 100px;
    }

    .quote-author {
        font-size: 0.9rem;
    }
}

/* Coming Soon Section */
.coming-soon-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem 4rem 2rem;
}

.coming-soon-container {
    text-align: center;
    max-width: 600px;
}

.coming-soon-title {
    font-size: 4rem;
    color: var(--text-primary);
    text-shadow: 0 0 20px var(--text-primary);
    margin-bottom: 2rem;
    animation: glitch 3s infinite;
}

.coming-soon-text {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.loading-dots span {
    width: 15px;
    height: 15px;
    background: var(--text-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--text-primary);
    animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .coming-soon-title {
        font-size: 2.5rem;
    }

    .coming-soon-text {
        font-size: 1.2rem;
    }
}

/* About Section Styles */
.about-section {
    padding: 1rem 2rem 4rem 2rem;
    width: 100%;
}

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

.section-title {
    text-align: center;
    font-size: 3.5rem;
    color: var(--text-primary);
    font-family: 'Fira Code', monospace;
    text-transform: lowercase;
    letter-spacing: 4px;
    margin-bottom: 3rem;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
    animation: flicker 3s infinite alternate;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--text-primary);
    margin: 0.2rem auto 0;
    box-shadow: 0 0 10px var(--text-primary);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
}

/* About Content Layout */
.about-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.about-image-section {
    flex: 0 0 400px;
    position: relative;
}

.about-terminal-section {
    flex: 1;
    min-width: 0;
}

@media (max-width: 1024px) {
    .about-content {
        flex-direction: column;
        align-items: center;
    }
    
    .about-image-section {
        flex: none;
        width: 100%;
        max-width: 400px;
    }
    
    .about-terminal-section {
        width: 100%;
    }
}

/* Terminal Styles */
.terminal-window {
    width: 100%;
    background: #1a1f2e;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(0, 255, 65, 0.2);
    border: 1px solid rgba(0, 255, 65, 0.3);
}

.terminal-header {
    background: #0f1419;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
    margin-right: 1rem;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-btn.close {
    background: #ff5f56;
}

.terminal-btn.minimize {
    background: #ffbd2e;
}

.terminal-btn.maximize {
    background: #27c93f;
}

.terminal-title {
    color: var(--text-white);
    font-size: 0.9rem;
    font-family: 'Fira Code', monospace;
    opacity: 0.8;
}

.terminal-body {
    padding: 1.5rem;
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
    background: #0a0e1a;
}

#terminal-output {
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    color: var(--text-white);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.terminal-line {
    margin-bottom: 0.5rem;
}

.terminal-prompt {
    color: var(--text-primary);
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
    margin-right: 0.5rem;
}

.terminal-command {
    color: var(--text-secondary);
}

.terminal-response {
    color: var(--text-white);
    margin-left: 0;
    white-space: pre-wrap;
}

.terminal-skills {
    color: var(--text-secondary);
    font-weight: bold;
    font-size: 1.05rem;
}

.skill-item {
    margin-bottom: 0.4rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.1rem;
    align-items: center;
}

.skill-name {
    color: var(--text-primary);
    font-weight: 700;
}

.skill-rank {
    font-weight: 700;
}

.rank-hacker { color: #ff0051; }
.rank-pro { color: #00d9ff; }
.rank-noob { color: #ffbd2e; }

.skill-bar-wrap {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.skill-bar {
    color: var(--text-primary);
    font-family: monospace;
}

.skill-percent {
    color: var(--text-secondary);
    font-weight: 700;
    min-width: 45px;
}

.terminal-error {
    color: #ff0051;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-white);
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    caret-color: var(--text-primary);
}

.terminal-input::selection {
    background: rgba(0, 255, 65, 0.3);
}

/* Scrollbar for terminal */
.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
    background: #0a0e1a;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: var(--text-primary);
    border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

@media (max-width: 768px) {
    .terminal-window {
        border-radius: 0;
    }
    
    .terminal-body {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .terminal-input-line {
        font-size: 0.85rem;
    }
}

/* Footer Styles */
footer {
    width: 100%;
    padding: 1rem;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--border-color);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer p {
    color: var(--text-white);
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin: 0;
}

footer p::before {
    content: '> ';
    color: var(--text-primary);
    text-shadow: 0 0 5px var(--text-primary);
}

@media (max-width: 768px) {
    footer {
        padding: 0.75rem;
    }
    
    footer p {
        font-size: 0.7rem;
    }
}
/* Contact Section Styles */
.contact-section {
    padding: 1rem 2rem 4rem 2rem; /* Similar to about-section spacing */
    width: 100%;
}

.contact-container {
    max-width: 700px; /* Minimized width */
    margin: 2rem auto 0 auto; /* Added margin-top and centered */
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.15);
    padding: 2rem; /* Minimized internal padding */
    text-align: center;
}

.contact-intro {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.form-status {
    min-height: 1.5rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.form-status.error {
    color: #ff0051;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    text-shadow: 0 0 5px var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-white);
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-secondary);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: var(--text-secondary);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.7);
    transform: translateY(-2px);
}

.contact-info {
    color: var(--text-white);
    font-size: 1.1rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-info a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--text-primary);
}

.contact-info .fab, .contact-info .fas {
    margin-right: 0.5rem;
    color: var(--text-primary);
}

.social-links-contact {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links-contact a {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    background: rgba(10, 14, 39, 0.8);
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-links-contact a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--text-primary);
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    z-index: -1;
}

.social-links-contact a:hover::before {
    width: 100%;
    height: 100%;
}

.social-links-contact a:hover {
    border-color: var(--text-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
    transform: translateY(-5px) scale(1.1);
}

.social-links-contact a:nth-child(1):hover {
    border-color: #1877f2;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.5);
}

.social-links-contact a:nth-child(1):hover::before {
    background: #1877f2;
}

.social-links-contact a:nth-child(2):hover {
    border-color: #e4405f;
    box-shadow: 0 0 20px rgba(228, 64, 95, 0.5);
}

.social-links-contact a:nth-child(2):hover::before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-links-contact a:nth-child(3):hover {
    border-color: #0077b5;
    box-shadow: 0 0 20px rgba(0, 119, 181, 0.5);
}

.social-links-contact a:nth-child(3):hover::before {
    background: #0077b5;
}

.social-links-contact a:nth-child(4):hover {
    border-color: var(--text-secondary);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.social-links-contact a:nth-child(4):hover::before {
    background: var(--text-secondary);
}

/* Responsive for Contact Section */
@media (max-width: 768px) {
    .contact-container {
        padding: 2rem;
    }

    .contact-intro {
        font-size: 1rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .contact-info {
        font-size: 1rem;
    }
}


.social-links-contact a i {
    line-height: 1;
}
