:root {
    --primary-color: #000000;
    --accent-color: #4abfe6;  /* Blue accent */
    --text-color: #ffffff;
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --header-bg: rgba(0, 0, 0, 0.95);
}

/* Add smooth transitions */
* {
    transition: all 0.3s ease-in-out;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--primary-color);
    font-size: 1.1rem;
    letter-spacing: 0.01em;
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--header-bg);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.15), 0 1.5px 0 0 var(--accent-color);
    backdrop-filter: blur(8px);
    z-index: 1000;
    transition: box-shadow 0.3s, backdrop-filter 0.3s;
}

h1 {
    margin: 0;
}

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

nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
}

nav a:hover {
    background: var(--accent-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    padding: 0.5rem 1.2rem;
    margin: 0 0.5rem;
    border-radius: 6px;
    transition: color 0.3s, background 0.3s, box-shadow 0.3s;
    font-weight: 500;
    font-size: 1.08rem;
}

nav ul li a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

nav ul li a.active,
nav ul li a:focus {
    color: var(--primary-color);
    background: var(--accent-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px 0 rgba(74,191,230,0.10);
}

section {
    padding: 5rem 10%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--dark-bg);
}

/* Add hover effects to sections */
section:hover {
    transform: scale(1.01);
    box-shadow: 0 0 20px var(--accent-color);
}

section:nth-child(even) {
    background-color: var(--darker-bg);
}

#hero {
    background: linear-gradient(135deg, rgba(74,191,230,0.18) 0%, rgba(0,0,0,0.85) 100%);
    text-align: center;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle at 50% 30%, var(--accent-color) 0%, transparent 70%);
    opacity: 0.18;
    z-index: 0;
    animation: heroGlow 6s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.12; transform: translateX(-50%) scale(1); }
    100% { opacity: 0.22; transform: translateX(-50%) scale(1.08); }
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.highlight {
    color: var(--accent-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.projects-grid .project-card {
    background: rgba(20, 30, 40, 0.92);
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(74,191,230,0.10);
    padding: 2rem 1.5rem;
    transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.25s;
    border: 1.5px solid rgba(74,191,230,0.13);
    position: relative;
    overflow: hidden;
}

.projects-grid .project-card:hover {
    transform: translateY(-10px) scale(1.025);
    box-shadow: 0 8px 32px 0 var(--accent-color), 0 1.5px 0 0 var(--accent-color);
    border-color: var(--accent-color);
}

.projects-grid .project-card h3 {
    color: var(--accent-color);
    margin-bottom: 0.7rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.projects-grid .project-card p {
    color: var(--text-color);
    opacity: 0.92;
    margin-bottom: 1.2rem;
}

.projects-grid .project-card a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.projects-grid .project-card a:hover {
    color: #fff;
    text-decoration: underline;
}

.project-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.7rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    height: 3.2rem;
}

.contact-content {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: flex-start;
    font-size: 2rem;
    flex-wrap: wrap;
}

.contact-content a {
    color: var(--text-color);
    transition: color 0.3s;
}

.contact-content a:hover {
    color: var(--accent-color);
}

footer {
    text-align: center;
    padding: 2rem;
    background: var(--primary-color);
    color: var(--text-color);
    border-top: 1px solid var(--accent-color);
}

.logo {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: bold;
}

h1, h2 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

p {
    margin-bottom: 1.2em;
    font-size: 1.15rem;
    font-weight: 400;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin: 10px 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    background: rgba(20, 30, 40, 0.92);
    padding: 2.2rem 2rem 2rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px 0 rgba(74,191,230,0.10);
    min-width: 320px;
    max-width: 350px;
    border: 1.5px solid rgba(74,191,230,0.13);
}

.contact-form input,
.contact-form textarea {
    margin: 0;
    padding: 0.9rem 1rem;
    border: 1.5px solid rgba(74,191,230,0.18);
    border-radius: 8px;
    background: #181f25;
    color: var(--text-color);
    font-size: 1rem;
    font-family: inherit;
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 1.5px solid var(--accent-color);
    box-shadow: 0 0 0 2px rgba(74,191,230,0.13);
}

.contact-form button {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px 0 rgba(74,191,230,0.10);
}

.contact-form button:hover {
    background: #fff;
    color: var(--accent-color);
    box-shadow: 0 4px 16px 0 var(--accent-color);
}

.contact-icons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    margin-top: 0.5rem;
}

.contact-icons a {
    color: var(--accent-color);
    background: #181f25;
    border-radius: 50%;
    padding: 0.7rem;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px 0 rgba(74,191,230,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icons a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 4px 16px 0 var(--accent-color);
}

/* Section entrance animation */
.section-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.section-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.skills-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 1.5rem;
    justify-content: flex-start;
}

.skills-group {
    background: rgba(20, 30, 40, 0.92);
    border-radius: 14px;
    box-shadow: 0 2px 12px 0 rgba(74,191,230,0.08);
    padding: 1.2rem 1.5rem 1.2rem 1.5rem;
    min-width: 210px;
    flex: 1 1 220px;
    max-width: 270px;
}

.skills-group h4 {
    color: var(--accent-color);
    margin-bottom: 0.7rem;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.skills-list li {
    display: flex;
    align-items: center;
    gap: 0.7em;
    font-size: 1.08rem;
    color: var(--text-color);
    background: rgba(74,191,230,0.07);
    border-radius: 8px;
    padding: 0.45em 0.8em;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.skills-list li i {
    font-size: 1.25em;
    color: var(--accent-color);
    min-width: 1.3em;
    text-align: center;
}

.skills-list li:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.skills-list li:hover i {
    color: var(--primary-color);
}

.exp-summary {
    font-size: 1.04rem;
    color: var(--accent-color);
    margin: 0.3em 0 0.7em 0;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    margin-top: 1.5rem;
}

.experience-item {
    background: rgba(20, 30, 40, 0.92);
    border-radius: 14px;
    box-shadow: 0 2px 12px 0 rgba(74,191,230,0.08);
    padding: 1.3rem 1.7rem 1.1rem 1.7rem;
    border-left: 4px solid var(--accent-color);
    transition: box-shadow 0.2s, border-color 0.2s;
    position: relative;
}

.experience-item:hover {
    box-shadow: 0 6px 24px 0 var(--accent-color), 0 2px 12px 0 rgba(74,191,230,0.10);
    border-color: #fff;
}

.exp-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.7em 1.2em;
    margin-bottom: 0.3em;
}

.exp-role {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.13rem;
}

.exp-company {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.08rem;
}

.exp-dates {
    color: #b0c4d8;
    font-size: 0.98rem;
    margin-left: auto;
    font-style: italic;
}