@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@400;500;600&display=swap');

:root {
    --bg-primary: #ffffff;       /* White for a clean background */
    --bg-secondary: #f4f4f9;     /* Light gray for subtle contrast */
    --text-primary: #333333;     /* Dark gray for primary text */
    --text-secondary: #555555;   /* Medium gray for secondary text */
    --accent-primary: #0056b3;   /* Blue for a professional accent */
    --accent-secondary: #7aaedc; /* Lighter blue for secondary accents */
    --card-shadow: #0000001a;    /* Slightly darker shadow for depth */
    --section-gap: 8px;
    --container-padding: 16px;   /* Converted to px for consistency */
    --border-radius: 8px;
    /* Font size system */
    --font-xl: 24px;    /* For main headings */
    --font-lg: 18px;    /* For subheadings */
    --font-md: 16px;    /* For body text */
    --font-sm: 14px;    /* For secondary text */
}

[data-theme="dark"] {
    --bg-primary: #3a3a3a;       /* Softer dark gray for primary background */
    --bg-secondary: #2e2e2e;     /* Slightly lighter gray for secondary background */
    --text-primary: #ffffff;     /* Softer light gray for primary text */
    --text-secondary: #d7dbda;   /* Softer medium gray for secondary text */
    --accent-primary: #1fd1d1;   /* Teal for a professional accent */
    --accent-secondary: #9ffefe; /* Lighter teal for secondary accents */
    --card-shadow: #00000033;    /* Softer shadow for dark mode */
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

.section {
    margin: 8px 0;
    padding: 16px;
    background: var(--bg-primary);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--card-shadow);
    border: 1px solid var(--bg-secondary);
}

.section:first-child {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

h2.section-title {
    font-size: var(--font-xl);
    text-align: center;
    margin: 2rem 0;
    color: var(--accent-primary);
    font-weight: 600;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.2;
    position: relative;
    margin-top: 0;
    padding-top: 8px;
}

.section-title::after {
    display: none;
}

.section-content {
    padding: 2rem var(--container-padding);
    background: var(--bg-primary);
    border-radius: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    :root {
        --section-gap: 0.25rem;
        --container-padding: 0.75rem;
        --font-xl: 20px;
        --font-lg: 16px;
        --font-md: 14px;
        --font-sm: 12px;
    }

    .section {
        padding: 12px;
        margin: 4px 0;
    }

    .section:first-child {
        margin-top: 0;
    }

    .section:last-child {
        margin-bottom: 0;
    }

    h2.section-title {
        font-size: var(--font-xl);
        margin: 1rem 0;
    }

    .section-content {
        padding: 1rem var(--container-padding);
    }
}

.hero.section {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;

    width: 100%;
}

.sub-section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    text-align: left;
    align-self: flex-start;
}

.card-content {
    padding: 24px;
}

.experience-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.experience-item {
    padding: 32px;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid var(--accent-secondary);
}

.experience-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.company-logo-wrapper {
    flex-shrink: 0;
    width: 200px;
    height: 80px;
    padding: 8px;
    background: #ffffff;
    border-radius: var(--border-radius);
}

.company-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: left;
}

.experience-content {
    flex-grow: 1;
}

.top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.role-company {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--text-primary);
}

.meta-info {
    display: flex;
    gap: 1.5rem;
    color: var(--text-secondary);
    font-size: var(--font-sm);
    margin-top: 0.5rem;
}

.meta-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-info i {
    color: var(--accent-primary);
    font-size: 14px;
}

.description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.achievements-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.achievement-section {
    padding: 16px;
    border-radius: 8px;
}

.experience-item:hover {
    box-shadow: 0 4px 12px var(--card-shadow);
}

.achievement-header {
    font-size: 19px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.achievement-points {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.achievement-point {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.6;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.achievement-point strong {
    color: var(--accent-primary);
    font-weight: 600;
}

.achievement-point a {
    color: var(--accent-primary);
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
    text-underline-offset: 2px;
}

.achievement-point a:hover {
    opacity: 0.8;
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* Responsive Design */
@media (max-width: 1024px) {
    .experience-header {
        flex-direction: column;
        text-align: center;
    }

    .company-logo-wrapper {
        width: 150px;
    }

    .top-row {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .meta-info {
        justify-content: center;
    }

    .description {
        text-align: center;
    }

    .achievements-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .meta-info {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .meta-info span {
        justify-content: center;
    }

    .company-logo-wrapper {
        width: 200px;
        height: 80px;
        padding: 15px;
    }
    
    .company-logo img {
        max-height: 30px;
    }

    .achievements-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .achievement-section {
        padding: 12px;
    }
    
    .achievement-header {
        font-size: 14px;
    }

    .experience-item {
        margin-bottom: 8px;
    }
}

.theme-switch-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.theme-switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-secondary);
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: var(--text-primary);
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent-primary);
}

input:checked + .slider:before {
    transform: translateX(20px);
    background-color: var(--bg-primary);
}

[data-theme="dark"] .slider:before {
    background-color: var(--accent-primary);
}

.theme-label {
    margin-left: 8px;
    font-size: 14px;
    color: var(--text-primary);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--section-gap) * 4);
    align-items: center;
    padding-top: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    padding-bottom: 4rem;
}

.hero-text h1 {
    font-size: 48px;
    margin: 0 0 1rem 0;
}

.hero-text h2 {
    font-size: 32px;
    margin: 0 0 0.5rem 0;
    color: var(--text-secondary);
}

.hero-text p {
    font-size: 19px;
    margin: 0 0 1rem 0;
    color: var(--text-secondary);
}

.hero-text p em,
.hero-text p.footnote {
    font-size: 16px;
    font-style: italic;
    color: var(--accent-primary);
    opacity: 0.8;
}

.hero-image {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-primary);
    position: relative;
    justify-self: center;
    margin-right: 64px;
    transition: all 300ms ease;
}

.hero-image:hover {
    transform: scale(1.1);
    border: 2px solid var(--accent-primary);
}

.hero-image img {
    width: 170%;
    height: 170%;
    object-fit: cover;
    object-position: 50% 30%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
}

.hero-cta {
    margin-top: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin-right: 1rem;
}

.btn.primary {
    border: 2px solid var(--accent-primary);
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.btn.secondary {
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 0.8s ease-out;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 200px;
    min-width: 150px;
}

.contact-item i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Format phone number nicely */
.contact-item:first-child a {
    font-family: monospace;  /* Better spacing for numbers */
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .experience-timeline {
        padding-left: 80px;
    }

    .experience-timeline::before {
        left: 40px;
        opacity: 0.1;
    }

    .company-logo {
        width: 70px;
        height: 52.5px;
        left: -85px;
        padding: 8px;
        background: var(--bg-primary);
        z-index: 2;
    }

    .experience-item {
        padding: 12px;
    }

    .experience-item:hover {
        transform: translateX(5px);
    }

    .hero-image {
        margin-right: 0;
    }
}

.about-content {
    margin-bottom: 1rem;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--section-gap) * 4);
    margin-bottom: calc(var(--section-gap) * 4);
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    height: auto;
    min-height: 180px;
    margin-bottom: 1rem;
    overflow: visible;
    box-sizing: border-box;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 29px;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    width: 100%;
}

.stat-label {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.8;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    padding-bottom: 1rem;
}

@media screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-text h2 {
        font-size: 29px;
    }
}

@media screen and (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .hero-content {
        gap: calc(var(--section-gap) * 4);
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .hero-text {
        padding-left: 2rem;
    }

    .hero-image {
        margin-right: 2rem;
    }

    .stats {
        gap: calc(var(--section-gap) * 3);
    }

    .stat-number {
        font-size: 26px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: calc(var(--section-gap) * 8);
        padding: 2rem 1rem;
    }

    .hero-text {
        padding-left: 1rem;
        padding-right: 1rem;
        order: 2;
    }

    .hero-image {
        margin: 0 auto;
        order: 1;
    }

    .stats {
        grid-template-columns: 1fr;

        gap: calc(var(--section-gap) * 6);
    }

    .stat-item {
        text-align: left;
    }

    .section {
        padding: 12px;
    }

    .experience-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

    .company-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }

    .experience-details {
        width: 100%;
    }

    .section-title {
        font-size: 32px;
    }

    .experience-timeline {
        padding-left: 80px;
    }

    .experience-timeline::before {
        left: 40px;
    }

    .company-logo {
        width: 70px;
        height: 52.5px;
        left: -85px;
        padding: 8px;
    }

    .experience-item::before {
        left: -38px;
    }

    .experience-item {
        padding: 12px;
    }

    .experience-item:hover {
        transform: translateX(5px);
    }

    .experience-details {
        padding: 0.8rem;
    }

    .role-company {
        font-size: 18px;
    }

    .description {
        font-size: 14px;
    }

    .achievement-points li {
        font-size: 14px;
        margin-bottom: 0.5rem;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text h2 {
        font-size: 24px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-image {
        width: 180px;
        height: 180px;
    }

    .btn {
        display: block;
        margin: 1rem auto;
        width: 80%;
        text-align: center;
    }

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

@media screen and (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-content {
        max-width: 1320px;
    }
}

@media screen and (max-width: 360px) {
    .hero-image {
        width: 150px;
        height: 150px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }
}


.philosophy-content {
    display: flex;
    flex-direction: column;
    gap: calc(var(--section-gap) * 2);
    padding: 0;
}

.philosophy-item {
    position: relative;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.philosophy-item::before {
    content: "⦿";
    color: var(--accent-primary);
    position: absolute;
    left: 0;
    font-size: 1.1rem;
    padding: 0;
}

.philosophy-item h3 {
    color: var(--accent-primary);
    margin: 0 0 4px 20px;

    font-size: 1.1rem;
}

.philosophy-item p {
    display: block;
    font-weight: normal;
    line-height: 1.5;
    color: var(--text-primary);
    margin: 0 0 0 20px;
    padding: 0;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--section-gap) * 4);
    align-items: stretch;
}

.edu-card {
    background: var(--bg-secondary);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    min-height: 100px;
}

.edu-logo-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 16px;
    border-radius: 8px;
}

.edu-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.edu-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: calc(var(--section-gap) * 0.5);
}

.edu-degree {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
}

.edu-branch {
    color: var(--accent-primary);
    font-size: var(--font-md);
    line-height: 1.2;
    margin: 0;
}

.edu-school {
    color: var(--text-secondary);
    font-size: var(--font-sm);
    line-height: 1.2;
    margin: 0;
}

.edu-meta {
    margin-left: auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: var(--section-gap);
}

.edu-year, .edu-grade {
    display: block;
    color: var(--text-secondary);
    font-size: var(--font-sm);
    line-height: 1.2;
}

.edu-meta i {
    color: var(--accent-primary);
    margin-right: 0.5rem;
    font-size: 14px;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .edu-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 12px;
        gap: calc(var(--section-gap) * 5);
    }

    .edu-logo-wrapper {
        width: 80px;
        height: 80px;
    }

    .edu-details {
        align-items: center;
        text-align: center;
    }

    .edu-degree {
        text-align: center;
    }

    .edu-branch {
        text-align: center;
    }

    .edu-school {
        text-align: center;
    }

    .edu-meta {
        margin-left: 0;
        text-align: center;
        align-items: center;
        width: 100%;
    }

    .edu-year, .edu-grade {
        justify-content: center;
    }

    .edu-meta span {
        justify-content: center;
    }
}

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

.cert-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
}

.cert-badge {
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

@media screen and (max-width: 992px) {
    .education-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .education-grid {
        grid-template-columns: 1fr;
        max-width: 400px;

    }

    .education-card .card-header {
        padding: 1.25rem;
        height: 80px;
    }

    .education-card .institution-logo {
        max-height: 50px;
    }
}

.education-card:has(.bachelor) {
    border: 1px solid var(--accent-primary);
}

.card-body.bachelor {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.education-card {
    height: 100%;
    background: var(--bg-primary);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.education-card:has(.bachelor) {
    border: 1px solid var(--accent-primary);
}

.education-card:not(:has(.bachelor)) {
    border: 1px solid var(--bg-secondary);
}

.card-body {
    flex: 1;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
}

.card-body.bachelor {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.company-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 8px;
}

.meta-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.role-company {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--accent-primary);
    transition: color 0.3s ease;
    font-size: var(--font-lg);
    font-weight: 600;
}


.meta-right {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: var(--font-sm);
}

.meta-right i {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.achievement-category {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.achievement-category h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.achievement-list {
    list-style: none;
    padding: 0;
}

.achievement-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.achievement-list li:before {
    content: "•";
    color: var(--accent-primary);
    position: absolute;
    left: 0;
}

.category-footer {
    color: var(--accent-primary);
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 1rem;
}

.section-title {
    text-align: left;
    color: var(--text-primary);
    font-weight: 600;
}

.section-footer {
    text-align: left;
    width: 100%;
}

.key-achievements {
    margin-top: 1rem;
    display: grid;
    gap: 0.75rem;
}

.achievement-section {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.75rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.achievement-points {
    margin: 0.5rem 0;
}

.achievement-point {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    line-height: 1.4;
    font-size: var(--font-md);
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.achievement-point::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.7;
}

.section-footer {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.8rem;
    opacity: 0.8;
}

@media screen and (max-width: 768px) {
    .achievement-point {
        text-align: left;
        hyphens: none;
    }
}

@media screen and (max-width: 480px) {

    .section-title,
    .section-title h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .experience-timeline {
        padding-left: 60px;
    }

    .company-logo {
        width: 50px;
        height: 37.5px;
        left: -65px;
        padding: 6px;
    }

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

    .experience-item::before {
        left: -28px;
    }

    .experience-details {
        padding: 0.6rem;
    }

    .role-company {
        font-size: 1rem;
    }

    .date-location {
        font-size: 0.8rem;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }

    .meta-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.experience-timeline,
.company-logo,
.experience-details,
.experience-item {
    transition: all 0.3s ease;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.skill-category {
    border-radius: var(--border-radius);
}

.category-title {
    color: var(--text-primary);
    font-size: var(--font-lg);
    margin-bottom: 16px;
    font-weight: 600;
}

.skill-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    font-size: var(--font-sm);
    color: var(--text-primary);
    transition: transform 0.2s ease;
}

.skill-tag i {
    color: var(--accent-primary);
    font-size: var(--font-md);
}

.skill-tag:hover {
    transform: translateY(-2px);
}

/* Responsive design */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .skill-category {
        padding: 16px;
    }

    .skill-tag {
        padding: 6px 12px;
    }
}

.card-details {
    margin-top: 1rem;
}

/* Education Section Specific CSS */
.edu-section {
    padding: 2rem 0;
}

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

.edu-title {
    text-align: center;
    color: var(--accent-primary);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.edu-card {
    background: var(--bg-secondary);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--card-shadow);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    gap: calc(var(--section-gap) * 5);
    min-height: 100px;
}

.edu-logo-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 16px;
    border-radius: 8px;
}

.edu-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.edu-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: calc(var(--section-gap) * 0.5);
}

.edu-degree {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
}

.edu-branch {
    color: var(--accent-primary);
    font-size: var(--font-md);
    line-height: 1.2;
    margin: 0;
}

.edu-school {
    color: var(--text-secondary);
    font-size: var(--font-sm);
    line-height: 1.2;
    margin: 0;
}

.edu-meta {
    margin-left: auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: var(--section-gap);
}

.edu-year, .edu-grade {
    display: block;
    color: var(--text-secondary);
    font-size: var(--font-sm);
    line-height: 1.2;
}

.edu-meta i {
    color: var(--accent-primary);
    margin-right: 0.5rem;
    font-size: 14px;
}

/* Education Section Media Queries */
@media screen and (max-width: 768px) {
    .edu-container {
        padding: 0 1rem;
    }

    .edu-card {
        padding: var(--container-padding);
        gap: calc(var(--section-gap) * 5);
    }

    .edu-logo-wrapper {
        width: 80px;
        height: 80px;
    }
}

@media screen and (max-width: 480px) {
    .edu-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Certification Section Styles */
.cert-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.cert-title {
    text-align: center;
    color: var(--accent-primary);
    font-size: 2rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.cert-cards {
    display: flex;
    flex-direction: column;
    gap: calc(var(--section-gap) * 3);
    width: 100%; /* Full width of container */
}

.cert-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px var(--card-shadow);
    padding: var(--container-padding) calc(var(--container-padding) * 1.5);
    width: 100%;
}

.cert-card:hover {
    transform: none;  /* Remove the jumping effect */
    box-shadow: 0 4px 12px var(--card-shadow);  /* Subtle shadow increase */
    transition: box-shadow 0.3s ease;
}

.cert-header {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.cert-logo-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: #ffffff;
    padding: 16px;
    border-radius: var(--border-radius);
}

.cert-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cert-info {
    flex: 1;
}

.cert-link {
    margin-left: auto; /* Push to right end */
    padding: 6px 12px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.cert-link a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-primary);
    text-decoration: none;
    font-size: var(--font-sm);
    font-weight: 500;
}

.cert-link i {
    font-size: 16px;
}

.cert-link:hover {
    background-color: var(--bg-secondary);
}

.cert-name {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.cert-issuer {
    font-size: var(--font-sm);
    color: var(--accent-primary);
    margin: 0;
}

.cert-date {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.projects-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px;
    margin-top: 8px;
}

.project-item {
    padding: 12px 16px;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.project-item:not(:last-child) {
    border-bottom: 1px solid var(--bg-secondary);
    padding-bottom: 16px;
}

.project-item:hover {
    background-color: var(--bg-secondary);
    box-shadow: 0 2px 8px var(--card-shadow);
}

.project-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-md);
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--bg-secondary);
}

.project-title i {
    color: var(--accent-primary);
    font-size: var(--font-md);
}

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

.project-title a:hover {
    color: var(--accent-primary);
}

.project-points {
    padding-left: 1.5rem;
}

.project-points li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.highlight {
    color: var(--accent-primary);
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .cert-card {
        padding: var(--container-padding);
    }
    
    .cert-logo-wrapper {
        width: 80px;
        height: 80px;
    }

    .projects-container {
        grid-template-columns: 1fr;
    }

    .project-title {
        font-size: var(--font-sm);
        padding-bottom: 6px;
        margin-bottom: 8px;
    }
    
    .project-title i {
        font-size: var(--font-sm);
    }
}

.nextleap-logo-wrapper {
    background: none; /* No background */
    padding: 0;       /* No padding */
    width: 70px;      /* Consistent width */
    height: 70px;     /* Consistent height */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    overflow: hidden;   /* Hide overflow to show rounded corners */
}

.nextleap-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover; /* Ensure the image covers the area */
}

/* Add these styles at the end of your CSS file */
footer .container {
    text-align: center;
    padding: 1rem 0;
}

footer .container p {
    color: var(--text-secondary);
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

.project-title a {
    color: var(--accent-primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

/* Smooth transition for all hover effects */
.cert-card, .project-item {
    transition: all 0.3s ease;
}

