body {
    background-color: #fff;
}

/* Hero Section Styles */
.heading-image {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 600px;
}

.heading-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Vignette overlay */
.heading-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}

/* Hero text overlay */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: transform 0.1s ease-out;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.hero-text h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin: 0;
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .hero-text h2 {
        font-size: 1.2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
}

/* Hero Tagline */
.hero-tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin-top: 1rem;
    letter-spacing: 1px;
}

/* Employment Banner Styles */
.employment-banner {
    background: linear-gradient(135deg, #e55a00 0%, #cc4d00 100%);
    color: white;
}

.employment-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.employment-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.employment-details {
    margin-bottom: 0;
    opacity: 0.9;
    font-size: 1rem;
}

.employment-actions .btn {
    margin: 0.25rem;
    font-weight: 500;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.employment-actions .btn-primary {
    background-color: white;
    border-color: white;
    color: #ff6600;
}

.employment-actions .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.employment-actions .btn-outline-primary {
    border-color: white;
    color: white;
}

.employment-actions .btn-outline-primary:hover {
    background-color: white;
    color: #ff6600;
    transform: translateY(-2px);
}

/* Value Proposition Styles */
.value-proposition {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}

.value-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.value-icon {
    font-size: 3rem;
    color: #ff6600;
    margin-bottom: 1rem;
}

.value-card h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive adjustments for employment elements */
@media (max-width: 768px) {
    .employment-card {
        padding: 1.5rem;
    }
    
    .employment-actions {
        margin-top: 1rem;
    }
    
    .employment-actions .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .value-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .value-icon {
        font-size: 2.5rem;
    }
}

/* Style for the project grid container */
.project-grid .project-item {
    position: relative; 
    display: block;
    overflow: hidden; 
    text-decoration: none; 
}

/* Style for the images inside the project items */
.project-grid .project-item img {
    width: 100%;
    height: 500px;
    object-fit: cover; 
    filter: grayscale(100%); 
    transition: all 0.5s ease-in-out; 
}

/* Hover effect for the images */
.project-grid .project-item:hover img {
    filter: grayscale(0%); 
    transform: scale(1.05); /*zoom effect*/
}

.project-grid .project-item.no-zoom:hover img {
    transform: none;
}

/* Style for the text overlay */
.project-grid .project-item .project-title {
    position: absolute; 
    top: 25px;
    left: 25px;
    right: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
}

/* Styling for the main title and category text */
.project-grid .project-item .project-title h5 {
    margin: 0;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.1rem;
    opacity: 0.8;
    transition: opacity 0.5s ease-in-out;
}

/* Hover effect for the main title */
.project-grid .project-item:hover .project-title h5 {
    opacity: 1;
}

/* Styling for the category text */
.project-grid .project-item .project-title span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ff6600;
    filter: grayscale(80%);
    transition: filter 0.5s ease-in-out;
}

/* Hover effect for the category text */
.project-grid .project-item:hover .project-title span {
    filter: grayscale(0%);
}

.navbar {
    box-shadow: 0 10px 45px 0px #e7e7e7;
    padding: 1rem 0;
}

/* Navigation Link Styling */
.navbar-nav .nav-link {
    position: relative;
    color: #333 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Orange hover effect for navigation links */
.navbar-nav .nav-link:hover {
    color: #ff6600 !important;
}

/* Active page indicator - small orange underline */
.navbar-nav .nav-link.active {
    color: #333 !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: #ff6600;
    border-radius: 1px;
}

/* Hover effect maintains the underline for active links */
.navbar-nav .nav-link.active:hover {
    color: #ff6600 !important;
}

/* Smooth animated underline effect on hover for non-active links */
.navbar-nav .nav-link:not(.active)::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #ff6600;
    border-radius: 1px;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:not(.active):hover::before {
    width: 30px;
}

/* Brand name styling improvements */
.navbar-brand {
    transition: color 0.3s ease !important;
}

.navbar-brand:hover {
    color: #ff6600 !important;
}

/* Mobile brand name adjustments - CSS only solution */
@media (max-width: 1400px) {
    .navbar-brand a {
        font-size: 1.6rem !important;
        line-height: 1.1 !important;
        letter-spacing: 1px !important;
        position: relative;
        display: block;
    }
    
    /* Hide original text and show multi-line version */
    .navbar-brand a {
        color: transparent !important;
    }
    
    .navbar-brand a::before {
        content: "EMMA GRACE\A JACKSON";
        color: black;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        white-space: pre-line;
        text-align: center;
        width: 100%;
        line-height: 1.2;
    }
    
    .navbar-brand a:hover::before {
        color: #ff6600;
    }
    
    /* Ensure navbar has enough height for multi-line brand */
    .navbar {
        padding: 2.5rem 0 !important;
    }
}

/* Additional spacing for very small screens */
@media (max-width: 768px) {
    .navbar-brand a {
        font-size: 1.4rem !important;
    }
    
    .navbar {
        padding: 2rem 0 !important;
    }
}

/* Improved navbar toggle button */
.navbar-toggler {
    border: 1px solid #ff6600;
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.25);
    border-color: #ff6600;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ff6600' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.lead,
.design-philosophy p {
    text-align: justify;
}

.pdf-viewer {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    max-width: 85%;
    margin: 0 auto;
}

.pdf-viewer .pdf-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #000;
    text-align: center;
}

.image-gallery .col-md-4 {
    overflow: hidden;
}

.image-gallery img {
    border-radius: 0.25rem;
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

.image-gallery.no-zoom img:hover {
    transform: none;
}

.project-image-wrapper {
    overflow: hidden;
    margin: 2rem 0;
}

.project-image-scaled {
    width: 70%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: none;
}

.section-heading {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

hr {
    width: 100px;
    border: 1px solid #ff6600;
    opacity: 1;
}

.back-button {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.back-button:hover {
    color: #ff6600;
    background-color: #fff;
    border-color: #ff6600;
    text-decoration: none;
    transform: translateX(-2px);
}

.back-button::before {
    content: "←";
    margin-right: 8px;
    font-size: 1.1rem;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 3px solid #ff6600;
    margin-top: auto;
}

footer h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

footer .footer-contact a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

footer .footer-contact a:hover {
    color: #ff6600;
}

footer .footer-copyright {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

footer .footer-social {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    align-items: center;
}

footer .footer-social a {
    color: #666;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

footer .footer-social a:hover {
    color: #ff6600;
    transform: translateY(-2px);
}

footer .footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

footer .footer-nav li a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

footer .footer-nav li a:hover {
    color: #ff6600;
}

footer .footer-logo {
    transition: transform 0.3s ease;
}

footer .footer-logo:hover {
    transform: scale(1.05);
}

/* Mobile Navigation Improvements */
@media (max-width: 991px) {
    /* Keep the navbar brand stable when dropdown opens */
    .navbar-brand {
        /* Allow brand to scroll with the page instead of staying pinned */
        position: absolute !important;
        top: -1rem !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .navbar-collapse {
        background-color: rgba(248, 249, 250, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 8px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        position: relative;
        z-index: 3;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 102, 0, 0.1);
        transform: translateX(5px);
    }
    
    .navbar-nav .nav-link.active::after {
        display: none;
    }
    
    .navbar-nav .nav-link.active {
        background-color: rgba(255, 102, 0, 0.15);
        color: #ff6600 !important;
    }
    
    .navbar-nav .nav-link:not(.active)::before {
        display: none;
    }
}

@media (max-width: 768px) {
    footer .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }
    
    footer .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    footer .footer-copyright {
        text-align: center !important;
        margin-top: 1rem;
    }
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(255, 102, 0, 0.02) 2px,
        rgba(255, 102, 0, 0.02) 4px
    );
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.hero-divider {
    width: 100px;
    height: 3px;
    background-color: #ff6600;
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.min-vh-50 {
    min-height: 50vh;
}

/* Headshot Styling */
.headshot-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.headshot-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.headshot-container img {
    border-radius: 50%;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.headshot-container:hover img {
    filter: grayscale(0%);
}

.headshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(255, 102, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.headshot-container:hover .headshot-overlay {
    opacity: 1;
}

/* About Content */
.about-content {
    padding-left: 2rem;
}

.section-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #ff6600;
    border-radius: 1px;
}

/* Philosophy Section */
.philosophy-container {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-radius: 15px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.philosophy-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.philosophy-content {
    position: relative;
    z-index: 2;
}

.philosophy-quote {
    font-size: 1.4rem;
    font-style: italic;
    color: #ff6600;
    border-left: 4px solid #ff6600;
    padding-left: 2rem;
    margin: 2rem 0;
    background: rgba(255, 102, 0, 0.05);
    padding: 1.5rem 2rem;
    border-radius: 0 10px 10px 0;
    position: relative;
}

.philosophy-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 1rem;
    font-size: 3rem;
    color: #ff6600;
    opacity: 0.3;
}

/* Skills Section */
.skills-section {
    background-color: #fff;
}

.skill-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.skill-header {
    border-bottom: 2px solid #ff6600;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.skill-title {
    color: #333;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.skill-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f5f5f5;
    color: #666;
    transition: color 0.3s ease, padding-left 0.3s ease;
    position: relative;
}

.skill-item:last-child {
    border-bottom: none;
}

.skill-item:hover {
    color: #ff6600;
    padding-left: 10px;
}

.skill-item.featured {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #333;
}

.skill-item.featured:hover {
    padding-left: 0;
}

.skill-badge {
    background-color: #ff6600;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    margin: 2rem 0;
}

.contact-card {
    background: #fff;
    border-radius: 15px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff6600 0%, #ff8533 100%);
}

.contact-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.5rem;
    color: #ff6600;
    width: 30px;
    text-align: center;
}

.contact-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #ff6600;
    text-decoration: none;
}

/* Responsive Adjustments for About Page */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .philosophy-container {
        padding: 2rem 1.5rem;
    }
    
    .philosophy-quote {
        font-size: 1.2rem;
        padding: 1rem 1.5rem;
    }
    
    .skill-card {
        padding: 1.5rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-links {
        gap: 1rem;
    }
}