/* ===== JESSOP + COOK ARCHITECTS - MAIN STYLES ===== */

/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

/* ===== IMAGE QUALITY OPTIMIZATION ===== */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    max-width: 100%;
    height: auto;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 1.3;
    color: #ED1C24;
    text-transform: none;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 400;
}

h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.75rem);
    font-weight: 400;
}

h4 {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 400;
}

p {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    color: #333333;
    line-height: 1.65;
    font-weight: 400;
}

/* ===== NAVIGATION ===== */
nav {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    padding: 2rem 5%;
    z-index: 1001;
    border-bottom: none;
}

nav.scrolled {
    padding: 1.5rem 5%;
}

/* White text for nav on hero (only on home page) */
nav .logo {
    transition: color 0.3s ease;
}

/* When nav has 'nav-home' class, use white text */
nav.nav-home .logo {
    color: white !important;
}

nav.nav-home .nav-links a {
    color: white !important;
}

nav.nav-home .nav-links a:hover,
nav.nav-home .nav-links a.active {
    color: white !important;
}

nav.nav-home .nav-links a::after {
    background: white !important;
}

nav.nav-home .mobile-menu-toggle {
    color: white !important;
}

nav .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

nav .logo {
    position: absolute;
    left: 5%;
}

nav .logo {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #ED1C24;
    text-decoration: none;
    letter-spacing: 0.02em;
    text-transform: none;
    transition: color 0.3s ease;
    display: none; /* Hidden by default on home page */
}

nav .nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

nav .nav-links a {
    color: #333333;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    position: relative;
    transition: color 0.3s ease, background 0.3s ease;
}

nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ED1C24;
    transition: width 0.3s ease;
}

nav .nav-links a:hover,
nav .nav-links a.active {
    color: #ED1C24;
}

nav .nav-links a:hover::after,
nav .nav-links a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #ED1C24;
    cursor: pointer;
}

/* ===== SERVICE NAVIGATION SIDEBAR ===== */
.service-nav-link:hover {
    border-left-color: #ED1C24 !important;
    color: #ED1C24 !important;
    padding-left: 1.25rem !important;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 105vh;
    min-height: calc(100vh + 50px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    margin-top: -120px;
    padding-top: 120px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    opacity: 1 !important;
    transform: none !important;
}

.hero-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    will-change: transform;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    filter: brightness(0.7);
    border-radius: 0;
    image-orientation: from-image;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 1200px;
    padding: 0 5%;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: none;
    font-weight: 400;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: none;
    font-weight: 400;
}

/* ===== SECTIONS ===== */
section {
    padding: 6rem 5%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2%;
    box-sizing: border-box;
}

.section-title {
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 400;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.05rem;
    color: #666;
    font-weight: 400;
    text-transform: none;
}

/* ===== HOME PAGE - INTRO ===== */
.intro {
    background: #FFFFFF;
    padding: 0 5% 5rem 5%;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    margin-bottom: 2rem;
}

.intro-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 0;
    color: #333333;
    font-weight: 400;
}

/* ===== FEATURED PROJECTS GRID ===== */
.featured-projects {
    background: white;
    padding: 6rem 5%;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.project-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    background: #000;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.92;
}

.project-card:hover img {
    transform: scale(1.08);
    opacity: 0.8;
}

.project-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 20%, rgba(0,0,0,0.3) 40%, transparent 70%);
    padding: 2rem 2.5rem 1.5rem 2.5rem;
    color: white;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-card-overlay {
    padding-bottom: 2rem;
}

.project-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.project-card-meta span {
    position: relative;
}

.project-card-meta span:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -0.6rem;
}

.project-card h3 {
    color: white;
    margin-bottom: 0.35rem;
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.project-card-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-card-description {
    opacity: 1;
    transform: translateY(0);
}

.project-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

/* ===== WHY US SECTION (GRID LAYOUT) ===== */
.why-us {
    background: white;
    padding: 6rem 5%;
    position: relative;
}

.why-us .section-container {
    max-width: 1200px;
    padding: 0;
    margin: 0 auto;
}

.why-us-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 5rem;
}

.why-us-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.why-us-header p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #666666;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.why-us-item {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
    background: white;
    transition: all 0.3s ease;
}

/* Alternate layout for visual interest */
.why-us-item:nth-child(even) {
    grid-template-columns: 1fr 320px;
}

.why-us-item:nth-child(even) .why-us-image {
    order: 2;
}

.why-us-item:nth-child(even) .why-us-content {
    order: 1;
}

.why-us-item:hover {
    transform: translateX(4px);
}

.why-us-item:nth-child(even):hover {
    transform: translateX(-4px);
}

.why-us-image {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 2px;
}

.why-us-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.why-us-item:hover .why-us-image img {
    transform: scale(1.05);
}

.why-us-content {
    display: flex;
    flex-direction: column;
    padding-top: 0.5rem;
}

.why-us-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    color: #000000;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.why-us-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 0;
}

/* ===== ABOUT CTA ===== */
.about-cta {
    background: white;
    padding: 8rem 5% 8rem 5%;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 12rem;
}

.about-cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
    text-align: left;
}

.about-cta-text {
    flex: 1;
}

.about-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.about-cta p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 4rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #ED1C24;
    color: white;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    border-radius: 8px;
}

.btn:hover {
    background: #D91820;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(237, 28, 36, 0.2);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1rem;
    font-weight: 500;
}

/* ===== TEAM SECTION ===== */
.team-section {
    margin-top: 5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.team-member:hover {
    transform: translateY(-4px);
}

.team-member:hover h4 {
    text-decoration: none;
}

.team-member-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center;
    margin-bottom: 1.5rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    border-radius: 20px;
}

.team-member:hover .team-member-image {
    filter: grayscale(0%);
}

.team-member h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    text-transform: none;
    font-weight: 400;
}

.team-member p {
    color: #666;
    font-weight: 400;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0;
}

/* ===== CONTACT PAGE ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    box-sizing: border-box;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.75rem;
    font-weight: 400;
    color: #666;
    font-size: 0.9rem;
    text-transform: capitalize;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 0;
    border: none;
    border-bottom: 1px solid #E0E0E0;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    background: transparent;
    border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #333;
    background: transparent;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.contact-details {
    background: transparent;
    padding: 0;
    border: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-details h3 {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 400;
    color: #333;
}

.contact-info-item {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
}

.contact-info-item i {
    display: none;
}

.contact-info-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: #000;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #333;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.social-links a:hover {
    background: #333;
    color: white;
    transform: none;
}

/* ===== FOOTER ===== */
footer {
    background: #FFF5F4;
    color: #333333;
    padding: 4rem 5% 2rem;
    border-top: 1px solid #FFE5E0;
    display: block !important;
    position: relative;
    z-index: 1;
    width: 100%;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-about h3 {
    color: #ED1C24;
    margin-bottom: 1rem;
}

.footer-about p {
    color: #666666;
    font-size: 0.95rem;
}

.professional-logos {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    align-items: flex-start;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.logo-text {
    color: #666666;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logo-separator {
    color: #FFE5E0;
    font-size: 0.9rem;
}

.professional-logos img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* Move RIBA logo down slightly */
.logo-item:nth-child(1) img {
    position: relative;
    top: 10px;
}

/* Make ARB logo bigger and remove white background */
.logo-item:nth-child(2) img {
    height: 71px;
    mix-blend-mode: multiply;
    position: relative;
    top: 0px;
    left: -10px;
    opacity: 0.85;
}

/* Mobile adjustments for ARB logo */
@media (max-width: 768px) {
    .logo-item:nth-child(2) img {
        height: 83px;
        top: 2px;
        left: 5px;
    }
}

.footer-links h4,
.footer-contact h4 {
    color: #ED1C24;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #666666;
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ED1C24;
}

.footer-contact p {
    color: #666666;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #FFE5E0;
    text-align: center;
    color: #999999;
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .project-card h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 968px) {
    nav .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 6rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    nav .nav-links.active {
        right: 0;
    }
    
    /* Ensure mobile menu works on home page */
    nav.nav-home .nav-links {
        background: white;
    }
    
    nav.nav-home .nav-links a {
        color: #333333 !important;
    }
    
    nav.nav-home .nav-links a:hover,
    nav.nav-home .nav-links a.active {
        color: #ED1C24 !important;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .contact-container,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 3%;
    }
    
    .professional-logos {
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .logo-text {
        font-size: 0.75rem;
    }
    
    .professional-logos img {
        height: 50px;
    }
    
    .logo-item:nth-child(2) img {
        height: 58px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .project-card {
        aspect-ratio: 4/5;
    }
    
    section {
        padding: 5rem 5%;
    }
}

@media (max-width: 768px) {
    .about-cta {
        padding: 6rem 5%;
        margin-top: 3rem;
        margin-bottom: 8rem;
    }
    
    .about-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .about-cta-text {
        text-align: center;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-details {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .intro-content {
        max-width: 100%;
    }
    
    .intro-content p {
        font-size: 1.05rem;
        line-height: 1.65;
    }
    
    .featured-projects {
        padding: 4rem 5%;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .project-card {
        aspect-ratio: 4/5;
    }
    
    /* Make homepage project squares taller on mobile */
    .project-square {
        height: 120vh !important;
    }
    
    .project-card h3 {
        font-size: 1.25rem;
    }
    
    .project-card-overlay {
        padding: 1.5rem 1.5rem 1.25rem 1.5rem;
    }
    
    .project-card:hover .project-card-overlay {
        padding-bottom: 1.75rem;
    }
    
    .project-card-description {
        font-size: 0.9rem;
    }
    
    .about-cta {
        padding: 5rem 5%;
        margin-top: 3rem;
        margin-bottom: 7rem;
    }
    
    .about-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .about-cta-text {
        text-align: center;
    }
    
    .about-cta h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .about-cta p {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
}

/* ===== HOMEPAGE FOUR SECTORS - MOBILE RESPONSIVE ===== */
@media (max-width: 968px) {
    #our-work-section > div {
        grid-template-columns: 1fr !important;
        height: auto !important;
        gap: 1rem !important;
    }
    
    #our-work-section > div > div {
        height: 60vh !important;
        min-height: 400px;
    }
}

@media (max-width: 640px) {
    #our-work-section > div > div {
        height: 50vh !important;
        min-height: 350px;
    }
}

/* ===== SERVICES PAGE - MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Core Services Grid - Stack to single column on mobile */
    section[style*="padding: 6rem 5%"] > div > div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Specialist Services Grid - Stack to single column on mobile */
    section[style*="background: #FAFAFA"] > div > div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* ===== FLOATING NEXT PAGE BUTTON ===== */
.floating-next-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #ED1C24;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(237, 28, 36, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.floating-next-btn:hover {
    background: #C41619;
    box-shadow: 0 6px 25px rgba(237, 28, 36, 0.4);
    transform: translateY(-2px);
}

.floating-next-btn i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .floating-next-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
    }
}
