/* Base Styles */
:root {
    --docker-blue: #0db7ed; /* Docker bright blue */
    --docker-dark-blue: #0d6e9e; /* Docker darker blue */
    --docker-deepest-blue: #002c66; /* Docker deepest blue */
    --docker-navy: #06284c; /* Docker navy blue */
    --docker-light-blue: #8cd6f5; /* Light blue shade */
    --docker-bg: #f4f9fc; /* Very light blue background */
    
    --primary-color: var(--docker-blue);
    --primary-dark: var(--docker-dark-blue);
    --secondary-color: var(--docker-navy);
    --accent-color: var(--docker-light-blue);
    --light-color: var(--docker-bg);
    --dark-color: var(--docker-deepest-blue);
    
    --text-color: #2c3e50;
    --text-light: #4b5563;
    --text-white: #ffffff;
    
    --blue-50: #f0f7ff;
    --blue-100: #e0f1ff;
    --blue-200: #bae3ff;
    --blue-300: #7cc6f3;
    --blue-400: #4aa9e9;
    --blue-500: var(--docker-blue);
    --blue-600: var(--docker-dark-blue);
    --blue-700: #085274;
    --blue-800: var(--docker-navy);
    --blue-900: var(--docker-deepest-blue);
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

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

.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    color: var(--secondary-color);
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-image: linear-gradient(to right, var(--docker-blue), var(--docker-dark-blue));
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    border: none;
    text-align: center;
}

.primary-btn {
    background-color: var(--docker-blue);
    color: white;
    box-shadow: var(--shadow-sm);
}

.primary-btn:hover {
    background-color: var(--docker-dark-blue);
    color: white;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

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

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

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--docker-navy);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

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

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

.nav-links a {
    color: var(--text-white);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
}

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

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

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

.burger {
    display: none;
    cursor: pointer;
}

.burger .line1,
.burger .line2,
.burger .line3 {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    margin: 5px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--docker-navy) 0%, var(--docker-deepest-blue) 100%);
    padding: 0 1.5rem;
    position: relative;
    text-align: center;
    color: var(--text-white);
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero-image {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--docker-blue);
    box-shadow: 0 0 20px rgba(13, 183, 237, 0.3);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(13, 183, 237, 0.5);
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero h2 {
    font-size: 1.5rem;
    color: var(--docker-blue);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero p {
    font-size: 1.125rem;
    color: var(--docker-light-blue);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--docker-blue);
    transform: translateY(-5px);
}

/* Experience Section */
.experience {
    padding: 6rem 0;
    background-color: white;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 3px;
    background-color: var(--blue-200);
    left: 50px;
    top: 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-date {
    width: 120px;
    padding-right: 1.5rem;
    text-align: right;
    font-weight: 600;
    color: var(--docker-blue);
    position: relative;
}

.timeline-date::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--docker-blue);
    border-radius: 50%;
    right: -8.5px;
    top: 5px;
    z-index: 1;
}

.timeline-content {
    padding-left: 2rem;
    flex-grow: 1;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--docker-navy);
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--docker-dark-blue);
}

.timeline-content ul {
    margin-left: 1.25rem;
    color: var(--slate-600);
}

.timeline-content ul li {
    margin-bottom: 0.5rem;
    position: relative;
    list-style-type: disc;
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background-color: var(--docker-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--docker-blue);
}

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

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0.5rem;
}

.project-header h3 {
    font-size: 1.25rem;
    color: var(--docker-navy);
}

.project-links a {
    color: var(--docker-blue);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.project-date {
    color: var(--slate-500);
    font-size: 0.875rem;
    padding: 0 1.5rem 0.75rem;
}

.project-description {
    padding: 0 1.5rem 1.5rem;
    flex-grow: 1;
}

.project-description ul {
    margin-left: 1.25rem;
    color: var(--slate-600);
}

.project-description li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.project-tech {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background-color: var(--blue-100);
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--docker-dark-blue);
    font-weight: 500;
    transition: var(--transition);
}

.tech-tag:hover {
    background-color: var(--docker-blue);
    color: white;
    transform: translateY(-2px);
}

/* Skills Section */
.skills {
    padding: 6rem 0;
    background-color: white;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.skills-category {
    background-color: var(--docker-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--docker-blue);
}

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

.skills-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--docker-navy);
    border-bottom: 1px solid var(--blue-200);
    padding-bottom: 0.75rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--text-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.skill-tag:hover {
    background-color: var(--docker-blue);
    color: white;
    transform: translateY(-3px);
}

.certifications {
    max-width: 800px;
    margin: 0 auto;
}

.certifications h3 {
    font-size: 1.5rem;
    color: var(--docker-navy);
    margin-bottom: 1.5rem;
    text-align: center;
}

.cert-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.cert-item {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--docker-blue);
    transition: var(--transition);
}

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

.cert-name {
    font-weight: 600;
    color: var(--docker-navy);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.cert-issuer {
    color: var(--docker-blue);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.cert-date {
    color: var(--slate-500);
    font-size: 0.75rem;
}

/* Education Section */
.education {
    padding: 6rem 0;
    background-color: var(--docker-bg);
}

.education-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.edu-item {
    display: flex;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.edu-year {
    width: 150px;
    background-color: var(--docker-navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 1.5rem;
    text-align: center;
}

.edu-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.edu-content h3 {
    font-size: 1.25rem;
    color: var(--docker-navy);
    margin-bottom: 0.5rem;
}

.edu-school {
    color: var(--docker-blue);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.edu-details {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.edu-location {
    color: var(--slate-500);
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.contact-info {
    background-color: var(--docker-navy);
    border-radius: 8px;
    padding: 2rem;
    height: fit-content;
    color: var(--text-white);
}

.contact-item {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    background-color: var(--docker-blue);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details {
    flex-grow: 1;
}

.contact-details h3 {
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.contact-details a {
    color: var(--docker-light-blue);
    transition: var(--transition);
}

.contact-details a:hover {
    color: white;
}

.contact-form {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--docker-blue);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--blue-200);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--docker-blue);
    box-shadow: 0 0 0 3px rgba(13, 183, 237, 0.1);
}

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

/* Form Alert */
.form-alert {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.form-alert.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

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

/* Footer */
footer {
    background-color: var(--docker-navy);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-content p {
    color: var(--docker-light-blue);
    margin-bottom: 1rem;
}

.footer-content .social-links {
    margin-top: 1rem;
}

.footer-content .social-links a {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-content .social-links a:hover {
    background-color: var(--docker-blue);
}

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

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

/* Burger Animation for Mobile */
.burger.active .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.active .line2 {
    opacity: 0;
}

.burger.active .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Scrolled Header State */
header.scrolled {
    padding: 0.5rem 0;
    background-color: var(--docker-navy);
    box-shadow: var(--shadow-lg);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.25rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .burger {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background-color: var(--docker-navy);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: var(--shadow);
        clip-path: circle(0 at 100% 0);
        transition: all 0.5s ease-out;
        opacity: 0;
        pointer-events: none;
    }
    
    .nav-links.active {
        clip-path: circle(150% at 100% 0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .edu-item {
        flex-direction: column;
    }
    
    .edu-year {
        width: 100%;
        padding: 1rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-date {
        width: auto;
        text-align: left;
        padding-left: 40px;
        padding-right: 0;
    }
    
    .timeline-date::after {
        left: 16px;
        right: auto;
    }
    
    .timeline-content {
        padding-left: 40px;
    }
}

@media screen and (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.1rem;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .cert-container {
        grid-template-columns: 1fr;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
}