/* General Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

ul {
    list-style: none;
}

/* Header and Navigation */
.main-header {
    background: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: #2c3e50;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    font-weight: 600;
    color: #2c3e50;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
}

.nav-links a:hover {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

/* Hero Section (Profile) */
.hero {
    background-color: #e9eff5;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.profile-photo-container {
    min-width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-text h2 {
    font-size: 2.5em;
    color: #007bff;
    margin-bottom: 5px;
}

.profile-text .tagline {
    font-size: 1.2em;
    font-weight: 400;
    color: #555;
    margin-bottom: 20px;
}

.profile-text p {
    margin-bottom: 15px;
}

.certs span {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 0.9em;
}

.btn {
    display: inline-block;
    background-color: #2c3e50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #007bff;
}

/* General Section Styling */
.section {
    padding: 60px 0;
}

.section h2 {
    text-align: center;
    font-size: 2.2em;
    color: #2c3e50;
    margin-bottom: 40px;
    border-bottom: 3px solid #007bff;
    display: inline-block;
    padding-bottom: 10px;
    margin-left: 50%;
    transform: translateX(-50%);
}

.section h2 i {
    margin-right: 10px;
    color: #007bff;
}

/* Work Experience */
.job-entry {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border-left: 5px solid #007bff;
}

.job-entry h3 {
    font-size: 1.5em;
    color: #2c3e50;
}

.job-entry h4 {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 5px;
}

.job-entry .duration {
    font-style: italic;
    color: #888;
    margin-bottom: 15px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 10px;
}

.job-entry ul {
    list-style: disc;
    padding-left: 20px;
}

.job-entry li {
    margin-bottom: 8px;
}

/* Skills Section */
.technical-skills {
    background-color: #f0f3f5;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.skill-category {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #007bff;
}

.skill-category h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.skill-category p {
    color: #555;
    font-weight: 300;
}

/* Education Section */
.education {
    padding-bottom: 80px;
}

.edu-grid {
    display: flex;
    gap: 30px;
}

.edu-entry {
    flex: 1;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-right: 5px solid #007bff;
}

.edu-entry h3 {
    color: #2c3e50;
    font-size: 1.4em;
}

.edu-entry p {
    margin-bottom: 5px;
}

.edu-entry ul {
    list-style: square;
    padding-left: 20px;
    margin-top: 10px;
}

/* Footer & Contact */
.main-footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.main-footer h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.contact-info p {
    margin: 5px 0;
    color: #ccc;
}

.contact-info a {
    color: #fff;
}

.contact-info a:hover {
    color: #007bff;
}

.contact-info i {
    margin-right: 10px;
    color: #007bff;
}

.copyright {
    margin-top: 30px;
    font-size: 0.9em;
    color: #7f8c8d;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .profile-photo-container {
        margin-bottom: 20px;
    }

    .edu-grid {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
    }

    .nav-links {
        margin-top: 15px;
    }

    .nav-links li {
        margin: 0 10px;
    }

    .hero {
        padding: 50px 0;
    }

    .profile-text h2 {
        font-size: 2em;
    }

    .section {
        padding: 40px 0;
    }

    .section h2 {
        font-size: 1.8em;
    }
}