/* Modernized styles for robotics/automation resume site */
:root {
    --bg-dark: #071e34;
    --bg-panel: rgba(255, 255, 255, 0.92);
    --text-primary: #0f172a;
    --text-secondary: #4a5568;
    --accent: #0a84ff;
    --accent-soft: #dceeff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    background-image: linear-gradient(rgba(7, 30, 52, 0.86), rgba(10, 132, 255, 0.16)), url("../images/Automation_1.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
}

h1, h2, h3 {
    color: #eef2ff;
}

.tab {
    display: flex;
    border: 1px solid rgba(255,255,255,0.14);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.12);
    margin-bottom: 20px;
}

.tab button {
    flex: 1;
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.25s ease;
    font-size: 16px;
    color: #eef2ff;
    border-right: 1px solid rgba(255,255,255,0.18);
}

.tab button:last-child {
    border-right: none;
}

.tab button:hover {
    background-color: rgba(255,255,255,0.15);
}

.tab button.active {
    background-color: rgba(10,132,255,0.95);
    color: white;
}

.tabcontent {
    display: none;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.18);
    border-top: none;
    background-color: var(--bg-panel);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
    color: var(--text-primary);
}

.profile {
    text-align: center;
    margin-bottom: 30px;
}

.profile img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent);
    box-shadow: 0 6px 16px rgba(0,0,0,0.24);
}

.page-shell {
    max-width: 980px;
    margin: 0 auto;
}

.hero {
    padding: 32px 24px;
    margin-bottom: 24px;
    background: rgba(6, 25, 46, 0.82);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    box-shadow: 0 24px 50px rgba(0,0,0,0.22);
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.tagline {
    margin: 12px 0 0;
    color: var(--accent-soft);
    font-size: 1.05rem;
}

.tabcontent p,
.tabcontent ul {
    color: var(--text-primary);
}

.tabcontent ul li {
    margin-bottom: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
    .tab {
        flex-direction: column;
    }
    .tab button {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
    .tab button:last-child {
        border-bottom: none;
    }
    body {
        padding: 10px;
    }
    .tabcontent {
        padding: 15px;
    }
}