/* Make color variable */
:root {
    --light-green: #91ef18;
    --dark-green: #144434;
    --lime-green: #eaff1d;
}

@font-face {
    font-family: "Allenoire";
    src: url("../assets/fonts/allenoire-allenoire-regular-400.woff2");
}

@font-face {
    font-family: "playfair";
    src: url("../assets/fonts/DMSans-VariableFont_opsz-wght.woff2");
}

#main {
    height: 100%;
    transform: none;
    will-change: auto;
}

/* Skip Animation Indicator Styles */
.skip-indicator {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(20px);
    width: fit-content;
    border-radius: 100px;
    padding: 15px 20px;
    z-index: 1001;
    transition: all 0.3s ease;
    animation: pulseGlow 2s ease-in-out infinite;
}

.skip-indicator.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.skip-indicator.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.skip-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.skip-content p {
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
}

.skip-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.click-icon,
.scroll-icon,
.key-icon {
    font-size: 18px;
    animation: bounce 1.5s ease-in-out infinite;
}

.scroll-icon {
    animation-delay: 0.3s;
}

.key-icon {
    animation-delay: 0.6s;
}

@keyframes pulseGlow {
    0%,
    100% {
        box-shadow: 0 0 20px rgb(234, 255, 29,0.3);
    }
    50% {
        box-shadow: 0 0 30px rgb(234, 255, 29,0.3);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Responsive styles for skip indicator */
@media (max-width: 768px) {
    .skip-indicator {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
    }

    .skip-content p {
        font-size: 12px;
    }

    .click-icon,
    .scroll-icon {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .skip-indicator {
        bottom: 15px;
        right: 15px;
        left: 15px;
        padding: 10px 14px;
    }

    .skip-content {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }

    .skip-content p {
        font-size: 11px;
    }

    .skip-icons {
        gap: 10px;
    }
}

#hero {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    /* background-color: red; */
}

/* Apply perspective to hero for loading animation */
.loading-view #hero {
    perspective: 1000px;
}

#hero #hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#hero #hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.7);
    
}

#hero #hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

/* Initially hide elements during loading */
body.initial-load {
    overflow: hidden;
    height: 100vh;
}

/* Navbar active link styles */
#navbar #menu .nav-link.active {
    color: var(--light-green) !important;
    font-weight: 600;
    position: relative;
}

#navbar #menu .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--light-green);
    border-radius: 1px;
}

#navbar.scrolled #menu .nav-link.active {
    color: var(--light-green) !important;
}

body.initial-load #navbar {
    opacity: 0;
    transform: translateY(-100%);
    transition: none;
}

body.initial-load #hero-text {
    opacity: 0;
    transform: translateY(50px);
    transition: none;
}

/* Hide both video and background during initial loading */
body.initial-load #hero-static-bg {
    opacity: 0;
    z-index: 1;
}

body.initial-load #hero-video {
    opacity: 0;
    z-index: 2;
}

/* Show a loading state with dark background */
body.initial-load #hero {
    background-color: white;
}

#hero #hero-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 0 6vw;
    gap: 1.5vw;
}

#hero #hero-text #hero-headings {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 2.5rem;
    color: white;
    list-style: none;
    line-height: 4.4rem;
    letter-spacing: 0.15rem;
}

#hero #hero-text #hero-headings h1 {
    font-family: "Allenoire", sans-serif;
    font-weight: 600;
}

#hero #hero-text #hero-subtext {
    width: 40%;
    color: white;
    font-family: "playfair", serif;
}

#hero #hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

#hero #hero-buttons button {
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    background-color: var(--dark-green);
    transition: all ease-in-out 0.3s;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--lime-green);
}

#hero #hero-buttons button:hover {
    background-color: var(--lime-green);
    color: var(--dark-green);
}

#hero #hero-buttons button:nth-child(2) {
    background-color: transparent;
    border: 1px solid var(--lime-green);
    color: var(--lime-green);
}
#hero #hero-buttons button:nth-child(2):hover {
    background-color: var(--lime-green);
    color: var(--dark-green);
}

/* ===== HERO SECTION MOBILE RESPONSIVE STYLES ===== */

/* Tablet Styles */
@media (max-width: 1024px) {
    #hero #hero-text {
        padding: 0 4vw;
        gap: 2vw;
    }

    #hero #hero-text #hero-headings {
        font-size: 2.2rem;
        line-height: 3.8rem;
        letter-spacing: 0.1rem;
    }

    #hero #hero-text #hero-subtext {
        width: 60%;
    }
}

/* Mobile Landscape and Smaller Tablets */
@media (max-width: 768px) {
    #hero {
        height: 100vh;
        align-items: center;
    }

    #hero #hero-bg img,
    #hero #hero-bg video {
        object-position: center;
        filter: brightness(0.6);
    }

    #hero #hero-text {
        padding: 0 6vw;
        gap: 3vw;
        text-align: left;
    }

    #hero #hero-text #hero-headings {
        font-size: 1.8rem;
        line-height: 3.5rem;
        letter-spacing: 0.08rem;
        gap: 1rem;
    }

    #hero #hero-text #hero-subtext {
        width: 80%;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    #hero #hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
        width: 100%;
        max-width: 280px;
    }

    #hero #hero-buttons button {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
        border-radius: 25px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    #hero {
        height: 100vh;
        min-height: 600px;
    }

    #hero #hero-bg img,
    #hero #hero-bg video {
        object-position: center 30%;
        filter: brightness(0.5);
    }

    #hero #hero-text {
        padding: 0 5vw;
        gap: 4vw;
        justify-content: center;
    }

    #hero #hero-text #hero-headings {
        font-size: 1.5rem;
        line-height: 2.9rem;
        letter-spacing: 0.05rem;
        gap: 0.8rem;
    }

    #hero #hero-text #hero-subtext {
        width: 95%;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    #hero #hero-buttons {
        margin-top: 1.5rem;
        max-width: 100%;
    }

    #hero #hero-buttons button {
        width: 12rem;
        padding: 14px 18px;
        font-size: 0.9rem;
        font-weight: 600;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 360px) {
    #hero #hero-text {
        padding: 0 4vw;
    }

    #hero #hero-text #hero-headings {
        font-size: 1.3rem;
        line-height: 2.5rem;
    }

    #hero #hero-text #hero-subtext {
        font-size: 0.85rem;
    }

    #hero #hero-buttons button {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}

/* ===== END HERO MOBILE STYLES ===== */

#about {
    width: 100%;
    position: relative;
    z-index: 2;
    background-color: white;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5vw 10vw;
    padding-top: 7vw;
}

#about #aleft {
    width: 45%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#about #aleft .aboutimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.8s ease;
    opacity: 0;
    
    /* transform: translateX(-20px) scale(0.9); */
}

@media (min-width: 1024px) {
    #about #aleft .aboutimg {
        transform: translateX(-20px) scale(0.9);
    }
    #about #aleft .aboutimg:hover {
        transform: scale(1) !important;
        box-shadow: 0 20px 40px rgba(20, 68, 52, 0.3);
    }
}

/* Remove duplicate aboutimg styles */

#about #aright #ar-top {
    opacity: 0;
    transform: translateY(30px);
}

#about #aright #ar-text h1 {
    opacity: 0;
    transform: translateY(40px);
}

#about #aright #ar-text p {
    opacity: 0;
    transform: translateY(30px);
}

#about #aright #ar-button {
    opacity: 0;
    transform: translateY(30px);
}

#about #aright {
    width: 45%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2vw;
}

#about #aright #ar-top {
    display: flex;
    align-items: center;
    gap: 1vw;
}

#about #aright #ar-top #dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--light-green);
    position: relative;
    animation: dotPulse 2s ease-in-out infinite;
}

#about #aright #ar-top #dot::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--light-green);
    opacity: 0.3;
    animation: dotRipple 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%,
    100% {
        transform: scale(1);
        background-color: var(--light-green);
    }
    50% {
        transform: scale(1.2);
        background-color: var(--lime-green);
    }
}

@keyframes dotRipple {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* General fade-in animation for all sections */
.section-fade-in {
    opacity: 0;
    transform: translateY(50px);
}

.section-fade-in.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Animated states when elements come into view */
#about.animate #aleft .aboutimg {
    opacity: 1;
    transform: scale(1);
    transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

#about.animate #aright #ar-top {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) 0.2s;
}

#about.animate #aright #ar-text h1 {
    width: fit-content;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1) 0.4s;
}

/* Override transition when typing effect is active */
#about.animate #aright #ar-text h1.typing {
    transition: none;
}

#about.animate #aright #ar-text p:nth-of-type(1) {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.7s cubic-bezier(0.25, 0.1, 0.25, 1) 0.6s;
}

#about.animate #aright #ar-text p:nth-of-type(2) {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.7s cubic-bezier(0.25, 0.1, 0.25, 1) 0.8s;
}

#about.animate #aright #ar-button {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) 1s;
}

/* Typing effect for the main heading */
#about #aright #ar-text h1.typing {
    /* border-right: 2px solid var(--light-green); */
    opacity: 1;
    transform: translateY(0);
}

/* Remove cursor after typing is complete */
#about #aright #ar-text h1:not(.typing) {
    border-right: none;
}

@keyframes typeWriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* @keyframes blinkCursor {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--light-green);
    }
} */

#about #aright #ar-top h2 {
    font-size: 1.2vw;
    font-weight: 500;
    color: var(--dark-green);
}

#about #aright #ar-text h1 {
    font-size: 2.5vw;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 1.5vw;
}

#about #aright #ar-text p {
    font-size: 1vw;
    font-weight: 400;
    color: var(--dark-green);
    line-height: 1.5;
}

#about #aright #ar-button button {
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    background-color: var(--dark-green);
    transition: all ease-in-out 0.3s;
    cursor: pointer;
    font-size: 1.1vw;
    font-weight: 500;
    color: var(--lime-green);
}

#about #aright #ar-button button:hover {
    background-color: var(--lime-green);
    color: var(--dark-green);
}

/* ===== ABOUT SECTION MOBILE RESPONSIVE STYLES ===== */

/* Tablet Styles */
@media (max-width: 1024px) {
    #about {
        height: auto;
        min-height: 80vh;
        flex-direction: column;
        padding: 6vw 5vw;
        gap: 4vw;
    }

    #about #aleft,
    #about #aright {
        width: 100%;
    }

    #about #aleft {
        height: 50vh;
        max-height: 400px;
    }

    #about #aright #ar-top h2 {
        font-size: 1.4rem;
    }

    #about #aright #ar-text h1 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    #about #aright #ar-text p {
        font-size: 1rem;
        line-height: 1.6;
    }

    #about #aright #ar-button button {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }
}

/* Mobile Landscape and Smaller Tablets */
@media (max-width: 768px) {
    #about {
        padding: 8vw 6vw;
        gap: 5vw;
        min-height: auto;
    }

    #about #aleft {
        height: 40vh;
        max-height: 350px;
    }

    #about #aleft .aboutimg {
        border-radius: 15px;
    }

    #about #aright {
        gap: 3vw;
    }

    #about #aright #ar-top h2 {
        font-size: 1.2rem;
    }

    #about #aright #ar-text h1 {
        font-size: 1.8rem;
        line-height: 2.2rem;
        margin-bottom: 1.2rem;
    }

    #about #aright #ar-text p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    #about #aright #ar-button button {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.95rem;
        border-radius: 25px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    #about {
        padding: 10vw 5vw;
        gap: 6vw;
    }

    #about #aleft {
        height: 35vh;
        max-height: 300px;
    }

    #about #aleft .aboutimg {
        transform: translateX(0) scale(1) !important;
        border-radius: 12px;
    }

    #about #aright {
        gap: 4vw;
        text-align: left;
    }

    #about #aright #ar-top {
        gap: 3vw;
    }

    #about #aright #ar-top h2 {
        font-size: 1.1rem;
    }

    #about #aright #ar-text h1 {
        font-size: 1.5rem;
        line-height: 2rem;
        margin-bottom: 1rem;
    }

    #about #aright #ar-text p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }

    #about #aright #ar-button {
        margin-top: 1rem;
    }

    #about #aright #ar-button button {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        font-size: 0.9rem;
        font-weight: 600;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 360px) {
    #about {
        padding: 8vw 4vw;
    }

    #about #aleft {
        height: 30vh;
        max-height: 250px;
    }

    #about #aright #ar-top h2 {
        font-size: 1rem;
    }

    #about #aright #ar-text h1 {
        font-size: 1.3rem;
        line-height: 1.8rem;
    }

    #about #aright #ar-text p {
        font-size: 0.85rem;
    }

    #about #aright #ar-button button {
        padding: 12px 18px;
        font-size: 0.85rem;
    }
}

/* ===== END ABOUT MOBILE STYLES ===== */

#product {
    width: 100%;
    height: 80vh;
    background: url(../assets/images/hero/brandGuideline.webp);
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow-x: hidden;
    /* Ensure no transforms interfere with fixed background */
    transform: none !important;
    will-change: auto;
    /* Create new stacking context */
    isolation: isolate;
    /* Force hardware acceleration for better fixed background support */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

#product #pwrapper {
    width: 100%;
    height: 100%;
    background-color: rgba(20, 68, 52, 0.9);
    display: flex;
    flex-direction: column;
    padding: 5vw 6vw;
    position: relative;
    z-index: 1;
    /* Ensure no transforms interfere with parent's fixed background */
    transform: none !important;
}

#product #pwrapper #ptop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 10%;
    margin-bottom: 2vw;
}

#product #pwrapper #ptop #ptopl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vw;
    /* margin-bottom: 2vw; */
}

#product #pwrapper #ptop #ptopl #dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--lime-green);
    position: relative;
}

#product #pwrapper #ptop #ptopl #dot::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--lime-green);
    opacity: 0.3;
    animation: dotRipple 2s ease-in-out infinite;
}

#product #pwrapper #ptop #ptopl h2 {
    font-size: 1vw;
    font-weight: 500;
    color: white;
}

#product #pwrapper #ptop #ptopr a {
    font-size: 1vw;
    color: white;
    text-decoration: underline;
    cursor: pointer;
    transition: all ease 0.3s;
}

#product #pwrapper #ptop #ptopr a:hover {
    color: var(--lime-green);
}

#product #pwrapper #pbtm {
    width: 100%;
    height: 80vh;
    display: flex;
    justify-content: space-between;
    gap: 2vw;
    padding-bottom: 1vw;
}

#product #pwrapper #pbtm .pcard {
    width: 28%;
    height: 100%;
    /* background-color: red; */
    position: relative;
    transition: all ease-in-out 0.3s;
    opacity: 0;
    transform: translateY(80px) scale(0.8);
}

#product #pwrapper #pbtm .pcard img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    border-radius: 20px;
    filter: brightness(70%);
    transition: all ease-in-out 0.3s;
}

#product #pwrapper #pbtm .pcard h3 {
    position: absolute;
    bottom: 4vw;
    left: 1.5vw;
    color: white;
    font-size: 1.5vw;
    z-index: 3;
    letter-spacing: 0.05vw;
}

#product #pwrapper #pbtm .pcard p {
    position: absolute;
    bottom: 1.25vw;
    left: 1.5vw;
    color: white;
    font-size: 1vw;
    z-index: 3;
    letter-spacing: 0.02vw;
}

#product #pwrapper #pbtm .pcard:hover img {
    /* filter: brightness(100%); */
    transform: scale(1.05);
    cursor: pointer;
}

#product #pwrapper #pbtm .pcard:hover h3 {
    color: var(--lime-green);
}

#product #pwrapper #pbtm .pcard #pcardbtn {
    position: absolute;
    top: 1.25vw;
    right: 1.5vw;
    width: 2.5vw;
    height: 2.5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background-color: white;

    color: var(--dark-green);
    /* font-size: 0.25vw; */
    cursor: pointer;
    transition: all ease-in-out 0.3s;
}
#product #pwrapper #pbtm .pcard #pcardbtn svg {
    transform: scale(0.4);
    transition: all ease-in-out 0.3s;
}

#product #pwrapper #pbtm .pcard:hover #pcardbtn {
    /* background-color: var(--lime-green); */
    transform: scale(1.1);
}

#product #pwrapper #pbtm .pcard:hover #pcardbtn svg {
    transform: scale(0.5);
}

/* ===== PRODUCT SECTION MOBILE RESPONSIVE STYLES ===== */

/* Tablet Styles */
@media (max-width: 1024px) {
    #product {
        height: auto;
        min-height: 90vh;
    }

    #product #pwrapper {
        padding: 6vw 5vw;
    }

    #product #pwrapper #ptop {
        margin-bottom: 4vw;
    }

    #product #pwrapper #ptop #ptopl h2 {
        font-size: 1.2rem;
    }

    #product #pwrapper #ptop #ptopr a {
        font-size: 1rem;
    }

    #product #pwrapper #pbtm {
        height: auto;
        flex-direction: column;
        gap: 4vw;
        padding-bottom: 2vw;
    }

    #product #pwrapper #pbtm .pcard {
        width: 100%;
        height: 50vh;
        max-height: 400px;
    }

    #product #pwrapper #pbtm .pcard h3 {
        font-size: 1.8rem;
        bottom: 3vw;
        left: 2vw;
    }

    #product #pwrapper #pbtm .pcard p {
        font-size: 1rem;
        bottom: 1vw;
        left: 2vw;
        right: 2vw;
    }

    #product #pwrapper #pbtm .pcard #pcardbtn {
        width: 45px;
        height: 45px;
        top: 2vw;
        right: 2vw;
    }
}

/* Mobile Landscape and Smaller Tablets */
@media (max-width: 768px) {
    #product #pwrapper {
        padding: 8vw 6vw;
    }

    #product #pwrapper #ptop {
        flex-direction: row;
        align-items: flex-start;
        gap: 2vw;
        margin-bottom: 5vw;
    }

    #product #pwrapper #ptop #ptopl h2 {
        font-size: 1.1rem;
    }

    #product #pwrapper #ptop #ptopr a {
        font-size: 0.95rem;
    }

    #product #pwrapper #pbtm {
        gap: 5vw;
    }

    #product #pwrapper #pbtm .pcard {
        height: 45vh;
        max-height: 350px;
        border-radius: 15px;
    }

    #product #pwrapper #pbtm .pcard img {
        border-radius: 15px;
        filter: brightness(60%);
    }

    #product #pwrapper #pbtm .pcard h3 {
        font-size: 1.6rem;
        bottom: 5vw;
        left: 4vw;
    }

    #product #pwrapper #pbtm .pcard p {
        font-size: 0.95rem;
        bottom: 2vw;
        left: 4vw;
        right: 4vw;
        line-height: 1.4;
    }

    #product #pwrapper #pbtm .pcard #pcardbtn {
        width: 40px;
        height: 40px;
        top: 3vw;
        right: 4vw;
    }

    #product #pwrapper #pbtm .pcard #pcardbtn svg {
        transform: scale(0.35);
    }

    #product #pwrapper #pbtm .pcard:hover #pcardbtn svg {
        transform: scale(0.45);
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    #product #pwrapper {
        padding: 10vw 5vw;
    }

    #product #pwrapper #ptop {
        margin-bottom: 6vw;
    }

    #product #pwrapper #ptop #ptopl {
        gap: 3vw;
    }

    #product #pwrapper #ptop #ptopl h2 {
        font-size: 1rem;
    }

    #product #pwrapper #ptop #ptopr a {
        font-size: 0.9rem;
    }

    #product #pwrapper #pbtm {
        gap: 6vw;
    }

    #product #pwrapper #pbtm .pcard {
        height: 40vh;
        max-height: 300px;
        border-radius: 12px;
    }

    #product #pwrapper #pbtm .pcard img {
        border-radius: 12px;
        filter: brightness(55%);
    }

    #product #pwrapper #pbtm .pcard h3 {
        font-size: 1.4rem;
        bottom: 12vw;
        left: 5vw;
        line-height: 1.2;
    }

    #product #pwrapper #pbtm .pcard p {
        font-size: 0.9rem;
        bottom: 2.5vw;
        left: 5vw;
        right: 5vw;
        line-height: 1.3;
    }

    #product #pwrapper #pbtm .pcard #pcardbtn {
        width: 38px;
        height: 38px;
        top: 4vw;
        right: 5vw;
    }

    #product #pwrapper #pbtm .pcard #pcardbtn svg {
        transform: scale(0.3);
    }

    #product #pwrapper #pbtm .pcard:hover #pcardbtn svg {
        transform: scale(0.4);
    }
}

/* Very Small Mobile Devices */
@media (max-width: 360px) {
    #product #pwrapper {
        padding: 8vw 4vw;
    }

    #product #pwrapper #ptop #ptopl h2 {
        font-size: 0.95rem;
    }

    #product #pwrapper #ptop #ptopr a {
        font-size: 0.85rem;
    }

    #product #pwrapper #pbtm .pcard {
        height: 35vh;
        max-height: 280px;
    }

    #product #pwrapper #pbtm .pcard h3 {
        font-size: 1.2rem;
        bottom: 13vw;
    }

    #product #pwrapper #pbtm .pcard p {
        font-size: 0.85rem;
        bottom: 2vw;
    }

    #product #pwrapper #pbtm .pcard #pcardbtn {
        width: 35px;
        height: 35px;
        top: 3vw;
        right: 4vw;
    }

    #product #pwrapper #pbtm .pcard #pcardbtn svg {
        transform: scale(0.25);
    }

    #product #pwrapper #pbtm .pcard:hover #pcardbtn svg {
        transform: scale(0.35);
    }
}

/* ===== END PRODUCT MOBILE STYLES ===== */

#career {
    height: 100vh;
    /* background-color: greenyellow; */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    padding: 0 6vw;
}

#career #careerleft {
    /* background-color: red; */
    width: 45%;
    height: 80%;
    /* background-color: red; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1vw;
}

#career #careerright {
    /* background-color: blue; */
    width: 45%;
    height: 80%;
    display: flex;

    justify-content: end;
}

#career #careerright img {
    width: 90%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

#career #careerleft #careertop {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    gap: 1vw;
    /* margin-bottom: 2vw; */
}

#career #careerleft #careertop #dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--light-green);
    position: relative;
}

#career #careerleft #careertop #dot::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--light-green);
    opacity: 0.3;
    animation: dotRipple 2s ease-in-out infinite;
}

#career #careerleft #careertop h2 {
    font-size: 1vw;
    font-weight: 500;
    color: var(--dark-green);
}

#career #careerleft h1 {
    font-size: 2.5vw;
    font-weight: 600;
    font-family: "Allenoire", sans-serif;
    letter-spacing: 0.1vw;
    color: var(--dark-green);
}

#career #careerleft p {
    font-size: 0.85rem;
    font-weight: 400;
    color: gray;
    line-height: 1.25;
    letter-spacing: 0.05vw;
}
#career #careerleft > p {
    width: 80%;
}

#career #careerleft #careerstat h2 {
    font-size: 1.5vw;
    font-weight: 600;
    color: var(--dark-green);
}

/* New careerstat styles with SVGs */
#career #careerleft .careerstat {
    display: flex;
    align-items: center;
    gap: 1vw;
    margin: 0;
    padding: 0.25vw;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* #career #careerleft .careerstat:hover {
    background-color: rgba(145, 239, 24, 0.05);
    transform: translateY(-2px);
} */

#career #careerleft .careerstat svg {
    flex-shrink: 0;
    margin-top: 0.1vw;
    transition: transform 0.3s ease;
}

#career #careerleft .careerstat:hover svg {
    transform: scale(1.1);
}

#career #careerleft .careerstat-text h2 {
    font-size: 1.3vw;
    font-weight: 500;
    color: var(--dark-green);
}

#career #careerleft .careerstat-text p {
    font-size: 0.85rem;
    color: gray;
    line-height: 1.5;
    letter-spacing: 0.05vw;
    /* opacity: 0.8; */
}

#career #careerleft button {
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    background-color: var(--dark-green);
    transition: all ease-in-out 0.3s;
    cursor: pointer;
    font-size: 1vw;
    font-weight: 500;
    color: var(--lime-green);
    margin-top: 1rem;
    width: fit-content;
}

#career #careerleft button:hover {
    background-color: var(--lime-green);
    color: var(--dark-green);
}

/* ===== CAREER SECTION MOBILE RESPONSIVE STYLES ===== */

/* Tablet Styles */
@media (max-width: 1024px) {
    #career {
        height: auto;
        min-height: 80vh;
        padding: 4rem 4vw;
        gap: 3vw;
    }

    #career #careerleft {
        width: 50%;
        gap: 1.5vw;
    }

    #career #careerright {
        width: 45%;
    }

    #career #careerleft h1 {
        font-size: 3vw;
        line-height: 1.2;
    }

    #career #careerleft #careertop h2 {
        font-size: 1.2vw;
    }

    #career #careerleft .careerstat-text h2 {
        font-size: 1.5vw;
    }

    #career #careerleft button {
        font-size: 1.1vw;
        padding: 0.8rem 2rem;
    }
}

/* Mobile Landscape and Smaller Tablets */
@media (max-width: 768px) {
    #career {
        height: auto;
        flex-direction: column;
        gap: 3rem;
        padding: 3rem 5vw;
        text-align: left;
    }

    #career #careerleft {
        width: 100%;
        height: auto;
        gap: 1rem;
        order: 1;
    }

    #career #careerright {
        width: 100%;
        height: 400px;
        justify-content: center;
        order: 2;
    }

    #career #careerright img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px;
    }

    #career #careerleft h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        letter-spacing: 0.05rem;
    }

    #career #careerleft #careertop {
        gap: 1rem;
        margin-bottom: 0.5rem;
    }

    #career #careerleft #careertop h2 {
        font-size: 1rem;
        font-weight: 600;
    }

    #career #careerleft > p {
        width: 100%;
        font-size: 1rem;
        line-height: 1.6;
        margin: 1rem 0 1.5rem 0;
    }

    #career #careerleft .careerstat {
        gap: 1rem;
        padding: 1rem;
        margin: 0.5rem 0;
    }

    #career #careerleft .careerstat:hover {
        background-color: rgb(20, 68, 52, 0.05);
        transform: translateY(-2px);
    }

    #career #careerleft .careerstat svg {
        width: 35px;
        height: 35px;
        margin-top: 0;
    }

    #career #careerleft .careerstat-text h2 {
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    #career #careerleft .careerstat-text p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    #career #careerleft button {
        font-size: 1rem;
        padding: 1rem 2rem;
        margin-top: 1.5rem;
        width: 100%;
        border-radius: 50px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    #career {
        padding: 2.5rem 4vw;
        gap: 2.5rem;
    }
    #career #careerleft {
        gap:0rem
    }

    #career #careerright {
        height: 300px;
    }

    #career #careerright img {
        border-radius: 12px;
    }

    #career #careerleft h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    #career #careerleft #careertop h2 {
        font-size: 0.9rem;
    }

    #career #careerleft > p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    #career #careerleft .careerstat {
        padding: 0.8rem;
        /* margin: 0.rem 0; */
        border-radius: 12px;
        /* flex-direction: column; */
        gap: 0.8rem;
    }

    #career #careerleft .careerstat svg {
        width: 30px;
        height: 30px;
        align-self: flex-start;
    }

    #career #careerleft .careerstat-text h2 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    #career #careerleft .careerstat-text p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    #career #careerleft button {
        font-size: 0.95rem;
        padding: 0.9rem 1.8rem;
        width: 100%;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 360px) {
    #career {
        padding: 2rem 3vw;
        gap: 2rem;
    }

    
    #career #careerleft {
        gap: 0rem;
    }

    #career #careerright {
        height: 250px;
    }

    #career #careerleft h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    #career #careerleft > p {
        font-size: 0.85rem;
    }

    #career #careerleft .careerstat {
        padding: 0.7rem;
        gap: 0.7rem;
    }

    #career #careerleft .careerstat svg {
        width: 28px;
        height: 28px;
    }

    #career #careerleft .careerstat-text h2 {
        font-size: 1rem;
    }

    #career #careerleft .careerstat-text p {
        font-size: 0.8rem;
    }

    #career #careerleft button {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }
}

/* ===== END CAREER MOBILE STYLES ===== */

#stats {
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 6vw;
    margin: 2vw 0;
}

#stats #statstop {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1vw 0vw;
    margin-bottom: 2vw;
}

#stats #statstop #statstopl {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    gap: 1vw;
    /* margin-bottom: 2vw; */
}

#stats #statstop #statstopl #dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--light-green);
    position: relative;
}

#stats #statstop #statstopl #dot::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--light-green);
    opacity: 0.3;
    animation: dotRipple 2s ease-in-out infinite;
}

#stats #statstop #statstopl h2 {
    font-size: 1vw;
    font-weight: 500;
    color: var(--dark-green);
}

#stats #statstop h1 {
    font-family: "Allenoire", sans-serif;
    letter-spacing: 0.15vw;
    font-size: 2.5vw;
    font-weight: 600;
    color: var(--dark-green);
    margin: 1vw 0;
}

#stats #statsbtm {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#stats #statsbtm .statcard {
    width: 22%;
    height: 100%;
    background-color: var(--dark-green);
    display: flex;
    flex-direction: column;
    /* justify-content: flex-end; */
    gap: 1vw;
    padding: 2.5vw 1.5vw;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(20, 68, 52, 0.1);
    border: 1px solid rgba(20, 68, 52, 0.1);
    transition: all ease-in-out 0.3s;
}

#stats #statsbtm .statcard:hover {
    box-shadow: 0 20px 40px rgba(20, 68, 52, 0.2);
    transform: translateY(-5px);
    border: 1px solid rgba(145, 239, 24, 0.3);
}

#stats #statsbtm .statcard h1 {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    font-size: 2.5vw;
    font-weight: 600;
    font-family: "Allenoire", sans-serif;
    color: var(--light-green);
    letter-spacing: 0.1vw;
    line-height: 0.9vw;
}

/* Counter animation styles */
#stats #statsbtm .statcard h1.counter {
    transition: all 0.3s ease;
}

#stats #statsbtm .statcard h1.counter.counting {
    color: var(--light-green);
    text-shadow: 0 0 10px rgba(145, 239, 24, 0.3);
}

#stats #statsbtm .statcard h1.counter {
    transform-origin: center;
}

#stats #statsbtm .statcard h1 span {
    color: var(--lime-green);
    font-family: "Allenoire", sans-serif;
    font-size: 3vw;
    font-weight: 900;
}

#stats #statsbtm .statcard h2 {
    font-size: 1.3vw;
    font-weight: 500;
    color: white;
}

#stats #statsbtm .statcard p {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    letter-spacing: 0.1vw;
}

/* ===== STATS SECTION MOBILE RESPONSIVE STYLES ===== */

/* Tablet Styles */
@media (max-width: 1024px) {
    #stats {
        height: auto;
        min-height: 40vh;
        padding: 3rem 4vw;
        margin: 3rem 0;
    }

    #stats #statstop {
        margin: 1rem 0;
        margin-bottom: 2.5rem;
    }

    #stats #statstop #statstopl h2 {
        font-size: 1.2vw;
    }

    #stats #statstop h1 {
        font-size: 3vw;
        margin: 1.5rem 0;
        text-align: center;
    }

    #stats #statsbtm {
        gap: 2vw;
    }

    #stats #statsbtm .statcard {
        width: 23%;
        padding: 2rem 1.2rem;
        gap: 1.2rem;
    }

    #stats #statsbtm .statcard h1 {
        font-size: 2.2vw;
        gap: 0.3vw;
    }

    #stats #statsbtm .statcard h1 span {
        font-size: 2.8vw;
    }

    #stats #statsbtm .statcard h2 {
        font-size: 1.4vw;
    }

    #stats #statsbtm .statcard p {
        font-size: 0.8rem;
    }
}

/* Mobile Landscape and Smaller Tablets */
@media (max-width: 768px) {
    #stats {
        height: auto;
        padding: 3rem 5vw;
        margin: 2rem 0;
    }

    #stats #statstop {
        text-align: center;
        margin-bottom: 3rem;
    }

    #stats #statstop #statstopl {
        justify-content: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    #stats #statstop #statstopl h2 {
        font-size: 1rem;
        font-weight: 600;
    }

    #stats #statstop h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin: 1rem 0 0 0;
    }

    #stats #statsbtm {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    #stats #statsbtm .statcard {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 2rem;
        gap: 0.5rem;
        background: linear-gradient(
            135deg,
            var(--dark-green) 0%,
            rgba(20, 68, 52, 0.9) 100%
        );
        position: relative;
        text-align: left;
    }

    #stats #statsbtm .statcard:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(20, 68, 52, 0.25);
    }

    #stats #statsbtm .statcard h1 {
        font-size: 3rem;
        line-height: 1;
        margin: 0;
        align-self: flex-end;
        /* margin-bottom: 0.5rem; */
    }

    #stats #statsbtm .statcard h1 span {
        font-size: 3.5rem;
        margin-left: 0.2rem;
    }

    #stats #statsbtm .statcard h2 {
        font-size: 1.3rem;
        font-weight: 600;
        margin: 0;
        margin-bottom: 0.5rem;
    }

    #stats #statsbtm .statcard p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin: 0;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    #stats {
        padding: 2.5rem 4vw;
        margin: 1.5rem 0;
    }

    #stats #statstop {
        margin-bottom: 2.5rem;
    }

    #stats #statstop #statstopl h2 {
        font-size: 0.9rem;
    }

    #stats #statstop h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    #stats #statsbtm {
        gap: 1.2rem;
    }

    #stats #statsbtm .statcard {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 0.5rem;
        justify-content: center;
        align-items: center;
    }

    #stats #statsbtm .statcard h1 {
        font-size: 2.5rem;
        /* margin-bottom: 0.5rem; */
        align-self: center;
    }

    #stats #statsbtm .statcard h1 span {
        font-size: 3rem;
    }

    #stats #statsbtm .statcard h2 {
        font-size: 1.2rem;
        /* margin-bottom: 0.5rem; */
    }

    #stats #statsbtm .statcard p {
        font-size: 0.85rem;
        line-height: 1.5;
        text-align: center;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 360px) {
    #stats {
        padding: 2rem 3vw;
    }

    #stats #statstop h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    #stats #statsbtm .statcard {
        padding: 1.8rem 1.2rem;
        gap: 0.8rem;
    }

    #stats #statsbtm .statcard h1 {
        font-size: 2.2rem;
    }

    #stats #statsbtm .statcard h1 span {
        font-size: 2.6rem;
    }

    #stats #statsbtm .statcard h2 {
        font-size: 1.1rem;
    }

    #stats #statsbtm .statcard p {
        font-size: 0.8rem;
    }
}

/* ===== END STATS MOBILE STYLES ===== */

/* #testimonials {
    height: 80vh;
    background: url(../assets/images/hero/brandGuideline.webp);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow-x: hidden;
}

#testimonials #testwrapper {
    width: 100%;
    height: 100%;
    background-color: rgba(20, 68, 52, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5vw 6vw;
    position: relative;
} */

#testimonials {
    height: 80vh;
    background-image: url(../assets/images/hero/brandGuideline.webp);
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow-x: hidden;
    /* Ensure no transforms interfere with fixed background */
    transform: none !important;
    will-change: auto;
    /* Create new stacking context */
    isolation: isolate;
    /* Force hardware acceleration for better fixed background support */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

#testimonials #testwrapper {
    width: 100%;
    height: 100%;
    background-color: rgba(20, 68, 52, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5vw 6vw;
    position: relative;
    z-index: 1;
    /* Ensure no transforms interfere with parent's fixed background */
    transform: none !important;
}
#testimonials #testwrapper #testtop {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 10%;
    margin-bottom: 2vw;
}

#testimonials #testwrapper #testtop #testtopl {
    display: flex;
    align-items: center;
    gap: 1vw;
}
#testimonials #testwrapper #testtop #testtopl #dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--light-green);
    position: relative;
}
#testimonials #testwrapper #testtop #testtopl #dot::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--light-green);
    opacity: 0.3;
    animation: dotRipple 2s ease-in-out infinite;
}

#testimonials #testwrapper #testtop #testtopl h2 {
    font-size: 1vw;
    font-weight: 500;
    color: var(--light-green);
}

#testimonials #testwrapper #testtop h1 {
    font-family: "Allenoire", sans-serif;
    letter-spacing: 0.15vw;
    font-size: 2.5vw;
    font-weight: 600;
    color: white;
    margin: 1vw 0 0 0;
}

#testimonials #testwrapper #testtop p {
    font-size: 1vw;
    font-weight: 400;
    color: white;
    opacity: 0.8;
    line-height: 1.5;
    text-align: center;
    max-width: 60%;
}

#testimonials #testwrapper #testbtm {
    max-width: 100vw;
    height: 65vh;
    margin-top: 2vw;
    /* background-color: red; */
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    /* align-items: center; */
    /* position: relative; */
    overflow: hidden;

}

#testimonials #testwrapper #testbtm #cardtop,
#testimonials #testwrapper #testbtm #cardbtm {
    display: flex;
    gap: 2rem;
}

/* Infinite scroll animations */
#testimonials #testwrapper #testbtm #cardtop {
    margin-bottom: 2vw;
    width: max-content;
    animation: scrollRight 40s linear infinite;
}

#testimonials #testwrapper #testbtm #cardbtm {
    animation: scrollLeft 40s linear infinite;
    width: max-content;
}

/* Keyframes for infinite scrolling */
@keyframes scrollRight {
    from {
        transform: translate(0);
    }
    to {
        transform: translate(calc(-50% - 1rem));
    }
}

@keyframes scrollLeft {
    from{
        transform: translate(calc(-50% - 1rem));
    }
    to{
        transform: translate(0);
    }
}

/* Pause animation on hover */
#testimonials #testwrapper #testbtm #cardtop:hover,
#testimonials #testwrapper #testbtm #cardbtm:hover {
    animation-play-state: paused;
}
#testimonials #testwrapper #testbtm .testcard {
    width: 380px;
    min-width: 380px; /* Prevent shrinking */
    height: 20vh;
    background-color: white;
    border-radius: 20px;
    padding: 2vw;
    box-shadow: 0 10px 20px rgba(20, 68, 52, 0.1);
    border: 1px solid rgba(20, 68, 52, 0.1);
    transition: all ease-in-out 0.3s;
    display: flex;
    justify-content: space-between;
    flex-shrink: 0; /* Prevent cards from shrinking */
}

#testimonials #testwrapper #testbtm .testcard:hover {
    box-shadow: 0 20px 40px rgba(20, 68, 52, 0.2);
    transform: translateY(-5px);
    border: 1px solid rgba(145, 239, 24, 0.3);
}

#testimonials #testwrapper #testbtm .testcard img {
    width: 3.5vw;
    height: 3.5vw;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 1.5vw;
}

#testimonials #testwrapper #testbtm .testcard #cardtext {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 0; /* Force flex child to constrain width */
}

#testimonials #testwrapper #testbtm .testcard #cardtext h2 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--dark-green);
    margin-bottom: 0.25vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap:0.5rem;
}

#testimonials #testwrapper #testbtm .testcard #cardtext p {
    font-size: 0.85rem;
    font-weight: 400;
    color: gray;
    line-height: 1.5;
    letter-spacing: 0.05rem;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ===== TESTIMONIALS SECTION MOBILE RESPONSIVE STYLES ===== */

/* Tablet Styles */
@media (max-width: 1024px) {
    #testimonials {
        height: auto;
        min-height: 70vh;
        /* background-attachment: scroll; Better performance on tablets */
    }

    #testimonials #testwrapper {
        padding: 4rem 4vw;
    }

    #testimonials #testwrapper #testtop #testtopl h2 {
        font-size: 1.2vw;
    }

    #testimonials #testwrapper #testtop h1 {
        font-size: 3vw;
        margin: 0.5rem 0 0.5rem 0;
    }

    #testimonials #testwrapper #testtop p {
        font-size: 1.2vw;
        max-width: 70%;
        /* margin:0; */
    }

    #testimonials #testwrapper #testbtm {
        height: auto;
        min-height: 50vh;
        margin: 0;
        /* margin-top: 3rem; */
    }

    #testimonials #testwrapper #testbtm .testcard {
        width: 350px;
        min-width: 350px;
        height: 18vh;
        padding: 1.5rem;
    }

    #testimonials #testwrapper #testbtm .testcard img {
        width: 4vw;
        height: 4vw;
        margin-right: 1.2rem;
    }
}

/* Mobile Landscape and Smaller Tablets */
@media (max-width: 768px) {
    #testimonials {
        height: auto;
        background-attachment: fixed;
        background-size: cover;
        background-position: center;
    }

    #testimonials #testwrapper {
        padding: 3rem 5vw;
        text-align: center;
    }

    #testimonials #testwrapper #testtop #testtopl {
        justify-content: center;
        gap: 1rem;
        /* margin-bottom: 1rem; */
    }

    #testimonials #testwrapper #testtop #testtopl h2 {
        font-size: 1rem;
        font-weight: 600;
    }

    #testimonials #testwrapper #testtop h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin: 0.5rem 0 0.5rem 0;
    }

    #testimonials #testwrapper #testtop p {
        font-size: 1rem;
        max-width: 90%;
        line-height: 1.6;
    }

    #testimonials #testwrapper #testbtm {
        height: auto;
        /* margin-top: 2rem; */
        gap: 1rem;
    }

    #testimonials #testwrapper #testbtm #cardtop,
    #testimonials #testwrapper #testbtm #cardbtm {
        gap: 1rem;
        animation-duration: 40s; /* Slower on mobile for better readability */
    }

    #testimonials #testwrapper #testbtm #cardtop {
        margin-bottom: 1.5rem;
    }

    #testimonials #testwrapper #testbtm .testcard {
        width: 320px;
        min-width: 320px;
        height: auto;
        min-height: 140px;
        padding: 1.5rem;
        border-radius: 15px;
        flex-direction: column;
        text-align: left;
    }

    #testimonials #testwrapper #testbtm .testcard img {
        width: 50px;
        height: 50px;
        margin-right: 0;
        margin-bottom: 1rem;
        align-self: flex-start;
    }

    #testimonials #testwrapper #testbtm .testcard #cardtext {
        width: 100%;
    }

    #testimonials #testwrapper #testbtm .testcard #cardtext h2 {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        white-space: normal;
    }

    #testimonials #testwrapper #testbtm .testcard #cardtext p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    #testimonials #testwrapper {
        padding: 2.5rem 4vw;
    }

    #testimonials #testwrapper #testtop #testtopl h2 {
        font-size: 0.9rem;
    }

    #testimonials #testwrapper #testtop h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    #testimonials #testwrapper #testtop p {
        font-size: 0.9rem;
        max-width: 95%;
    }

    #testimonials #testwrapper #testbtm {
        margin-top: 1rem;
    }
    #testimonials #testwrapper #testbtm #cardtop,
    #testimonials #testwrapper #testbtm #cardbtm {
        gap: 1.2rem;
        animation-duration: 35s;
    }

    #testimonials #testwrapper #testbtm .testcard {
        width: 280px;
        min-width: 280px;
        padding: 1.2rem;
        min-height: 130px;
    }

    #testimonials #testwrapper #testbtm .testcard img {
        width: 45px;
        height: 45px;
        margin-bottom: 0.8rem;
    }

    #testimonials #testwrapper #testbtm .testcard #cardtext h2 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    #testimonials #testwrapper #testbtm .testcard #cardtext p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 360px) {
    #testimonials #testwrapper {
        padding: 2rem 3vw;
    }

    #testimonials #testwrapper #testtop h1 {
        font-size: 1.6rem;
    }

    #testimonials #testwrapper #testtop p {
        font-size: 0.85rem;
    }

    #testimonials #testwrapper #testbtm {
        margin-top: 1rem;
    }
    #testimonials #testwrapper #testbtm .testcard {
        width: 260px;
        min-width: 260px;
        padding: 1rem;
        min-height: 120px;
    }

    #testimonials #testwrapper #testbtm .testcard img {
        width: 40px;
        height: 40px;
    }

    #testimonials #testwrapper #testbtm .testcard #cardtext h2 {
        font-size: 0.95rem;
    }

    #testimonials #testwrapper #testbtm .testcard #cardtext p {
        font-size: 0.8rem;
    }
}

/* ===== END TESTIMONIALS MOBILE STYLES ===== */

#blogs {
    /* width:100%; */
    /* height: 80vh; */
    /* background-color: var(--light-green); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1vw;
    padding: 0 6vw;
    margin: 2vw 0;
}

#blogs #blogstop #blogstopl {
    display: flex;
    align-items: center;
    gap: 1vw;
}

#blogs #blogstop #blogstopl #dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--light-green);
    position: relative;
}

#blogs #blogstop #blogstopl #dot::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--light-green);
    opacity: 0.3;
    animation: dotRipple 2s ease-in-out infinite;
}

#blogs #blogstop #blogstopl h2 {
    font-size: 1vw;
    font-weight: 500;
    color: var(--light-green);
}

#blogs #blogstop h1 {
    font-family: "Allenoire", sans-serif;
    letter-spacing: 0.15vw;
    font-size: 2.5vw;
    font-weight: 600;
    color: var(--dark-green);
    margin: 0.5vw 0;
}

#blogs #blogcontent {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#blogs #blogcontent .blogcard {
    width: 30%;
    padding: 1.5vw 0.5vw;
    transition: all ease-in-out 0.3s;
    display: flex;
    flex-direction: column;
    gap: 1vw;
    border-radius: 20px;
}

#blogs #blogcontent .blogcard img {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    object-position: center;
    transition: all ease-in-out 0.3s;
}

#blogs #blogcontent .blogcard:hover img {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(20, 68, 52, 0.2);
}

#blogs #blogcontent .blogcard h2 {
    font-size: 1.2vw;
    font-weight: 500;
    letter-spacing: 0.1vw;
    color: var(--dark-green);
    line-height: 1.1;
}

#blogs #blogcontent .blogcard p {
    font-size: 0.85rem;
    font-weight: 500;
    color: gray;
    line-height: 1;
    letter-spacing: 0.05vw;
    flex-grow: 1;
}

/* ===== BLOGS SECTION MOBILE RESPONSIVE STYLES ===== */

/* Tablet Styles */
@media (max-width: 1024px) {
    #blogs {
        padding: 3rem 4vw;
        margin: 3rem 0;
        gap: 2rem;
    }
    
    #blogs #blogstop #blogstopl h2 {
        font-size: 1.2vw;
    }
    
    #blogs #blogstop h1 {
        font-size: 3vw;
        margin: 1rem 0;
    }
    
    #blogs #blogcontent {
        gap: 2vw;
    }
    
    #blogs #blogcontent .blogcard {
        width: 32%;
        padding: 1.2rem 0.5rem;
        gap: 1.2rem;
    }
    
    #blogs #blogcontent .blogcard h2 {
        font-size: 1.4vw;
        line-height: 1.2;
    }
    
    #blogs #blogcontent .blogcard p {
        font-size: 0.8rem;
    }
}

/* Mobile Landscape and Smaller Tablets */
@media (max-width: 768px) {
    #blogs {
        padding: 3rem 5vw;
        margin: 2rem 0;
        text-align: center;
        gap: 2.5rem;
    }
    
    #blogs #blogstop #blogstopl {
        justify-content: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    #blogs #blogstop #blogstopl h2 {
        font-size: 1rem;
        font-weight: 600;
    }
    
    #blogs #blogstop h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin: 1rem 0 0 0;
    }
    
    #blogs #blogcontent {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    #blogs #blogcontent .blogcard {
        width: 100%;
        max-width: 400px;
        padding: 0;
        gap: 1.5rem;
        text-align: left;
        border-radius: 15px;
        padding: 1.5rem;
        transition: all 0.3s ease;
    }
    
    #blogs #blogcontent .blogcard:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(20, 68, 52, 0.15);
    }
    
    #blogs #blogcontent .blogcard img {
        border-radius: 12px;
        height: 200px;
        object-fit: cover;
    }
    
    #blogs #blogcontent .blogcard:hover img {
        transform: none;
        box-shadow: none;
    }
    
    #blogs #blogcontent .blogcard h2 {
        font-size: 1.3rem;
        line-height: 1.4;
        font-weight: 600;
        margin: 0;
    }
    
    #blogs #blogcontent .blogcard p {
        font-size: 0.9rem;
        line-height: 1.2;
        margin: 0;
        color: #666;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    #blogs {
        padding: 2.5rem 4vw;
        gap: 2rem;
    }
    
    #blogs #blogstop #blogstopl h2 {
        font-size: 0.9rem;
    }
    
    #blogs #blogstop h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    #blogs #blogcontent {
        gap: 1.5rem;
    }
    
    #blogs #blogcontent .blogcard {
        max-width: none;
        padding: 1.2rem;
        gap: 1.2rem;
    }
    
    #blogs #blogcontent .blogcard img {
        height: 180px;
        border-radius: 10px;
    }
    
    #blogs #blogcontent .blogcard h2 {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    #blogs #blogcontent .blogcard p {
        font-size: 0.85rem;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 360px) {
    #blogs {
        padding: 2rem 3vw;
    }
    
    #blogs #blogstop h1 {
        font-size: 1.6rem;
    }
    
    #blogs #blogcontent .blogcard {
        padding: 1rem;
        gap: 1rem;
    }
    
    #blogs #blogcontent .blogcard img {
        height: 160px;
    }
    
    #blogs #blogcontent .blogcard h2 {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    #blogs #blogcontent .blogcard p {
        font-size: 0.8rem;
    }
}

/* ===== END BLOGS MOBILE STYLES ===== */

/* ===== SCROLL TO TOP BUTTON STYLES ===== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--dark-green);
    border: none;
    border-radius: 50%;
    color: var(--lime-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(20, 68, 52, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.scroll-to-top:hover {
    background: var(--lime-green);
    color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(20, 68, 52, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(20, 68, 52, 0.3);
}

.scroll-to-top.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-to-top svg {
    transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
    transform: translateY(-2px);
}

/* Mobile responsive styles for scroll-to-top */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 25px;
        right: 25px;
        box-shadow: 0 3px 15px rgba(20, 68, 52, 0.3);
    }
    
    .scroll-to-top:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(20, 68, 52, 0.4);
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        width: 42px;
        height: 42px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 360px) {
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
}

/* ===== END SCROLL TO TOP STYLES ===== */
