/* -------------------------------------------------- */
/* Homepage Hero Section Styles                       */
/* -------------------------------------------------- */

.hero-section {
    align-items: flex-start; /* Align text to the start */
    justify-content: center; /* Center content horizontally */
    padding-top: 80px; /* Add some top padding */
    padding-bottom: 80px; /* Add some bottom padding */
}

.hero-text {
    max-width: 600px; /* Limit text width for better readability */
    margin-right: 40px; /* Space between text and image */
}

.hero-text h2 {
    color: #777;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.hero-text h1 {
    font-size: 3em;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.highlight {
    color: #007bff; /* Example highlight color */
}

.hero-intro {
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-actions a {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-right: 15px;
    margin-bottom: 10px; /* Add some margin for stacked buttons on smaller screens */
}

.primary-button {
    background-color: #007bff;
    color: #fff;
    border: 1px solid #007bff;
}

.primary-button:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.secondary-button {
    background-color: transparent;
    color: #333;
    border: 1px solid #333;
}

.secondary-button:hover {
    background-color: #f0f0f0;
}

.tech-badges {
    margin-top: 20px;
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    background-color: #f0f0f0;
    color: #333;
    padding: 8px 12px;
    border-radius: 3px;
    margin-right: 8px;
    font-size: 0.9em;
}

.hero-image {
    max-width: 400px; /* Adjust image size */
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px; /* Optional: add some rounded corners */
}

.portfolio-info {
    font-size: 0.8em;
    color: #777;
    margin-top: 30px;
}

.portfolio-info a {
    color: #007bff;
    text-decoration: none;
}

.portfolio-info a:hover {
    text-decoration: underline;
}

/* Ensure your main-content style in style.css is something like this: */
.main-content {
    padding: 50px;
    flex-grow: 1;
    display: flex;
    align-items: center; /* Adjust as needed for overall layout */
    justify-content: space-between; /* Adjust as needed for overall layout */
}

/* -------------------------------------------------- */
/* Responsive adjustments (already in your style.css) */
/* -------------------------------------------------- */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        padding: 20px;
        text-align: center;
    }
    .profile {
        margin-bottom: 20px;
    }
    .navigation ul {
        display: flex;
        justify-content: space-around;
    }
    .navigation ul li {
        margin-bottom: 0;
    }
    .main-content {
        padding: 30px;
        flex-direction: column; /* Stack on smaller screens */
        align-items: center;
        text-align: center;
    }
    .hero-section {
        align-items: center;
    }
    .hero-text {
        margin-right: 0;
        margin-bottom: 30px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-actions a {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .hero-image {
        max-width: 80%;
    }
}



body {
    font-family: sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: #fff;
    display: flex;
    width: 100%; /* Adjust as needed */
    max-width: 1300px; /* Adjust as needed */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.sidebar {
    background-color: #f9f9f9;
    color: #333;
    padding: 30px;
    width: 250px; /* Adjust as needed */
}

.profile {
    text-align: center;
    margin-bottom: 40px;
}

.profile-image {
    width: 100px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name {
    font-size: 24px;
    margin-bottom: 5px;
}

.location {
    font-size: 14px;
    color: #777;
}

.navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.navigation ul li {
    margin-bottom: 15px;
}

.navigation ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.navigation ul li a:hover {
    color: #007bff; /* Example hover color */
}

.main-content {
    padding: 50px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fade-title {
    color:#999999;
    font-size: 12px;
    margin-top: 50px;
    margin-left: 30px;
}

.bold-heading {
    font-size: 18px;
    color:black;
    margin-left: 30px;
    margin-bottom: 72px;
}



.hero {
    max-width: 100%; /* Adjust as needed */
}

.hero-title {
    font-size: 60px;
    margin-bottom: 10px;
    color: #333;
}

.hero-subtitle {
    font-size: 60px;
    margin-bottom: 10px;
    color: #000; /* Adjust as needed */
    font-weight: bold;
}

.hero-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-description a {
    color: #007bff;
    text-decoration: none;
}

.hero-button {
    display: inline-block;
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-button:hover {
    background-color: #000;
    color: #fff;
}

.hero-button .arrow {
    display: inline-block;
    margin-left: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(-45deg);
    transition: border-color 0.3s ease;
}

.hero-button:hover .arrow {
    border-color: #fff;
}

.hero-image {
    max-width: 100%; /* Adjust as needed */
}

.hero-image img {
    width: 400px;
    height: auto;
    display: block;
    margin-left: 30px;
}

/* Specific styles for the contact page */
.contact-container {
    max-width: 1300px; /* Adjust as needed */
}

.contact-content {
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-form {
    flex-basis: 60%;
}

.contact-form h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.contact-form p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    background-color: #007bff;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #0056b3;
}

.contact-info {
    flex-basis: 35%;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.contact-info p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.contact-info p a {
    color: #007bff;
    text-decoration: none;
}

.contact-info p a:hover {
    text-decoration: underline;
}

.social-links a {
    display: inline-block;
    margin-right: 10px;
    color: #007bff;
    text-decoration: none;
    font-size: 18px;
}

.social-links a:hover {
    text-decoration: underline;
}

.social-links a {
    margin-right: 10px;
    font-size: 14px;
}

.social-icon {
    width: 18px;
    height: 18px;
}


/* Specific styles for the about page */
.about-container {
    max-width: 1300px; /* Adjust as needed */
}

.about-content {
    padding: 50px;
    display: flex;
    flex-direction: column; /* Stack sections vertically */
    align-items: flex-start;
}

.about-hero {
    width: 100%;
    margin-bottom: 50px;
    position: relative; /* For positioning the image */
}

.profile-large-image {
    width: 200px; /* Adjust size as needed */
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-top: 20px;
    margin-left: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-large-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-details {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}

.about-text {
    flex-basis: 60%;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.about-text p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.personal-info {
    flex-basis: 40%;
}

.personal-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.personal-info ul {
    list-style: none;
    padding: 0;
}

.personal-info li {
    margin-bottom: 10px;
    color: #555;
}

.personal-info li span {
    font-weight: bold;
    color: #333;
    margin-right: 10px;
}

.personal-info li a {
    color: #007bff;
    text-decoration: none;
}

.personal-info li a:hover {
    text-decoration: underline;
}




/* Specific styles for the skills page */
.skills-container {
    max-width: 1300px; /* Adjust as needed */
}

.skills-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.skills-hero {
    width: 100%;
    margin-bottom: 40px;
}

.skills-intro {
    color: #555;
    line-height: 1.6;
    margin-top: 10px;
    margin-bottom: 20px;
}

.skills-list-section {
    width: 100%;
}

.skill-category {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    gap: 40px;
    flex-wrap: wrap; /* Allow skills to wrap on smaller screens */
}

.skill-category li {
    flex-basis: calc(50% - 20px); /* Two skills per row on larger screens */
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.skill-icon {
    width: 30px; /* Adjust icon size */
    height: 30px;
    margin-right: 10px;
    object-fit: contain; /* Prevent distortion of logos */
}

.skill-name {
    font-weight: bold;
    color: #333;
    font-size: 1.1em;
}

.skill-bar-container {
    background-color: #f0f0f0;
    border-radius: 5px;
    height: 10px; /* Adjust bar height */
    overflow: hidden;
    position: relative;
}

.skill-bar {
    background-color: #007bff; /* Default bar color */
    height: 100%;
    border-radius: 5px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 10px;
}

.skill-percentage {
    color: #fff;
    font-size: 0.8em;
    font-weight: bold;
}


/* Specific styles for the education page */
.education-container {
    max-width: 1300px; /* Adjust as needed */
}

.education-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.education-history {
    width: 100%;
}

.education-entry {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.education-entry:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.education-entry h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
}

.education-entry .degree,
.education-entry .program {
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}

.education-entry .details {
    color: #777;
    line-height: 1.6;
    margin-bottom: 8px;
}

.education-entry .duration {
    font-style: italic;
    color: #999;
    font-size: 0.9em;
}

.sub-education {
    margin-top: 15px;
    padding-left: 20px;
}

.sub-education h4 {
    font-size: 18px;
    color: #444;
    margin-bottom: 5px;
}

/* Specific styles for the courses v3 page (replicated style) */
.courses-v3-container {
    max-width: 1200px; /* Adjust as needed */
}

.courses-v3-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.courses-v3-hero {
    width: 100%;
    margin-bottom: 20px;
}

.courses-v3-intro {
    color: #555;
    line-height: 1.6;
    margin-top: 10px;
    margin-bottom: 20px;
}

.courses-v3-list-section {
    width: 100%;
}

.courses-v3-table-container {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.courses-v3-table {
    width: 100%;
    border-collapse: collapse;
}

.courses-v3-table thead {
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
}

.courses-v3-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #333;
    white-space: nowrap; /* Prevent text wrapping in headers */
}

.courses-v3-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.courses-v3-table tbody tr:last-child td {
    border-bottom: none;
}

/* Column specific widths (adjust as needed to match the image) */
.course-name-col {
    width: 40%; /* Example width */
}

.status-col {
    width: 15%; /* Example width */
}

.completion-date-col {
    width: 25%; /* Example width */
}

.grade-col {
    width: 10%; /* Example width */
    font-weight: bold;
    color: #444;
}

.status {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    white-space: nowrap;
}

.status.completed {
    background-color: #e0f7fa;
    color: #00acc1;
    border: 1px solid #b2ebf2;
}

.status.pending {
    background-color: #ffebee;
    color: #e53935;
    border: 1px solid #ef9a9a;
}

.status.draft {
    background-color: #ffe0b2;
    color: #f57c00;
    border: 1px solid #ffcc80;
}

/* Visual cues from the image (adjust colors as needed) */
.status.completed::before {
    content: "\2713"; /* Checkmark */
    margin-right: 6px;
    color: #00acc1;
}

.status.draft::before {
    content: "\f044"; /* Pencil icon (Font Awesome - you might need to include Font Awesome) */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 6px;
    color: #f57c00;
}

/* Specific styles for the blog page */
.blog-container {
    max-width: 1100px; /* Adjust as needed */
}

.blog-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the blog posts */
}

.blog-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-header h1 {
    margin-top: 10px;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 30px;
    width: 100%;
}

.blog-post {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.post-image {
    display: block;
    width: 100%;
    height: auto;
}

.post-image img {
    display: block;
    width: 100%;
    height: auto;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.post-meta {
    padding: 15px;
    color: #777;
    font-size: 0.9em;
}

.post-meta span {
    margin-right: 10px;
}

.post-meta a {
    color: #777;
    text-decoration: none;
}

.post-title {
    padding: 0 15px;
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #333;
}

.post-title a {
    color: #333;
    text-decoration: none;
}

.post-excerpt {
    padding: 0 15px 20px;
    color: #555;
    line-height: 1.6;
}

.load-more-container {
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.load-more-button {
    background-color: #007bff; /* Example button color */
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.load-more-button:hover {
    background-color: #0056b3;
}

/* ... other blog.css styles ... */

.post-image {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden; /* Clip the zoomed image within the container */
}

.post-image img {
    display: block;
    width: 100%;
    height: auto;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    transition: transform 0.3s ease-in-out; /* Add a smooth transition */
}

.post-image:hover img {
    transform: scale(1.1); /*  (adjust scale as needed) */
}

/* Specific styles for the resources page */
.resources-container {
    max-width: 1300px; /* Adjust as needed */
}

.resources-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.resources-hero {
    width: 100%;
    margin-bottom: 30px;
}

.resources-intro {
    color: #555;
    line-height: 1.6;
    margin-top: 10px;
    margin-bottom: 30px;
}

.resources-section {
    width: 100%;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.resources-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.resources-section h2 {
    font-size: 26px;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

.resource-placeholder {
    background-color: #f9f9f9;
    border: 1px dashed #ccc;
    padding: 30px;
    text-align: center;
    margin-top: 15px;
    border-radius: 5px;
    color: #aaa;
    font-style: italic;
}

.resource-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 10px;
    color: #555;
    line-height: 1.6;
}

.resource-list li {
    margin-bottom: 8px;
}

.resource-list li a {
    color: #007bff;
    text-decoration: none;
}

.resource-list li a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .resources-content {
        padding: 20px;
        align-items: stretch;
    }

    .resources-section h2 {
        font-size: 22px;
    }

    .resource-placeholder {
        padding: 20px;
    }
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-content {
        padding: 20px;
        align-items: stretch; /* Stretch blog posts on smaller screens */
    }

    .blog-posts {
        grid-template-columns: 1fr; /* Single column on smaller screens */
        gap: 20px;
    }

    .post-title {
        font-size: 1.3em;
    }

    .load-more-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

