:root {
    --primary-green: #2d5c3e;
    --light-green: #4a8c6a;
    --accent-green: #6abf8a;
    --soft-green: #e8f5e8;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-dark: #2c3e50;
    --shadow: 0 4px 20px rgba(45, 92, 62, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kanit', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

ol li {
    margin-top: 15px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Navigation */
.navbar {
    background: var(--primary-green);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 200;
    color: var(--white) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-green) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.navbar-toggler {
    background: #ffffff;
    color: #ffffff;
}

.navbar-toggler-icon {
    color: #ffffff;
}

/* Navigation Separator */
.nav-separator {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 0.5rem;
    align-self: center;
}

/* Dropdown Menu */
.dropdown-menu {
    background: var(--white);
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--soft-green);
    color: var(--primary-green);
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-top: 1px solid var(--soft-green);
}

.dropdown-toggle::after {
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .nav-separator {
        width: 100%;
        height: 1px;
        margin: 0.5rem 0;
    }
    
    .dropdown-menu {
        background: transparent;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
    }
    
    .dropdown-item {
        color: var(--white);
        padding: 0.5rem 1rem;
    }
    
    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent-green);

    }
    
    .nav-link::after {
        background: none;
    }

    .dropdown-toggle::after {
        border-top: 0;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: white;
    padding: 180px 0 80px 0;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Hero Slider Section */
.hero-slider-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: scale(1.05);
}

.slider-item.active {
    opacity: 1;
    transform: scale(1);
}

.slider-item.prev {
    transform: translateX(-100%) scale(1);
}

.slider-item.next {
    transform: translateX(100%) scale(1);
}

/* Slide Image */
.slide-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease-out;
}

.slider-item.active .slide-image img {
    transform: scale(1.1);
}

/* Slide Video */
.slide-video {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Slide Overlay */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(15, 23, 42, 0.3) 0%,
        rgba(59, 130, 246, 0.2) 50%,
        rgba(15, 23, 42, 0.3) 100%
    );
    pointer-events: none;
}

/* Slider Navigation */
.slider-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.prev-slide {
    left: 2rem;
}

.next-slide {
    right: 2rem;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.indicator {
    width: 20px;
    height: 20px;
    background: var(--gradient-accent);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.indicator.active {
    background: var(--gradient-accent);
    color: rgba(255, 255, 255, 1);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-align: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .slider-nav {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .prev-slide {
        left: 1rem;
    }
    
    .next-slide {
        right: 1rem;
    }
    
    .slider-indicators {
        bottom: 1rem;
        gap: 0.5rem;
    }
    
    .indicator {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .brand-overlay {
        top: 1rem;
        left: 1rem;
    }
    
    .brand-logo {
        padding: 0.75rem 1.5rem;
        font-size: 1.2rem;
    }
    
    .brand-logo i {
        font-size: 1.4rem;
    }
    
    .scroll-indicator {
        bottom: 1rem;
        right: 1rem;
    }
    
    .scroll-indicator span {
        font-size: 0.7rem;
    }
    
    .video-container iframe {
        width: 100vw;
        height: 56.25vw;
    }
}

@media (max-width: 576px) {
    .slider-indicators {
        flex-wrap: wrap;
        max-width: 200px;
    }
    
    .indicator {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .brand-logo {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* Loading Animation for Slides */
.slide-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    z-index: 5;
}

.slide-loading i {
    animation: rotate 1s linear infinite;
}

/* Slide Transition Effects */
.slider-item.fade-in {
    animation: fadeInSlide 1s ease-out;
}

.slider-item.slide-left {
    animation: slideFromRight 1s ease-out;
}

.slider-item.slide-right {
    animation: slideFromLeft 1s ease-out;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Auto-play indicator */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: width 0.1s ease;
    z-index: 10;
}

/* Image Overlay for Slide 1 - ปรับให้เป็นรูปตรงๆ */
.slide-image-overlay {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        90deg,
        rgba(15, 23, 42, 0.7) 0%,
        rgba(15, 23, 42, 0.3) 60%,
        transparent 100%
    );
    backdrop-filter: blur(2px);
    opacity: 0;
    transform: translateX(-100%);
    transition: all 1.2s ease-out;
}

.slider-item.active .slide-image-overlay {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.5s;
}

.overlay-content {
    position: relative;
    width: 100%;
    padding: 0 0 0 5rem;
    animation: slideInLeft 1.5s ease-out 0.8s both;
}

.overlay-image {
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem;
    transition: all 0.5s ease;
}

.overlay-image img {
    width: 100%;
    flex-shrink: 0;
    transition: all 0.5s ease;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); */
    /* filter: brightness(1.1) contrast(1.1); */
}

.overlay-image img:hover {
    transform: scale(1.05) translateY(-5px);
    /* box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4); */
    /* filter: brightness(1.2) contrast(1.2); */
}

.overlay-image img:nth-child(1) {
    animation-delay: 0.2s;
}

.overlay-image img:nth-child(2) {
    animation-delay: 0.4s;
}

.overlay-image img:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes frameGlow {
    from {
        box-shadow: 
            0 0 20px rgba(59, 130, 246, 0.3),
            inset 0 0 20px rgba(59, 130, 246, 0.1);
    }
    to {
        box-shadow: 
            0 0 40px rgba(59, 130, 246, 0.5),
            inset 0 0 30px rgba(59, 130, 246, 0.2);
    }
}

/* Staggered Animation for Images */
.slider-item.active .overlay-image img {
    animation: slideInImage 0.8s ease-out both;
}

@keyframes slideInImage {
    from {
        opacity: 0;
        transform: translateX(-50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Alternative Layouts */
.overlay-image.layout-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 1.5rem;
}

.overlay-image.layout-grid img {
    width: 100%;
}

.overlay-image.layout-stack {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
}

.overlay-image.layout-stack img {
    width: 100%;
}

.overlay-image.layout-overlap {
    gap: -20px;
}

.overlay-image.layout-overlap img {
    margin-left: -20px;
    z-index: 1;
}

.overlay-image.layout-overlap img:first-child {
    margin-left: 0;
    z-index: 3;
}

.overlay-image.layout-overlap img:nth-child(2) {
    z-index: 2;
}

.overlay-image.layout-overlap img:hover {
    z-index: 4;
    transform: scale(1.1) translateY(-10px);
}

/* Responsive Design สำหรับ Layout ใหม่ */
@media (max-width: 1200px) {
    .slide-image-overlay {
        width: 55%;
    }
    
    .overlay-content {
        max-width: 500px;
        padding: 1.5rem;
    }
    
    .overlay-image img {
        width: 100%;
    }
    
    .overlay-image {
        gap: 0.75rem;
        padding: 0.75rem;
    }
}

@media (max-width: 992px) {
    .slide-image-overlay {
        width: 70%;
    }
    
    .overlay-content {
        max-width: 80%;
        padding: 1rem;
    }
    
    .overlay-image img {
        width: 100%;
    }
    
    .overlay-image {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
    }

}

@media (max-width: 768px) {
    .slide-image-overlay {
        width: 70%;
        /* background: linear-gradient(
            90deg,
            rgba(15, 23, 42, 0.8) 0%,
            rgba(15, 23, 42, 0.4) 70%,
            transparent 100%
        ); */
    }
    
    .overlay-content {
        max-width: 90%;
        padding: 0.5rem;
    }
    
    .overlay-image {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.5rem;
    }
    
    .overlay-image img {
        width: 100%;
    }

}

@media (max-width: 576px) {
    .slide-image-overlay {
        width: 100%;
        /* background: linear-gradient(
            90deg,
            rgba(15, 23, 42, 0.9) 0%,
            rgba(15, 23, 42, 0.5) 80%,
            transparent 100%
        ); */
    }
    
    .overlay-content {
        max-width: 90%;
        padding: 0.5rem;
    }
    
    .overlay-image {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.5rem;
    }
    
    .overlay-image img {
        width: 100%;
    }
}

/* Enhanced Hover Effects - ปรับให้ไม่มี perspective */
.overlay-image:hover img:nth-child(1) {
    transform: scale(1.05) translateY(-5px) translateX(-2px);
}

.overlay-image:hover img:nth-child(2) {
    transform: scale(1.08) translateY(-8px);
}

.overlay-image:hover img:nth-child(3) {
    transform: scale(1.05) translateY(-5px) translateX(2px);
}

/* Animation for Container - ไม่มี perspective */
.slider-item[data-type="image"]:first-child.active .overlay-image {
    animation: 
        slideInLeft 1.5s ease-out 0.8s both,
        floatContainer 6s ease-in-out 2s infinite;
}

@keyframes floatContainer {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Interactive Effects */
.overlay-image:hover {
    animation-duration: 2s;
    border-color: rgba(96, 165, 250, 0.6);
}

/* Remove all perspective references */
.overlay-image.style-2,
.overlay-image.technology-focus,
.overlay-image.installation-demo {
    transform: none;
}

.overlay-image.style-2:hover,
.overlay-image.technology-focus:hover,
.overlay-image.installation-demo:hover {
    transform: scale(1.02);
}

/* width */
.w-90 {
    width: 90%;
}
.w-80 {
    width: 80%;
}
.w-70 {
    width: 70%;
}
.w-60 {
    width: 60%;
}

/* Section Styling */
.section {
    padding: 8rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-green);
    border-radius: 2px;
}

/* Product Cards */
#RWV002, #RWV003, #RWV008, #RWV010 {
    padding-top: 120px;
    margin-top: -120px;
}

.product-card {
   background: white;
   border-radius: 15px;
   box-shadow: var(--shadow);
   transition: all 0.3s ease;
   border: none;
   overflow: hidden;
   margin-bottom: 2rem;
   height: 100%;
   display: flex;
   flex-direction: column;
}

.product-card:hover {
   transform: translateY(-10px);
   box-shadow: 0 10px 40px rgba(45, 92, 62, 0.15);
}

.product-card .card-body {
   padding: 4rem 2rem;
   display: flex;
   flex-direction: column;
   flex: 1;
   justify-content: space-between;
   text-align: center;
}

.product-card .product-content {
   display: flex;
   flex-direction: column;
   align-items: center;
}

.product-card .product-bottom {
   margin-top: auto;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 1rem;
}

.product-card .product-bottom h4 {
   margin-bottom: 0.5rem;
}

.product-card .product-bottom p {
   margin-bottom: 1rem;
}

.product-card .btn-primary-custom {
   margin-top: 0;
}

.product-card tr {
    border-bottom: 1px solid var(--accent-green);;
}

.product-card td {
    padding: 10px;
}

/* Features Section */
.features-section {
   background: var(--soft-green);
}

.feature-item {
   text-align: center;
   padding: 2rem;
   transition: transform 0.3s ease;
}

.feature-item:hover {
   transform: scale(1.05);
}

.feature-icon {
   font-size: 4rem;
   color: var(--primary-green);
   margin-bottom: 1.5rem;
}

/* Services Grid */
.service-card {
   background: white;
   padding: 2.5rem;
   border-radius: 15px;
   text-align: center;
   box-shadow: var(--shadow);
   transition: all 0.3s ease;
   height: 100%;
}

.service-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 15px 50px rgba(45, 92, 62, 0.2);
}

/* Gallery */
.gallery-item {
   position: relative;
   overflow: hidden;
   border-radius: 15px;
   margin-bottom: 2rem;
   cursor: pointer;
}

.gallery-item img {
   width: 100%;
   height: 250px;
   object-fit: cover;
   transition: transform 0.3s ease;
}

.gallery-item:hover img {
   transform: scale(1.1);
}

.gallery-overlay {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: linear-gradient(45deg, var(--primary-green), var(--accent-green));
   opacity: 0;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
   opacity: 0.9;
}

/* Articles */
.article-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-card .p-4 {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card .p-4 p {
  flex: 1;
  margin-bottom: 1.5rem;
}

.article-card .btn-primary-custom {
  margin-top: auto;
  align-self: flex-start;
  width: auto;
}
.article-meta {
  color: var(--light-green);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.article-card h5 {
  margin-bottom: 1rem;
}

/* Pagination Styling */
.pagination {
    margin: 0;
}

.pagination .page-link {
    color: var(--primary-green);
    border: 1px solid #ddd;
    padding: 0.5rem 0.75rem;
    margin: 0 2px;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    color: white;
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: white;
    border-color: #ddd;
    cursor: not-allowed;
}

.pagination .page-item.disabled .page-link:hover {
    transform: none;
}

/* CTA Section */
.cta-section {
   background: linear-gradient(135deg, var(--primary-green), var(--light-green));
   color: white;
   text-align: center;
   position: relative;
   overflow: hidden;
}

.cta-floating-elements {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   opacity: 0.1;
}

.floating-icon {
   position: absolute;
   font-size: 2rem;
   animation: float 4s ease-in-out infinite;
}

.floating-icon:nth-child(1) { 
   top: 20%; 
   left: 10%; 
   animation-delay: 0s; 
}

.floating-icon:nth-child(2) { 
   top: 60%; 
   right: 15%; 
   animation-delay: 1s; 
}

.floating-icon:nth-child(3) { 
   bottom: 30%; 
   left: 20%; 
   animation-delay: 2s; 
}

/* Footer */
.footer {
   background: var(--primary-green);
   color: white;
   padding: 3rem 0 1rem;
}

.footer h5 {
   color: var(--accent-green);
   margin-bottom: 1.5rem;
}

.footer a {
   color: rgba(255, 255, 255, 0.8);
   text-decoration: none;
   transition: color 0.3s ease;
}

.footer a:hover {
   color: var(--accent-green);
}

/* Responsive */
@media (max-width: 768px) {
   .hero-title {
       font-size: 2.5rem;
   }
   
   .hero-subtitle {
       font-size: 1.1rem;
   }
   
   .section-title {
       font-size: 2rem;
   }
   
   .hero-image {
       display: none;
   }
}

/* Scroll animations */
.fade-in {
   opacity: 0;
   transform: translateY(30px);
   transition: all 0.6s ease;
}

.fade-in.visible {
   opacity: 1;
   transform: translateY(0);
}

/* Button animations */
.btn-pulse {
   animation: pulse 2s infinite;
}

/* Button Styles */
.btn-primary-custom {
   background: linear-gradient(135deg, var(--primary-green), var(--light-green));
   color: white;
   border: none;
   padding: 12px 30px;
   border-radius: 25px;
   font-weight: 600;
   text-decoration: none;
   display: inline-block;
   transition: all 0.3s ease;
   box-shadow: 0 4px 15px rgba(45, 92, 62, 0.3);
   position: relative;
   overflow: hidden;
}

.btn-primary-custom:hover {
   transform: translateY(-3px);
   box-shadow: 0 8px 25px rgba(45, 92, 62, 0.4);
   color: white;
}

.btn-primary-custom:before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 100%;
   background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
   transition: left 0.5s;
}

.btn-primary-custom:hover:before {
   left: 100%;
}

/* Product Card Button - Enhanced */
.product-card .btn-primary-custom {
   background: linear-gradient(135deg, var(--accent-green), var(--light-green));
   font-size: 1.1rem;
   padding: 15px 35px;
   border-radius: 30px;
   font-weight: 700;
   box-shadow: 0 6px 20px rgba(106, 191, 138, 0.4);
   transform: scale(1);
   animation: buttonPulse 2s ease-in-out infinite;
}

.product-card .btn-primary-custom:hover {
   background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
   transform: translateY(-5px) scale(1.05);
   box-shadow: 0 10px 30px rgba(45, 92, 62, 0.5);
   animation: none;
}

@keyframes buttonPulse {
   0%, 100% {
       box-shadow: 0 6px 20px rgba(106, 191, 138, 0.4);
   }
   50% {
       box-shadow: 0 8px 25px rgba(106, 191, 138, 0.6);
   }
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    animation: lightboxZoomIn 0.3s ease;
}

@keyframes lightboxZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-image {
    width: 100%;
    max-height: 85vh;
    object-fit: cover;
    display: block;
}

.lightbox-info {
    padding: 1.5rem;
    text-align: center;
}

.lightbox-title {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.lightbox-description {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 300;
    color: var(--white);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 200;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-container {
        padding: 0.5rem;
    }
    
    .lightbox-content {
        max-width: 98%;
        max-height: 98%;
    }
    
    .lightbox-image {
        max-height: 75vh;
    }
    
    .lightbox-info {
        padding: 0.75rem;
    }
    
    .lightbox-title {
        font-size: 1.1rem;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .lightbox-prev {
        left: 0.5rem;
    }
    
    .lightbox-next {
        right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .lightbox-image {
        max-height: 70vh;
    }
    
    .lightbox-info {
        padding: 0.5rem;
    }
}




/* PRODUCTS */

.page-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.comparison-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.comparison-table {
    margin: 0;
}

.comparison-table img {
    height: auto;
    max-height: 200px;
    width: auto;
    max-width: 100%;
    padding: 20px;
}

.comparison-table th {
    background: var(--primary-green);
    color: white;
    font-weight: 600;
    padding: 1rem;
    border: none;
    text-align: center;
}

.comparison-table th:first-child {
    text-align: left;
    background: var(--light-green);
}

.comparison-table td {
    padding: 1rem;
    border-color: #eee;
    text-align: center;
    vertical-align: middle;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    background: #f8f9fa;
}

.comparison-table tr:hover {
    background: var(--soft-green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .comparison-table-wrapper {
        padding: 1rem;
    }
    
    .filter-btn {
        margin: 5px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .comparison-table img {
    padding: 5px;
}

}