/* Navbar styling */



.navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    top: 0;
    background: #b0a092;
    padding: 0px 20px;
    font-weight: bold;
    font-size: 20px;
    z-index: 1000;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Left navigation - align to the right within its container */
.nav-list-left {
    justify-content: flex-end;
    gap: 30px;
}

/* Right navigation - align to the left within its container */
.nav-list-right {
    justify-content: flex-start;
    gap: 30px;
}

/* Logo styling */
.logo {
    display: flex;
    justify-content: center;
    padding: 0 40px;
    /* Add space around logo */
}

.logo img {
    width: 65px;
    height: 70px;
}

.nav-list li a {
    text-decoration: none;
    color: rgb(255, 255, 255) !important;
    font-size: 20px;
    padding-bottom: 5px;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease-in-out;
}

.nav-list li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: #ffffff;
    transition: width 0.3s ease-in-out;
}

.nav-list li a:hover::after {
    width: 100%;
}

.nav-list li a.active::after {
    width: 100%;
    background-color: #ffffff;
}





/* Hide mobile elements by default */
.hamburger,
.mobile-menu-overlay,
.mobile-nav-list {
    display: none;
}

/* Mobile Navigation Styles - For tablets and phones */
@media (max-width: 1300px) {
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }

    .hamburger span {
        width: 100%;
        height: 3px;
        background-color: white;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    /* Hide desktop nav on mobile/tablet */
    .nav-list-left,
    .nav-list-right {
        display: none;
    }

    /* Show mobile menu elements */
    .mobile-menu-overlay,
    .mobile-nav-list {
        display: block !important;
    }

    /* Adjust navbar for mobile/tablet - keep grid but modify */
    .navbar {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        position: relative;
    }

    /* Center logo on mobile/tablet */
    .logo {
        justify-self: center;
        grid-column: 1 / -1;
        grid-row: 1;
    }

    /* Position hamburger on left */
    .hamburger {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    /* Mobile menu overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-nav-list {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100%;
        background-color: #b0a092;
        display: flex;
        flex-direction: column;
        padding: 80px 30px 30px;
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .mobile-nav-list.active {
        left: 0;
    }

    .mobile-nav-list li {
        margin-bottom: 15px;
        list-style: none;
    }

    .mobile-nav-list li a {
        color: white;
        text-decoration: none;
        font-size: 20px;
        font-weight: bold;
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
    }

    .mobile-nav-list li a:hover {
        color: rgb(141, 83, 7);
        transform: translateX(10px);
    }

    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: white;
        font-size: 30px;
        cursor: pointer;
        z-index: 1001;
    }

    /* Hamburger animation when active */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Nuclear option - remove visited styles globally for nav */
a.nav-link:visited {
    color: inherit !important;
}

/* Or even more specific */
nav a:visited,
.navbar a:visited,
.nav-list a:visited,
.mobile-nav-list a:visited {
    color: rgb(255, 255, 255) !important;
}

/* Nuclear option - ensure ALL nav links stay white */
.navbar a.nav-link,
.navbar .nav-list a,
.navbar .mobile-nav-list a,
.nav-list a,
.mobile-nav-list a {
    color: rgb(255, 255, 255) !important;
}

/* Force navbar links to stay white - override any global styles */
.navbar a,
.navbar .nav-list a,
.navbar .mobile-nav-list a,
.nav-list a,
.nav-list-left a,
.nav-list-right a,
.mobile-nav-list a,
.nav-link {
    color: rgb(255, 255, 255) !important;
}

/* Cover all link states */
.navbar a:link,
.navbar a:visited,
.navbar a:hover,
.navbar a:active,
.navbar a:focus,
.nav-list a:link,
.nav-list a:visited,
.nav-list a:hover,
.nav-list a:active,
.nav-list a:focus,
.mobile-nav-list a:link,
.mobile-nav-list a:visited,
.mobile-nav-list a:hover,
.mobile-nav-list a:active,
.mobile-nav-list a:focus {
    color: rgb(255, 255, 255) !important;
}

/* tutoring Section - Complete Creative Redesign */
#tutoring {
    background: #fffbf5;
    padding: 80px 0 120px 0;
    position: relative;
}

/* Creative Background Elements */

/* Section Header */


/* Enhanced tutoring Container */
.tutoring-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Creative Internship Cards */
.tutoring-box {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 25px;
    padding: 0;
    position: relative;
    min-height: 320px;
    box-shadow:
        0 10px 10px rgba(141, 83, 7, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.tutoring-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(141, 83, 7, 0.03), rgba(176, 160, 146, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tutoring-box::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 27px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tutoring-box:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow:
        0 20px 20px rgba(141, 83, 7, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.tutoring-box:hover::before {
    opacity: 1;
}


/* Base State - Enhanced */
.tutoring-content-base {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: transparent;
    z-index: 2;
}

.logo-container {
    position: relative;
    margin-bottom: 25px;
}

.tutoring-logo-centered {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.lsu-logo-centered {
    width: 200px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.sylvan-logo-centered {
    width: 200px;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(141, 83, 7, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tutoring-box:hover .logo-glow {
    opacity: 1;
}

.tutoring-box:hover .tutoring-logo-centered {
    transform: scale(1.15) rotate(5deg);
}

/* Enhanced Text Styling */
.tutoring-title-centered {
    font-size: 26px;
    font-weight: bold;
    color: #8d5307;
    margin-bottom: 12px;
    text-align: center;
    position: relative;
}



.tutoring-box:hover .tutoring-title-centered::after {
    width: 100px;
}

.tutoring-position-centered {
    font-size: 18px;
    color: #4f331a;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.tutoring-period-centered {
    font-size: 14px;
    color: #7b5636;
    font-style: italic;
    text-align: center;
    padding: 10px 20px;
    background: rgba(176, 160, 146, 0.15);
    border-radius: 25px;
    display: inline-block;
    border: 1px solid rgba(141, 83, 7, 0.1);
    transition: all 0.3s ease;
}

.tutoring-box:hover .tutoring-period-centered {
    background: rgba(141, 83, 7, 0.1);
    transform: scale(1.05);
}



@keyframes pulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

/* Details State - Completely Enhanced */
.tutoring-content-details {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 35px 30px;
    height: 100%;
    overflow-y: auto;
    position: relative;
    z-index: 1;
}

.details-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(141, 83, 7, 0.1);
}

.details-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

/* Target LSU logo by alt text */
.details-logo[alt="lsu Logo"] {
    width: 90px;
    height: 70px;
}

.details-logo[alt="sylvan Logo"] {
    width: 100px;
    height: 70px;
}

.header-content {
    flex: 1;
    min-width: 0;
}

.tutoring-title {
    font-size: 22px;
    font-weight: bold;
    color: #8d5307;
    margin-bottom: 8px;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
}

.tutoring-period {
    font-size: 14px;
    color: #7b5636;
    font-style: italic;
    margin-bottom: 15px;
    display: block;
}



/* Enhanced Details List */
.tutoring-details {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 15px;
}

.tutoring-details li {
    margin-bottom: 20px;
    padding-left: 2.5rem;
    position: relative;
    color: #4f331a;
    line-height: 1.7;
    transition: transform 0.3s ease;
}

.tutoring-details li::before {
    content: "▸";
    color: #8d5307;
    font-weight: bold;
    position: absolute;
    left: 1rem;
    font-size: 18px;
    transition: all 0.3s ease;
}

.tutoring-details li:hover {
    transform: translateX(8px);
}

.tutoring-details li:hover::before {
    transform: translateX(5px);
    color: #b0a092;
}

.tutoring-details strong {
    color: #8d5307;
    font-weight: 700;
}




/* Hover State */
.tutoring-box:hover .tutoring-content-base {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
}

.tutoring-box:hover .tutoring-content-details {
    opacity: 1;
    visibility: visible;
}

/* Company Specific Styling */
.tutoring-box {
    border-left: 5px solid #b0a092;
}

/* Mobile Responsive */


@media (max-width: 768px) {
    #tutoring {
        padding: 60px 0 80px 0;
    }

    .tutoring-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }

    .tutoring-box {
        min-height: 280px;
    }

    .section-header h1 {
        font-size: 2.2rem;
    }

    .details-header {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 15px;
    }


    .details-logo {
        align-self: center;
    }



    .experience-stats {
        flex-direction: column;
        gap: 15px;
        max-width: 300px;
    }

    /* Mobile active state */
    .tutoring-box.mobile-active .tutoring-content-base {
        opacity: 0;
        visibility: hidden;
        transform: scale(0.9);
    }

    .tutoring-box.mobile-active .tutoring-content-details {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 480px) {
    .tutoring-container {
        grid-template-columns: 1fr;
    }

    .tutoring-box {
        min-height: 260px;
    }

    .tutoring-content-base,
    .tutoring-content-details {
        padding: 25px 20px;
    }

    .tutoring-logo-centered {
        width: 80px;
        height: 80px;
    }

    .tutoring-title-centered {
        font-size: 22px;
    }

    .section-header h1 {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
}