﻿/* Base font size */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* Background image on all pages */
body {
    margin-bottom: 60px;
    background-color: #F8F5F2; /* Soft nude background */
    color: #333; /* Darker text for readability */
    font-family: 'Inter', sans-serif;
}

/* Links */
a {
    color: #8B4513; /* SaddleBrown for links, a warm nude tone */
    text-decoration: none;
}

    a:hover {
        color: #A0522D; /* Sienna for hover, slightly darker nude */
        text-decoration: underline;
    }

/* Footer styling */
footer {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    text-align: center;
    font-size: 0.875rem;
    color: #333;
}

/* Navigation bar */
.navbar {
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white nav */
    padding: 1rem 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #333; /* Dark text for nav links */
    margin-right: 1.5rem;
    position: relative;
    transition: color 0.3s ease;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: #8B4513; /* Nude color on hover/active */
    }

/* General section title for all pages */
.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

    .section-title::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background-color: #D2B48C; /* Tan, a soft nude */
        border-radius: 2px;
    }

/* Home Page Specifics (Profile Section) */
.profile-section {
    padding: 8rem 0 5rem; /* Increased top padding for fixed navbar */
    background-color: #FDFBF8; /* Lighter nude/off-white for contrast */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
}

.profile-picture-container {
    border-radius: 50%;
    overflow: hidden;
    width: 280px;
    height: 280px;
    margin: 0 auto;
    border: 6px solid #FFF; /* Pure white border */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    padding-left: 2rem;
}

.profile-name {
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 0.8rem;
}

.profile-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #8B4513; /* SaddleBrown */
    margin-bottom: 1.8rem;
}

.profile-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.social-links-container {
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .social-links-container {
        justify-content: flex-start;
    }
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #FFF; /* White background for icons */
    border-radius: 50%;
    color: #8B4513; /* SaddleBrown icon color */
    font-size: 1.4rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .social-link:hover {
        background-color: #D2B48C; /* Tan on hover */
        color: #FFF; /* White icon on hover */
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }

/* About Section (New Design) */
.about-section-new {
    padding: 8rem 0 5rem;
    background-color: #FDFBF8;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
}

.about-image-container {
    width: 350px; /* Adjust size as needed */
    height: 350px;
    margin: 0 auto;
    border: 8px solid #FFF;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

    .about-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.about-text-content {
    padding: 2rem;
    background-color: #FFF; /* White background for text content */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-header-new {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

    .about-header-new::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 60px;
        height: 3px;
        background-color: #D2B48C;
        border-radius: 2px;
    }

.about-text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

/* Projects Section */
.projects-section {
    padding: 8rem 0 5rem;
    background-color: #FDFBF8;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
}

.project-card-new {
    background-color: #FFF; /* White card background */
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards have equal height */
    display: flex;
    flex-direction: column;
}

    .project-card-new:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }

.project-image-wrapper {
    width: 100%;
    height: 200px; /* Fixed height for project images */
    overflow: hidden;
    background-color: #EAE0D5; /* Nude placeholder background */
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image-new {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card-new:hover .project-image-new {
    transform: scale(1.05);
}

.project-card-body {
    padding: 1.5rem;
    flex-grow: 1; /* Allows content to expand */
    display: flex;
    flex-direction: column;
}

.project-title-new {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.8rem;
}

.project-description-new {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
    flex-grow: 1; /* Allows description to take available space */
}

.tech-badges-new {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badge-new {
    background-color: #D2B48C; /* Tan for tech badges */
    color: #FFF; /* White text for badges */
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-links-new {
    margin-top: auto; /* Pushes links to the bottom */
    display: flex;
    gap: 1rem;
}

.project-link-btn {
    background-color: #8B4513; /* SaddleBrown for buttons */
    color: #FFF;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .project-link-btn:hover {
        background-color: #A0522D; /* Sienna on hover */
        transform: translateY(-2px);
    }

/* Resume Section - Fixed for all screen sizes */
.resume-section {
    padding: 8rem 0 5rem;
    background-color: #FDFBF8;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
}

.resume-content-card {
    background-color: #FFF;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 3rem;
    max-width: 900px; /* Constrain maximum width */
    margin: 0 auto; /* Center the card */
}

/* Force mobile-like styling on all screen sizes */
.resume-section .resume-subsection,
.resume-section .job-entry,
.resume-section .education-list,
.resume-section .job-description-list {
    text-align: center;
}

.resume-section .subsection-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #8B4513;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}

    .resume-section .subsection-title::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background-color: #D2B48C;
        border-radius: 2px;
    }

/* Skills section styling (Now horizontal on desktop) */
.technical-sub-columns-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.tech-column {
    flex: 1;
    min-width: 280px; /* Ensure columns don't get too narrow */
    margin-bottom: 1.5rem;
}

/* Lists styling - Removed default bullets and kept custom ones */
.education-list,
.job-description-list,
.project-description-list,
.interests-list,
.personal-details-list {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

    .education-list li,
    .job-description-list li,
    .project-description-list li,
    .interests-list li,
    .personal-details-list li {
        font-size: 1rem;
        color: #555;
        margin-bottom: 0.5rem;
        line-height: 1.6;
        position: relative;
        padding-left: 1.2rem;
        text-align: left;
    }

        /* Tan bullets */
        .education-list li::before,
        .job-description-list li::before,
        .project-description-list li::before,
        .interests-list li::before {
            content: '•';
            color: #D2B48C; /* Tan bullet */
            font-weight: bold;
            display: inline-block;
            width: 1em;
            margin-left: -1em;
        }


.skill-category-card-new {
    background-color: #FDFBF8; /* Lighter nude background for skill cards */
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    height: 100%; /* Ensure equal height */
    margin-bottom: 1.5rem; /* Space between cards on smaller screens */
}

    .skill-category-card-new h4 {
        font-size: 1.6rem;
        font-weight: 600;
        color: #8B4513; /* SaddleBrown heading */
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .skill-category-card-new h4 i {
            margin-right: 0.8rem;
            font-size: 1.8rem;
            color: #D2B48C; /* Tan icon */
        }

.tech-column h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.8rem;
    border-bottom: 1px dashed #EAE0D5; /* Light nude dashed line */
    padding-bottom: 0.5rem;
    text-align: center;
}

.skills-list-new {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .skills-list-new li {
        font-size: 1rem;
        color: #555;
        margin-bottom: 0.5rem;
        position: relative;
        padding-left: 1.2rem;
        text-align: left; /* Aligned left for skills list */
    }

        .skills-list-new li::before {
            content: '•'; /* Bullet point */
            color: #D2B48C; /* Tan bullet */
            font-weight: bold;
            display: inline-block;
            width: 1em;
            margin-left: -1em;
        }

.cv-download-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #EAE0D5; /* Light nude border */
}

.download-prompt {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.btn-success-custom {
    background-color: #8B4513; /* SaddleBrown for download button */
    border-color: #8B4513;
    color: #FFF;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

    .btn-success-custom:hover {
        background-color: #A0522D; /* Sienna on hover */
        border-color: #A0522D;
        transform: translateY(-3px);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .btn-success-custom i {
        margin-right: 0.8rem;
    }

.download-note {
    font-size: 0.9rem;
    color: #777;
    margin-top: 0.8rem;
}

/* Resume Subsections */
.resume-subsection {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #EAE0D5; /* Light nude separator */
}

    .resume-subsection:last-child {
        border-bottom: none; /* No border for the last section */
        margin-bottom: 0;
        padding-bottom: 0;
    }

.subsection-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #8B4513; /* SaddleBrown heading */
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .subsection-title i {
        margin-right: 0.8rem;
        font-size: 2rem;
        color: #D2B48C; /* Tan icon */
    }

/* Objective Text */
.objective-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    text-align: center;
}

/* Job Entry Specifics */
.job-entry {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #EAE0D5; /* Light dashed separator for jobs */
}

    .job-entry:last-of-type {
        border-bottom: none; /* No border for the last job entry in a section */
    }

    .job-entry h4 {
        font-size: 1.3rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 0.3rem;
    }

.job-duration {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Project Entry Specifics */
.project-entry {
    margin-bottom: 1.5rem;
}

    .project-entry h4 {
        font-size: 1.2rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 0.5rem;
    }

/* Personal Details List - no bullet */
.personal-details-list li {
    padding-left: 0; /* Remove indent for personal details */
    text-align: center;
}

    .personal-details-list li::before {
        content: none; /* Remove bullet for personal details */
    }

/* Contact Section */
.contact-section-new {
    padding: 8rem 0 5rem;
    background-color: #FDFBF8;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
}

.contact-card-new {
    background-color: #FFF; /* White contact card */
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-info-col {
    background-color: #EAE0D5; /* Nude background for info column */
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-content {
    text-align: center;
}

.info-heading {
    font-size: 2.2rem;
    font-weight: 700;
    color: #8B4513; /* SaddleBrown heading */
    margin-bottom: 1.5rem;
}

.info-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
}

.contact-details-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

    .contact-details-list li {
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
        font-size: 1rem;
        color: #555;
        justify-content: center;
    }

        .contact-details-list li i {
            margin-right: 1rem;
            color: #8B4513; /* SaddleBrown icon */
            font-size: 1.3rem;
            width: 25px; /* Fixed width for alignment */
            text-align: center;
        }

        .contact-details-list li a {
            color: #8B4513;
            transition: color 0.3s ease;
        }

            .contact-details-list li a:hover {
                color: #A0522D;
            }

.contact-form-col {
    padding: 3rem;
}

    .contact-form-col .form-label {
        font-weight: 600;
        color: #333;
        margin-bottom: 0.5rem;
    }

    .contact-form-col .form-control {
        border-radius: 8px;
        border: 1px solid #D2B48C; /* Tan border */
        padding: 0.8rem 1rem;
        font-size: 1rem;
        background-color: #FFF; /* White input background */
        color: #333;
    }

        .contact-form-col .form-control:focus {
            border-color: #8B4513; /* SaddleBrown on focus */
            box-shadow: 0 0 0 0.25rem rgba(139, 69, 19, 0.25); /* Soft shadow on focus */
        }

.btn-primary-custom {
    background-color: #8B4513; /* SaddleBrown for send button */
    border-color: #8B4513;
    color: #FFF;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    width: 100%; /* Full width button */
    margin-top: 1rem;
}

    .btn-primary-custom:hover {
        background-color: #A0522D; /* Sienna on hover */
        border-color: #A0522D;
        transform: translateY(-3px);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .profile-section .row,
    .about-section-new .row,
    .contact-card-new .row {
        flex-direction: column;
    }

    .profile-info,
    .about-text-content,
    .contact-info-col,
    .contact-form-col {
        padding: 1.5rem;
    }

    .profile-name {
        font-size: 2.2rem;
    }

    .profile-title {
        font-size: 1.2rem;
    }

    .about-image-container {
        width: 250px;
        height: 250px;
        margin-bottom: 2rem;
    }

    .about-text-content {
        text-align: center;
    }

    .about-header-new::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-info-col {
        border-bottom-left-radius: 0;
        border-top-right-radius: 12px;
    }

    .contact-form-col {
        border-bottom-left-radius: 12px;
    }

    /* Skills section responsive fix */
    .technical-sub-columns-container {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 2rem;
    }

    .profile-section,
    .about-section-new,
    .projects-section,
    .resume-section,
    .contact-section-new {
        padding: 6rem 0 3rem;
        margin-top: 1rem;
    }

    .profile-picture-container {
        width: 200px;
        height: 200px;
    }

    .profile-name {
        font-size: 1.8rem;
    }

    .profile-title {
        font-size: 1rem;
    }

    .social-links-container {
        justify-content: center;
    }

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

    .resume-content-card {
        padding: 1.5rem;
    }

    .skill-category-card-new {
        padding: 1.5rem;
    }

    .contact-info-col,
    .contact-form-col {
        padding: 1.5rem;
    }

    /* Mobile adjustments for resume */
    .subsection-title {
        font-size: 1.5rem;
    }

    /* All list styling */
    .education-list,
    .job-description-list,
    .project-description-list,
    .interests-list,
    .personal-details-list {
        list-style: none;
        padding-left: 0;
        margin-left: 0;
    }
}
