/* Color Variables */
:root {
    --bg-color: #F8FAFC;
    --text-color: #1E293B;
    --accent-color: #2563EB;
    --hover-color: #1D4ED8;
    --light-accent: #93C5FD;
    --navbar-bg: #FFFFFF;
    --navbar-text: #1E293B;
    --blue-gradient: linear-gradient(135deg, #2563EB 0%, #93C5FD 100%);
    --blue-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
    --hover-shadow: 0 4px 15px rgba(29, 78, 216, 0.15);
    --border-color: #93C5FD;
    --card-bg: #FFFFFF;
    --dark-blue: #FFFFFF;
    --light-blue: #60A5FA;
    --footer-text: #1E293B;
    --header-bg: #FFFFFF;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding-top: 76px;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
}

/* Navbar Styles */
.navbar {
    background-color: var(--navbar-bg) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.navbar-scrolled {
    background-color: var(--navbar-bg) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-dark .navbar-brand,
.navbar-dark .nav-link {
    color: var(--navbar-text) !important;
}

.navbar .nav-link::after {
    background: var(--accent-color);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--accent-color) !important;
}

/* Home Section */
.home-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/images/bg-home.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: -76px;
    padding-top: 76px;
}

.home-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.home-section .container {
    position: relative;
    z-index: 2;
}

.home-section h1,
.home-section h2 {
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.home-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

.home-buttons .btn-primary {
    background: #FFFFFF;
    color: var(--accent-color);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.home-buttons .btn-primary:hover {
    background: var(--light-accent);
    color: var(--text-color);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.home-buttons .btn-outline-light {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.5);
    background: transparent;
}

.home-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.scroll-down-link {
    color: rgba(255, 255, 255, 0.8);
}

.scroll-down-link:hover {
    color: #FFFFFF;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 60px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 3rem;
    text-align: left;
    font-weight: 400;
    max-width: 600px;
}

.bg-light {
    background-color: var(--bg-color) !important;
}

/* Skills Section */
.skill-category {
    text-align: center;
    padding: 2rem;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 30px rgba(37, 99, 235, 0.1);
}

.skill-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.skill-icon-wrapper i {
    font-size: 2rem;
    color: #FFFFFF;
}

.skill-category h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
}

.skill-item:hover {
    background: rgba(37, 99, 235, 0.05);
    transform: translateX(5px);
}

.skill-tech-icon {
    font-size: 1.5rem;
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.skill-item span {
    color: var(--text-color);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Skill icon colors */
.html-icon { color: #E34F26; }
.css-icon { color: #1572B6; }
.js-icon { color: #F7DF1E; }
.react-icon { color: #61DAFB; }
.vue-icon { color: #4FC08D; }
.node-icon { color: #339933; }
.python-icon { color: #3776AB; }
.java-icon { color: #007396; }
.git-icon { color: #F05032; }
.docker-icon { color: #2496ED; }
.cpp-icon { color: #00599C; }

/* Project Cards */
.project-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

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

.project-image-container {
    position: relative;
    overflow: hidden;
}

.carousel {
    position: relative;
    margin-bottom: 0;
}

.carousel-item {
    cursor: pointer;
}

.carousel-item a {
    display: block;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carousel-item:hover img {
    transform: scale(1.05);
}

.carousel-indicators {
    position: absolute;
    bottom: 0;
    margin: 0;
    padding: 10px;
    width: auto;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    z-index: 2;
}

.carousel-indicators button {
    width: 30px !important;
    height: 3px !important;
    border-radius: 0 !important;
    margin: 0 4px !important;
    background-color: rgba(0, 0, 0, 0.3) !important;
    border: none !important;
    opacity: 0.5;
}

.carousel-indicators button.active {
    background-color: rgba(0, 0, 0, 0.8) !important;
    opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 0.8;
}

.carousel-caption {
    position: static;
    background: #fff;
    color: #666;
    padding: 0.5rem;
    text-align: center;
    border-top: 1px solid #eee;
}

.project-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-tech {
    margin-top: auto;
}

/* Fancybox Customization */
.fancybox__container {
    --fancybox-bg: rgba(0, 0, 0, 0.95);
}

.fancybox__caption {
    font-size: 1rem;
    padding: 1rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
}

/* Project Modal */
.modal-body {
    padding: 0;
}

#projectDescription {
    padding: 1.5rem;
}

/* Carousel Styling */
.carousel {
    position: relative;
    margin-bottom: 0;
}

.carousel-indicators {
    position: absolute;
    bottom: 0;
    margin: 0;
    padding: 10px;
    width: auto;
    left: 50%;
    transform: translateX(-50%);
    background: none;
}

.carousel-indicators button {
    width: 30px !important;
    height: 3px !important;
    border-radius: 0 !important;
    margin: 0 4px !important;
    background-color: rgba(0, 0, 0, 0.3) !important;
    border: none !important;
    opacity: 0.5;
}

.carousel-indicators button.active {
    background-color: rgba(0, 0, 0, 0.8) !important;
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

/* Carousel Captions */
.carousel-captions {
    padding: 1rem;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.carousel-caption-item {
    display: none;
    text-align: center;
}

.carousel-caption-item.active {
    display: block;
}

/* List Styling */
.list-unstyled {
    list-style: none;
    padding-left: 1.2em;
}

.list-unstyled li {
    position: relative;
}

.list-unstyled li::before {
    content: "•";
    color: var(--bs-primary);
    font-weight: bold;
    position: absolute;
    left: -1.2em;
}

/* Education Section */
.education-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.education-container::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--accent-color);
    z-index: 0;
}

.education-year {
    position: absolute;
    left: 0;
    width: 120px;
    text-align: right;
    padding-right: 30px;
    z-index: 2;
    background: var(--bg-color);
}

.education-year::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 3px solid var(--bg-color);
    box-shadow: 0 0 0 3px var(--accent-color);
    z-index: 3;
}

.year {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
}

.education-content {
    margin-left: 150px;
    position: relative;
    z-index: 1;
}

.education-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.education-box:hover {
    transform: translateY(-5px);
}

.education-box .degree {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.education-box .university {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.education-box .description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.education-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.education-highlights li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
}

.education-highlights li::before {
    content: '•';
    color: var(--accent-color);
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -4px;
}

/* Contact Form */
.form-control {
    background-color: var(--card-bg);
    border: 1px solid var(--light-accent);
    color: var(--text-color);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.1);
}

.btn-primary {
    background: var(--accent-color);
    border: none;
    color: #FFFFFF;
    box-shadow: var(--blue-shadow);
}

.btn-primary:hover {
    background: var(--hover-color);
    color: #FFFFFF;
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background-color: var(--navbar-bg);
    color: var(--text-color);
    padding-top: 70px;
}

.footer h4 {
    color: var(--text-color);
}

.footer h4::after {
    background: var(--accent-color);
}

.footer-links a {
    color: var(--text-color);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer .social-icon {
    background: var(--light-accent);
    color: var(--text-color);
}

.footer .social-icon:hover {
    background: var(--accent-color);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-bottom {
    background: var(--dark-blue);
    padding: 20px 0;
    margin-top: 30px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--light-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Form Placeholder Color */
::placeholder {
    color: var(--text-color) !important;
    opacity: 0.5 !important;
}

/* Selection Color */
::selection {
    background: var(--accent-color);
    color: #FFFFFF;
}

/* Timeline */
.timeline-progress {
    background: var(--accent-color);
}

.timeline-dot {
    background: var(--accent-color);
    border: 4px solid var(--bg-color);
}

.timeline-date {
    background: var(--accent-color);
    color: #FFFFFF;
}

.timeline-content h4 {
    color: var(--accent-color);
}

.timeline-content h5 {
    color: var(--text-color);
    opacity: 0.9;
}

/* Profile Image */
.profile-img {
    border: 3px solid var(--accent-color);
}

/* Progress Bars */
.progress {
    background-color: var(--light-accent);
    opacity: 0.3;
}

.progress-bar {
    background-color: var(--accent-color);
}

/* Social Icons */
.social-icon {
    color: var(--text-color);
}

.social-icon:hover {
    color: var(--hover-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Padding */
.section-padding {
    padding: 5rem 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 40px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.timeline-content {
    padding-left: 20px;
}

.progress {
    height: 10px;
    border-radius: 5px;
    background-color: #e9ecef;
    margin: 15px 0;
}

.progress-bar {
    background-color: var(--accent-color);
    border-radius: 5px;
    transition: width 1.5s ease;
}

/* Skills */
.skill-category {
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

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

.skill-icon {
    font-size: 2rem;
    margin-bottom: 5px;
}

.skill-icon-img {
    width: 32px;
    height: 32px;
    margin-bottom: 5px;
}

/* Projects */
.project-card {
    margin-bottom: 30px;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

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

.project-info {
    padding: 20px;
}

.project-tech {
    margin-top: 15px;
}

.project-tech .badge {
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Modal */
.modal-dialog {
    max-width: 800px;
}

.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Social Links */
.social-links {
    margin-top: 30px;
}

.social-icon {
    font-size: 24px;
    color: var(--text-color);
    margin: 0 15px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--hover-color);
}

/* Responsive Design */
@media (max-width: 991px) {
    .section-padding {
        padding: 60px 0;
    }

    .timeline-item {
        margin-left: 50px;
    }

    .timeline-progress {
        left: 0;
    }

    .timeline-dot {
        left: -60px;
    }

    .timeline-date {
        left: 0;
        top: -40px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 40px 0;
    }

    .profile-img {
        width: 150px;
        height: 150px;
    }

    .timeline-item {
        margin-left: 30px;
        padding: 20px;
    }

    .skill-category {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .skill-row {
        gap: 0.3rem;
    }

    .skill-item {
        padding: 0.4rem;
        gap: 0.4rem;
    }

    .skill-tech-icon {
        font-size: 1.2rem;
        width: 20px;
        height: 20px;
    }

    .skill-item span {
        font-size: 0.85rem;
    }

    .project-card {
        margin-bottom: 30px;
    }

    .carousel-item img {
        height: 250px;
    }

    .home-section {
        background-attachment: scroll;
    }
    
    .home-section::before {
        background: linear-gradient(to bottom, rgba(37, 99, 235, 0.8), rgba(29, 78, 216, 0.8));
    }
    
    .home-section h1 {
        font-size: 2.5rem;
    }
    
    .home-section h2 {
        font-size: 1.8rem;
    }
    
    .home-section .lead {
        font-size: 1.1rem;
    }

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

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

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

    .timeline-item {
        margin-left: 20px;
        padding: 15px;
    }

    .timeline-content h4 {
        font-size: 1.2rem;
    }

    .timeline-content h5 {
        font-size: 1rem;
    }

    .skill-badges {
        gap: 10px;
    }

    .skill-icon {
        font-size: 1.5rem;
    }

    .skill-icon-img {
        width: 24px;
        height: 24px;
    }

    .badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}

/* Animation */
.fade-in {
    animation: fadeIn 1s ease-out;
}

/* Footer Styles */
.footer {
    background-color: var(--navbar-bg);
    color: var(--text-color);
    padding-top: 70px;
}

.footer-top {
    padding-bottom: 50px;
}

.footer-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    color: var(--text-color);
    padding-bottom: 12px;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 30px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: "→";
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 20px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact li i {
    min-width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--text-color);
}

.footer-bottom {
    background: var(--dark-blue);
    padding: 20px 0;
    margin-top: 30px;
}

.copyright {
    font-size: 14px;
    color: var(--footer-text);
    text-align: center;
}

.footer-nav {
    text-align: right;
}

.social-links {
    margin-top: 20px;
}

.footer .social-icon {
    font-size: 18px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.footer .social-icon:hover {
    background: var(--accent-color);
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* Responsive Footer */
@media (max-width: 991px) {
    .footer {
        padding-top: 50px;
    }
}

@media (max-width: 768px) {
    .footer-nav {
        text-align: center;
        margin-top: 15px;
    }

    .footer h4 {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .footer {
        padding-top: 40px;
    }

    .footer-top {
        padding-bottom: 30px;
    }

    .footer h4 {
        font-size: 16px;
    }

    .footer-links a,
    .footer-contact li {
        font-size: 14px;
    }
}

/* Education Section */
.education-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.education-container::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--accent-color);
    z-index: 0;
}

.education-year {
    position: absolute;
    left: 0;
    width: 120px;
    text-align: right;
    padding-right: 30px;
    z-index: 2;
    background: var(--bg-color);
}

.education-year::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 3px solid var(--bg-color);
    box-shadow: 0 0 0 3px var(--accent-color);
    z-index: 3;
}

.year {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
}

.education-content {
    margin-left: 150px;
    position: relative;
    z-index: 1;
}

.education-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.education-box:hover {
    transform: translateY(-5px);
}

.education-box .degree {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.education-box .university {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.education-box .description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.education-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.education-highlights li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
}

.education-highlights li::before {
    content: '•';
    color: var(--accent-color);
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -4px;
}

/* Responsive Education Section */
@media (max-width: 768px) {
    .education-container::before {
        left: 30px;
        z-index: 0;
    }

    .education-year {
        width: auto;
        position: relative;
        padding: 0 0 0 50px;
        text-align: left;
        margin-bottom: 15px;
        z-index: 2;
        background: var(--bg-color);
    }

    .education-year::after {
        left: 24px;
        right: auto;
    }

    .education-content {
        margin-left: 0;
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 576px) {
    .section-subtitle {
        font-size: 1rem;
    }

    .education-container {
        padding: 10px 0;
    }

    .education-box {
        padding: 15px;
    }

    .education-highlights li {
        font-size: 0.9rem;
    }
}

/* Navbar Scrollspy */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.navbar-scrolled {
    padding: 0.5rem 0;
    background-color: var(--header-bg) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .nav-link {
    position: relative;
    padding: 0.5rem 1rem !important;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 100%;
}

/* Home Section */
.home-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/images/bg-home.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 76px;
}

.home-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.home-section .container {
    position: relative;
    z-index: 1;
}

.home-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.home-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.home-section .lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.home-buttons {
    margin-top: 2rem;
}

.home-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.home-buttons .btn:hover {
    transform: translateY(-3px);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down-link {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.scroll-down-link:hover {
    color: var(--light-blue);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Responsive Home Section */
@media (max-width: 991px) {
    .home-section h1 {
        font-size: 3rem;
    }

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

    .home-section .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .home-section h1 {
        font-size: 2.5rem;
    }

    .home-section h2 {
        font-size: 1.75rem;
    }

    .home-buttons .btn {
        padding: 0.6rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .home-section h1 {
        font-size: 2rem;
    }

    .home-section h2 {
        font-size: 1.5rem;
    }

    .home-section .lead {
        font-size: 1rem;
    }

    .home-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* Links and Accents */
a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover-color);
    text-decoration: none;
}

.accent-color {
    color: var(--accent-color);
}

/* Utilities */
.text-primary {
    color: var(--accent-color) !important;
}

.bg-primary {
    background-color: var(--accent-color) !important;
}

.border-primary {
    border-color: var(--accent-color) !important;
} 