/* NAVBAR SECTION - EXACT COPY FROM STYLES.CSS (ROOT LEVEL) */
.navbar {
    background: rgba(0, 2, 19, 0.604);
    border-bottom: 0.5px solid #3498db;
    padding: 1.2rem 0;
    position: fixed;
    top: 0; 
    left: 0; 
    right: 0;
    z-index: 1000;
    transition: border-bottom-color 0.3s ease;
    width: 100%;
}

.navbar.service-1-active { border-bottom-color: #3498db; }
.navbar.service-2-active { border-bottom-color: #a929e4; }
.navbar.service-3-active { border-bottom-color: #6be22b; }

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-profile-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    z-index: 1001;
}

.logo-profile-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #3498db;
    transition: transform .3s, border-color 0.3s, box-shadow 0.3s;
    background: #000000;
}

.navbar.service-1-active .logo-profile-img {
    border-color: #3498db !important;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.4) !important;
}

.navbar.service-2-active .logo-profile-img {
    border-color: #a929e4 !important;
    box-shadow: 0 0 15px rgba(169, 41, 228, 0.4) !important;
}

.navbar.service-3-active .logo-profile-img {
    border-color: #6be22b !important;
    box-shadow: 0 0 15px rgba(107, 226, 43, 0.4) !important;
}

.logo-profile-img:hover {
    border-color: #5dade2;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.48);
}

.logo-profile-container:hover .logo-profile-img {
    transform: scale(1.06);
}

.scroll-indicator {
  display: none;
}

.profile-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #E6ECF5;
    cursor: pointer;
    transition: color 0.3s;
}

.profile-name:hover { 
    color: #3498db; 
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: #3498db;
    background: rgb(255, 255, 255);
    border-color: rgba(52, 152, 219, 0.3);
    transform: translateY(-1px);
}

.nav-link.active {
    color: #000000;
    background: rgb(255, 255, 255);
    border-color: #3498db;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 2px;
    width: 100%;
    border-radius: 1px;
}

.profile-card {
    position: absolute;
    top: 50px;
    left: 0;
    width: 320px;
    background: rgba(11, 18, 32, 0.95);
    color: #E6ECF5;
    border-radius: 12px;
    border: 1px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,.3);
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all .25s;
    pointer-events: none;
    z-index: 9999;
    transform: translateY(-10px);
    backdrop-filter: blur(10px);
}

.logo-profile-container:hover .profile-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.profile-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-card-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #3498db;
}

.navbar.service-1-active .profile-card-img {
    border-color: #3498db !important;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.4) !important;
}

.navbar.service-1-active .detail-label {
    color: #3498db !important;
}

.navbar.service-2-active .profile-card-img {
    border-color: #a929e4 !important;
    box-shadow: 0 0 15px rgba(169, 41, 228, 0.4) !important;
}

.navbar.service-2-active .detail-label {
    color: #a929e4 !important;
}

.navbar.service-3-active .profile-card-img {
    border-color: #6be22b !important;
    box-shadow: 0 0 15px rgba(107, 226, 43, 0.4) !important;
}

.navbar.service-3-active .detail-label {
    color: #6be22b !important;
}

.profile-card-info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #E6ECF5;
    font-weight: 600;
}

.job-title {
    color: #3498db;
    font-size: 0.9rem;
    margin: 0;
    margin-top: 0.2rem;
}

.profile-card-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.profile-detail {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.4rem 0;
}

.detail-label {
    font-weight: 600;
    color: #4da3ff;
    font-size: 0.85rem;
    min-width: 70px;
    text-align: left;
}

.detail-value {
    color: #E6ECF5;
    font-size: 0.85rem;
    text-align: right;
    flex: 1;
    margin-left: 1rem;
}

.detail-value-avl {
    color: #27ae60;
    font-size: 0.85rem;
    text-align: right;
    flex: 1;
    margin-left: 1rem;
}

.profile-detail img {
    margin-left: 0.28rem;
    vertical-align: middle;
    border-radius: 2px;
}

/* Hero Section - EXACT COPY from project-styles.css */
.contact-hero {
    height: 90vh;
    background: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    z-index: 1;
    width: 100%;
    padding-bottom: 2rem;
}

.contact-hero #shooting-star-bg {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1 !important;
}

.contact-hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 12;
    padding: 3rem 0;
    position: relative;
    min-height: 200px;
}

.contact-hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2rem 0;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 12;
}

.contact-hero-description {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto;
    max-width: 900px;
    line-height: 1.6;
    text-align: center;
    font-style: italic;
    letter-spacing: 0.02em;
    z-index: 12;
    padding: 0 2rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 2rem;
    background: #f8fafc;
    position: relative;
    z-index: 2;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    position: relative;
    z-index: 3;
}

.contact-form h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

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

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 4;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f99);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.contact-social {
    display: flex;
    gap: 1.4rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    margin-top: 1.1rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.54rem;
    background: #fff;
    color: #243650;
    border-radius: 50px;
    border: 1.5px solid #e1e8ed;
    box-shadow: 0 2px 8px rgba(52,152,219,0.06);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.8rem 1.3rem;
    transition: background 0.15s, color 0.15s, box-shadow 0.18s;
    text-decoration: none;
    cursor: pointer;
    min-width: 120px;
}

.contact-btn svg {
    display: block;
    vertical-align: middle;
    margin-right: 0.3rem;
}

.email-btn:hover, .email-btn:focus {
    background: rgb(0, 0, 0);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(52,152,219,0.14);
}

.linkedin-btn:hover, .linkedin-btn:focus {
    background: rgb(0, 0, 0);

    color: #ffffff;
    box-shadow: 0 8px 25px rgba(10,102,194,0.14);
}

.resume-button:hover,.resume-button:focus{
    background: rgb(0, 0, 0);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(36,41,47,0.13);
}

.github-btn:hover svg path {
  fill: #ffffff; /* flip icon to dark */
}
.github-btn:hover {
    background: rgb(0, 0, 0);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.13);
}


.status-message {
    margin-top: 1rem;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.status-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.status-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.submit-btn {
    position: relative;
    min-width: 140px;
    transition: all 0.3s ease;
}

.submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: none;
}

/* RESPONSIVE - Mobile navbar adjustments */
@media (max-width: 820px) {
    .nav-container { 
        padding: 0 1rem; 
    }
    .nav-links { 
        gap: 1.1rem; 
    }
    .logo-profile-img { 
        width: 33px; 
        height: 33px; 
    }
    .profile-card { 
        width: 98vw; 
        left: 0; 
        top: 60px; 
    }
}

@media (max-width: 650px) {
    .navbar { 
        height: auto; 
    }
    .nav-container { 
        flex-direction: column; 
        align-items: stretch; 
        padding: 0 0.3rem; 
    }
    .logo-profile-container { 
        margin-bottom: 1rem; 
    }
    .nav-links { 
        justify-content: center; 
    }
}

@media (max-width: 600px) {
    .contact-social { 
        flex-direction: column; 
        align-items: stretch; 
        gap: 1rem; 
    }
    .contact-btn { 
        justify-content: center; 
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 2.5rem;
    }

    .contact-hero-description {
        font-size: 1.1rem;
    }

    .contact-section {
        padding: 2rem 1rem;
    }
}
