/* 
   Project: Personal Portfolio
   Author: Pradeep Rao Masadi
   Date: 2026
*/

/* ----------------------------------------------------
   1. VARIABLES & RESET
---------------------------------------------------- */
:root {
    /* Core Colors - Premium Neutral Theme */
    --primary-color: #2A2A2A;
    /* Warm Charcoal */
    --accent-color: #C7A76C;
    /* Soft Sand / Muted Gold */
    --accent-light: #D6B980;
    /* Hover Accent */
    --accent-dim: rgba(199, 167, 108, 0.1);
    /* Subtle accent tint */
    --accent-text: #8a6a34;
    /* Darker Gold for Text Accessibility (WCAG AA) */

    /* Backgrounds */
    --bg-color: #FFFFFF;
    /* Clean White */
    --light-bg: #F7F7F5;
    /* Soft Off-white Surface */
    --section-bg-alt: #FAfaf9;
    /* Very faint warm gray */
    --white: #FFFFFF;

    /* Typography */
    --text-color: #555555;
    /* Secondary Text */
    --text-light: #777777;
    /* Muted Text */

    /* Shadows & Effects (Subtle & Elegant) */
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
    --hover-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0, 0, 0, 0.03);
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: 1px solid rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Smooth Ease Out */

    --font-main: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-color);
    color: var(--white);
    padding: 8px 16px;
    z-index: 9999;
    transition: top 0.3s ease;
    border-radius: 0 0 10px 0;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Utilities */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
}

.text-gradient {
    color: var(--accent-text);
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
    border-radius: 1px;
}

/* ----------------------------------------------------
   2. NAVIGATION
---------------------------------------------------- */
/* ----------------------------------------------------
   2. NAVIGATION
---------------------------------------------------- */
.navbar {
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    /* Shrink on scroll */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
    position: relative;
    padding: 5px 0;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-text);
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.03);
    padding: 3px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    border-radius: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-btn:hover {
    color: var(--primary-color);
}

.lang-btn.active {
    background-color: var(--white);
    color: var(--accent-text);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.flag-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* ----------------------------------------------------
   3. HERO SECTION
---------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-bg-graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap-reverse;
    /* Text first on mobile */
    gap: 40px;
    width: 100%;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-greeting {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
    display: inline-block;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 25px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 35px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 14px 35px;
    font-size: 1rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(199, 167, 108, 0.25);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.hero-image-wrapper {
    flex: 0 0 auto;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    padding: 10px;
    animation: float 6s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.5);
}

.hero-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--white);
    box-shadow: var(--card-shadow);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Scroll Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
    animation: fadeInUp 1s ease-out 1s forwards;
    opacity: 0;
    /* Starts hidden */
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* Extra Small Button for Lists */
.btn-xs {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 0.8rem;
    padding: 5px 15px;
    border-radius: 20px;
    margin-top: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-xs:hover {
    background-color: #0284c7;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ----------------------------------------------------
   4. ABOUT SECTION
---------------------------------------------------- */
.about-section {
    background-color: var(--white);
    position: relative;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-content p {
    margin-bottom: 25px;
}

/* ----------------------------------------------------
   5. SKILLS SECTION
---------------------------------------------------- */
.skills-section {
    background-color: var(--light-bg);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.skill-card {
    background: var(--white);
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.skill-card h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tags span {
    background-color: var(--section-bg-alt);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.skill-card:hover .skill-tags span {
    background-color: var(--white);
    border-color: var(--accent-light);
    color: var(--accent-color);
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Currently Exploring Section */
.currently-learning {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-bg) 100%);
    border: 2px dashed var(--accent-color);
    border-radius: 20px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out forwards;
}

.learning-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.learning-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.learning-tag {
    background: linear-gradient(90deg, var(--accent-dim) 0%, var(--white) 100%);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 1rem;
    color: var(--accent-text);
    font-weight: 600;
    border: 1px solid var(--accent-dim);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.learning-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.6),
            transparent);
    transition: all 0.6s;
}

.learning-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(199, 167, 108, 0.2);
    border-color: var(--accent-color);
}

.learning-tag:hover::before {
    left: 100%;
}

/* Dark Mode Overrides for Skills */
body.dark-mode .skill-card {
    background: #1A1A1A;
    border-top-color: var(--accent-color);
}

body.dark-mode .skill-tags span {
    background: #252525;
    color: #AAA;
}

body.dark-mode .currently-learning {
    background: linear-gradient(135deg, #1A1A1A 0%, #121212 100%);
}

body.dark-mode .learning-tag {
    background: #252525;
    color: var(--accent-light);
    border-color: #333;
}

/* Responsiveness for Skills */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .currently-learning {
        padding: 30px 20px;
    }
}

/* ----------------------------------------------------
   6. EXPERIENCE SECTION
---------------------------------------------------- */
.experience-section {
    background-color: var(--white);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
    border-left: 3px solid var(--section-bg-alt);
}

/* ... */
/* ----------------------------------------------------
   7. PROJECTS SECTION
---------------------------------------------------- */
.projects-section {
    background-color: var(--bg-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

/* ... */
/* ----------------------------------------------------
   8. EDUCATION & OTHERS
---------------------------------------------------- */
.education-section {
    background-color: var(--light-bg);
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -48px;
    top: 5px;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.2);
    transition: var(--transition);
}

.timeline-item:hover::before {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

.timeline-content {
    background-color: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.timeline-item:hover .timeline-content {
    box-shadow: var(--hover-shadow);
    transform: translateX(5px);
}

.timeline-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.timeline-content .company {
    font-weight: 600;
    color: var(--accent-text);
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.timeline-content .date {
    font-size: 0.9rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 20px;
    font-style: italic;
}

.job-details li {
    list-style-type: none;
    margin-bottom: 10px;
    color: var(--text-color);
    position: relative;
    padding-left: 20px;
}

.job-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* ----------------------------------------------------
   7. PROJECTS SECTION
---------------------------------------------------- */
.projects-section {
    background-color: var(--light-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--white);
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.project-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.project-card:hover::after {
    transform: scaleX(1);
}

.project-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.project-desc {
    margin-bottom: 25px;
    flex-grow: 1;
    color: var(--text-color);
    line-height: 1.6;
}

.project-tech {
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: var(--text-light);
    background: var(--section-bg-alt);
    padding: 10px;
    border-radius: 8px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-text);
    font-weight: 600;
    font-size: 0.95rem;
}

.project-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* ----------------------------------------------------
   8. EDUCATION & OTHERS
---------------------------------------------------- */
.education-section {
    background-color: var(--white);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.education-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.education-card:hover {
    background: var(--white);
    box-shadow: var(--hover-shadow);
    border-color: var(--accent-dim);
    transform: translateY(-3px);
}

.education-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.education-card .school {
    color: var(--text-light);
    font-weight: 500;
}

.split-section {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-top: 40px;
}

.column {
    flex: 1;
    min-width: 320px;
}

.list-items li {
    background: var(--white);
    margin-bottom: 15px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.list-items li:hover {
    transform: translateX(5px);
    box-shadow: var(--hover-shadow);
}

.sub-text {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ----------------------------------------------------
   9. CONTACT & FOOTER
---------------------------------------------------- */
.contact-section {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Minimal Circle for Contact BG */
.contact-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--accent-dim);
    border-radius: 50%;
    filter: blur(80px);
}

.contact-section .section-title {
    color: var(--primary-color);
}

.contact-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    align-items: flex-start;
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    max-width: 550px;
    width: 100%;
    color: var(--text-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f8fafc;
}

#contact-form textarea {
    resize: none !important;
    height: 150px;
    overflow-y: auto;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.1);
}

.contact-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    border-radius: 12px;
    margin-top: 10px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-submit:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 167, 108, 0.25);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.social-btn {
    background: var(--white);
    color: var(--primary-color);
    padding: 18px 30px;
    border-radius: 12px;
    font-weight: 500;
    backdrop-filter: blur(5px);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-start;
    min-width: 240px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--card-shadow);
}

.social-btn:hover {
    background: var(--accent-color);
    transform: translateX(5px);
    border-color: var(--accent-color);
    color: var(--white);
    box-shadow: var(--hover-shadow);
}

.footer {
    background-color: #020617;
    color: #94a3b8;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Skills Icons */
.skill-tags span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.skill-tags i {
    font-size: 1.2rem;
}

@media (min-width: 769px) {
    .social-links {
        margin-left: 20px;
    }
}

/* ----------------------------------------------------
   THEME TOGGLE
---------------------------------------------------- */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--accent-color);
    background-color: rgba(0, 0, 0, 0.03);
    transform: rotate(15deg);
}

/* Dark Mode Overrides */
body.dark-mode {
    --primary-color: #F0F0F0;
    --bg-color: #121212;
    --light-bg: #1A1A1A;
    --section-bg-alt: #151515;
    --white: #252525;
    --text-color: #B0B0B0;
    --white: #252525;
    --text-color: #B0B0B0;
    --text-light: #888888;
    --accent-text: #C7A76C;
    /* Keep original lighter gold for dark mode */
    --glass-bg: rgba(18, 18, 18, 0.9);
    --glass-border: 1px solid rgba(255, 255, 255, 0.05);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

body.dark-mode .theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .navbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Contact Form Status */
.contact-status {
    margin-top: 15px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    border-radius: 4px;
    padding: 10px;
    display: none;
    /* Hidden by default */
}

/* CSS specificity to ensure display: block works when class is added */
.contact-status.success,
.contact-status.error {
    display: block !important;
}

.contact-status.success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.contact-status.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ----------------------------------------------------
   10. RESPONSIVE MEDIA QUERIES
---------------------------------------------------- */
/* ----------------------------------------------------
   10. RESPONSIVE MEDIA QUERIES
---------------------------------------------------- */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        padding: 0 20px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 20px;
    }

    .hero-content {
        text-align: center;
        order: 2;
        /* Image on top */
    }

    .hero-image-wrapper {
        order: 1;
        width: 200px;
        height: 200px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--glass-bg);
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        flex-direction: column;
        padding: 30px;
        gap: 25px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        display: none;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease-out;
    }

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

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 5px auto;
    }

    .timeline {
        padding-left: 20px;
        border-left: 2px solid var(--section-bg-alt);
    }

    .timeline-item::before {
        left: -31px;
    }

    .contact-content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .contact-form-container {
        width: 100%;
    }

    .social-links {
        width: 100%;
        align-items: center;
        margin-left: 0;
    }

    .social-btn {
        width: 100%;
        justify-content: center;
    }
}