/* ===================================
   RENAV OFFICIAL WEBSITE - STYLE.CSS
   Responsive, Accessible, Modern
   =================================== */

/* CSS Variables for consistency */
:root {
    --font-primary: 'DM Sans', sans-serif;
    --color-bg: rgb(252, 245, 235);
    --color-text: #000;
    --color-text-muted: #5e5e63;
    --color-accent: #2c20d1;
    --color-accent-light: rgb(228, 222, 250);
    --color-green: rgb(87, 196, 87);
    --color-purple: rgb(90, 66, 138);
    --color-footer-bg: rgb(33, 28, 117);
    --max-width: 1440px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
}

body {
    background-color: var(--color-bg);
    overflow-x: hidden;
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Section spacing - replacing <br> tags */
.section-spacing {
    height: clamp(30px, 5vw, 60px);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes textRotate {

    0%,
    20% {
        opacity: 1;
        transform: rotateX(0deg);
    }

    25%,
    45% {
        opacity: 0;
        transform: rotateX(90deg);
    }

    50%,
    70% {
        opacity: 1;
        transform: rotateX(0deg);
    }

    75%,
    95% {
        opacity: 0;
        transform: rotateX(-90deg);
    }

    100% {
        opacity: 1;
        transform: rotateX(0deg);
    }
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===================================
   NAVBAR
   =================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-color: var(--color-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0 calc(50vw - 50%);
}

.navbar header {
    background-color: rgba(252, 245, 235, 0.95);
}

.nav-links {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.left-links #logo {
    width: 35px;
    height: auto;
}

.center-links {
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: clamp(20px, 4vw, 80px);
    font-size: clamp(16px, 1.25vw, 20px);
}

.center-links a {
    text-decoration: none;
    color: var(--color-text);
    padding: 10px;
    border-radius: 10px;
    transition: var(--transition);
}

.center-links a:focus,
.right-links:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.active:hover {
    color: rgb(53, 2, 156);
    background-color: rgba(128, 128, 128, 0.1);
}

.right-links {
    background-color: white;
    border: 1px solid black;
    padding: 14px 24px;
    border-radius: 9999px;
    text-decoration: none;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: clamp(16px, 1.25vw, 20px);
    transition: var(--transition);
    cursor: pointer;
}

.right-links img {
    width: 25px;
    height: auto;
}

.right-links:hover {
    background-color: var(--color-green);
    color: white;
    transform: scale(1.05);
}

.right-links:active {
    transform: scale(0.98);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.mobile-nav a {
    font-size: 24px;
    text-decoration: none;
    color: var(--color-text);
    padding: 15px 30px;
    border-radius: 10px;
    transition: var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a:focus {
    background-color: rgba(128, 128, 128, 0.1);
    color: rgb(53, 2, 156);
}

/* ===================================
   CONSENT PREFERENCE
   =================================== */
.consent_preference {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}

.consent_preference img {
    width: 40px;
    height: 40px;
    background-color: rgb(0, 86, 167);
    border-radius: 50%;
    padding: 5px;
    transition: var(--transition);
}

.consent_preference button {
    background: rgb(0, 86, 167);
    border: none;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consent_preference:hover {
    cursor: pointer;
}

.consent_preference:hover img {
    transform: scale(1.1);
}

/* ===================================
   PAGE 1 - HERO
   =================================== */
.page1 .content {
    margin: 10px 30px;
    padding-left: 30px;
    background-image: url(../assets/Gemini_Generated_Image_cd73vncd73vncd73.png);
    background-size: cover;
    background-position: center;
    height: 779px;
    border-radius: 24px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.page1 .home-content {
    position: absolute;
    top: 30%;
}

.page1 .home-content1 {
    margin-bottom: 50px;
}

.page1 .home-content1 #span1 {
    font-size: clamp(36px, 6vw, 70px);
    display: block;
}

.page1 .home-content1 #span2 {
    font-size: clamp(36px, 6vw, 70px);
    font-weight: 550;
    border-bottom: 5px solid #fff27f;
    border-radius: 5px;
    display: inline-block;
}

.page1 .home-content2 {
    font-size: clamp(20px, 3vw, 30px);
    font-weight: lighter;
}

/* Text Rotation Animation */
.page1 .div_animation {
    display: inline-block;
    perspective: 1000px;
}

.page1 .div_animation .animation-card {
    display: none;
    animation: textRotate 8s infinite;
}

.page1 .div_animation .animation-card.active {
    display: inline-block;
}

.page1 .div_animation .animation {
    line-height: 2.8;
    padding: 0px 10px;
    background-color: var(--color-bg);
    color: black;
    display: inline-block;
    border-radius: 8px;
}

.page1 .home-content3 {
    display: flex;
    flex-direction: row;
    gap: 25px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.page1 .home-content3 a {
    text-decoration: none;
    color: black;
}

.page1 .home-content3 #whatsapp,
.page1 .home-content3 #email {
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid white;
    padding: 10px 20px;
    border-radius: 9999px;
    background-color: white;
    font-size: clamp(16px, 1.5vw, 20px);
    transition: var(--transition);
    cursor: pointer;
}

.page1 .home-content3 img {
    width: 25px;
    height: auto;
}

.page1 .home-content3 #whatsapp:hover,
.page1 .home-content3 #email:hover {
    background-color: var(--color-green);
    color: black;
    transform: scale(1.05);
}

.page1 .home-content3 #whatsapp:active,
.page1 .home-content3 #email:active {
    transform: scale(0.98);
}

/* ===================================
   COMMON SECTION STYLES
   =================================== */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(50px, 8vw, 100px) clamp(20px, 5vw, 70px);
}

/* Section Heading Badge */
.heading {
    padding: 10px 20px;
    border: 1px solid rgb(22, 22, 120);
    width: max-content;
    border-radius: 9999px;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    font-size: clamp(16px, 1.5vw, 20px);
}

/* ===================================
   PAGE 2 - WHO WE ARE
   =================================== */
.page2 {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(50px, 8vw, 100px) clamp(20px, 5vw, 70px);
}

.page2 .content_box {
    display: flex;
    flex-direction: row;
    gap: clamp(20px, 4vw, 40px);
    margin-top: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.page2 .left_box {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color-text-muted);
}

.page2 .left_box_content1 {
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.4;
}

.page2 .left_box_content1 b {
    font-weight: 550;
    color: var(--color-text);
}

.page2 .left_box_content2 {
    font-weight: 300;
    margin-top: clamp(40px, 6vw, 70px);
    font-size: clamp(18px, 2vw, 25px);
    color: rgb(94, 94, 99);
}

.page2 .right_box {
    flex: 1;
    min-width: 300px;
    max-width: 422px;
}

.page2 .right_box img {
    width: 100%;
    max-width: 422px;
    height: auto;
    max-height: 700px;
    object-fit: cover;
    border-radius: 20px;
}

/* Stats Box Container */
.page2 .box_container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: clamp(50px, 8vw, 100px);
    gap: 30px;
}

.page2 .box_container .box {
    border-radius: 10px;
    border: 1px solid black;
    background-color: var(--color-bg);
    box-shadow: 5px 20px 75px 0px rgba(237, 228, 214);
    padding: clamp(20px, 3vw, 40px);
    color: rgb(67, 67, 67);
    line-height: 1.5;
}

.page2 .box_container .box .box_content {
    margin-top: 20px;
    font-size: clamp(28px, 3vw, 40px);
    color: var(--color-text);
}

.page2 .box_container .box .box_content2 {
    font-size: clamp(16px, 1.5vw, 20px);
    margin-top: 20px;
}

/* ===================================
   MARQUEE - CSS ANIMATION
   =================================== */
.marquee1 {
    width: 100%;
    background-color: white;
    overflow: hidden;
    padding: 20px 0;
}

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: flex;
    align-items: center;
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-content img {
    height: clamp(40px, 5vw, 60px);
    width: auto;
    margin: 0 clamp(20px, 4vw, 40px);
    object-fit: contain;
}

/* ===================================
   PAGE 3 - WHAT WE DO
   =================================== */
.page3 {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(50px, 8vw, 100px) clamp(20px, 5vw, 70px);
}

.page3 .content_box {
    display: flex;
    flex-direction: row;
    gap: clamp(20px, 4vw, 40px);
    margin-top: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.page3 .left_box {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color-text-muted);
}

.page3 .left_box_content1 {
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.4;
}

.page3 .left_box_content1 b {
    font-weight: 550;
    color: var(--color-text);
}

.page3 .left_box_content2 {
    font-weight: 300;
    margin-top: clamp(40px, 6vw, 70px);
    font-size: clamp(18px, 2vw, 25px);
    color: rgb(94, 94, 99);
}

.page3 .right_box {
    flex: 1;
    min-width: 300px;
    max-width: 603px;
}

.page3 .right_box img {
    width: 100%;
    max-width: 603px;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}

/* Marquee 2 - Placeholder Section */
.marquee2 {
    min-height: 150px;
    background: linear-gradient(135deg, rgb(211, 243, 251) 0%, rgb(228, 240, 255) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.marquee2 .content {
    text-align: center;
    color: var(--color-accent);
    font-size: clamp(20px, 2.5vw, 32px);
    padding: 40px 20px;
}

/* ===================================
   PAGE 4 - OUR PRODUCTS
   =================================== */
.page4 {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(50px, 8vw, 100px) clamp(20px, 5vw, 70px);
}

.page4 .content_box {
    display: flex;
    flex-direction: row;
    gap: clamp(20px, 4vw, 40px);
    margin-top: 50px;
    flex-wrap: wrap;
}

.page4 .left_box {
    flex: 1;
    min-width: 280px;
}

.page4 .left_box img {
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
}

.page4 .right_box {
    flex: 1;
    min-width: 300px;
    color: var(--color-text-muted);
}

.page4 .right_box_content1 {
    font-size: clamp(18px, 2vw, 25px);
    line-height: 1.5;
}

.page4 .right_box_content1 b {
    font-weight: 550;
    color: var(--color-text);
}

/* ===================================
   PAGE 5 - UVDIALER
   =================================== */
.page5 {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 70px) clamp(50px, 8vw, 100px);
}

.page5 .content_box {
    display: flex;
    flex-direction: row;
    gap: clamp(20px, 4vw, 40px);
    margin-top: 50px;
    flex-wrap: wrap;
}

.page5 .left_box {
    flex: 1;
    min-width: 280px;
}

.page5 .left_box img {
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
}

.page5 .right_box {
    flex: 1;
    min-width: 300px;
    color: var(--color-text-muted);
}

.page5 .right_box_content1 img {
    height: auto;
    max-height: 113px;
    max-width: 285px;
    width: 100%;
    object-fit: contain;
}

.page5 .right_box_content2 {
    color: var(--color-purple);
    font-size: clamp(28px, 3.5vw, 40px);
    margin-top: 29px;
}

.page5 .right_box_content3 {
    font-size: clamp(18px, 2vw, 25px);
    margin-top: 30px;
}

.page5 .right_box_content4 {
    font-size: clamp(18px, 2vw, 25px);
    margin-top: 30px;
}

.page5 .right_box_content4 ul {
    list-style-type: none;
}

.page5 .right_box_content4 li {
    line-height: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page5 .right_box_content4 svg {
    background-color: yellowgreen;
    border-radius: 50%;
    padding: 5px;
    flex-shrink: 0;
}

/* ===================================
   PAGE 6 - THE MESSENGER
   =================================== */
.page6 {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(100px, 15vw, 200px) clamp(20px, 5vw, 70px) 0;
}

.page6 .content_box {
    display: flex;
    flex-direction: row;
    gap: clamp(20px, 4vw, 40px);
    margin-top: 50px;
    flex-wrap: wrap;
}

.page6 .left_box {
    flex: 1;
    min-width: 300px;
    padding-right: clamp(0px, 3vw, 30px);
    color: var(--color-text-muted);
}

.page6 .left_box_content1 img {
    width: 250px;
    height: auto;
    max-width: 100%;
}

.page6 .left_box_content2 {
    color: #106634;
    font-size: clamp(28px, 3.5vw, 40px);
    margin-top: 29px;
}

.page6 .left_box_content3 {
    font-size: clamp(18px, 2vw, 25px);
    margin-top: 30px;
    color: #4a4a4f;
}

.page6 .right_box {
    flex: 1;
    min-width: 280px;
    max-width: 618px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border: 1px solid #e6ffda;
    border-radius: 20px;
}

.page6 .right_box img {
    max-width: 324px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.145) 5px 20px 75px 0px;
}

/* ===================================
   PAGE 7 - CASE STUDIES
   =================================== */
.page7 {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(50px, 8vw, 100px) clamp(20px, 5vw, 70px);
}

.page7 .image_box {
    margin-top: 75px;
}

.page7 .image_box img {
    width: 100%;
    max-width: 1240px;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
}

.page7 .content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    line-height: 1.5;
}

.page7 .content-1 {
    font-size: clamp(32px, 4vw, 49px);
}

.page7 .content-2 {
    color: rgb(112, 111, 108);
    margin-top: 10px;
    font-size: 16px;
}

.page7 .content-3 {
    font-size: 18px;
    color: var(--color-accent);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.page7 .content-3:hover {
    text-decoration: underline;
}

.page7 a.content-3,
.page7 a.content-3:visited {
    color: var(--color-accent);
}

/* ===================================
   PAGE 8 - MORE CASE STUDIES
   =================================== */
.page8 {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 70px) clamp(50px, 8vw, 100px);
}

.page8 .box-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    width: 100%;
}

.page8 .box .image_box img {
    width: 100%;
    max-width: 604px;
    height: auto;
    border-radius: 20px;
}

.page8 .box .content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    line-height: 1.5;
}

.page8 .box .content-1 {
    font-size: clamp(28px, 3.5vw, 49px);
}

.page8 .box .content-2 {
    color: rgb(112, 111, 108);
    margin-top: 10px;
    font-size: 16px;
}

.page8 .box .content-3 {
    font-size: 18px;
    color: var(--color-accent);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.page8 .box .content-3:hover {
    text-decoration: underline;
}

.page8 .box a.content-3,
.page8 .box a.content-3:visited {
    color: var(--color-accent);
}

.page8 .view-all {
    text-align: center;
    margin-top: clamp(40px, 6vw, 80px);
}

.page8 .view-all span {
    color: var(--color-accent);
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}

.page8 .view-all span:hover {
    text-decoration: underline;
}

/* ===================================
   PAGE 9 - CTA SECTION
   =================================== */
.page9 {
    background-color: white;
}

.page9 .main-box {
    padding: clamp(50px, 8vw, 100px) clamp(20px, 5vw, 70px);
    max-width: var(--max-width);
    margin: 0 auto;
}

.page9 .center-box {
    background-color: var(--color-purple);
    background-image: url(https://breakdancelibrary.com/samba/wp-content/uploads/sites/2/2023/04/dots.svg);
    background-repeat: no-repeat;
    background-size: clamp(120px, 15vw, 240px);
    background-position: -4% center;
    padding: clamp(50px, 8vw, 100px) clamp(20px, 4vw, 40px);
    color: white;
    text-align: center;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page9 .center-box .content-1 {
    font-size: clamp(20px, 3vw, 29px);
    margin-bottom: 24px;
}

.page9 .center-box .content-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page9 .center-box a {
    text-decoration: none;
    color: black;
}

.page9 .center-box #whatsapp,
.page9 .center-box #email {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid white;
    padding: 10px 20px;
    border-radius: 9999px;
    background-color: white;
    font-size: clamp(16px, 1.5vw, 20px);
    transition: var(--transition);
    cursor: pointer;
}

.page9 .center-box img {
    width: 25px;
    height: auto;
}

.page9 .center-box #whatsapp:hover,
.page9 .center-box #email:hover {
    background-color: var(--color-green);
    transform: scale(1.05);
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background-color: var(--color-footer-bg);
    color: white;
    padding: 0 0 20px;
    line-height: 1.4;
    border-radius: 0 0 90px 90px;
    margin-bottom: 50px;
}

footer .content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px clamp(20px, 5vw, 70px) 40px;
    display: flex;
    gap: clamp(20px, 4vw, 40px);
    flex-wrap: wrap;
    justify-content: space-between;
}

footer .copyright {
    text-align: center;
    padding: 20px;
    font-size: clamp(12px, 1.2vw, 14px);
}

footer .box1 {
    flex: 2;
    min-width: 250px;
    max-width: 400px;
}

footer .box1 img {
    height: 150px;
    width: auto;
}

footer .box1 .box1_content {
    margin: 20px 0 16px;
}

footer .box2,
footer .box3,
footer .box4 {
    flex: 1;
    min-width: 150px;
}

footer .box2_content,
footer .box3_content,
footer .box4_content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

footer .box2_content p,
footer .box3_content p,
footer .box4_content p {
    text-decoration: 2px wavy underline;
    color: rgb(76, 70, 197);
    font-size: clamp(16px, 1.5vw, 20px);
    margin-bottom: 10px;
}

footer .box2_content a,
footer .box3_content a,
footer .box4_content a {
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

footer .box2_content a:hover,
footer .box3_content a:hover,
footer .box4_content a:hover {
    color: rgb(76, 70, 197);
}

footer a:focus {
    outline: 2px solid rgb(76, 70, 197);
    outline-offset: 2px;
}

/* ===================================
   RESPONSIVE BREAKPOINTS
   =================================== */

/* Large Tablets & Small Desktops */
@media (max-width: 1024px) {

    .page2 .content_box,
    .page3 .content_box {
        flex-direction: column;
    }

    .page2 .right_box,
    .page3 .right_box {
        max-width: 100%;
    }

    .page4 .content_box,
    .page5 .content_box,
    .page6 .content_box {
        flex-direction: column;
    }

    .page2 .box_container {
        grid-template-columns: repeat(2, 1fr);
    }

    .page8 .box-container {
        grid-template-columns: 1fr;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .center-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: flex;
    }

    .page1 .home-content3 {
        flex-direction: column;
        align-items: flex-start;
    }

    .page1 .home-content3 #whatsapp,
    .page1 .home-content3 #email {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .page2 .box_container {
        grid-template-columns: repeat(2, 1fr);
    }

    footer .content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    footer .box1 {
        text-align: center;
        max-width: 100%;
    }

    footer {
        border-radius: 0 0 40px 40px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .nav-links {
        padding: 15px;
    }

    .right-links {
        padding: 10px 16px;
        font-size: 14px;
    }

    .page2 .box_container {
        grid-template-columns: 1fr;
    }

    .page9 .center-box .content-2 {
        flex-direction: column;
    }

    .consent_preference {
        bottom: 10px;
        left: 10px;
    }

    footer {
        border-radius: 0 0 20px 20px;
        margin-bottom: 30px;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .marquee-content {
        animation: none;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}