/* DevOps Portfolio Design System - Silver & Gold Premium Theme */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
    /* Light Mode */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(0, 0%, 10%);
    
    --card: hsl(0, 0%, 96%);
    --card-foreground: hsl(0, 0%, 10%);
    
    --muted: hsl(0, 0%, 90%);
    --muted-foreground: #757575;
    
    --gold: #d4af37;
    --gold-dark: #b8942c;
    --silver: #757575;
    --silver-dark: #5a5a5a;
    
    --border: hsl(0, 0%, 88%);
    --section-bg: hsl(0, 0%, 96%);
    --nav-bg: hsla(0, 0%, 100%, 0.95);
    --footer-bg: hsl(0, 0%, 10%);
}

.dark {
    /* Dark Mode - Matte Black */
    --background: hsl(0, 0%, 10%);
    --foreground: hsl(0, 0%, 88%);
    
    --card: hsl(0, 0%, 16%);
    --card-foreground: hsl(0, 0%, 88%);
    
    --muted: hsl(0, 0%, 20%);
    --muted-foreground: hsl(0, 0%, 69%);
    
    --border: hsl(0, 0%, 23%);
    --section-bg: hsl(0, 0%, 13%);
    --nav-bg: hsla(0, 0%, 10%, 0.95);
    --footer-bg: hsl(0, 0%, 8%);
}

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

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    transition: all 0.3s ease;
    overflow-x: hidden;
}

/* Utility Classes */
.hero-title .text-foreground {
    text-shadow: 
        0 0 20px rgba(192, 192, 192, 0.2),
        0 0 40px rgba(192, 192, 192, 0.15),
        0 0 60px rgba(255, 255, 255, 0.1);
}

.hero-title .text-gold {
    text-shadow: 
        0 0 25px rgba(212, 175, 55, 0.4),
        0 0 50px rgba(212, 175, 55, 0.2),
        0 0 75px rgba(212, 175, 55, 0.15);
}

.text-silver {
    color: var(--silver);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .section-container {
        padding: 0 2rem;
    }
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.section-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, hsl(43, 77%, 58%), var(--silver));
    margin: 0 auto 4rem;
    border-radius: 2px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: var(--nav-bg);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    z-index: 1001;
    color: #d4af37;
}

.nav-links {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--muted-foreground);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link.active,
.nav-link:hover {
    color: var(--gold);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.theme-toggle {
    background: none;
    border: 2px solid var(--border);
    border-radius: 50%;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    border-color: var(--gold);
    transform: scale(1.1);
}

.theme-icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
    position: absolute;
}

/* Show sun icon in light mode, hide moon */
.sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.moon-icon {
    opacity: 0;
    transform: rotate(90deg);
}

/* Show moon icon in dark mode, hide sun */
body.dark .sun-icon {
    opacity: 0;
    transform: rotate(90deg);
}

body.dark .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
    color: white;
    stroke: white;
}

.dark .sun-icon {
    opacity: 0;
    transform: rotate(180deg);
}

.dark .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg);
    position: absolute;
}

.moon-icon {
    opacity: 0;
    transform: rotate(180deg);
    position: absolute;
}

.mobile-menu-btn {
    display: flex;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--foreground);
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn:hover {
    color: var(--gold);
}

.menu-icon,
.close-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    display: none;
    flex-direction: column;
    padding: 1rem 2rem;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav-link {
    padding: 1rem 0;
    text-decoration: none;
    color: var(--muted-foreground);
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    transition: color 0.3s ease;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    color: var(--gold);
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(212, 175, 55, 0.08) 0%,
        rgba(212, 175, 55, 0.04) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(
        270deg,
        rgba(192, 192, 192, 0.08) 0%,
        rgba(192, 192, 192, 0.04) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: 
        radial-gradient(circle at 25% 25%, var(--silver) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, var(--gold) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 6s ease-in-out infinite;
}

.hero-orb-1 {
    top: 25%;
    left: -8rem;
    width: 16rem;
    height: 16rem;
    background: rgb(212, 175, 55);
    opacity: 0.15;
    box-shadow: 
        0 0 100px rgba(212, 175, 55, 0.1),
        0 0 200px rgba(212, 175, 55, 0.05);
}

.hero-orb-2 {
    bottom: 25%;
    right: -12rem;
    width: 24rem;
    height: 24rem;
    background: var(--silver);
    opacity: 0.15;
    animation-delay: 2s;
    box-shadow: 
        0 0 120px rgba(192, 192, 192, 0.1),
        0 0 240px rgba(192, 192, 192, 0.05);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.12; }
    50% { transform: scale(1.05); opacity: 0.18; }
}

.hero-content {
    position: relative;
    z-index: 20;
    text-align: center;
    padding: 2rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: var(--card);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--muted-foreground);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 20px rgba(212, 175, 55, 0.08),
        0 0 40px rgba(192, 192, 192, 0.05);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: hsl(43, 77%, 58%);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 
        0 0 20px rgba(212, 175, 55, 0.15),
        0 0 40px rgba(212, 175, 55, 0.1),
        0 0 60px rgba(192, 192, 192, 0.08);
    animation: hero-glow 4s ease-in-out infinite alternate;
}

@keyframes hero-glow {
    0% {
        text-shadow: 
            0 0 20px rgba(212, 175, 55, 0.15),
            0 0 40px rgba(212, 175, 55, 0.1),
            0 0 60px rgba(192, 192, 192, 0.08);
    }
    100% {
        text-shadow: 
            0 0 25px rgba(212, 175, 55, 0.2),
            0 0 50px rgba(212, 175, 55, 0.12),
            0 0 75px rgba(192, 192, 192, 0.1);
    }
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--silver);
    margin-bottom: 1.5rem;
    text-shadow: 
        0 0 15px rgba(192, 192, 192, 0.2),
        0 0 30px rgba(192, 192, 192, 0.1);
}

.hero-tagline {
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    text-align: center;
    text-shadow: 
        0 0 10px rgba(212, 175, 55, 0.08),
        0 0 20px rgba(192, 192, 192, 0.06);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
}

.btn-gold,
.btn-silver {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    font-size: 1rem;
}

.btn-gold {
    background: hsl(43, 77%, 58%);
    color: black;
}

.btn-gold:hover {
    background: rgb(190, 158, 50);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(212, 175, 55, 0.3),
        0 0 30px rgba(212, 175, 55, 0.2);
}

.btn-silver {
    background: transparent;
    color: var(--silver);
    border: 2px solid var(--silver);
}

.btn-silver:hover {
    background: var(--silver);
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 192, 192, 0.3);
}

.hero-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--border);
    color: var(--muted-foreground);
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-social a:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.scroll-indicator {
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    color: var(--gold);
    transform: translateY(-2px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--section-bg);
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.profile-container {
    display: flex;
    justify-content: center;
    position: relative;
}

.profile-decorative-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--silver);
    opacity: 0.3;
    animation: spin 20s linear infinite;
}

.profile-inner-ring {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    opacity: 0.2;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.profile-image {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--card), var(--muted));
    border: 4px solid var(--silver);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-initials {
    font-size: 5rem;
    font-weight: 700;
    color: var(--gold);
}

.profile-badge {
    position: absolute;
    padding: 0.75rem;
    background: var(--card);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.profile-badge-1 {
    top: -8px;
    right: -8px;
    color: var(--gold);
}

.profile-badge-2 {
    bottom: -8px;
    left: -8px;
    color: var(--silver);
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}


.bio-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    text-align: left;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.highlight-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    border-color: var(--silver);
    transform: translateY(-2px);
}

.highlight-icon {
    width: 20px;
    height: 20px;
    color: var(--gold);
}

.highlight-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--foreground);
}

/* Skills Section */
.skills-section {
    padding: 5rem 0;
}

.skills-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.skills-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--muted-foreground);
}

.skills-tab.active,
.skills-tab:hover {
    background: var(--gold);
    color: black;
    border-color: var(--gold);
}

.skills-content {
    position: relative;
}

.skills-category {
    display: none;
}

.skills-category.active {
    display: block;
}

.skills-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.skill-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: var(--silver);
    transform: translateY(-2px);
}

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

.skill-name {
    font-weight: 500;
    color: var(--foreground);
}

.skill-level {
    font-weight: 500;
    color: hsl(43, 77%, 58%);
}

.skill-bar {
    height: 8px;
    background: var(--muted);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, hsl(43, 77%, 58%), var(--silver));
    border-radius: 4px;
    transition: width 1s ease-out;
}

/* Projects Section */
.projects-section {
    padding: 5rem 0;
    background: var(--section-bg);
}

.projects-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

.project-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: var(--silver);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
    line-height: 1.3;
    text-align: left;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    padding: 0.25rem 0.75rem;
    background: var(--gold);
    color: black;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: left;
}

.project-achievements {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 0;
}

.project-achievements li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--muted-foreground);
    line-height: 1.5;
    text-align: left;
    font-weight: normal;
    width: 100%;
}

.achievement-icon {
    width: 16px;
    height: 16px;
    color: var(--gold);
    flex-shrink: 0;
    min-width: 16px;
}

.highlight-text {
    color: var(--gold);
    font-weight: 600;
    margin: 0;
    padding: 0;
}

/* Keep old highlight class for backward compatibility */
.highlight {
    color: var(--gold);
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--muted-foreground);
    transition: all 0.3s ease;
    font-weight: 500;
}

.project-link:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.contact-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.contact-description {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--foreground);
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--gold);
}

.contact-method div {
    display: flex;
    flex-direction: column;
}

.contact-method strong {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-method span {
    font-size: 0.9rem;
    color: var(--muted-foreground);
}

.contact-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--background);
    color: var(--foreground);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

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

.submit-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--gold);
    color: black;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
}

.submit-btn:hover:not(:disabled) {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-loading {
    display: none;
}

.submit-btn.loading .submit-text {
    display: none;
}

.submit-btn.loading .submit-loading {
    display: block;
}

.form-status {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.success {
    background: rgba(34, 197, 94, 0.1);
    color: rgb(34, 197, 94);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    color: rgb(239, 68, 68);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.success-message {
    background: rgba(34, 197, 94, 0.1);
    color: rgb(34, 197, 94);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    color: rgb(239, 68, 68);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Footer */
.footer {
    padding: 3rem 0;
    background: var(--footer-bg);
    color: var(--silver);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-name {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--silver);
    color: var(--silver);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.3;
}

.footer-social a:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(255, 193, 7, 0.1);
    opacity: 1;
}

/* Make footer social icons white in both dark and light modes */
.footer-social a {
    color: white !important;
}

.footer-social a i {
    color: white !important;
    stroke: white !important;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 767px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .profile-image {
        width: 240px;
        height: 240px;
    }
    
    .profile-initials {
        font-size: 4rem;
    }
    
    .skills-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .skills-tab {
        justify-content: center;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        text-align: left;
    }
    
    .project-title {
        text-align: left;
    }
    
    .project-description {
        text-align: left;
    }
    
    .project-achievements li {
        align-items: flex-start;
        text-align: left;
    }
}

/* Animation Classes */
.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

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

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--muted);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Light Mode Black Borders */
body:not(.dark) .theme-toggle,
body:not(.dark) .skill-tab,
body:not(.dark) .skill-tab.active,
body:not(.dark) .skill-icon,
body:not(.dark) .project-card,
body:not(.dark) .project-tech,
body:not(.dark) .contact-form input,
body:not(.dark) .contact-form textarea,
body:not(.dark) .contact-form button,
body:not(.dark) .footer-section {
    border-color: #000000 !important;
}

/* Override specific elements that might need black borders */
body:not(.dark) button,
body:not(.dark) input,
body:not(.dark) textarea,
body:not(.dark) .card,
body:not(.dark) .box {
    border-color: #000000 !important;
}

/* Ensure hover states still work but with black borders */
body:not(.dark) .theme-toggle:hover,
body:not(.dark) .skill-tab:hover,
body:not(.dark) .project-card:hover,
body:not(.dark) .contact-form input:focus,
body:not(.dark) .contact-form textarea:focus,
body:not(.dark) .contact-form button:hover {
    border-color: #000000 !important;
}
