/* 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 !important;
}





/* 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;
}

#contact {
    background-color: #fffbf5;
    color: black;
    margin-bottom: 550px !important;
    /* Adds space after the section */

}


/* Contact Section Styles */


.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.contact-title {
    font-size: 3rem;
    font-weight: bold;
    color: #5c3809;
    margin-bottom: 20px;
    text-align: center;
}


/* Contact Cards Grid */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    width: 300px;
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 30px rgba(21, 6, 75, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(21, 6, 75, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #b0a092, #b0a092);
}



.contact-icon img {
    width: 45px;
    height: 45px;
    filter: brightness(0) invert(1);
}

/* Target specific logos by their src attribute */

.gmail-logo {
    height: 60px !important;
    width: 60px !important;
}

.contact-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4f331a;
    margin-bottom: 15px;
}

.contact-card-desc {
    font-size: 1rem;
    color: #4f331a;
    margin-bottom: 25px;
    line-height: 1.5;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: #b0a092;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #b0a092;
}

.contact-link:hover {
    background: transparent;
    color: #b0a092;
    transform: translateY(-2px);
}

.contact-link img {
    display: none;
}

.contact-link:hover img {
    filter: none;
}

/* Resume Download Section */
.resume-section {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 8px 30px rgba(21, 6, 75, 0.1);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.resume-title {
    font-size: 2rem;
    font-weight: bold;
    color: #4f331a;
    margin-bottom: 15px;
}

.resume-desc {
    font-size: 1.1rem;
    color: #4f331a;
    margin-bottom: 30px;
    line-height: 1.6;
}

.resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #b0a092, #b0a092);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.resume-btn:hover {
    transform: translateY(-3px);
    filter: brightness(0) invert(1);
}

.resume-btn img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding-bottom: 400px !important;
        /* Add padding to the bottom of the whole page content */
        margin-bottom: 300px !important;
    }

    .contact-title {
        font-size: 2.5rem;
    }

    .contact-subtitle {
        font-size: 1.1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .resume-section {
        padding: 30px 20px;
    }

    .resume-btn {
        padding: 14px 30px;
        font-size: 1rem;
    }


}