/* CSS Variables for Dark Theme */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #ff8c42;
    --text-color: #e9ecef;
    --bg-color: #1a1a1a;
    --section-bg: #2d2d2d;
    --border-color: #404040;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --accent-glow: rgba(255, 107, 53, 0.3);
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: var(--transition);
}

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

.section {
    position: relative;
    padding: 80px 0;
    background-color: var(--section-bg);
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: lineGlow 2s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.5; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

h1, h2, h3 { margin-bottom: 20px; }
h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 500; text-align: center; margin-bottom: 40px; }
h3 { font-size: 1.5rem; font-weight: 500; }
p { margin-bottom: 20px; }
a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary-color); }

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent;
    box-shadow: none;
    z-index: 1000;
    transition: var(--transition);
    align-items: center;
}

.nav-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
 
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
    margin: 15px 0 0 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    color: white;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 10px;
    z-index: 1001;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle.active {
    color: var(--primary-color);
    transform: rotate(180deg);
    text-shadow: 0 0 10px var(--accent-glow);
}

.mobile-menu-toggle i {
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active i::before {
    content: '\f00d';
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 10px 20px;
    }

    .mobile-menu-toggle {
        display: block;
        position: relative;
        top: auto;
        right: auto;
        transform: none;
    }

    .nav-container {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 0;
        width: 100%;
        position: relative;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
        border-bottom: none;
        margin: 0;
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-links li {
        margin: 15px 0;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }

    .nav-links a {
        font-size: 1.5rem;
        color: var(--primary-color);
    }

    /* Overlay */
    .nav-links::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), transparent);
        pointer-events: none;
    }
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('src/hero-mobile.png') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Mobile Hero Background */
@media (max-width: 768px) {
    #hero {
        background-image: url('src/hero-mobile.png');
    }
    
    .hero-description {
        font-size: 0.9rem !important;
    }
    
    .hero-text h1 {
        font-size: 2rem !important;
    }
    
    .tagline {
        font-size: 1.2rem !important;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    margin-top: 50px;
}

.hero-text { flex: 1; text-align: left; }
.hero-text h4 {
    font-size: 2rem;
    margin-bottom: 5px;
    background: linear-gradient(45deg, #ff6b35, #ff8c42, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.5s ease-out;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 2s ease-out;
}

.cta-button {
    position: relative;
    display: inline-block;
    background: linear-gradient(45deg, #1a1a1a, #2d2d2d);
    color: #ff6b35;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 500;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
    transition: var(--transition);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #ff6b35;
    border-radius: 5px;
    animation: lineGlow 2s ease-in-out infinite;
    pointer-events: none;
}

.cta-button:hover {
    background: linear-gradient(45deg, #2d2d2d, #1a1a1a);
    color: #ff8c42;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
    transform: translateY(-2px);
}

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

/* About Section */
.about-profile-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.profile-section { text-align: center; }

.profile-image-wrapper {
    position: relative;
    display: inline-block;
}

.profile-image-wrapper::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 200%;
    z-index: -1;
    animation: gradient-rotate 3s ease infinite;
}

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.5), var(--shadow);
    }
    50% {
        box-shadow: 0 0 35px rgba(255, 107, 53, 0.8), var(--shadow);
    }
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5), var(--shadow);
    animation: pulse-glow 3s ease-in-out infinite;
    transition: var(--transition);
}

.profile-image:hover {
    animation-play-state: paused;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.8), var(--shadow);
    transform: scale(1.02);
}

.profile-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.4);
}

.profile-social {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.profile-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.profile-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.about-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat {
    text-align: center;
    padding: 25px 30px;
    background-color: var(--bg-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    min-width: 140px;
    border: 2px solid var(--border-color);
}

.stat:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.stat i { font-size: 2rem; color: var(--primary-color); margin-bottom: 10px; }
.stat h3 { font-size: 2.2rem; margin-bottom: 5px; }
.stat p {
    font-weight: 500;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* About Grid Layout */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.about-column { display: flex; flex-direction: column; gap: 25px; }

.about-card {
    background-color: var(--bg-color);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.about-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.professional-intro { font-size: 1.1rem; line-height: 1.7; margin-bottom: 15px; }

/* Timeline */
.timeline {
    margin-left: 2px;
    position: relative;
    padding-left: 25px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
    padding-left: 20px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
    position: absolute;
    left: -25px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid var(--section-bg);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-content h4 { color: var(--text-color); font-size: 1.1rem; margin-bottom: 5px; }

.timeline-date {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.timeline-content p { font-size: 0.95rem; opacity: 0.85; line-height: 1.5; margin-bottom: 0; }

/* Certifications */
.certifications-foldable { margin-top: 15px; }

.certifications-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background-color: rgba(255, 107, 53, 0.1); 
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.certifications-header:hover {   background-color: rgba(255, 107, 53, 0.1);  }
.certifications-header span { display: flex; align-items: center; gap: 10px; font-weight: 500; }

.certifications-content { max-height: 2000px; overflow: hidden; transition: max-height 0.3s ease; }
.certifications-content.collapsed { max-height: 0; }

.certification-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background-color: var(--section-bg);
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.certification-item:hover {
    background-color: rgba(255, 107, 53, 0.1);
    transform: translateX(5px);
}

.certification-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.certification-link:hover { color: var(--primary-color); }
.certification-item i { font-size: 1.3rem; color: var(--primary-color); }
.certification-item span { font-size: 0.95rem; }

/* External link indicator */
.certification-link::after {
    content: '\f35d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    opacity: 0;
    margin-left: auto;
    transition: var(--transition);
}

.certification-item:hover .certification-link::after {
    opacity: 0.6;
}

/* Mobile: Always show external link icon */
@media (max-width: 768px) {
    .certification-link::after {
        opacity: 0.4;
    }
    
    .certification-item {
        cursor: pointer;
    }
}

/* Highlight Card */
.highlight-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 140, 66, 0.05));
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.why-choose-list { display: flex; flex-direction: column; gap: 18px; }
.why-choose-item { display: flex; gap: 15px; align-items: flex-start; }
.why-choose-item i { font-size: 1.4rem; color: var(--primary-color); margin-top: 3px; }
.why-choose-item h4 { font-size: 1rem; color: var(--text-color); margin-bottom: 5px; }
.why-choose-item p { font-size: 0.9rem; opacity: 0.8; line-height: 1.5; margin-bottom: 0; }

/* About CTA */
.about-cta {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--bg-color), var(--section-bg));
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.about-cta p { font-size: 1.2rem; margin-bottom: 25px; opacity: 0.9; }
.about-cta .cta-button { font-size: 1.1rem; padding: 18px 40px; }

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-item {
    background-color: var(--bg-color);
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.skill-item:hover { transform: translateY(-5px); }
.skill-item .expertise-card { padding: 30px; box-shadow: var(--shadow); }

.expertise-card {
    text-align: center;
    padding: 20px 15px;
    background-color: var(--section-bg);
    border-radius: 10px;
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 107, 53, 0.1);
}

.expertise-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 107, 53, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.expertise-icon i { font-size: 1.3rem; color: var(--primary-color); }
.expertise-card h4 { font-size: 0.95rem; color: var(--text-color); margin-bottom: 8px; }
.expertise-card p { font-size: 0.85rem; opacity: 0.75; line-height: 1.4; margin-bottom: 0; }

/* ===== ENHANCED PROFESSIONAL CONTACT SECTION ===== */

/* Contact Subtitle */
.contact-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.85;
    max-width: 600px;
    margin: -30px auto 40px;
    line-height: 1.7;
}

/* Contact Wrapper */
.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.contact-info-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 107, 53, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.contact-icon i { font-size: 1.5rem; color: var(--primary-color); }
.contact-info-card h4 { font-size: 1rem; color: var(--text-color); margin-bottom: 8px; }
.contact-info-card p { font-size: 1rem; font-weight: 500; color: var(--primary-color); margin-bottom: 8px; }
.contact-label { font-size: 0.8rem; color: var(--text-color); opacity: 0.6; }

/* Contact Main Layout */
.contact-main {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

/* Contact Sidebar */
.contact-sidebar {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    height: fit-content;
}

.sidebar-content h3 { font-size: 1.3rem; color: var(--primary-color); margin-bottom: 15px; }
.sidebar-content > p { font-size: 0.95rem; line-height: 1.7; opacity: 0.85; margin-bottom: 25px; }

/* Contact Methods */
.contact-methods { display: flex; flex-direction: column; gap: 12px; }

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background-color: var(--section-bg);
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-color);
}

.contact-method:hover {
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
}

.contact-method i { font-size: 1.2rem; width: 24px; }
.contact-method span { font-size: 0.95rem; }

/* Enhanced Contact Form */
.contact-form {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Honeypot field - hidden from humans, invisible to bots */
.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

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

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group label {
    position: absolute;
    left: 45px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.6;
    pointer-events: none;
    transition: var(--transition);
}

.form-group textarea + label { top: 20px; transform: none; }

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 15px;
    font-size: 0.75rem;
    background-color: var(--bg-color);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--primary-color);
    opacity: 1;
}

.form-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    opacity: 0.6;
    font-size: 0.9rem;
}

.form-group textarea ~ .form-input-icon { top: 20px; transform: none; }

.form-group input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: var(--transition);
}

.form-group textarea {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: var(--transition);
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: 16px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--accent-glow);
}

.submit-button i { transition: transform 0.3s ease; }
.submit-button:hover i { transform: translateX(3px); }

/* Mobile Responsive for Contact */
@media (max-width: 992px) {
    .contact-main { grid-template-columns: 1fr; }
    .contact-sidebar { order: -1; }
    .contact-methods { flex-direction: row; flex-wrap: wrap; }
    .contact-method { flex: 1; min-width: 120px; justify-content: center; }
}

@media (max-width: 768px) {
    .contact-subtitle { font-size: 1rem; padding: 0 10px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-info-grid { 
        grid-template-columns: 1fr; 
        gap: 15px;
    }
    .contact-info-card { 
        padding: 15px 10px; 
        min-width: 0;
    }
    .contact-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }
    .contact-icon i { font-size: 1.2rem; }
    .contact-info-card h4 { font-size: 0.85rem; }
    .contact-info-card p { font-size: 0.9rem; }
    .contact-label { font-size: 0.7rem; }
    .contact-form { padding: 20px; }
    .contact-sidebar { padding: 20px; }
}

@media (max-width: 576px) {
    .contact-info-grid { 
        grid-template-columns: 1fr; 
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .contact-methods { flex-direction: column; }
    .contact-method { justify-content: flex-start; }
}

/* Count Up Animation */
.count-up {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.back-to-top i {
    margin-top: 2px;
}

/* Success Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background-color: var(--section-bg);
    padding: 40px 50px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.modal-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 10px;
}

.modal-close-btn {
    margin-top: 25px;
    padding: 12px 35px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

/* Footer */
#footer {
    background-color: transparent;
    color: var(--text-color);
    text-align: center;
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

#footer p {
    color: var(--text-color);
    opacity: 0.8;
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    font-size: 1rem;
    color: var(--primary-color);
}

/* Responsive Design */
@media (min-width: 1201px) { .hero-content { padding-left: 0; } }

@media (max-width: 1200px) and (min-width: 790px) { .hero-content { padding-left: 20px; padding-right: 40px; } }

@media (max-width: 768px) {
    .hero-content { flex-direction: column; text-align: center; }
.hero-text { text-align: center; padding-left: 20px; padding-right: 20px; }
    
    .about-profile-row { flex-direction: column; align-items: center; gap: 30px; }
    .about-profile-row > .about-stats { justify-content: center; width: 100%; }
    .about-grid { grid-template-columns: 1fr; }
    .about-stats { flex-direction: row; justify-content: center; gap: 15px; }
    .stat { padding: 20px 20px; min-width: 100px; }
    .about-card { padding: 20px; }
    .timeline-content h4 { font-size: 1rem; }
    
    .skills-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .skill-item .expertise-card { padding: 15px 10px; }
    .expertise-icon { width: 40px; height: 40px; margin-bottom: 8px; }
    .expertise-icon i { font-size: 1rem; }
    .expertise-card h4 { font-size: 0.85rem; margin-bottom: 4px; }
    .expertise-card p { font-size: 0.75rem; line-height: 1.3; }
    
    .about-cta { padding: 30px 20px; }
    .about-cta p { font-size: 1.1rem; }
    .about-cta .cta-button { padding: 15px 30px; font-size: 1rem; }
    
    .contact-form { margin-top: 30px; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 2rem; }
    .container { padding: 0 15px; }
    .section { padding: 60px 0; }
}

/* Three.js Canvas - 3D Robot Background */
#three-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

/* Device Orientation Modal */
.orientation-modal-content {
    max-width: 400px;
}

.orientation-modal-content .modal-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.orientation-modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.orientation-modal-content p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.orientation-info {
    font-size: 0.85rem !important;
    opacity: 0.7 !important;
    margin-top: 10px;
}

.orientation-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 25px;
}

.orientation-buttons .cta-button {
    position: relative;
    background: var(--bg-color);
    border-radius: 5px;

}

.orientation-buttons .cta-button:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    
}

.orientation-buttons .cta-button.secondary {
    
    color: var(--text-color);
}

.orientation-buttons .cta-button.secondary:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.orientation-buttons .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 5px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--primary-color));
   background-size: 200% 200%;
   z-index: -1;
   animation: gradient-rotate 3s ease infinite;
}

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