* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

/* Hero Carousel - Responsive */
.carousel-item {
    height: 100vh;
    min-height: 500px;
}

.offcanvas.show:not(.hiding),
.offcanvas.showing {
    transform: none;
    z-index: 9999;
}

.carousel-item img {
    object-fit: cover;
    height: 100vh;
    min-height: 500px;
    width: 100% !important;
    filter: brightness(90%);
}

/* Logo - Responsive positioning */
.logofinal-centered {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    transition: all 0.3s ease;
}

.logofinal-centered img {
    /* height: 50px; */
    transition: 0.3s ease;
}

/* Social Icons - Responsive positioning */
.social-icons {
    position: fixed;
    top: 40px;
    left: 20px;
    z-index: 1050;
    transition: all 0.3s ease;
}

.social-icons a {
    margin-right: 10px;
    font-size: 16px;
    color: inherit;
    text-decoration: none;
}

.social-icons a i {
    transition: transform 0.4s ease, color 0.4s ease;
    display: inline-block;
}

.social-icons a:hover i {
    transform: rotate(360deg);
}

/* Carousel Caption - Responsive */
.carousel-caption {
    position: absolute;
    left: 15%;
    bottom: 30%;
    text-align: left;
    color: #fff;
    animation: fadeInUp 1s ease-in-out;
    max-width: 90%;
}

.carousel-caption h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1rem;
    color: #f8f9fa;
    margin-bottom: 1.5rem;
}

.btn-custom {
    background-color: #ffc107;
    border: none;
    color: #000;
    padding: 12px 25px;
    border-radius: 25px;
}

.btn-outline-custom {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    padding: 12px 25px;
    border-radius: 25px;
}

.navbar-toggler {
    z-index: 1050;
    margin-top: 10px;
    margin-right: 15px;
}

.offcanvas {
    width: 280px;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dot Navigation - Responsive */
.dot-nav {
    position: fixed;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 999;
}

.dot {
    position: relative;
    width: 15px;
    height: 13px;
    margin: 8px 0;
    background: #8cd0ff;
    border-radius: 50%;
    transition: background 0.3s ease;
    cursor: pointer;
}

.dot::before,
.dot::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.dot::before {
    content: attr(data-label);
    right: 50px;
    white-space: nowrap;
    color: white;
    font-size: 15px;
    font-weight: 500;
}


.dot::after {
    width: 20px;
    height: 2px;
    background: white;
    right: 17px;
}

.dot:hover::before,
.dot:hover::after {
    opacity: 1;
}

/* About Section - Responsive */
.about-section {
    background: url('../imgs/perlax-1.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 60px 15px 120px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about-section.show {
    opacity: 1;
    transform: translateY(0);
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
    color: white;
}

.more-btn {
    background-color: #ffc107;
    color: #000;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: background 0.3s ease;
}

.more-btn:hover {
    background-color: #198754;
    color: #fff;
}

.more-btn .arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.more-btn:hover .arrow {
    transform: translateX(5px);
}

.splash-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(40px);
    transition: transform 1s ease, opacity 1s ease;
    opacity: 0;
}

.about-section.show .splash-container {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.coconut-splash {
    max-height: unset !important;
    width: unset;
    max-width: unset !important;
}

/* Manufacturing Section - Responsive */
.manufacturing-section {
    background-color: #00beff;
    padding: 80px 0;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.Manufacturing-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    color: white;
    width: 30%;
    font-size: 18px;
    text-align: justify !important;
}

.manu-title {
    font-size: 48px;
}

.cascading-image-wrap {
    position: relative;
    height: 280px;
    max-width: 400px;
    margin: 0 auto;
}

.map-sequence {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.map-sequence img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.map-sequence.show {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.right-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    color: white;
}

.btn-arrow {
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
    padding: 12px 25px;
    color: white;
    font-weight: 500;
    background-color: #ffc107;
    border-radius: 25px;
}

.btn-arrow:hover {
    background-color: #fff;
    color: #000;
}

.btn-arrow .arrow {
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-arrow:hover .arrow {
    transform: translateX(5px);
}

/* Product Section - Responsive */
.product-section {
    background-image: url('../imgs/coco-1-1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding: 80px 0;
    position: relative;
}

.owl-nav {
    gap: 3%;
    display: flex;
    color: white;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    font-size: 25px;
}

.product-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.product-section .container,
.product-section .owl-carousel {
    position: relative;
    z-index: 2;
}

.flip-card {
    background: transparent;
    width: 100%;
    height: 280px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    padding: 20px;
    font-size: 14px;
    box-sizing: border-box;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.flip-card-back {
    transform: rotateY(180deg);
    background-size: cover;
    background-position: center;
}

.owl-carousel {
    width: 100% !important;
    z-index: 2 !important;
}

/* Testimonial & Certification Section - Responsive */
.testimonial-cert {
    background-image: url('../imgs/bg-bottom.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 60px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.testimonial-side,
.certification-side {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    min-height: 50vh;
}

.testimonial-side {
    background-color: rgba(0, 0, 0, 0.5);
}

.certification-side {
    background-color: rgba(0, 0, 0, 0.7);
}

.testimonial-content,
.certification-content {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cert-logofinal-custom {
    opacity: 1;
    margin: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.cert-logofinal-custom img {
    transition: transform 0.3s ease;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.testimonial-dots .owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffffff80;
    border: 2px solid #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots .owl-dot:hover,
.testimonial-dots .owl-dot.active {
    background-color: #ffffffcc;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.6;
}

/* Footer - Responsive */
.footer-section {
    background-color: #ffffff;
    padding: 40px 0;
    position: relative;
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-social-icons a {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #000000;
    font-size: 16px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.footer-social-icons a:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-social-icons a:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-social-icons a:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-social-icons a:nth-child(4) {
    animation-delay: 0.4s;
}

.footer-social-icons a:hover {
    transform: translateY(-5px);
    background: #825cff;
    color: #ffffff;
}

.footer-text {
    text-align: center;
    color: #000000;
    margin: 0;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 16px;
    line-height: 1.5;
}

.footer-text:hover {
    opacity: 1;
    color: #825cff;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {

    /* Hero Section Mobile */
    .carousel-item {
        height: 100vh;
        min-height: 400px;
    }
    .social-icons {
        position: fixed;
        top: 27px !important;
        left: 20px !important;
        z-index: 1050;
        display: flex;
        gap: 6px !important;
        flex-direction: column;
    }
    .carousel-item img {
        height: 100vh;
        min-height: 400px;
    }

    .Manufacturing-title {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        color: white;
        width: 100%;
        font-size: 22px;
    }

    .mb-md-0 {
        margin-bottom: 0 !important;
        width: 100%;
    }

    .carousel-caption {
        left: 5%;
        right: 5%;
        bottom: 15%;
    }

    .carousel-caption h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .btn-custom,
    .btn-outline-custom {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Logo and Social Mobile */
    .logofinal-centered img {
        height: 40px;
    }

    .social-icons {
        top: 30px;
        left: 15px;
    }

    .social-icons a {
        font-size: 14px;
        margin-right: 8px;
    }

    /* Dot Navigation Mobile */
    .dot-nav {
        right: 10px;
        display: none;
        /* Hide on very small screens */
    }

    .dot {
        width: 8px;
        height: 8px;
        margin: 6px 0;
    }

    .dot::before {
        font-size: 10px;
        right: 35px;
    }

    .dot::after {
        width: 15px;
        right: 10px;
    }

    /* About Section Mobile */
    .about-section {
        padding: 40px 15px 80px;
        text-align: center;
    }

    .about-section h2 {
        font-size: 1.8rem;
    }

    .about-section p {
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: justify;
    }

    .coconut-splash {
        max-height: 150px !important;
        max-width: 300px !important;
    }

    /* Manufacturing Section Mobile */
    .manufacturing-section {
        padding: 60px 0;
        text-align: center;
    }

    .cascading-image-wrap {
        height: 200px;
        max-width: 280px;
        margin-bottom: 30px;
    }

    .right-text {
        text-align: center;
        align-items: center;
    }

    .right-text h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .right-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Products Section Mobile */
    .product-section {
        padding: 60px 0;
    }

    .product-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .flip-card {
        height: 250px;
        margin-bottom: 20px;
    }

    .flip-card-front,
    .flip-card-back {
        padding: 15px;
        font-size: 13px;
    }

    .flip-card-front h3,
    .flip-card-back h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    /* Testimonial Section Mobile */
    .testimonial-cert {
        padding: 40px 0;
    }

    .testimonial-side,
    .certification-side {
        padding: 30px 15px;
        min-height: auto;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .certification-content h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .cert-logofinal-custom img {
        max-height: 150px;
    }

    /* Footer Mobile */
    .footer-section {
        padding: 30px 0;
        min-height: 50vh;
    }

    .footer-social-icons {
        gap: 12px;
        margin: 15px 0;
    }

    .footer-social-icons a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .footer-text {
        font-size: 14px;
        padding: 0 20px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 0.8rem;
    }

    .about-section h2 {
        font-size: 1.5rem;
    }

    .right-text h2 {
        font-size: 1.3rem;
    }

    .product-section h2 {
        font-size: 1.5rem;
    }

    .flip-card {
        height: 220px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .dot-nav {
        display: none;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .carousel-caption h1 {
        font-size: 3.5rem;
    }

    .carousel-caption p {
        font-size: 1.2rem;
    }

    .about-section h2 {
        font-size: 2.5rem;
    }

    .coconut-splash {
        max-height: 300px !important;
        position: relative;
        top: 55px;

    }

    .cascading-image-wrap {
        height: 350px;
        max-width: 500px;
    }

    .flip-card {
        height: 320px;
    }

    .cert-logofinal-custom img {
        max-height: 200px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .Manufacturing-title {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        color: white;
        width: 50%;
        font-size: 22px;
    }

    .coconut-splash {
        max-height: 170px !important;
        max-width: 370px !important;
        position: relative;
        top: 0px !important;
    }
}

a {
    color: rgb(255 255 255);
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
  }
/* Header Styles - Enhanced with animations */
.navbar-header {
    /* position: sticky; */
    /* background-color: rgb(255, 255, 255); */
    height: 125px;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.07), 0 1.5px 3px rgba(0,0,0,0.04); */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top center;
    transform: scaleY(1);
    will-change: transform, padding;
  }

  .navbar-header.scrolled {
    transform: scaleY(0.9);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }

  .social-icons {
    position: fixed;
    top: 40px;
    left: 20px;
    z-index: 1050;
    display: flex;
    gap: 15px;
  }

  .social-icons a {
    margin-right: 10px;
    font-size: 16px;
    color: gray;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s;
  }

  .social-icons a:hover {
    transform: translateY(-10px);
    color: #825CFF;
  }

  .logofinal-centered {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .logofinal-centered img {
    height: 80px;
    width: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
  }

  .navbar-header.scrolled .logofinal-centered img {
    transform: scale(0.9);
  }

  .navbar-toggler {
    z-index: 1050;
    margin-top: 10px;
    /* background-color: #a1a1a1; */
    transition: transform 0.3s ease;
  }

  .navbar-toggler:hover {
    transform: scale(1.1);
  }

  /* Mobile Menu Styles - Enhanced */
  .offcanvas {
    width: 280px;
    background: #2e3049;
    transition: transform 0.3s ease;
  }

  .offcanvas .nav-link {
    padding: 11px 20px;
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 18px;
  }

  .offcanvas .nav-link:hover {
    color: #825cff !important;
    transform: translateX(10px);
  }

  .offcanvas-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .offcanvas-title {
    color: #ffffff;
    font-weight: 600;
  }


  .text-indent {
    text-indent: 20px;
  }

 .activate{
    color: #00beff;
 }
















        /* Navigation bar styles */
        .navbar {
            width: 100%;
            transition: background-color 0.3s ease;
        }
        
        /* Initial state - transparent */
        .navbar.bg-transparent {
            background-color: transparent !important;
        }
        
        /* Scrolled state - red background */
        .navbar.scrolled {
            background-color: #ff0000 !important; /* Red color */
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        /* Ensure the navigation links are visible */
        .navbar .nav-link {
            color: white !important;
            transition: color 0.3s ease;
        }
        
        /* Add smooth transition */
        .navbar, .nav-link {
            transition: all 0.3s ease;
        }
   


        