/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0b0e14;
    color: #e0e0e0;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Animated Tech Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #131926, #000000);
    overflow: hidden;
}

.grid-lines {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        linear-gradient(rgba(0, 242, 254, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 254, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotate(15deg);
    animation: gridMove 20s linear infinite;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite ease-in-out;
}
.orb-1 { width: 300px; height: 300px; background: #4facfe; top: 10%; left: 10%; }
.orb-2 { width: 400px; height: 400px; background: #00f2fe; bottom: 10%; right: 10%; animation-delay: -5s; }

@keyframes move {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-1000px) rotate(720deg); opacity: 0; }
}

@keyframes gridMove {
    0% { transform: rotate(15deg) translate(0, 0); }
    100% { transform: rotate(15deg) translate(50px, 50px); }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

/* Main Layout */
.container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Sidebar (Left) */
.sidebar {
    flex: 1;
    min-width: 380px;
    background: rgba(19, 25, 38, 0.7);
    backdrop-filter: blur(20px);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto; /* Allow scrolling if content is too long */
}

.profile-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.image-glow {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 25px;
}

.image-glow::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #00f2fe, #4facfe, #ff00cc, #00f2fe);
    animation: spin 4s linear infinite;
}

.image-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #0b0e14;
    border-radius: 50%;
    z-index: 0;
}

.profile-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid transparent;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(79, 172, 254, 0.4);
}

.job-title {
    font-size: 1rem;
    color: #00f2fe;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Contact Info Cards */
.contact-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 30px;
}

.section-label {
    color: #8892a0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.contact-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.contact-item:last-child { margin-bottom: 0; }

.contact-item:hover {
    background: rgba(79, 172, 254, 0.15);
    transform: translateY(-2px);
    border: 1px solid rgba(79, 172, 254, 0.3);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 0.7rem;
    color: #8892a0;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.contact-details span {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
}

/* NEW: GET IN TOUCH FORM */
.get-in-touch-card {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1), rgba(0, 242, 254, 0.05));
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 20px;
    padding: 25px;
}

.get-in-touch-card h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.8rem;
    color: #a0aec0;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    transition: 0.3s;
}

.form-control:focus {
    border-color: #4facfe;
    outline: none;
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.2);
}

textarea.form-control {
    resize: none;
    height: 100px;
}

.btn-send {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
}

/* Right Content Area */
.main-content {
    flex: 2;
    padding: 60px;
    min-width: 300px;
}

section {
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

section:nth-child(1) { animation-delay: 0.2s; }
section:nth-child(2) { animation-delay: 0.4s; }
section:nth-child(3) { animation-delay: 0.6s; }
section:nth-child(4) { animation-delay: 0.8s; }

.section-title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title::before {
    content: '';
    width: 6px;
    height: 30px;
    background: linear-gradient(to bottom, #4facfe, #00f2fe);
    border-radius: 3px;
    display: block;
}

/* Cards */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: rgba(79, 172, 254, 0.3);
    background: rgba(79, 172, 254, 0.03);
    transform: translateY(-5px);
}

.card h3 {
    color: #00f2fe;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.card p {
    color: #a0aec0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Tags */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 50px;
    color: #e0e0e0;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.tag:hover {
    background: rgba(79, 172, 254, 0.1);
    color: #fff;
    border-color: rgba(79, 172, 254, 0.4);
}

.tag.highlight {
    background: linear-gradient(90deg, rgba(0, 242, 160, 0.1), rgba(0, 242, 160, 0.05));
    color: #00f2a0;
    border: 1px solid rgba(0, 242, 160, 0.2);
}

/* Responsive */
@media (max-width: 900px) {
    .sidebar {
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 40px 20px;
        min-width: auto;
    }
    .main-content {
        padding: 30px 20px;
    }
    h1 { font-size: 1.8rem; }
}

