:root {
    --primary-color: #2c3e50;  /* Dark blue */
    --secondary-color: #3498db;  /* Bright blue */
    --accent-color: #e74c3c;  /* Red accent */
    --text-color: #333;
    --background-color: #f5f5f5;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-link {
    color: white !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.nav-link.active {
    background-color: var(--secondary-color);
    color: white !important;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse {
    background-color: var(--primary-color);
    padding: 1rem;
    border-radius: 0 0 10px 10px;
}

/* Header */
header {
    text-align: center;
    padding: 4rem 0;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.9)), url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
}

header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.2;
}

header .welcome-text {
    max-width: 800px;
    margin: 0 auto 2rem;
    color: white;
    text-align: center;
}

header .welcome-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    line-height: 1.4;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    padding: 0 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    justify-content: center;
}

.social-link i {
    font-size: 1.2rem;
    color: white;
}

.social-link.linkedin {
    background-color: #0077b5;
}

.social-link.linkedin:hover {
    background-color: #005582;
}

.social-link.github {
    background-color: #333;
}

.social-link.github:hover {
    background-color: #24292e;
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 1rem auto;
}

/* About Section */
.about-section {
    background-color: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--secondary-color);
}

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

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.about-content li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Quick Links */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.quick-link-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.quick-link-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.quick-link-card span {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--secondary-color);
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.skill-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.skill-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    border: 1px solid var(--secondary-color);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.project-description {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

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

.project-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Certifications Section */
.certifications-section {
    padding: 100px 0;
    background-color: var(--background-color);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.certification-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    border: 1px solid var(--secondary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.certification-card:hover {
    transform: translateY(-5px);
}

.certification-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.certification-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.certification-issuer {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.certification-date {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.certification-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.certification-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.certification-link:hover {
    color: var(--secondary-color);
}

/* Education Section */
.education-section {
    padding: 100px 0;
    background-color: var(--background-color);
}

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

.education-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--secondary-color);
}

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

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-content {
    position: relative;
    width: calc(50% - 30px);
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--secondary-color);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.education-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.education-institution {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.education-date {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.education-description {
    color: var(--text-color);
    line-height: 1.6;
}

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

.contact-info {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--secondary-color);
    height: 100%;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-color);
    margin-bottom: 2rem;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--secondary-color);
    height: 100%;
}

.form-label {
    color: var(--primary-color);
    font-weight: 500;
}

.form-control {
    border: 1px solid var(--secondary-color);
    padding: 0.8rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.8rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.social-link.linkedin {
    border: 1px solid #0077B5;
}

.social-link.email {
    border: 1px solid #EA4335;
}

/* Media Queries */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    header {
        min-height: 350px;
        padding: 3rem 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .welcome-text h2 {
        font-size: 1.8rem;
    }

    .welcome-text p {
        font-size: 1rem;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        width: 100%;
        max-width: 220px;
    }

    .about-section {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skill-card {
        padding: 1.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        margin-bottom: 1.5rem;
    }

    .project-image {
        height: 180px;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .certification-card {
        padding: 1.5rem;
    }

    .certification-icon {
        font-size: 2rem;
    }

    .education-timeline::before {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .contact-info,
    .contact-form {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    header {
        min-height: 300px;
        padding: 2rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .welcome-text h2 {
        font-size: 1.5rem;
    }

    .welcome-text p {
        font-size: 0.95rem;
    }

    .social-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
} 