/* Color Variables */
:root {
    --primary-dark: #2f4858;
    --primary-blue: #33658a;
    --light-blue: #86bbd8;
    --accent-yellow: #f6ae2d;
    --accent-orange: #f26419;
    --white: #ffffff;
    --text-dark: #333;
    --text-light: #666;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-yellow), var(--accent-orange));
    border-radius: 2px;
}

/* Navbar Styles */
.navbar {
    background-color: var(--primary-dark);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
    border-bottom: 1px solid rgba(246, 174, 45, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-logo h2 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-logo-link {
    text-decoration: none;
}

.logo-swap {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 50px;
}

.logo-swap .logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: opacity 0.4s ease, transform 0.3s ease;
}

.nav-logo-link:hover .logo {
    transform: scale(1.1);
}

.logo-swap .logo-v2 {
    opacity: 0;
}

.nav-logo-link:hover .logo-v2,
.nav-logo-link:focus .logo-v2 {
    opacity: 1;
}

.nav-logo-link:hover .logo-v1,
.nav-logo-link:focus .logo-v1 {
    opacity: 0;
}

/* Remove underline hover effect for logo link */
.nav-logo .nav-link::after { display: none; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-yellow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-yellow);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleY(1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Highlights Section */
.highlights {
    padding: 120px 0px 10px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    overflow-x: hidden;
    overflow-y: hidden;
}

.highlights .section-title {
    color: var(--white);
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Hide scrollbars in highlights section */
.highlights * {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.highlights *::-webkit-scrollbar {
    display: none; /* WebKit */
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
}

.slide-content {
    padding: 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    height: 100%;
}

.slide-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-yellow);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slide-date {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.slide-content img {
    width: 100%;
    max-width: 600px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slide-image-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.slide-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slide-overlay-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    max-width: 60%;
    height: auto;
    transform: translate(-50%, -50%);
    border-radius: 0;
    background: none;
    box-shadow: none;
    padding: 0;
}

.slide-iframe-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

.slide-iframe-container iframe {
    border-radius: 12px;
    width: 100%;
    height: 352px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-yellow);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-dark);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: var(--accent-orange);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* Portfolio and Resources Sections */
.portfolio, .resources {
    padding: 20px 0px;
    background-color: var(--white);
}

.resources {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--white);
}

.resources .section-title {
    color: var(--white);
}

.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    padding-top: 8px;
}

.tabs-hamburger {
    display: none;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 1rem;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 auto 0.5rem;
    width: 200px;
}

.tabs-hamburger:hover {
    background: var(--accent-orange);
}

.tabs-hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: relative;
    width: 20px;
    height: 16px;
}

.tabs-hamburger-icon span {
    width: 20px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
    display: block;
    transform-origin: center;
}

.tabs-hamburger.active .tabs-hamburger-icon span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
}

.tabs-hamburger.active .tabs-hamburger-icon span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.tabs-hamburger.active .tabs-hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.tabs-hamburger.active .tabs-hamburger-icon span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.tabs-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    transition: all 0.3s ease;
}

.tabs-menu.mobile-hidden {
    display: none;
}

.tab-btn {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(51, 101, 138, 0.3);
}

.resources .tab-btn {
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
}

.resources .tab-btn.active,
.resources .tab-btn:hover {
    background: var(--accent-yellow);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(246, 174, 45, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.card-slider {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    width: 100%;
    max-width: 100%;
}

.card-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
    touch-action: pan-y;
    user-select: none;
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
}

.card-container.swiping {
    transition: none;
}

.card {
    flex: 0 0 300px;
    min-width: 300px;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.card-nav-btn {
    background: var(--primary-blue);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(51, 101, 138, 0.3);
}

.card-nav-btn:hover:not(:disabled) {
    background: var(--accent-orange);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(242, 100, 25, 0.4);
}

.card-nav-btn:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    color: #999999;
}

.resources .card-nav-btn {
    background: var(--accent-yellow);
    color: var(--primary-dark);
}

.resources .card-nav-btn:hover:not(:disabled) {
    background: var(--accent-orange);
    color: var(--white);
}

.resources .card-nav-btn:disabled {
    background: #cccccc;
    color: #999999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Pagination Dots */
.pagination-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 1rem;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(51, 101, 138, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pagination-dot:hover {
    background-color: var(--primary-blue);
    transform: scale(1.2);
}

.pagination-dot.active {
    background-color: var(--primary-blue);
    transform: scale(1.1);
    box-shadow: 0 0 0 2px rgba(51, 101, 138, 0.3);
}

.resources .pagination-dot {
    background-color: rgba(246, 174, 45, 0.3);
}

.resources .pagination-dot:hover {
    background-color: var(--accent-yellow);
}

.resources .pagination-dot.active {
    background-color: var(--accent-yellow);
    box-shadow: 0 0 0 2px rgba(246, 174, 45, 0.3);
}

/* Highlights carousel dots */
.highlights .pagination-dots {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
}

.highlights .pagination-dot {
    background-color: rgba(255, 255, 255, 0.3);
}

.highlights .pagination-dot:hover {
    background-color: var(--accent-yellow);
    transform: scale(1.2);
}

.highlights .pagination-dot.active {
    background-color: var(--accent-yellow);
    transform: scale(1.1);
    box-shadow: 0 0 0 2px rgba(246, 174, 45, 0.3);
}

/* Line-based pagination styles */
.pagination-line-container {
    position: relative;
    width: 200px;
    height: 20px;
    cursor: pointer;
    margin: 0 auto;
}

/* Responsive line length */
@media (min-width: 768px) {
    .pagination-line-container {
        width: 300px;
    }
}

@media (min-width: 1024px) {
    .pagination-line-container {
        width: 400px;
    }
}

@media (min-width: 1200px) {
    .pagination-line-container {
        width: 500px;
    }
}

.pagination-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background-color: rgba(51, 101, 138, 0.3);
    border-radius: 2px;
    transform: translateY(-50%);
}

.pagination-line-dot {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: left 0.3s ease;
    box-shadow: 0 2px 8px rgba(51, 101, 138, 0.4);
}

/* Highlights section line pagination */
.highlights .pagination-line {
    background-color: rgba(255, 255, 255, 0.3);
}

.highlights .pagination-line-dot {
    background-color: var(--accent-yellow);
    box-shadow: 0 2px 8px rgba(246, 174, 45, 0.4);
}

/* Resources section line pagination */
.resources .pagination-line {
    background-color: rgba(246, 174, 45, 0.3);
}

.resources .pagination-line-dot {
    background-color: var(--accent-yellow);
    box-shadow: 0 2px 8px rgba(246, 174, 45, 0.4);
}

.card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-blue);
}

.resources .card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent-yellow);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.card-content p {
    color: var(--text-dark);
    line-height: 1.5;
    font-weight: 500;
}

.card-meta {
    font-size: 0.9rem;
    color: #888888;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.card-category {
    font-size: 0.9rem;
    color: var(--accent-orange);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resources .card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.resources .card-content h3 {
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.resources .card-content p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Recipe Category Tabs */
.recipe-category-tabs {
    margin-bottom: 2rem;
    position: relative;
    padding-top: 8px;
}

.category-tabs-hamburger {
    display: none;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 1rem;
    background: var(--accent-yellow);
    color: var(--primary-dark);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 auto 1rem;
    max-width: 200px;
}

.category-tabs-hamburger:hover {
    background: var(--accent-orange);
    color: var(--white);
}

.category-tabs-hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: relative;
    width: 20px;
    height: 16px;
}

.category-tabs-hamburger-icon span {
    width: 20px;
    height: 2px;
    background-color: var(--primary-dark);
    transition: all 0.3s ease;
    display: block;
    transform-origin: center;
}

.category-tabs-hamburger.active .category-tabs-hamburger-icon span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
}

.category-tabs-hamburger.active .category-tabs-hamburger-icon span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.category-tabs-hamburger.active .category-tabs-hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.category-tabs-hamburger.active .category-tabs-hamburger-icon span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.category-tabs-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    transition: all 0.3s ease;
}

.category-tab-btn {
    background: transparent;
    border: 2px solid var(--accent-yellow);
    color: var(--accent-yellow);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.category-tab-btn.active,
.category-tab-btn:hover {
    background: var(--accent-yellow);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(246, 174, 45, 0.3);
}

.recipe-card {
    transition: all 0.3s ease;
}

.recipe-card.hidden {
    display: none;
}

/* Recipe section uses responsive behavior like other sections */

/* Skills List Styles */
.skills-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 1rem;
}

.skill-item {
    display: block;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, rgba(134, 187, 216, 0.1) 0%, rgba(51, 101, 138, 0.1) 100%);
    border: 1px solid rgba(51, 101, 138, 0.2);
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.skill-item:hover {
    background: linear-gradient(135deg, rgba(134, 187, 216, 0.2) 0%, rgba(51, 101, 138, 0.2) 100%);
    border-color: var(--primary-blue);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(51, 101, 138, 0.2);
}

.skill-item:hover::before {
    transform: scaleY(1);
}

/* Responsive skills list styles */
@media (max-width: 768px) {
    .skills-list {
        gap: 0.4rem;
        margin-top: 0.8rem;
        grid-template-columns: 1fr 1fr;
    }
    
    .skill-item {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .skills-list {
        gap: 0.3rem;
        margin-top: 0.6rem;
        grid-template-columns: 1fr;
    }
    
    .skill-item {
        padding: 0.35rem 0.5rem;
        font-size: 0.85rem;
    }
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(246, 174, 45, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info {
        margin-bottom: 1rem;
    }
    
    .contact-info p {
        justify-content: center;
        text-align: center;
    }
}

.contact-info h3,
.social-links h3 {
    color: var(--accent-yellow);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: var(--accent-yellow);
    width: 20px;
    transition: all 0.3s ease;
}

.contact-link {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.contact-link:hover {
    color: var(--accent-orange);
    text-shadow: 0 0 8px rgba(242, 100, 25, 0.5);
    transform: translateX(3px);
}

.contact-info p:hover i {
    color: var(--accent-orange);
    transform: scale(1.1);
    text-shadow: 0 0 8px rgba(242, 100, 25, 0.5);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--accent-yellow);
    color: var(--primary-dark);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(242, 100, 25, 0.4);
}

/* Individual brand colors for social media icons */
.social-icon:hover .fa-github,
.social-icon[href*="github"]:hover {
    background: #333333 !important;
    color: #ffffff;
    border-radius: 50% !important;
    box-shadow: 0 5px 15px rgba(51, 51, 51, 0.4);
}

.social-icon:hover .fa-linkedin,
.social-icon[href*="linkedin"]:hover {
    background: #0077b5 !important;
    color: #ffffff;
    border-radius: 50% !important;
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

.social-icon:hover .fa-instagram,
.social-icon[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    color: #ffffff;
    border-radius: 50% !important;
    box-shadow: 0 5px 15px rgba(188, 24, 136, 0.4);
}

.social-icon:hover .fa-spotify,
.social-icon[href*="spotify"]:hover {
    background: #1db954 !important;
    color: #ffffff;
    border-radius: 50% !important;
    box-shadow: 0 5px 15px rgba(29, 185, 84, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 2% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    overflow-y: auto;
    overflow-x: hidden;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--accent-orange);
}

#modal-body h2 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

#modal-body p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

#modal-body img {
    width: 100%;
    max-width: 600px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin: 1rem 0;
}

.modal-category {
    color: var(--accent-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.modal-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.modal-section {
    margin-bottom: 1.5rem;
}

.modal-section h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--accent-yellow);
    padding-bottom: 0.25rem;
}

.modal-section ul,
.modal-section ol {
    margin-left: 1.5rem;
    color: var(--text-light);
}

.modal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.video-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--accent-orange);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.video-link:hover {
    background-color: var(--accent-orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(242, 100, 25, 0.3);
}

.video-link i {
    font-size: 1.2rem;
}

/* Modal scrollbar styling */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(134, 187, 216, 0.2);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange);
}

/* Video Modal Styles */
.video-modal .modal-content {
    max-width: 800px;
    padding: 1.5rem;
}

/* Memory Modal Styles */
.memory-modal .modal-content {
    max-width: 900px;
    padding: 2rem;
}

/* Memory Modal Description Styling */
.memory-modal .modal-description {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(134, 187, 216, 0.1) 0%, rgba(51, 101, 138, 0.1) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1.1rem;
    font-style: italic;
}

/* Memory Gallery Grid */
.memory-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

/* Memory Picture Container */
.memory-picture {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0;
    height: fit-content;
}

.memory-picture:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Picture Container */
.picture-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.picture-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
}

/* When custom height is applied, use cover to fill the container */
.picture-container.custom-height img {
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}

.memory-picture:hover .picture-container img {
    transform: scale(1.05);
}

/* Picture Caption */
.picture-caption {
    padding: 1.5rem;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Single Picture Layout */
.memory-gallery:has(.memory-picture:only-child) {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 2rem auto 0;
}

.memory-gallery:has(.memory-picture:only-child) .memory-picture {
    max-width: 100%;
}

/* Two Pictures Layout */
.memory-gallery:has(.memory-picture:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Three or More Pictures Layout */
.memory-gallery:has(.memory-picture:nth-child(3)) {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.video-container {
    position: relative;
    width: 100%;
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: #000;
}

.video-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 12px;
    display: block;
}

/* Responsive video modal */
@media (max-width: 768px) {
    .video-modal .modal-content {
        max-width: 95%;
        margin: 3% auto;
        padding: 1rem;
    }
    
    .video-container iframe {
        height: 250px;
    }
    
    .memory-modal .modal-content {
        max-width: 95%;
        margin: 3% auto;
        padding: 1.5rem;
    }
    
    /* Memory Gallery Responsive */
    .memory-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .memory-gallery:has(.memory-picture:nth-child(2):last-child) {
        grid-template-columns: 1fr;
    }
    
    .memory-gallery:has(.memory-picture:nth-child(3)) {
        grid-template-columns: 1fr;
    }
    
    .memory-modal .modal-description {
        margin: 1rem 0;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .picture-container {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .picture-caption {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .video-container iframe {
        height: 200px;
    }
    
    .memory-modal .modal-content {
        max-width: 98%;
        margin: 2% auto;
        padding: 1rem;
    }
    
    /* Memory Gallery Small Screens */
    .memory-gallery {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .memory-modal .modal-description {
        margin: 0.75rem 0;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .picture-container {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .picture-caption {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
}

/* Education Modal Specific Styles */
.modal-section h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--accent-yellow);
    padding-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
    border-radius: 2px;
}

.modal-section ul {
    margin-left: 1.5rem;
    color: var(--text-light);
}

.modal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    position: relative;
}

.modal-section li::before {
    content: '•';
    color: var(--primary-blue);
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

/* Date/Period styling */
.modal-date-period {
    background: linear-gradient(135deg, rgba(134, 187, 216, 0.1) 0%, rgba(51, 101, 138, 0.1) 100%);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
    font-weight: 600;
    color: var(--primary-dark);
    margin: 1rem 0;
    font-size: 1rem;
    text-align: center;
}

.modal-company {
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0.5rem 0;
    font-size: 1rem;
    text-align: left;
}

.modal-section p {
    background: linear-gradient(135deg, rgba(134, 187, 216, 0.1) 0%, rgba(51, 101, 138, 0.1) 100%);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0;
    display: inline-block;
    width: auto;
}

/* Remove blue box styling only from modifications content */
.modifications-content {
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border-left: none !important;
    font-weight: normal !important;
}

/* Coursework and Volunteering sections */
.modal-section ul {
    background: rgba(255, 255, 255, 0.5);
    padding: 1rem;
    border-radius: 8px;
}

/* Remove border for ingredients list */
.ingredients-list {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Ingredient element grouping styles */
.ingredient-element {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(134, 187, 216, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.element-name {
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.ingredient-element .ingredients-list {
    margin-left: 0.5rem;
}

.ingredient-element .ingredients-list li {
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

/* Modifications section styling */
.modifications-section {
    margin-top: 1rem;
    padding: 0;
    border-left: 4px solid var(--accent-yellow);
    padding-left: 1rem;
}

.modifications-title {
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modifications-content {
    color: var(--text-dark);
    font-style: italic;
    margin: 0;
    line-height: 1.5;
}

/* Remove dots from cooking steps */
.cooking-steps li::before {
    display: none;
}

/* Remove dots from ingredient lists */
.ingredients-list li::before {
    display: none;
}

/* Project Activity Styles */
.project-activity {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(134, 187, 216, 0.05) 0%, rgba(51, 101, 138, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.project-activity:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.project-activity img {
    width: 100%;
    max-width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-activity:hover img {
    transform: scale(1.02);
}

.activity-description {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
    padding: 0;
    text-align: left;
}

/* Responsive project activity styles */
@media (max-width: 768px) {
    .project-activity {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .project-activity img {
        height: 100px;
    }
    
    .activity-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .project-activity {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .project-activity img {
        height: 80px;
    }
    
    .activity-description {
        font-size: 0.85rem;
    }
}

/* Project Section Styling */
.project-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(134, 187, 216, 0.05) 0%, rgba(51, 101, 138, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.project-section h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 0.5rem;
}

.project-purpose {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
    text-align: left;
}

/* Explore Next Section Styling */
.explore-next-section {
    background: linear-gradient(135deg, rgba(246, 174, 45, 0.05) 0%, rgba(242, 100, 25, 0.05) 100%);
    border-left: 4px solid var(--accent-orange);
    transition: all 0.3s ease;
}

.explore-next-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
    border-left-color: #ff6b35;
    border-color: var(--accent-orange);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(242, 100, 25, 0.08) 100%);
}

.explore-next-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.explore-next-item {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    padding-left: 2.5rem;
    background: rgba(246, 174, 45, 0.1);
    color: var(--text-dark);
    border-left: 4px solid var(--accent-yellow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.explore-next-item::before {
    content: '💡';
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
}

/* Hover effects for explore next items */
.explore-next-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(246, 174, 45, 0.3);
    background: rgba(246, 174, 45, 0.1);
    border-left-width: 6px;
}

/* Roadmap Styling */
.roadmap-container {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.roadmap-section {
    flex: 1;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
}

.roadmap-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-align: center;
}

.roadmap-title.achieved {
    background: rgba(34, 197, 94, 0.2);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.roadmap-title.next {
    background: rgba(59, 130, 246, 0.2);
    color: #1e40af;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

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

.roadmap-item {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    padding-left: 2.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.roadmap-item.achieved {
    background: rgba(34, 197, 94, 0.1);
    color: var(--text-dark);
    border-left: 4px solid #22c55e;
}

.roadmap-item.next {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-dark);
    border-left: 4px solid #3b82f6;
}

.roadmap-item.achieved::before {
    content: '✓';
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #22c55e;
    font-weight: bold;
    font-size: 1rem;
}

.roadmap-item.next::before {
    content: '○';
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #3b82f6;
    font-weight: bold;
    font-size: 1rem;
}

/* Hover effects for roadmap items */
.roadmap-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.roadmap-item.achieved:hover {
    background: rgba(34, 197, 94, 0.2);
    border-left-width: 6px;
}

.roadmap-item.next:hover {
    background: rgba(59, 130, 246, 0.2);
    border-left-width: 6px;
}

/* Responsive roadmap */
@media (max-width: 768px) {
    .roadmap-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .project-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .roadmap-item {
        padding: 0.5rem 0.75rem;
        padding-left: 2rem;
        font-size: 0.85rem;
    }
    
    .explore-next-item {
        padding: 0.5rem 0.75rem;
        padding-left: 2rem;
        font-size: 0.85rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        left: 0;
        top: 100%;
        flex-direction: column;
        background-color: var(--primary-dark);
        width: 100%;
        text-align: center;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

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

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .slide-content {
        padding: 1.5rem;
    }

    .slide-content h3 {
        font-size: 1.5rem;
    }

    .tabs-hamburger {
        display: flex;
        font-size: 1.5rem;
        padding: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .category-tabs-hamburger {
        display: flex;
        font-size: 1.1rem;
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .category-tabs-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: var(--primary-dark);
        border-radius: 8px;
        border: 1px solid var(--accent-yellow);
        box-shadow: 0 8px 25px var(--shadow);
        padding: 1rem;
        z-index: 100;
        flex-direction: column;
        width: 200px;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-50%) translateY(-10px);
        transition: all 0.3s ease;
    }

    .category-tabs-menu.mobile-visible {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .category-tab-btn {
        width: 100%;
        margin: 0.25rem 0;
        text-align: center;
    }

    .section-title {
        display: none;
    }

    .tabs-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: var(--white);
        border-radius: 8px;
        border: 2px solid var(--primary-blue);
        box-shadow: 0 8px 25px var(--shadow);
        padding: 1rem;
        z-index: 100;
        flex-direction: column;
        width: 200px;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-50%) translateY(-10px);
        transition: all 0.3s ease;
        margin-top: 0;
    }

    .tabs-menu.mobile-visible {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .tab-btn {
        width: 100%;
        margin: 0.25rem 0;
    }

    .card {
        flex: 0 0 300px;
        min-width: 300px;
    }
    
    /* Recipe section uses responsive behavior on mobile */
    
    .card-container {
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .social-icons {
        justify-content: center;
    }

    .modal-content {
        margin: 5% auto;
        width: 95%;
        max-height: 85vh;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .slide-content h3 {
        font-size: 1.3rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slide-image-container,
    .slide-iframe-container {
        max-width: 100%;
    }

    .slide-iframe-container iframe {
        height: 280px;
    }

    .card {
        flex: 0 0 300px;
        min-width: 300px;
    }
    
    /* Recipe section uses responsive behavior on smallest screens */
    
    .card-content {
        padding: 1rem;
    }

    .card-content h3 {
        font-size: 1.1rem;
    }

    .modal-content {
        margin: 3% auto;
        max-height: 90vh;
        padding: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Focus styles for accessibility */
button:focus,
a:focus {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 2px;
}

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

::-webkit-scrollbar-track {
    background: var(--light-blue);
}

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

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