* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: #000;
    overflow-x: hidden;
    background-color: #e8e8e8;
    /* Background color for sides */
}

/* Container wrapper for all content */
.page-wrapper {
    max-width: 1600px;
    /* Maximum width for content */
    margin: 0 auto;

    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
    background: #ffffff;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.logo img {
    height: 55px;
    width: auto;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.brand-links {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #ffffff;
}

.brand-links a {
    text-decoration: none;
    color: #000000;
    transition: color 0.3s;
}

.brand-links a:hover {
    color: #5c83e6;
}

.brand-links span {
    color: #000000;
}

nav {
    background: #f5f5f5;
    padding: 15px 30px;
    border-radius: 5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: #000000;
    font-size: 13px;
    transition: all 0.3s ease;
    padding-bottom: 5px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #5c83e6;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #000;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Brand Banner Section with Slideshow */
.brand-banner {
    width: 100%;
    height: 350px;
    position: relative;
    overflow: hidden;
    background: #2d2d2d;
}

.brand-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.brand-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.brand-slide.active {
    opacity: 1;
    z-index: 2;
}

.brand-slide img {
    width: 100%;
    height: 100%;
    object-position: center;
    display: block;
}

/* Earth Commitment Section */
.earth-section {
    padding: 40px 100px;
    background: #fcf9f4;
    display: flex;
    align-items: center;
    gap: 80px;
}

.earth-image {
    flex: 0 0 400px;
}

.earth-image img {
    width: 312px;
    height: auto;
    margin-left: 42px;
    margin-top: 20px;
}

.earth-content {
    flex: 1;
}

.earth-content h2 {
    font-size: 42px;
    margin-bottom: 30px;
    color: #000;
}

.earth-content h2 span {
    color: #5c83e6;
    font-size: 50px;
}

.earth-content p {
    line-height: 1.5;
    color: #000;
    font-size: 18px;
    margin-bottom: 15px;
}

/* Logo Animation Section */
.logo-animation-section {
    padding: 40px 150px;
    background: #fcf9f4;
}

.logo-animation-section h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #000;
}

.logo-animation-section h2 span {
    color: #5c83e6;
}

.logo-design-section {
    margin-bottom: 60px;
}

.logo-design-section h3 {
    font-size: 32px;
    color: #f39c12;
    margin-bottom: 30px;
    font-weight: bold;
}

.logo-display {
    text-align: center;
    margin: 40px 0;
}

.logo-display img {
    max-width: 500px;
    height: auto;
}

.logo-design-section p {
    line-height: 1.5;
    color: #000;
    font-size: 18px;
    margin-bottom: 30px;
}

.logo-symbol {
    text-align: center;
    margin: 40px 0;
}

.logo-symbol img {
    max-width: 250px;
    height: auto;
}

.logo-animation-content h3 {
    font-size: 32px;
    color: #f39c12;
    /* margin-bottom: 30px; */
    font-weight: bold;
}

.animation-description p {
    line-height: 1.5;
    color: #000;
    font-size: 18px;
    margin-bottom: 10px;
}

/* video */
.works {
    padding: 0px;
    background-color: #fcf9f4;
}

.work-item {
    display: flex;
    margin-left: 400px;
    gap: 50px;
}

.video-container {
    flex: 1;
    max-width: 700px;
    background-color: #000;
    position: relative;
    padding-bottom: 39.375%;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;

}

.work-item-2 {
    gap: 180px;
}


.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #ffffff;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 50px solid #000;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    cursor: pointer;
    z-index: 10;
}



/* Brand Colors Section */
.brand-colors-section {
    padding: 20px 120px;
    background: #fcf9f4;
}

.brand-colors-section h2 {
    font-size: 42px;
    margin-bottom: 50px;
    color: #000;
}

.brand-colors-section h2 span {
    color: #5c83e6;
}

.colors-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.extinct-animals {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 20px;
    padding: 30px;
    width: 80%;
    margin: 0 auto;
}

.animal-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.animal-item {
    width: 140px;
    text-align: center;
}

.animal-item img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.animal-item p {
    font-size: 10px;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
}

.colors-description {
    flex: 1;
}

.colors-description p {
    line-height: 1.5;
    color: #000;
    font-size: 18px;
    margin-bottom: 30px;
}

.color-palette {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    gap: 8px;
    max-width: 600px;
    margin: 0 auto 20px;
    justify-content: center;
}

.color-box {
    flex: 1;
    height: 60px;
    border-radius: 8px;
}

.color-box:nth-child(1) {
    background: #c9c3b8;
}

.color-box:nth-child(2) {
    background: #d4a574;
}

.color-box:nth-child(3) {
    background: #5b7ec4;
}

.color-box:nth-child(4) {
    background: #a999d4;
}

.color-box:nth-child(5) {
    background: #e84c9c;
}

.color-box:nth-child(6) {
    background: #84cca4;
}

.color-box:nth-child(7) {
    background: #d4c434;
}

.color-box:nth-child(8) {
    background: #94d43c;
}

.color-box:nth-child(9) {
    background: #e49424;
}

/* Contact Section */
.contact-section {
    padding: 40px 120px;
    background: #fcf9f4;
}

.contact-section h2 {
    font-size: 42px;
    margin-bottom: 30px;
    color: #000;
}

.contact-section h2 .get-text {
    text-decoration: underline;
    text-decoration-color: #f39c12;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

.contact-section h2 .touch-text {
    color: #f39c12;
}

.contact-section p {
    line-height: 1.5;
    color: #000;
    font-size: 18px;
    margin-bottom: 15px;
}

.contact-section .email {
    color: #f39c12;
    font-weight: bold;
    text-decoration: none;
}

.contact-section .phone {
    color: #f39c12;
    font-weight: bold;
    text-decoration: none;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    padding: 60px 100px 30px;
}

.footer-logo {
    margin-bottom: 50px;
    margin-left: -13px;
}

.footer-logo img {
    height: 65px;
    width: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-about-group {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-column h3 {
    font-size: 14px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: normal;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s;
}

.footer-column ul a:hover {
    color: #5c83e6;
}

.footer-column a,
.footer-column p {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    line-height: 1.8;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 50px;
    color: #fff;
    font-size: 12px;
}

/* Inner container to control width */
.footer-bottom-inner {
    margin: 0 auto;
    padding: 30px 0px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Left & Right text */
.footer-left,
.footer-right {
    margin: 0;
    white-space: nowrap;
}

.footer-icons {
    display: flex;
    justify-content: left;
    font-size: 0px;
    margin-top: 15px;
    gap: 10px;
    /* space between icons */
}

/* Footer links */
.footer-right a {
    color: #fff;
    text-decoration: none;
}

.footer-right a:hover {
    color: #5c83e6;
}

/* Responsive Design */
/* Header and Footer  */

@media (max-width: 1024px) {
    header {
        padding: 20px 40px;
        flex-direction: column;
        /* stack logo + nav */
        align-items: center;
        gap: 18px;
    }

    /* Logo on top, centered */
    .logo {
        width: 100%;
        text-align: center;
    }

    .logo img {
        height: 55px;
    }

    /* Header right takes full width */
    .header-right {
        width: 100%;
        align-items: center;
    }

    /* Brand links centered (optional – looks clean) */
    .brand-links {
        justify-content: center;
        margin-bottom: 10px;
    }

    /* Full-width nav bar */
    nav {
        width: 100%;
        padding: 12px 0;
    }

    /* Nav items: single line, evenly spaced */
    nav ul {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-evenly;
        align-items: center;
        width: 100%;
        gap: 0;
    }

    /* Prevent word breaking */
    nav ul li {
        white-space: nowrap;
    }

    /* Nav links */
    nav a {
        font-size: 12px;
        padding: 8px 10px;
    }

    /* Disable hamburger on tablet */
    .mobile-menu-toggle {
        display: none;
    }

    /* Fix video container placement for tablet */
    .work-item {
        margin-left: 0;
        justify-content: center;
        padding: 0 40px;
    }

    .video-container {
        margin: 0 auto;
    }
}


/* Mobile View */
@media (max-width: 768px) {

    header {
        position: relative;
        padding: 15px 20px 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    /* Hamburger on LEFT */
    .mobile-menu-toggle {
        position: absolute;
        left: 0px;
        display: flex;
    }

    /* Logo centered */
    .logo {
        width: 100%;
        text-align: center;
    }

    .logo img {
        height: 45px;
    }

    /* Header-right full width */
    .header-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Brand links UNDER logo */
    .brand-links {
        font-size: 11px;
        gap: 8px;
        margin-top: 6px;
        margin-bottom: 10px;
        justify-content: center;
        flex-wrap: wrap;
        display: flex;
    }

    /* video */
    .work-item {
        margin-left: 0;
        justify-content: center;
        padding: 0 15px;
    }

    .work-item {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 0;
        padding-bottom: 18px;
        padding-top: 6px;
    }

    .video-container {
        max-width: 100%;
        width: 100%;
        padding-bottom: 56.25%;
    }

    /* Navigation  */

    nav {
        width: 100%;
        background: transparent;
        padding: 0px 0px 10px 0px;
    }

    /* Menu CLOSED state */
    nav ul {
        display: none;
        padding: 0;
        margin: 0;
        background: none;
        border-radius: 0;
    }

    /* Menu OPEN state */
    nav ul.active {
        display: flex;
        flex-direction: column;
        background: #f5f5f5;
        border-radius: 8px;
        margin-top: 12px;
        overflow: hidden;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        border-bottom: 1px solid #e0e0e0;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        padding: 15px 20px;
        font-size: 14px;
        width: 100%;
        transition: transform 0.3s ease;
    }

    nav a::after {
        display: none;
    }

    nav a:hover {
        transform: scale(1.05);

    }


    /*FOOTER */

    footer {
        padding: 40px 20px 20px;
    }

    .footer-logo {
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-logo img {
        height: 55px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 30px;
    }

    .footer-column h3 {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .footer-column a,
    .footer-column p {
        font-size: 13px;
        line-height: 1.7;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
        padding: 25px 0;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        white-space: normal;
    }

    .footer-right {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-right {
        gap: 0px;
    }

    /* Hide play button on mobile */
    .play-button {
        display: none !important;
    }
}

/* TABLET (≤1024px) */


@media (max-width: 1024px) {

    /* Page wrapper - full width on tablet */
    .page-wrapper {
        max-width: 100%;
    }

    /* Brand banner - adjusted height */
    .brand-banner {
        height: 300px;
    }

    /* Earth section - reduce padding and gap */
    .earth-section {
        padding: 40px 60px;
        gap: 50px;
    }

    .earth-image {
        flex: 0 0 320px;
    }

    .earth-content h2 {
        font-size: 36px;
        margin-bottom: 25px;
    }

    .earth-content h2 span {
        font-size: 42px;
    }

    .earth-content p {
        font-size: 17px;
        margin-bottom: 12px;
    }

    /* Logo animation section */
    .logo-animation-section {
        padding: 20px 80px 10px;
    }

    .logo-animation-section h2 {
        font-size: 34px;
        margin-bottom: 18px;
        text-align: center;
    }

    .logo-design-section h3,
    .logo-animation-content h3 {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .logo-display img {
        max-width: 420px;
    }

    .logo-symbol img {
        max-width: 200px;
    }

    .logo-design-section p,
    .animation-description p {
        font-size: 16px;
        margin-bottom: 12px;
    }

    /* BRAND COLORS SECTION */

    .brand-colors-section {
        padding: 20px 60px;
    }

    .brand-colors-section h2 {
        font-size: 36px;
        margin-bottom: 35px;
        text-align: center;
    }

    /* Colors content - stack vertically */
    .colors-content {
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center;
        margin-bottom: 40px;
    }

    .colors-description {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .colors-description p {
        font-size: 17px;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    /* Color palette - centered and responsive */
    .color-palette {
        max-width: 600px;
        width: 100%;
        padding: 20px;
        margin: 0 auto 0;
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 10px;
    }

    .color-box {
        flex: 1;
        min-width: 50px;
        height: 55px;
    }

    /* Extinct animals - properly centered and structured */
    .extinct-animals {
        width: 95%;
        max-width: 950px;
        margin: 0 auto;
        padding: 30px 25px;
        background: #fff;
        border: 2px solid #ddd;
        border-radius: 20px;
    }

    /* Animal grid - 5 columns for tablet */
    .animal-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 20px 15px;
        justify-items: center;
        align-items: start;
    }

    .animal-item {
        width: 100%;
        max-width: 140px;
        text-align: center;
    }

    .animal-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .animal-item p {
        font-size: 10px;
        line-height: 1.3;
        color: #000;
        font-weight: 600;
        text-transform: uppercase;
    }


    /* Contact section */
    .contact-section {
        padding: 20px 80px;
    }

    .contact-section h2 {
        font-size: 36px;
        margin-bottom: 25px;
    }

    .contact-section p {
        font-size: 16px;
        margin-bottom: 12px;
    }
}

/* MOBILE (≤768px)*/

@media (max-width: 768px) {

    /* Brand banner - mobile height */
    .brand-banner {
        height: 140px;
    }

    /* Earth section - stack layout */
    .earth-section {
        flex-direction: column;
        padding: 40px 30px;
        gap: 35px;
        text-align: center;
    }

    .earth-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .earth-image img {
        width: 100%;
        margin: 0%;
    }

    .earth-content {
        width: 100%;
    }

    .earth-content h2 {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .earth-content h2 span {
        font-size: 36px;
    }

    .earth-content p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .earth-content p br {
        display: none;
    }

    /* Logo animation section */
    .logo-animation-section {
        padding: 20px 30px;

    }

    .logo-animation-section h2 {
        font-size: 28px;
        line-height: 1.3;
        text-align: center;
    }

    .logo-design-section {
        margin-bottom: 50px;

    }

    .logo-design-section h3,
    .logo-animation-content h3 {
        font-size: 24px;
        margin-bottom: 20px;
        text-align: center;
    }

    .logo-display {
        margin: 10px 0;
    }

    .logo-display img {
        max-width: 100%;
        width: 100%;
        max-width: 350px;
    }

    .logo-symbol {
        margin: 10px 0;
    }

    .logo-symbol img {
        max-width: 180px;
    }

    .logo-design-section p,
    .animation-description p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 14px;
        text-align: left;
    }

    /* Brand colors section */
    .brand-colors-section {
        padding: 20px 30px;
    }

    .brand-colors-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
        line-height: 1.3;
        text-align: center;
    }

    .colors-content {
        flex-direction: column;
        gap: 30px;
    }

    .colors-description p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 25px;
        text-align: left;
    }

    .color-palette {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        padding: 14px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
    }

    /* Hide scrollbar */
    .color-palette::-webkit-scrollbar {
        display: none;
    }

    .color-box {
        flex: 0 0 50px;
        height: 45px;
        border-radius: 8px;
    }

    /* Animal grid - stack to 3 columns on mobile */
    .extinct-animals {
        width: 100%;
        padding: 20px 15px;
        border-radius: 15px;
    }

    .animal-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        justify-items: center;
    }

    .animal-item {
        width: 100%;
        max-width: 100px;
    }

    .animal-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        margin-bottom: 1.75px;
    }

    .animal-item p {
        font-size: 8px;
        line-height: 1.3;
        margin-bottom: 3px;
    }

    /* Contact section */
    .contact-section {
        padding: 40px 30px;
    }

    .contact-section h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .contact-section p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 12px;
    }

    .contact-section .email,
    .contact-section .phone {
        word-break: break-word;
    }
}

/* SMALL MOBILE REFINEMENTS (≤480px) */

@media (max-width: 480px) {

    .brand-banner {
        height: 140px;
    }

    .earth-section {
        padding: 30px 20px;
        gap: 25px;
    }

    .earth-image {
        max-width: 280px;
    }

    .earth-content h2 {
        font-size: 24px;
        margin-bottom: 19px;
    }

    .earth-content h2 span {
        font-size: 28px;
    }

    .earth-content p {
        font-size: 14px;
        margin-bottom: 10px;
        text-align: justify;
    }

    .logo-animation-section {
        padding: 0px 20px;
    }

    .logo-animation-section h2 {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .logo-design-section {
        margin-bottom: 20px;
    }

    .logo-design-section h3,
    .logo-animation-content h3 {
        font-size: 20px;
        margin-bottom: 0px;
        padding-bottom: 15px;
    }

    .logo-display img {
        max-width: 280px;
    }

    .logo-symbol img {
        max-width: 140px;
    }

    .logo-design-section p,
    .animation-description p {
        font-size: 14px;
        margin-bottom: 0px;
        text-align: justify;
    }

    .brand-colors-section {
        padding: 15px 20px;
    }

    .brand-colors-section h2 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .colors-description p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .color-palette {
        padding: 12px;
        gap: 5px;
    }

    .color-box {
        height: 40px;
    }

    .extinct-animals {
        padding: 15px 10px;
    }

    .animal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .animal-item {
        max-width: 120px;
    }

    .animal-item p {
        font-size: 7px;
    }

    .contact-section {
        padding: 10px 20px;
    }

    .contact-section h2 {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .contact-section p {
        font-size: 14px;
        margin-bottom: 10px;
    }
}