/* Updates page - Traditional Carousel */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    overflow: hidden;
}

/* Responsive breakpoints for carousel container */
@media (max-width: 1200px) {
    .carousel-container {
        max-width: 100%;
        padding: 0 0.8rem;
    }
}

@media (max-width: 992px) {
    .carousel-container {
        padding: 0 0.6rem;
    }
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 0 0.4rem;
    }
}

@media (max-width: 576px) {
    .carousel-container {
        padding: 0 0.2rem;
    }
}

.updates-grid {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 1rem 0;
    position: relative;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    transform-style: preserve-3d;
    overflow: visible;
    width: max-content;
}

/* Responsive breakpoints for updates grid */
@media (max-width: 1200px) {
    .updates-grid {
        gap: 0.8rem;
        padding: 0.8rem 0;
    }
}

@media (max-width: 992px) {
    .updates-grid {
        gap: 0.6rem;
        padding: 0.6rem 0;
    }
}

@media (max-width: 768px) {
    .updates-grid {
        gap: 0.4rem;
        padding: 0.4rem 0;
    }
}

@media (max-width: 576px) {
    .updates-grid {
        gap: 0.3rem;
        padding: 0.3rem 0;
    }
}

/* Carousel slide animation */
.carousel-slide {
    animation: slideIn 0.6s ease-out forwards;
    opacity: 0;
    transform: translateX(30px);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Smooth carousel movement */
.updates-grid.sliding {
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Individual card animations during carousel movement */
.update-card {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

/* Cloned cards for infinite loop */
.update-card.cloned-card {
    flex-shrink: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* TENC Logo styling */
img[alt="Energy Solutions"] {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: all 0.3s ease;
    width: 300px; /* Default size */
    margin: 0 auto; /* Center the logo */
}

img[alt="Energy Solutions"]:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Responsive breakpoints for TENC Logo */
@media (max-width: 1200px) {
    img[alt="Energy Solutions"] {
        width: 250px;
    }
}

@media (max-width: 992px) {
    img[alt="Energy Solutions"] {
        width: 200px;
    }
}

@media (max-width: 768px) {
    img[alt="Energy Solutions"] {
        width: 150px;
        margin: 20px auto;
    }
}

@media (max-width: 576px) {
    img[alt="Energy Solutions"] {
        width: 120px;
        margin: 15px auto;
    }
}

@media (max-width: 480px) {
    img[alt="Energy Solutions"] {
        width: 80px;
        margin: 10px auto;
    }
}

@media (max-width: 360px) {
    img[alt="Energy Solutions"] {
        width: 60px;
        margin: 8px auto;
    }
}

@media (max-width: 320px) {
    img[alt="Energy Solutions"] {
        width: 50px;
        margin: 5px auto;
    }
}

.update-card.slide-in {
    animation: cardSlideIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.update-card.slide-out {
    animation: cardSlideOut 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes cardSlideIn {
    0% {
        opacity: 0;
        transform: translateX(50px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes cardSlideOut {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0.7;
        transform: translateX(-30px) scale(0.98);
    }
}

/* Carousel indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive breakpoints for carousel indicators */
@media (max-width: 768px) {
    .carousel-indicators {
        gap: 6px;
        margin-top: 1.5rem;
    }
}

@media (max-width: 576px) {
    .carousel-indicators {
        gap: 5px;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .carousel-indicators {
        gap: 4px;
        margin-top: 0.8rem;
    }
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(24, 119, 242, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* Responsive breakpoints for carousel dots */
@media (max-width: 768px) {
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    .carousel-dot {
        width: 8px;
        height: 8px;
        border: 1px solid transparent;
    }
}

@media (max-width: 480px) {
    .carousel-dot {
        width: 6px;
        height: 6px;
    }
}

.carousel-dot.active {
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    transform: scale(1.2);
    border-color: rgba(24, 119, 242, 0.5);
}

.carousel-dot:hover {
    background: rgba(24, 119, 242, 0.6);
    transform: scale(1.1);
}

/* Remove auto-play indicator - fully automatic */
.auto-scroll-indicator,
.auto-play-indicator,
[class*="auto-scroll"],
[class*="auto-play"],
#autoPlayIndicator,
#auto-scroll-indicator,
div[class*="auto"],
button[class*="auto"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* Remove horizontal scrollbar styles since we're using vertical layout */
/* Clickable Card Design - Horizontal */
.update-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 280px;
    max-width: 320px;
    flex-shrink: 0;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.06),
        0 3px 8px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(20px);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    cursor: pointer;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Responsive breakpoints for update cards */
@media (max-width: 1200px) {
    .update-card {
        min-width: 260px;
        max-width: 300px;
    }
}

@media (max-width: 992px) {
    .update-card {
        min-width: 240px;
        max-width: 280px;
        border-radius: 14px;
    }
}

@media (max-width: 768px) {
    .update-card {
        min-width: 220px;
        max-width: 260px;
        border-radius: 12px;
    }
}

@media (max-width: 576px) {
    .update-card {
        min-width: 200px;
        max-width: 240px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .update-card {
        min-width: 180px;
        max-width: 220px;
    border-radius: 8px;
    }
}

@media (max-width: 360px) {
    .update-card {
        min-width: 160px;
        max-width: 200px;
        border-radius: 6px;
    }
}

.update-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(24, 119, 242, 0.3);
}

.update-card:active {
    transform: translateY(-4px) scale(0.98);
}

.update-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    z-index: 1;
}

.update-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

.update-card:hover {
    transform: translateY(-16px) scale(1.03);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.15),
        0 20px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 0 0 1px rgba(24, 119, 242, 0.1);
    border-color: rgba(24, 119, 242, 0.3);
}

/* Modern Card Header */
.modern-card-header {
    position: relative;
    height: 150px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Responsive breakpoints for card header */
@media (max-width: 1200px) {
    .modern-card-header {
        height: 130px;
        border-radius: 14px 14px 0 0;
    }
}

@media (max-width: 992px) {
    .modern-card-header {
        height: 120px;
        border-radius: 12px 12px 0 0;
    }
}

@media (max-width: 768px) {
    .modern-card-header {
        height: 100px;
        border-radius: 10px 10px 0 0;
    }
}

@media (max-width: 576px) {
    .modern-card-header {
        height: 90px;
        border-radius: 8px 8px 0 0;
    }
}

@media (max-width: 480px) {
    .modern-card-header {
        height: 80px;
        border-radius: 6px 6px 0 0;
    }
}

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

.modern-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.05) contrast(1.02);
}

.update-card:hover .modern-image {
    transform: scale(1.08) rotate(1deg);
    filter: brightness(1.1) contrast(1.05) saturate(1.1);
}

.modern-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 30%, #f093fb 70%, #4facfe 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.modern-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(30deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(30deg); }
}

.placeholder-icon {
    font-size: 5rem;
    margin-bottom: 16px;
    opacity: 0.95;
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* Responsive breakpoints for placeholder icon */
@media (max-width: 992px) {
    .placeholder-icon {
        font-size: 4rem;
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {
    .placeholder-icon {
        font-size: 3.5rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .placeholder-icon {
        font-size: 3rem;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .placeholder-icon {
        font-size: 2.5rem;
        margin-bottom: 6px;
    }
}

.placeholder-text {
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 0.9;
    z-index: 2;
    position: relative;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}

/* Responsive breakpoints for placeholder text */
@media (max-width: 992px) {
    .placeholder-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .placeholder-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .placeholder-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .placeholder-text {
        font-size: 0.8rem;
    }
}

.modern-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
}

.modern-badge {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.95) 0%, rgba(66, 165, 245, 0.95) 50%, rgba(103, 187, 106, 0.95) 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 
        0 6px 16px rgba(24, 119, 242, 0.4),
        0 2px 4px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Responsive breakpoints for badge */
@media (max-width: 992px) {
    .modern-badge {
        padding: 8px 16px;
        font-size: 0.75rem;
        letter-spacing: 0.6px;
    }
}

@media (max-width: 768px) {
    .modern-badge {
        padding: 6px 12px;
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 576px) {
    .modern-badge {
        padding: 5px 10px;
        font-size: 0.65rem;
        letter-spacing: 0.4px;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .modern-badge {
        padding: 4px 8px;
        font-size: 0.6rem;
        letter-spacing: 0.3px;
        border-radius: 15px;
    }
}

.modern-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.modern-badge:hover::before {
    left: 100%;
}

/* Modern Card Content */
.modern-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.95) 100%);
    position: relative;
    z-index: 2;
}

/* Responsive breakpoints for card content */
@media (max-width: 1200px) {
    .modern-card-content {
        padding: 14px;
        gap: 10px;
    }
}

@media (max-width: 992px) {
    .modern-card-content {
        padding: 12px;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .modern-card-content {
        padding: 10px;
        gap: 6px;
    }
}

@media (max-width: 576px) {
    .modern-card-content {
        padding: 8px;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .modern-card-content {
        padding: 6px;
        gap: 3px;
    }
}

.modern-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 50%, #4a5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive breakpoints for title */
@media (max-width: 1200px) {
    .modern-title {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .modern-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .modern-title {
        font-size: 0.9rem;
        line-height: 1.25;
    }
}

@media (max-width: 576px) {
    .modern-title {
        font-size: 0.85rem;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .modern-title {
        font-size: 0.8rem;
        line-height: 1.15;
    }
}

.modern-date {
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 4px 0 8px 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.modern-description {
    color: #4a5568;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    flex: 1;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive breakpoints for description */
@media (max-width: 1200px) {
    .modern-description {
        font-size: 0.8rem;
        line-height: 1.45;
    }
}

@media (max-width: 992px) {
    .modern-description {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

@media (max-width: 768px) {
    .modern-description {
        font-size: 0.7rem;
        line-height: 1.35;
    }
}

@media (max-width: 576px) {
    .modern-description {
        font-size: 0.65rem;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .modern-description {
        font-size: 0.6rem;
        line-height: 1.25;
    }
}

.modern-actions {
    margin-top: auto;
}

.modern-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 30%, #66bb6a 70%, #4caf50 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 8px 16px;
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 12px rgba(24, 119, 242, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Responsive breakpoints for button */
@media (max-width: 1200px) {
    .modern-button {
        font-size: 0.75rem;
        padding: 7px 14px;
        gap: 5px;
    }
}

@media (max-width: 992px) {
    .modern-button {
        font-size: 0.7rem;
        padding: 6px 12px;
        gap: 4px;
    }
}

@media (max-width: 768px) {
    .modern-button {
        font-size: 0.65rem;
        padding: 5px 10px;
        gap: 3px;
        border-radius: 15px;
    }
}

@media (max-width: 576px) {
    .modern-button {
        font-size: 0.6rem;
        padding: 4px 8px;
        gap: 2px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .modern-button {
        font-size: 0.55rem;
        padding: 3px 6px;
        gap: 2px;
        border-radius: 10px;
    }
}

.modern-button::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;
}

.modern-button:hover::before {
    left: 100%;
}

.modern-button:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 
        0 16px 32px rgba(24, 119, 242, 0.5),
        0 8px 16px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #1565c0 0%, #1976d2 30%, #2e7d32 70%, #1b5e20 100%);
}

.modern-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.modern-button:hover .modern-icon {
    transform: scale(1.15) rotate(8deg);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Vertical Grid Enhancements */
.updates-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: clamp(2rem, 6vw, 4rem) clamp(12px, 4vw, 24px);
}

/* Card animations for single row layout */
.update-card {
    animation: slideInRight 0.6s ease-out forwards;
    opacity: 0;
    transform: translateX(50px);
}

.update-card:nth-child(1) { animation-delay: 0.1s; }
.update-card:nth-child(2) { animation-delay: 0.2s; }
.update-card:nth-child(3) { animation-delay: 0.3s; }
.update-card:nth-child(4) { animation-delay: 0.4s; }
.update-card:nth-child(5) { animation-delay: 0.5s; }
.update-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .carousel-container {
        padding: 0 0.5rem;
        margin: 0 auto;
        max-width: 100%;
        min-height: 450px;
        overflow: hidden;
        position: relative;
    }
    
    .updates-grid {
        display: flex !important;
        flex-direction: row;
        padding: 1rem 0;
        margin: 0;
        gap: 0.5rem;
        overflow: visible;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        min-height: 350px;
        width: max-content;
        touch-action: pan-x;
    }
    
    .updates-grid::-webkit-scrollbar {
        display: none;
    }
    
    .update-card {
        display: block !important;
        min-width: 300px;
        max-width: 350px;
        border-radius: 16px;
        flex-shrink: 0;
        scroll-snap-align: start;
        margin-right: 0.5rem;
        background: white;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .update-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.2);
    }
    
    .modern-card-header {
        height: 200px;
        border-radius: 16px 16px 0 0;
        display: block;
        overflow: hidden;
    }
    
    .modern-placeholder {
        border-radius: 16px 16px 0 0;
    }
    
    .modern-card-content {
        padding: 16px;
        gap: 10px;
        display: block;
    }
    
    .modern-title {
        font-size: 1.1rem;
        line-height: 1.3;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        display: block;
        font-weight: 700;
    }
    
    .modern-description {
        font-size: 0.9rem;
        line-height: 1.4;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        display: block;
        margin: 8px 0;
    }
    
    .modern-button {
        padding: 10px 16px;
        font-size: 0.85rem;
        border-radius: 20px;
        display: inline-block;
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }
    
    .modern-icon {
        width: 20px;
        height: 20px;
    }
    
    .carousel-indicators {
        margin-top: 1.5rem;
        gap: 8px;
        display: flex;
        justify-content: center;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(24, 119, 242, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .carousel-dot.active {
        background: #1877f2;
        transform: scale(1.2);
    }
}

@media (max-width: 480px) {
    .carousel-container {
        padding: 0 0.25rem;
        min-height: 400px;
    }
    
    .updates-grid {
        padding: 0.8rem 0;
        margin: 0;
        gap: 0.5rem;
        min-height: 320px;
    }
    
    .update-card {
        min-width: 280px;
        max-width: 320px;
        border-radius: 12px;
        box-shadow: 0 6px 15px rgba(0,0,0,0.12);
    }
    
    .modern-card-header {
        height: 180px;
        border-radius: 12px 12px 0 0;
    }
    
    .modern-placeholder {
        border-radius: 12px 12px 0 0;
    }
    
    .modern-card-content {
        padding: 12px;
        gap: 8px;
    }
    
    .modern-title {
        font-size: 1rem;
        line-height: 1.25;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        font-weight: 600;
    }
    
    .modern-description {
        font-size: 0.85rem;
        line-height: 1.3;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    
    .modern-button {
        padding: 8px 12px;
        font-size: 0.8rem;
        border-radius: 16px;
        width: 100%;
    }
    
    .modern-icon {
        width: 18px;
        height: 18px;
    }
    
    .carousel-indicators {
        margin-top: 1rem;
        gap: 6px;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 360px) {
    .carousel-container {
        padding: 0 0.1rem;
        min-height: 380px;
    }
    
    .update-card {
        min-width: 260px;
        max-width: 300px;
    }
    
    .modern-card-header {
        height: 160px;
    }
    
    .modern-card-content {
        padding: 10px;
    }
    
    .modern-title {
        font-size: 0.95rem;
    }
    
    .modern-description {
        font-size: 0.8rem;
    }
    
    .modern-button {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .carousel-container {
        padding: 0 0.1rem;
    }
    
    .update-card {
        min-width: 240px;
        max-width: 280px;
    }
    
    .modern-card-header {
        height: 140px;
    }
    
    .modern-card-content {
        padding: 8px;
        gap: 4px;
    }
    
    .modern-title {
        font-size: 0.85rem;
    }
    
    .modern-description {
        font-size: 0.75rem;
    }
    
    .modern-button {
        padding: 5px 8px;
        font-size: 0.7rem;
    }
    
    .modern-icon {
        width: 14px;
        height: 14px;
    }
}

/* Carousel Effect - Horizontal */
.update-card {
    animation: slideInRight 0.6s ease-out forwards;
    opacity: 0;
    transform: translateX(50px);
}

.update-card:nth-child(1) { animation-delay: 0.1s; }
.update-card:nth-child(2) { animation-delay: 0.2s; }
.update-card:nth-child(3) { animation-delay: 0.3s; }
.update-card:nth-child(4) { animation-delay: 0.4s; }
.update-card:nth-child(5) { animation-delay: 0.5s; }
.update-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.update-media img { width: 100%; height: auto; display: block; }
.update-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.update-title { font-size: 16px; font-weight: 600; }
.update-meta { font-size: 12px; color: #666; }
.update-actions { margin-top: 4px; display: flex; gap: 10px; }
.update-actions a { color: #0a66c2; text-decoration: none; font-weight: 600; }

/* ============================================
   TABUKO ENERGY — DESIGN SYSTEM
   ============================================ */

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

:root {
    /* Brand colors — professional energy/industrial */
    --primary: #0d5c2e;
    --primary-dark: #084422;
    --primary-light: #1a7d3e;
    --accent: #e8b923;
    --accent-hover: #d4a61c;
    --accent-muted: rgba(232, 185, 35, 0.15);
    
    /* Neutrals */
    --body-bg: #f8f9fa;
    --item-bg: #ffffff;
    --surface: #ffffff;
    --surface-alt: #f0f2f5;
    --text: #1a1a1a;
    --text-muted: #5c5c5c;
    --text-light: #8a8a8a;
    --border: #e5e7eb;
    --border-strong: #d1d5db;
    
    /* UI */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.1);
    --radius: 10px;
    --radius-lg: 16px;
    --transition: 0.25s ease;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Poppins', var(--font-sans);
    --font-mono: 'Space Grotesk', var(--font-sans);
}
@font-face {
    font-family: myFontLogo;
    src: url('Ethnocentric Rg.otf');
}

@font-face {
    font-family: myFont;
    src: url('Saira-VariableFont_wdth,wght.ttf');
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Basic fade-in */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease, transform 2.5s ease;
    transform: translateY(20px);
  }
  
  .fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease, transform 2.5s ease;
  }
  
  .fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease, transform 2.5s ease;
  }
  
  /* When active, animate to visible */
  .fade-in.active,
  .fade-in-right.active,
  .fade-in-left.active {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    margin-top: 0;
    background: var(--body-bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-width: 280px;
    max-width: 100vw;
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px  clamp(16px, 5vw, 80px);
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 100%);
    min-height: 72px;
    transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled,
.navbar.opaque {
    background: rgba(13, 92, 46, 0.97);
    box-shadow: var(--shadow);
}

.navbar.scrolled .hamburger-line,
.navbar.opaque .hamburger-line {
    background-color: #fff;
}

.navbar.opaque .hamburger:hover,
.navbar.scrolled .hamburger:hover {
    background-color: rgba(255,255,255,0.1);
}

.navbar-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.navbar-links ul li a {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
}
.navbar-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: var(--accent);
    display: block;
    margin: auto;
    transition: width 0.3s ease;
}
.navbar-links ul li:hover::after {
    width: 100%;
}
.navbar-links ul li a:hover {
    color: #fff;
    background: rgba(255,255,255,0.12);
}

.navbar-buttons ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.navbar-buttons ul li a{
    color: #585757;
    text-decoration: none;
    font-size: 15px;
    white-space: nowrap; /* keep phone number on one line */
    display: inline-block;
}
.navbar-buttons ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.6s;

}
.navbar-buttons ul li:hover::after{
    width: 100%;
}

.navbar-logo {
    font-family: myFontLogo, var(--font-display);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(0.85rem, 2vw, 1.2rem);
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    line-height: 1.2;
    align-self: center;
    margin-top: 0;
    white-space: nowrap;
    letter-spacing: 0.02em;
}
.navbar-logo img {
    flex-shrink: 0;
}

/* Responsive TABUKO text sizing */
@media (max-width: 1200px) {
    .navbar-logo {
        font-size: 1.4em;
    }
    /* prevent line wrap on phone number by slightly reducing size */
    .navbar-buttons ul li a { font-size: 14px; }
    .navbar-links { gap: 14px; }
}

@media (max-width: 992px) {
    .navbar-logo {
        font-size: 1.25em;
    }
    .navbar-buttons ul li a { font-size: 13px; }
    .navbar-links { gap: 12px; }
}

@media (max-width: 768px) {
    .navbar-logo {
        /* Scale brand; allow wrapping to multiple lines on mobile */
        font-size: clamp(0.8em, 4.6vw, 1.0em);
        max-width: 90%;
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    .hamburger { position: relative; top: 8px; }
}

@media (max-width: 576px) {
    .navbar-logo {
        font-size: clamp(0.8em, 5vw, 0.95em);
        max-width: 95%;
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
        gap: 3px;
    }
    .hamburger { top: 10px; }
}

@media (max-width: 480px) {
    .navbar-logo {
        font-size: clamp(0.78em, 5.2vw, 0.9em);
        max-width: 96%;
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
        gap: 2px;
    }
    .hamburger { top: 12px; }
}

@media (max-width: 360px) {
    .navbar-logo {
        font-size: clamp(0.75em, 5.6vw, 0.85em);
        max-width: 98%;
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
        gap: 1px;
    }
    .hamburger { top: 14px; }
}

.navbar-collapse {
    display: flex;
    justify-content: center; /* Center the links */
    flex-grow: 1;
}

.navbar-links {
    margin-left: 20px;
    display: flex;
    justify-content: center; /* Center the links */
    gap: 12px; /* tighter spacing so all items fit */
    flex-grow: 1;
}

/* Desktop navbar styles */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
    
    .navbar-links,
    .navbar-buttons {
        display: flex !important;
    }
    
    .navbar-collapse {
        display: none !important;
    }

    /* Desktop alignment: keep navbar perfectly straight */
    .navbar {
        align-items: center;
    }
    .navbar-logo {
        align-self: center;
        margin-top: 0;
    }
    .navbar-desktop {
        align-items: center;
    }
    .navbar-links ul,
    .navbar-buttons ul {
        display: flex;
        align-items: center;
    }
    .navbar-links ul li,
    .navbar-buttons ul li {
        display: inline-flex;
        align-items: center;
    }
}

.navbar-links a {
    text-decoration: none;
    color: #000;
    padding: 8px 12px;
}

/* navbar-buttons removed on About page */


.btn {
    padding: 8px 16px;
    border: none;
    cursor: pointer;
}

/* Modern Hamburger Menu Styles */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0; 
        z-index: 1002;
        position: relative;
        transition: all 0.3s ease;
    }

    .hamburger-line {
        width: 25px;
        height: 3px;
        background-color: #000;
        margin: 2px 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 2px;
        transform-origin: center; 
    }

    .hamburger:hover {
        background-color: rgba(0, 0, 0, 0.05);
        border-radius: 5px;
    }
        
    .hamburger.active .hamburger-line {
        margin: 0;
        position: absolute;
    }

    /* Hamburger to X animation */
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg);
    }
    
    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .hamburger.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg);
    }

    /* Mobile Menu Overlay - lighter background so white text is readable */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(180deg, #0d5c2e 0%, #084422 50%, #0a2818 100%);
        backdrop-filter: blur(12px);
        z-index: 5000;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

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

    .mobile-menu-content {
        text-align: center;
        padding: 2rem;
        max-width: 400px;
        width: 100%;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 2rem;
        list-style: none;
        padding: 0;
    }

    .mobile-nav a,
    .mobile-nav-link {
        display: block;
        color: #ffffff !important;
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: 600;
        padding: 1rem 1.5rem;
        border-radius: var(--radius);
        transition: background var(--transition), color var(--transition);
        position: relative;
    }

    .mobile-nav li a {
        color: #ffffff !important;
        text-decoration: none;
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
        font-weight: 600;
        border-radius: var(--radius);
        transition: background var(--transition), color var(--transition);
    }

    .mobile-nav a:hover,
    .mobile-nav-link:hover,
    .mobile-nav li a:hover {
        background: rgba(255,255,255,0.18);
        color: #e8f5e9 !important;
    }

    .mobile-nav-link::after {
        display: none;
    }

    .mobile-phone {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 2rem;
        opacity: 0;
        transform: translateY(20px);
        animation: slideInUp 0.6s ease 0.7s forwards;
    }

    .mobile-phone-link {
        color: #2fcc56;
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
    }

    .mobile-phone-link:hover {
        color: #fff;
        transform: scale(1.05);
    }

/* Desktop Navigation */
.navbar-desktop {
        display: flex;
    align-items: center;
    gap: 2rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .navbar-desktop {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
}

@media (min-width: 769px) {
    .navbar-desktop {
        display: flex;
    }

    .hamburger {
        display: none;
    }
    
    .mobile-menu {
        display: none;
    }
}

/* Mobile hamburger menu fixes */
@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }
    body { padding-top: 64px; }
    
    .hamburger {
        display: flex !important;
        position: relative;
        z-index: 1002;
    }
    
    .mobile-menu {
        display: flex !important;
    }
    
    .navbar-desktop {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 15px;
        position: fixed;
        top: 0; left: 0; width: 100%;
    }
    body { padding-top: 56px; }
    
    .hamburger {
        display: flex !important;
    }
    
    .mobile-menu {
        display: flex !important;
    }
    
    .navbar-desktop {
        display: none !important;
    }
}
/* Clean mobile menu styles */

/* Additional mobile hamburger fixes */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-menu {
        display: flex !important;
    }
    
    .navbar-desktop {
        display: none !important;
    }
    
    /* Ensure hamburger is clickable */
    .hamburger {
        pointer-events: auto;
        cursor: pointer;
    }
}

/* <----- HEADER -----> */

/* Header Styling */
.header {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 70px 0 100px;
    color: #fff;
    font-family: Arial, sans-serif;
}

.bg-header {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;  
    z-index: 1;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 92, 46, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}


/* Responsive header breakpoints */
@media (max-width: 1200px) {
    .header {
        height: auto;
        min-height: 80vh;
        padding: 70px 0 80px 0;
    }
}

@media (max-width: 992px) {
    .header {
        min-height: 70vh;
        padding: 70px 0 60px 0;
    }
}

@media (max-width: 768px) {
    .header {
        min-height: 60vh;
        padding: 70px 0 40px 0;
    }
}

@media (max-width: 576px) {
    .header {
        min-height: 50vh;
        padding: 70px 0 30px 0;
    }
}

@media (max-width: 480px) {
    .header {
        min-height: 40vh;
        padding: 70px 0 20px 0;
    }
}

/* Optional Overlay */
.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* Much lighter overlay for brighter image */
    z-index: 1;
}

/* Flexbox layout for the container */
.container-header {
    display: flex;
    justify-content: space-between; /* Ensures content and image are on opposite sides */
    align-items: center; /* Vertically aligns content */
    width: 100%; /* Ensures the container spans the full width */
    max-width: 1400px; /* Increased max-width for better desktop layout */
    margin: 0 auto; /* Centers the container horizontally */
    position: relative;
    z-index: 2; /* Ensures content appears above the overlay */
    flex-wrap: wrap;
    padding: 0 20px; /* Add padding for better spacing */
}

/* Responsive container breakpoints */
@media (max-width: 1200px) {
    .container-header {
        max-width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .container-header {
        padding: 0 25px;
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container-header {
        padding: 0 20px;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .container-header {
        padding: 0 15px;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container-header {
        padding: 0 10px;
        gap: 8px;
    }
}

.header-content {
    max-width: 50%; /* Limits the width of the content */
    text-align: left;
    color: #ffffff; /* Black text color */
    flex: 1; /* Allow content to grow */
    min-width: 0; /* Prevent overflow */
}

/* Responsive header content breakpoints */
@media (max-width: 1200px) {
    .header-content {
        max-width: 60%;
    }
}

@media (max-width: 992px) {
    .header-content {
        max-width: 70%;
    }
}

@media (max-width: 768px) {
    .header-content {
        max-width: 100%;
        text-align: center;
    }
}

.header h1 {
    font-size: 2.5em;
    margin: 0;
    font-family: myFont;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.header p {
    font-size: 1.2em;
    margin-top: 10px;
    font-family: 'Century Gothic';
    line-height: 1.4;
}

/* Responsive header text breakpoints */
@media (max-width: 1200px) {
    .header h1 {
        font-size: 2.2em;
    }
    
    .header p {
        font-size: 1.1em;
    }
}

@media (max-width: 992px) {
    .header h1 {
        font-size: 2em;
    }
    
    .header p {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8em;
        line-height: 1.1;
    }
    
    .header p {
        font-size: 0.9em;
    }
}

@media (max-width: 576px) {
    .header h1 {
        font-size: 1.5em;
    }
    
    .header p {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.3em;
    }
    
    .header p {
        font-size: 0.7em;
    }
}

.header img {
    max-width: 40%; /* Adjust image width as needed */
    height: auto; /* Maintains aspect ratio */
    border-radius: 10px; /* Optional: Rounded corners */
}

.explore-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    min-height: 44px;
    min-width: 120px;
    background: var(--accent);
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow);
    white-space: nowrap;
    text-align: center;
    line-height: 1.3;
}

/* Responsive explore button breakpoints */
@media (max-width: 1200px) {
    .explore-button {
        font-size: 15px;
        padding: 9px 18px;
    }
}

@media (max-width: 992px) {
    .explore-button {
        font-size: 14px;
        padding: 8px 16px;
    }
}

@media (max-width: 768px) {
    .explore-button {
        font-size: 13px;
        padding: 7px 14px;
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .explore-button {
        font-size: 12px;
        padding: 6px 12px;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .explore-button {
        font-size: 11px;
        padding: 5px 10px;
        margin-top: 8px;
    }
}

.explore-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.explore-button.outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.9);
}

.explore-button.outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

.hero-tagline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.hero-sub {
    font-size: 1rem;
    max-width: 480px;
    opacity: 0.95;
    margin-top: 0.75rem;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.hero-logo {
    max-width: 280px;
}

/* Stats strip */
.stats-strip {
    background: var(--primary);
    color: #fff;
    padding: 2rem clamp(1rem, 4vw, 3rem);
}

.stats-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.95;
}

/* Section block - What we offer */
.section-block {
    padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 2rem);
}

.container-narrow {
    max-width: 1100px;
    margin: 0 auto;
}

.section-heading {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-lead {
    text-align: center;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.section-offer {
    background: var(--surface);
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.offer-card {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-decoration: none;
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.offer-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.offer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.offer-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.offer-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

hr{
    width: 80%;
    border: 1.5px solid var(--border);
    margin: 0 auto;
}

/* CTA band */
.cta-band {
    background: var(--surface-alt);
    color: #000;
    padding: 3rem clamp(1.5rem, 4vw, 2rem);
    text-align: center;
}

.cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.cta-band h2 {
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 50px;
}

.cta-band p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: background var(--transition), transform var(--transition);
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* ========== Products & Services page ========== */
.ps-intro {
    background: var(--surface);
    padding: 2rem clamp(1rem, 4vw, 2rem);
    border-bottom: 1px solid var(--border);
}

.ps-intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.ps-intro-text strong {
    color: var(--text);
}

.ps-section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ps-section-header .section-heading {
    margin-bottom: 0.5rem;
}

.ps-section-header .section-lead {
    margin-bottom: 0;
}

.ps-products-section {
    padding-top: 2.5rem;
    padding-bottom: 2rem;
}

.ps-products-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
}

/* Product card category badge */
.ps-products-section .product-card {
    position: relative;
}

.ps-products-section .product-card::before {
    content: attr(data-category);
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.ps-products-section .product-card[data-category="barcol-air"]::before { content: 'BARCOL-AIR'; }
.ps-products-section .product-card[data-category="t-t-electric"]::before { content: 'T-T Electric'; }
.ps-products-section .product-card[data-category="dse"]::before { content: 'DSE'; }
.ps-products-section .product-card[data-category="pmi"]::before { content: 'PMI'; }

/* Services section - professional grid */
.ps-services-section {
    background: var(--surface-alt);
    padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 2rem);
}

.ps-services-section .section-heading {
    margin-bottom: 0.5rem;
}

.ps-services-section .section-lead {
    margin-bottom: 2.5rem;
}

.ps-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.ps-service-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.ps-service-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.ps-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.ps-service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.ps-service-summary {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1rem;
}

.ps-service-card .product-description-container {
    margin-bottom: 0.75rem;
}

.ps-service-card .product-description {
    font-size: 0.9rem;
}

.ps-service-card .read-more-btn {
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .ps-services-grid {
        grid-template-columns: 1fr;
    }

    .ps-intro-text {
        font-size: 1rem;
    }
}

/* ========== Products & Services — Showcase redesign ========== */
.ps-page-wrap {
    max-width: 1280px;
    margin: 0 auto;
}

.ps-hero-sub {
    font-size: 1.05rem;
    opacity: 0.95;
    max-width: 560px;
    margin: 0.25rem auto 0;
}

/* Products showcase — category bands */
.ps-products-showcase {
    padding: 0 clamp(1rem, 4vw, 2rem);
    margin-bottom: 3rem;
}

.ps-products-showcase .ps-section-label {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ps-products-showcase .section-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
}

.ps-products-showcase .section-lead {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.ps-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.ps-filter-bar .filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 2px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.ps-filter-bar .filter-btn:hover,
.ps-filter-bar .filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.ps-product-tile {
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ps-product-tile:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.ps-product-tile .ps-product-tile-image-wrap {
    position: relative;
    padding-top: 56%;
    background: var(--surface-alt);
    overflow: hidden;
}

.ps-product-tile .ps-product-tile-image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.ps-product-tile .ps-product-tile-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ps-product-tile .ps-product-tile-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.ps-product-tile .product-description-container {
    flex: 1;
    max-height: 72px;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.ps-product-tile .product-description-container.expanded {
    max-height: 500px;
}

.ps-product-tile .product-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.ps-product-tile .read-more-btn {
    margin-top: 0.75rem;
    align-self: flex-start;
}

/* Category accent border for product tiles */
.ps-product-tile[data-category="barcol-air"] { border-left: 4px solid #0d5c2e; }
.ps-product-tile[data-category="t-t-electric"] { border-left: 4px solid #1a73e8; }
.ps-product-tile[data-category="dse"] { border-left: 4px solid #c5221f; }
.ps-product-tile[data-category="pmi"] { border-left: 4px solid #7b1fa2; }

.ps-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Services showcase — bento-style grid */
.ps-services-showcase {
    background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 100%);
    padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 2rem);
}

.ps-services-showcase .container-narrow {
    max-width: 1200px;
    margin: 0 auto;
}

.ps-services-showcase .ps-section-label {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ps-services-showcase .section-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 2rem;
}

.ps-services-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.ps-service-tile {
    background: var(--surface);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
}

.ps-service-tile:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.ps-service-tile.ps-service-tile--feature {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(13, 92, 46, 0.06) 0%, var(--surface) 100%);
    border-color: var(--primary);
}

.ps-service-tile-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.ps-service-tile h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.ps-service-tile .ps-service-summary {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.ps-service-tile .product-description-container {
    margin-bottom: 0.75rem;
}

.ps-service-tile .product-description {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .ps-services-bento {
        grid-template-columns: 1fr;
    }
    .ps-product-tile .ps-product-tile-image-wrap { padding-top: 48%; }
}

@media (max-width: 600px) {
    .ps-products-grid {
        grid-template-columns: 1fr;
    }
}

.explore-button:focus {
    outline: none; /* Removes focus outline */
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .header {
        height: auto;
        padding: 95px 20px 20px 20px; /* Extra top padding so hero is not covered by nav */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-height: 100vh; /* Ensure full height */
    }

    .container-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px; /* Add spacing between elements */
        width: 100%; /* Full width */
        max-width: 100%; /* Remove max-width restriction */
    }

    .header img {
        order: 2; /* Move logo below text */
        max-width: 40%; /* Smaller logo to prevent overlap */
        height: auto;
        margin-top: 20px;
    }

    .header-content {
        max-width: 100%; /* Full width on mobile */
        text-align: center;
        order: 1; /* Text comes first */
        width: 100%; /* Full width */
    }

    .header-content h1 {
        font-size: 2em;
        font-weight: bold;
        margin-bottom: 15px;
        line-height: 1.2; /* Better line height */
    }

    .header-content p {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .explore-button {
        padding: 12px 25px;
        font-size: 16px;
        margin-top: 10px;
    }
}

/* Additional responsive breakpoints for header sections */
@media (max-width: 992px) {
    .container-header {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .header-content {
        max-width: 100%;
    }
    
    img[alt="Energy Solutions"] {
        order: 1;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .header {
        padding: 95px 15px 15px 15px; /* Add top padding for navbar */
        min-height: 70vh;
    }
    
    .header-content h1 {
        font-size: 1.8em;
        line-height: 1.2;
    }
    
    .header-content p {
        font-size: 0.9em;
    }
    
    .explore-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 95px 10px 10px 10px; /* Add top padding for navbar */
        min-height: 60vh;
    }
    
    .header-content h1 {
        font-size: 1.5em;
    }
    
    .header-content p {
        font-size: 0.8em;
    }
    
    .explore-button {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    /* Ensure TENC logo is very small on mobile */
    .header img {
        max-width: 30%;
        margin-top: 15px;
    }
}

@media (max-width: 360px) {
    .header {
        padding: 90px 8px 8px 8px; /* Add top padding for navbar */
        min-height: 50vh;
    }
    
    .header-content h1 {
        font-size: 1.3em;
        line-height: 1.1;
    }
    
    .header-content p {
        font-size: 0.7em;
    }
    
    .explore-button {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    /* Ultra-small TENC logo for very small screens */
    .header img {
        max-width: 25%;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 1.5em;
    }

    .header-content p {
        font-size: 0.9em;
    }

    .header img {
        max-width: 70%;
        order: -1; /* Ensures image stays above content */
    }

    .explore-button {
        font-size: 14px;
        padding: 10px 20px;
    }
}


/* <---- STATS ----> */

.partners-section {
    background: #fff;
    width: 100%;
    overflow-x: hidden;
    padding: 3.5rem clamp(16px, 4vw, 32px) 3rem;
    border-top: 1px solid var(--border);
}

.partners-header {
    text-align: center;
    margin-bottom: 2rem;
}

.partners-header .section-title {
    margin-bottom: 0.5rem;
}

.partners-lead {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-title {
    margin: 0 auto 2rem;
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    font-weight: 700;
    font-family: myFontLogo, var(--font-display);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text);
    letter-spacing: 0.02em;
}
.product-section .section-title,
.card-products .section-title {
    margin-bottom: 2rem;
}

/* Responsive partners section */
@media (max-width: 768px) {
    .partners-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }

    .section-title img {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .partners-section {
        padding: 1.5rem 0;
    }
    
    .section-title {
        font-size: 1.3rem;
    }

    .section-title img {
        width: 30px;
        height: 30px;
    }
}

.logo_slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    white-space: nowrap;
}

.reverse .logos_wrapper {
    animation-direction: reverse;
}

.logos_wrapper {
    display: flex;
    gap: 2rem;
    flex-wrap: nowrap;
    animation: logoLoop 190s linear infinite;
    width: max-content;
}

.logo_item {
    flex: 0 0 auto;
    padding: 1.25rem 1.5rem;
    margin: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.logo_item:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    border-color: rgba(13, 92, 46, 0.2);
}

.logo_item img {
    width: 6rem;
    max-height: 3.5rem;
    object-fit: contain;
    filter: grayscale(0.15);
}

.logo_item:hover img {
    filter: grayscale(0);
}

/* Responsive logo items */
@media (max-width: 768px) {
    .logo_item img {
        width: 5rem;
    }
}

@media (max-width: 480px) {
    .logo_item img {
        width: 4rem;
    }
}

@media (max-width: 360px) {
    .logo_item img {
        width: 3rem;
    }
}

@keyframes logoLoop {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* <----- ABOUT -----> */

/* Header Styling — About / inner pages */
.header-about {
    background-color: var(--primary-dark);
    background-image: url('./Images/475776669_963797945866845_3191853479099639365_n.jpg'),
                     url('Images/475776669_963797945866845_3191853479099639365_n.jpg'),
                     url('../Images/475776669_963797945866845_3191853479099639365_n.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 280px;
    height: 45vh;
    max-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    padding: 60px 24px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
    margin-top: 0;
}

.header-about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 92, 46, 0.85) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

/* Flexbox layout for the container — centered header content */
.container-about {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content-about {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.hero-content-about p:first-child {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.header-about h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0;
    font-family: myFont, var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.header-about p {
    font-size: 1rem;
    margin-top: 0.5rem;
    opacity: 0.95;
}

.header-about img {
    max-width: 40%; /* Adjust image width as needed */
    height: auto; /* Maintains aspect ratio */
    border-radius: 10px; /* Optional: Rounded corners */
}

/* BUSINESS DESCRIPTION — Company Profile / Who We Are (professional layout) */
.business-description {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: -2rem auto 3rem;
    background: var(--surface);
    padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08), 0 2px 12px rgba(0,0,0,0.04);
    border-radius: 16px;
    border: 1px solid var(--border);
    z-index: 3;
    overflow: hidden;
}

.business-description::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px 16px 0 0;
}

@media (max-width: 480px) {
    .business-description {
        margin: -1.5rem 12px 2rem;
        padding: 1.5rem 1.25rem;
        border-radius: 12px;
    }
    .business-description::before {
        border-radius: 12px 12px 0 0;
    }
}

.container-description {
    text-align: left;
}

.business-description h2 {
    font-size: clamp(1.35rem, 3vw, 1.6rem);
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.02em;
    font-family: var(--font-display);
}

.business-description .container-description > p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    text-align: justify;
    max-width: 80ch;
    margin-left: auto;
    margin-right: auto;
}

.business-description p + p {
    margin-top: 1.25rem;
}

/* Our Journey block */
.about-journey {
    margin-top: 2.25rem;
    padding: 1.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(13, 92, 46, 0.06) 0%, rgba(13, 92, 46, 0.02) 100%);
    border-radius: 12px;
}

.about-journey-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-journey-title i {
    color: var(--primary);
}

.about-journey p {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

/* Services We Offer */
.about-services-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 2.25rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.about-services-intro {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.25rem;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

.about-services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.about-service-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.about-service-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.about-service-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-muted);
    color: var(--primary);
    border-radius: 10px;
    font-size: 1.15rem;
}

.about-service-text {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.about-service-text strong {
    font-size: 1rem;
    color: var(--text);
}

.about-service-text span {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Company Profile CTA */
.company-profile-cta {
    text-align: center;
    margin-top: 2rem;
}

.about-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    background: var(--primary);
    color: #fff !important;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.about-cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* About values - Reliability, Partnership, Expertise (card-style) */
.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
    margin-top: 2.75rem;
    padding-top: 2.25rem;
    border-top: 1px solid var(--border);
}

.about-value {
    text-align: center;
    padding: 1.75rem 1.5rem;
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.about-value:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.about-value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: 12px;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(13, 92, 46, 0.25);
}

.about-value h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.about-value p {
    font-size: 0.925rem;
    text-align: center;
    margin-top: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.business-images {
    position: absolute;
    top: 55%;
    right: 5%;
    width: 600px;
    height: auto;
}

.image-container {
    display: grid;
    grid-template-columns: 200px 350px;
    grid-template-rows: 120px 80px 220px;
    gap: 10px;
    position: relative;
}

/* Top small image */
.img-top {
    grid-column: 1;
    grid-row: 1;
    width: 350px;
    height: 250px;
    border-radius: 5px;
}

/* Middle connector image */
.img-middle {
    grid-column: 1;
    grid-row: 2;
    width: 350px;
    height: 250px;
    margin-top: 55px;
    margin-left: 300px;
    border-radius: 5px;
}

/* Bottom small image */
.img-bottom {
    grid-column: 1;
    grid-row: 3;
    width: 350px;
    height: 250px;
    margin-top: 150px;
    border-radius: 5px;
}

/* About page - Desktop layout (web version) */
@media (min-width: 1024px) {
    /* Keep the content in normal flow and centered */
    .business-description {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        max-width: 1100px;
        width: 100%;
        margin: 2rem auto 2.5rem;
        background: #ffffff;
        padding: 24px 28px;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        z-index: 2;
    }

    .container-description {
        max-width: 100%;
        margin: 0 auto;
        text-align: left;
    }

    /* Place images as a clean grid below the description */
    .business-images {
        position: static;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 1200px; /* constrain to page width for stability */
        margin: 2rem auto 3rem;
        padding: 0 20px;
        text-align: center;
        display: flex;
        justify-content: center; /* center the scroll row */
    }

    /* Horizontal, swipeable gallery like FB */
    .image-container {
        display: flex;
        flex-direction: row;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        margin: 0 auto;
        justify-content: center; /* center when content narrower than container */
        padding-bottom: 6px; /* avoid clipping from scrollbar */
    }

    /* Use responsive tiles, same style for all three */
    .image-container img,
    .img-top,
    .img-middle,
    .img-bottom {
        display: block;
        flex: 0 0 auto; /* keep each image's width */
        height: 200px; /* larger row height */
        width: auto; /* natural width based on aspect ratio */
        object-fit: cover;
        margin: 0;
        border-radius: 12px;
        overflow: hidden;
        scroll-snap-align: start;
    }
}

/* Tablet breakpoint: keep the same vertical 120px layout */
@media (min-width: 768px) and (max-width: 1023px) {
    .business-images {
        max-width: 1000px;
        margin: 1.5rem auto 2.5rem;
        padding: 0 16px;
    }
    .image-container img,
    .img-top,
    .img-middle,
    .img-bottom {
        height: 180px; /* tablet size */
    }
}

/* Mobile breakpoint: single column, full width, same height */
@media (max-width: 767px) {
    .business-images {
        max-width: 680px;
        margin: 1rem auto 2rem;
        padding: 0 12px;
    }
    .image-container img,
    .img-top,
    .img-middle,
    .img-bottom {
        height: 160px; /* mobile size */
    }
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    body {
        margin-top: 0; /* Remove margin to eliminate gap */
    }
    .navbar {
        padding: 10px 16px;
        min-height: 64px;
    }
    .navbar-logo {
        margin-top: 0;
    }
    .navbar-logo img {
        width: 44px;
        height: 44px;
    }
    .header-about {
        padding: 200px 30px 30px; /* Extra top padding for spacing from nav on mobile */
        height: 45vh;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }

    .container-about {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .header-about img {
        order: -1; /* Moves the image above the text */
        max-width: 60%; /* Adjust logo size */
        height: auto;
        margin-bottom: 20px;
    }

    .header-content-about {
        max-width: 90%;
        text-align: center;
    }

    .header-content-about h1 {
        font-size: 2em;
        font-weight: bold;
    }

    .header-content-about p {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .hero-content-about {
        top: 50%;
        left: 5%;
        text-align: center; /* Center text on mobile */
        width: 90%; /* Adjust width */
    }

    .hero-content-about h1 {
        font-size: 32px; /* Smaller title */
    }

    .hero-content-about p {
        font-size: 16px;
    }

    .business-description {
        position: relative;
        top: auto;
        left: auto;
        width: 90%; /* Make it responsive */
        margin: 20px auto; /* Center align */
        padding: 20px;
    }

    .business-images {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        text-align: center;
    }

    .image-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .img-top,
    .img-middle,
    .img-bottom {
        width: 90%;
        height: auto;
        margin: 0 auto;
    }
}


@media (max-width: 480px) {
    body {
        margin-top: 0; /* Remove margin to eliminate gap */
    }
    .navbar {
        padding: 8px 14px;
        min-height: 56px;
    }
    .navbar-logo {
        margin-top: 0;
    }
    .navbar-logo img {
        width: 40px;
        height: 40px;
    }
    .header-about {
        padding: 200px 20px 20px; /* Extra top padding for spacing from nav on small mobile */
        height: 40vh;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }
    .header-content-about h1 {
        font-size: 1.5em;
    }

    .header-content-about p {
        font-size: 0.9em;
    }

    .header-about img {
        max-width: 70%;
        order: -1; /* Ensures image stays above content */
    }

    .hero-content-about {
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 100%;
    }

    .hero-content-about h1 {
        font-size: 28px;
    }

    .hero-content-about p {
        font-size: 14px;
    }

    .business-description {
        width: 95%;
        padding: 15px;
    }

    .img-top,
    .img-middle,
    .img-bottom {
        width: 95%;
    }
}

/* TEAM */

/* Our Team — professional layout (About page) */
.team-section-wrap {
    background: linear-gradient(180deg, #f8faf9 0%, #fff 100%);
    padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
    margin: 0;
}

.team-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.team-header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 2.75rem);
}

.team-label {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.75rem;
}

.team-intro {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 1.5rem;
}

/* Tab buttons — professional segment control */
.team-tabs {
    display: inline-flex;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.team-tab-btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.team-tab-btn:hover {
    color: var(--text);
}

.team-tab-btn.active {
    color: #fff;
    background: var(--primary);
}

.team-group {
    margin-bottom: 0;
}

.team-group--hidden {
    display: none;
}

.team-group-header {
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.team-group-title {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.4rem;
    letter-spacing: -0.02em;
}

.team-group-intro {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.team-grid--board {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

/* Professional card design */
.team-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(13, 92, 46, 0.15);
}

.team-card-photo-wrap {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f5f6f7;
}

.team-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card-body {
    padding: 1.35rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-card-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.25rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.team-card-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 0.5rem;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.team-card-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

@media (max-width: 768px) {
    .team-section-wrap {
        padding: 2rem 1rem;
    }
    .team-tabs {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }
    .team-tab-btn {
        width: 100%;
        text-align: center;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-grid--board {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .team-card-body {
        padding: 1.1rem 1rem;
    }
    .team-card-name {
        font-size: 1rem;
    }
    .team-card-title {
        font-size: 0.75rem;
    }
    .team-card-role {
        font-size: 0.78rem;
    }
}

.container-team {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
    box-sizing: border-box;
    background: #fff;
}

.sidebar {
    width: 260px;
    padding: 1.5rem;
    background: var(--surface);
    min-height: 100vh;
    box-shadow: var(--shadow-sm);
    border-radius: 0;
    flex-shrink: 0;
    border-right: 1px solid var(--border);
}

/* Responsive breakpoints for team section */
@media (max-width: 1200px) {
    .container-team {
        padding: 0;
        gap: 0;
    }
    
    .sidebar {
        width: 220px;
        padding: 15px;
    }
}

@media (max-width: 992px) {
    .container-team {
        padding: 0;
        gap: 0;
    }
    
    .sidebar {
        width: 200px;
        padding: 15px;
    }
    
    .team-section {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .container-team {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }
    
    .sidebar {
        width: 100%;
        min-height: auto;
        margin-bottom: 0;
        border-radius: 0;
    }
    
    .team-section {
        padding: 0;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .container-team {
        padding: 0;
    }
    
    .sidebar {
        padding: 15px;
        border-radius: 0;
    }
    
    .team-section {
        padding: 0;
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container-team {
        padding: 0;
    }
    
    .sidebar {
        padding: 10px;
        border-radius: 0;
    }
    
    .team-section {
        padding: 0;
    }
}

.sidebar h2 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-display);
    color: var(--text);
    line-height: 1.4;
}

.sidebar span {
    color: var(--primary);
}

.sidebar span2 {
    color: var(--text-muted);
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 10px;
    cursor: pointer;
    color: #888;
    transition: all 0.3s ease;
}

.sidebar ul li:hover {
    background-color: rgba(47, 204, 86, 0.1);
    border-radius: 5px;
}

.sidebar ul .active {
    font-weight: 600;
    color: var(--primary);
    background: var(--accent-muted);
    border-radius: var(--radius);
}

/* Responsive sidebar text */
@media (max-width: 1200px) {
    .sidebar h2 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .sidebar ul li {
        padding: 8px;
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .sidebar h2 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .sidebar ul li {
        padding: 7px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .sidebar h2 {
        font-size: 18px;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .sidebar ul {
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .sidebar ul li {
        padding: 8px 12px;
        font-size: 14px;
        border-radius: 20px;
        background-color: rgba(47, 204, 86, 0.1);
    }
}

@media (max-width: 576px) {
    .sidebar h2 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .sidebar ul li {
        padding: 6px 10px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .sidebar h2 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .sidebar ul li {
        padding: 5px 8px;
        font-size: 11px;
    }
}
.team-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0;
    flex: 1;
    margin: 0;
}
.team-member {
    display: none; /* Hide members by default */
    text-align: center;
}

.team-member[data-group="core-group"] {
    display: block; /* Show Core Group by default */
}

.team-member img {
    width: 120px; /* Set a fixed width */
    height: 120px; /* Set a fixed height */
    object-fit: cover; /* Ensures the image covers the area without distortion */
    border-radius: 5%; 
    border: 2px solid rgb(0, 0, 0);
    transition: transform 0.3s ease;
}

.team-member img:hover {
    transform: scale(1.05);
}

/* Responsive team member images */
@media (max-width: 1200px) {
    .team-member img {
        width: 110px;
        height: 110px;
    }
}

@media (max-width: 992px) {
    .team-member img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .team-member img {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 576px) {
    .team-member img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .team-member img {
        width: 70px;
        height: 70px;
    }
}

.team-member h3 {
    margin: 10px 0 5px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.team-member p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Responsive team member text */
@media (max-width: 1200px) {
    .team-member h3 {
        font-size: 15px;
    }
    
    .team-member p {
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    .team-member h3 {
        font-size: 14px;
    }
    
    .team-member p {
        font-size: 12px;
    }
}

@media (max-width: 768px) { 
    .team-member h3 {
        font-size: 16px;
        margin: 8px 0 4px;
    }
    
    .team-member p {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .team-member h3 {
        font-size: 14px;
        margin: 6px 0 3px;
    }
    
    .team-member p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .team-member h3 {
        font-size: 12px;
        margin: 5px 0 2px;
    }
    
    .team-member p {
        font-size: 10px;
    }
}


/* Additional responsive improvements for tablets and large phones */
@media (max-width: 1024px) and (min-width: 769px) {
    .container-team {
        padding: 0;
    }
    
    .sidebar {
        width: 180px;
        padding: 15px;
    }
    
    .team-section {
        padding: 0;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

/* Landscape phone orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .container-team {
        padding: 0;
    }
    
    .sidebar {
        min-height: auto;
        margin-bottom: 0;
    }
    
    .team-section {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 10px;
    }
}

/* Very small screens (320px and below) */
@media (max-width: 320px) {
    .container-team {
        padding: 0;
    }
    
    .sidebar {
        padding: 8px;
        border-radius: 0;
    }
    
    .sidebar h2 {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .sidebar ul li {
        padding: 4px 6px;
        font-size: 10px;
    }
    
    .team-section {
        padding: 0;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .team-member img {
        width: 60px;
        height: 60px;
    }
    
    .team-member h3 {
        font-size: 11px;
        margin: 4px 0 2px;
    }
    
    .team-member p {
        font-size: 9px;
    }
}

.responsive-cell-block {
    min-height: 75px;
  }
  
  .responsive-container-block {
    min-height: 75px;
    height: fit-content;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    justify-content: space-evenly;
  }
  
  .outer-container {
    padding: 10px clamp(16px, 5vw, 50px);
    background-color: var(--surface-alt);
  }
  
  .inner-container {
    max-width: 1320px;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    margin-right: auto;
    margin-bottom: 50px;
    margin-left: auto;
  }
  
  .section-head-text {
    font-size: 35px;
    font-weight: bold;
    line-height: 48px;
    color: rgb(0, 0, 0);
    margin: 0 0 10px 0;
    font-family: myFont;

  }
  
  .section-subhead-text {
    font-size: 25px;
    color: rgb(153, 153, 153);
    line-height: 35px;
    max-width: 470px;
    text-align: center;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 60px;
    margin-left: 0px;
  }

/* PRODUCT FILTER*/

.product-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(1.5rem, 5vw, 3rem) clamp(12px, 4vw, 100px);
    background: var(--surface-alt);
    width: 100%;
    max-width: 100%;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(8px, 2vw, 12px);
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.filter-btn {
    background: var(--surface);
    border: 2px solid var(--border-strong);
    padding: clamp(8px, 2vw, 12px) clamp(14px, 3vw, 20px);
    min-height: 44px;
    cursor: pointer;
    font-size: clamp(0.8rem, 2.2vw, 0.9rem);
    font-weight: 600;
    border-radius: var(--radius);
    color: var(--text);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.filter-btn:hover:not(.active) {
    background: var(--primary-light);
    color: #fff;
    border-color: var(--primary-light);
}

/* Discover Our Products — minimal, professional */
.card-products {
    margin: 0;
    padding: 3rem clamp(16px, 4vw, 32px) 3rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    background: #fafbfc;
}

.card-products-header {
    text-align: center;
    margin-bottom: 2.25rem;
}

.card-products-actions{
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.card-products-cta{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.75rem 1.2rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 22px rgba(13, 92, 46, 0.18);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.card-products-cta:hover{
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(13, 92, 46, 0.22);
}

.card-products-lead {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0.5rem auto 0;
    line-height: 1.6;
}

.card-grid.wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.card-products .card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 380px;
    display: flex;
    align-items: flex-end;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card {
    width: 100%;
    max-width: 430px;
    min-width: 0;
    height: 380px;
    display: flex;
    align-items: flex-end;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.14);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.78) 100%);
    z-index: 2;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.86) 100%);
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    position: absolute; 
    z-index: 1;
}

.card .info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1rem, 4vw, 2rem) clamp(0.75rem, 3vw, 1rem);
    z-index: 2;
}

.card-pill{
    align-self: flex-start;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a1a1a;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 999px;
    padding: 0.32rem 0.6rem;
    margin-bottom: 0.55rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.card h1 {
    line-height: 1.25;
    margin-bottom: 0.5rem;
    font-size: clamp(1.1rem, 3.5vw, 1.55rem);
    transform: none;
    transition: color 0.2s ease; 
    color: white;
}

.card .info p {
    font-size: clamp(0.8rem, 2.2vw, 0.95rem);
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
    color: white;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 1;
    transform: none;
    transition: none;
}

.card .info .btn{
    display: inline-flex;
    align-items: center;

    background: #f2f2f2;
    padding: 0.6rem 1.4rem;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    width: fit-content;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.card .info .btn .arrow {
    margin-left: 8px;
    opacity: 0;
    transform: translateX(-4px);
    font-size: 18px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.card .info .btn .text {   
    transform: translateX(4px);
    transition: transform 0.2s ease;
}

.card .info .btn:hover {
    background: #e2e2e2;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.card .info .btn:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

.card .info .btn:hover .text {
    transform: translateX(0);
}

@media (hover: none) {
    .card .info .btn .arrow {
        opacity: 1;
        transform: translateX(0);
    }

    .card .info .btn .text {
        transform: translateX(0);
    }
}

/* Keep content readable without hover-only reveal */

@media (max-width: 1024px) {
    .card {
        max-width: 100%;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .card {
        max-width: 100%;
        height: 460px;
    }

    .card h1 {
        font-size: 1.15rem;
    }

    .card .info p {
        font-size: 0.85rem;
        -webkit-line-clamp: 3;
    }

    .card .info .btn {
        width: fit-content;
        min-height: 44px;
        padding: 0.65rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .card {
        height: 400px;
    }

    .card .info {
        padding: 1rem 0.75rem;
    }

    .card .info .btn {
        min-height: 44px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .card {
        height: 360px;
    }
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.product-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.product-card .product-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: var(--radius) var(--radius) 0 0;
    background: var(--surface-alt);
    padding: 1rem;
}

/* Lightbox base */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    text-align: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 800px;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
    animation: zoom 0.3s;
}

/* Close button — touch-friendly */
.close-lightbox {
    position: absolute;
    top: 16px;
    right: 16px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

@media (max-width: 480px) {
    .lightbox-content {
        width: 95%;
        max-height: 80vh;
    }

    .close-lightbox {
        top: 12px;
        right: 12px;
        font-size: 1.75rem;
    }
}

.product-image {
    width: 100%;
    height: 150px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: black;
    text-align: center;
}

.product-card .product-name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0.5rem 0 0.25rem;
    padding: 0 1rem;
    color: var(--text);
}

.product-card .product-description,
.product-card .product-description-container {
    padding: 0 1rem 1rem;
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: left;
    line-height: 1.5;
}

.product-description-container {
    max-height: 70px; /* limit initially */
    overflow: hidden;
    transition: max-height 1s ease;
}

.product-description-container.expanded {
    max-height: 500px; /* large enough to show full text */
}

.more-text {
    display: inline;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: color var(--transition);
}
.read-more-btn:hover {
    color: var(--primary-dark);
}

/* Responsive Enhancements */

/* For tablets (768px and below) */
@media screen and (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }

    .product-name {
        font-size: 16px;
    }

    .product-description {
        font-size: 13px;
    }

    .section-title {
        font-size: 28px;
    }

    .filter-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* For mobile (480px and below) */
@media screen and (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 120px;
    }

    .product-name {
        font-size: 15px;
    }

    .product-description {
        font-size: 12px;
    }

    .read-more-btn {
        font-size: 13px;
    }

    .filter-container {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        text-align: center;
    }

    /* Keep hamburger vertically aligned with the brand on mobile */
    .hamburger {
        align-self: center;
        margin-top: 0;
    }
}


/* <----- Contact -----> */

/* Contact Section — clear palette, readable, professional */
.contact {
    position: relative;
    padding: 0 20px 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: auto;
    background: #eef2f5;
}

.contact .content-wrapper {
    width: 100%;
    max-width: 560px;
}

.contact .content-wrapper.contact-page {
    position: relative;
    z-index: 1;
    max-width: 1100px;
}

/* Get in Touch header block — green band, white text */
.contact-hero {
    background: linear-gradient(135deg, #0d5c2e 0%, #084422 100%);
    color: #fff;
    padding: 2.25rem 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(13, 92, 46, 0.25);
}

.form-title {
    font-size: clamp(1.5rem, 4vw, 1.85rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.contact-hero .form-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.92);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.contact-quick {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
}

.contact-quick strong {
    color: #fff;
}

.contact-quick a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.contact-quick a:hover {
    text-decoration: underline;
}

.contact-request-quote {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    background: #fff;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.contact-request-quote:hover {
    background: var(--accent);
    color: #1a1a1a;
    transform: translateY(-1px);
}

.form-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.form-box {
    background: var(--surface);
    padding: 2rem clamp(1.5rem, 4vw, 2.5rem);
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: left;
}

/* Form Container */
.form-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-container h1 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.form-container p {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.form-container p:last-child {
    margin-bottom: 0;
}

/* Contact page - cards layout + map */
.contact-page {
    max-width: 1100px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid rgba(13, 92, 46, 0.12);
    text-align: center;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-card:hover {
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.contact-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 1.35rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(13, 92, 46, 0.3);
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.contact-card a {
    display: block;
    color: #0d5c2e;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.contact-email-note {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact page - Where We Are (map) */
.contact-map-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    width: 100%;
}

.contact-map-heading {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-map-heading i {
    color: var(--primary);
}

.contact-map-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.contact-map-wrap {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    min-height: 320px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    background: var(--surface);
}

.contact-map-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact-map-address {
    margin-top: 1.25rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.contact-map-address i {
    color: var(--primary);
}

/* Contact business hours & social */
.contact-hours {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0.25rem 0;
    line-height: 1.4;
}

.contact-hours-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-style: italic;
}

.contact-extra {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.contact-social-box .contact-social-intro {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.contact-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.contact-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.contact-social-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.contact-social-link i {
    font-size: 1.2rem;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
}

.contact-extra-box {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgba(13, 92, 46, 0.1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.contact-extra-box h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-extra-box h4 i {
    color: var(--primary);
}

.contact-extra-box ul {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Input Fields */
.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-group input,
.form-group textarea {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
}

.form-group textarea {
    height: 120px;
    resize: none;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: #06ff1b;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.btn-submit:hover {
    background: #ffd500;
}

/* Contact responsive */
@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
    }

    .contact {
        padding: 2rem 16px 3.5rem;
        min-height: auto;
    }

    .contact-hero {
        padding: 1.75rem 1.25rem;
    }

    .form-box {
        padding: 1.5rem 1.25rem;
    }

    .contact-map-section {
        margin-top: 2.5rem;
        padding-top: 2rem;
    }

    .contact-map-wrap {
        min-height: 280px;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 1.5rem 12px 3rem;
    }

    .contact-hero {
        padding: 1.5rem 1rem;
    }

    .contact-quick {
        font-size: 0.85rem;
    }

    .form-title {
        font-size: 1.35rem;
    }

    .form-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .form-box {
        padding: 1.25rem 1rem;
        border-radius: var(--radius);
    }

    .form-container p {
        font-size: 0.9rem;
    }

    .contact-map-section {
        margin-top: 2rem;
        padding-top: 1.75rem;
    }

    .contact-map-heading {
        font-size: 1.2rem;
    }

    .contact-map-subtitle {
        font-size: 0.9rem;
    }

    .contact-map-wrap {
        min-height: 260px;
        border-radius: 10px;
    }

    .contact-map-address {
        font-size: 0.875rem;
    }
}

/* LOCATION */

.location {
    background: var(--surface-alt);
    padding: 3rem clamp(20px, 5vw, 70px);
    text-align: center;
}

.location h3 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--text);
    margin-bottom: 1.5rem;
}

.location span {
    color: var(--primary);
}

.location span2 {
    color: var(--primary-light);
}

.location iframe {
    width: 100%;
    max-width: 900px;
    height: clamp(250px, 50vw, 400px);
    margin: 0 auto;
    display: block;
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 480px) {
    .location {
        padding: 2rem 1rem;
    }

    .location iframe {
        height: 280px;
    }
}


/* SERVICES SECTION */
  
  .services-section {
    background: var(--surface);
    color: var(--text);
    padding: 3rem 20px 4rem;
    text-align: center;
  }

  .services-section h1 {
    font-size: clamp(1.5rem, 4vw, 1.9rem);
    margin-bottom: 2rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text);
  }

  .services-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .services-section .service {
    height: auto;
    min-height: 200px;
    width: 100%;
    max-width: 280px;
    text-align: center;
    background: var(--surface-alt);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: box-shadow var(--transition), transform var(--transition);
  }

  .services-section .service:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
  }

  .services-section .service h1 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
  }

  .services-section .service i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
  }

  .services-section .service h2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text);
  }

  .services-section .service p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    text-align: justify;
    line-height: 1.5;
  }

  .services-section .service .icon {
    background: var(--primary);
  }
  
  .more-text {
    display: inline;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: color var(--transition);
}
.read-more-btn:hover {
    color: var(--primary-dark);
}

/*-------- Footer ---------*/
footer {
    background: linear-gradient(180deg, #1a2f24 0%, #0d1f17 100%);
    color: rgba(255,255,255,0.9);
}

footer hr {
    margin: 0 auto;
    width: 85%;
    border: 0;
    height: 1px;
    background: rgba(255,255,255,0.15);
}

.footerContainer {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem clamp(20px, 5vw, 40px) 1.5rem;
}

.footerQuickLinks {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footerQuickLinks a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
}

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

.socialIcons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.socialIcons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    text-decoration: none;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: background var(--transition), transform var(--transition), color var(--transition);
}

.socialIcons a i {
    font-size: 1.25rem;
    color: #fff;
}

.socialIcons a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.socialIcons a:hover i {
    color: #1a1a1a;
}

.footerNav {
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.footerNav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 1rem;
}

.footerNav ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color var(--transition);
}

.footerNav ul li a:hover {
    color: var(--accent);
}

.footerBottom {
    padding: 1.25rem 20px;
    text-align: center;
}

.footerBottom p {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    max-width: 700px;
    margin: 0 auto;
}

.designer {
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}
@media (max-width: 700px){
    .footerNav ul{
        flex-direction: column;
    } 
    .footerNav ul li{
        width:100%;
        text-align: center;
        margin: 10px;
    }
    .socialIcons a{
        padding: 8px;
        margin: 4px;
    }
}





/* ===== Company Profile Page ===== */
.header-profile {
    clip-path: none;
    padding: 70px 0; /* align under fixed navbar */
}

.profile-main {
    background: #ffffff;
}

.profile-gallery-section,
.company-profile-section {
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(12px, 4vw, 20px);
}

.company-profile-section .section-heading {
    margin-bottom: 0.5rem;
}

.company-profile-section .section-lead {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* About page: Company profile PDF download */
.company-profile-download .profile-download-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 980px;
    margin: 0 auto;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.company-profile-download .profile-download-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #b61d1d 0%, #e74c3c 100%);
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 10px 18px rgba(183, 32, 32, 0.25);
    flex: 0 0 auto;
}

.company-profile-download .profile-download-body {
    flex: 1 1 auto;
}

.company-profile-download .profile-download-title {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.company-profile-download .profile-download-subtitle {
    margin: 0 0 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.company-profile-download .profile-download-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.company-profile-download .profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.company-profile-download .profile-btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 18px rgba(13, 92, 46, 0.2);
}

.company-profile-download .profile-btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.company-profile-download .profile-btn--ghost {
    background: rgba(13, 92, 46, 0.06);
    color: var(--primary-dark);
    border: 1px solid rgba(13, 92, 46, 0.18);
}

.company-profile-download .profile-btn--ghost:hover {
    background: rgba(13, 92, 46, 0.1);
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .company-profile-download .profile-download-card {
        flex-direction: column;
        align-items: stretch;
    }
}

.profile-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    max-width: 1280px;
    margin: 0 auto;
}

.profile-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.profile-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.profile-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

/* Company profile — book-style gallery (About page) */
.profile-gallery-book {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    perspective: 1200px;
}

.profile-gallery-book .profile-card {
    border-radius: 4px 12px 12px 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), 2px 0 8px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.profile-gallery-book .profile-card:nth-child(even) {
    border-radius: 12px 4px 4px 12px;
    box-shadow: -2px 0 8px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.08);
}

.profile-gallery-book .profile-card:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.12), 2px 0 12px rgba(0,0,0,0.06);
    transform: translateY(-4px);
}

.profile-gallery-book .profile-card img {
    height: 260px;
    object-fit: cover;
}

/* Fullscreen lightbox with prev/next (About page) */
.lightbox-fullscreen {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(0,0,0,0.95);
}

.lightbox-fullscreen .lightbox-content {
    max-width: 92vw;
    max-height: 90vh;
    width: auto;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.75rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.25);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.3);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-prev, .lightbox-next { width: 44px; height: 44px; font-size: 1.25rem; }
}

/* New Video Autoplay — responsive height */
.vid-auto {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: clamp(320px, 55vh, 800px);
    min-height: 280px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(0,0,0,0.14);
    margin: 2.5rem auto;
    max-width: 1200px;
}

/* videos */
.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.6s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.vid-overlay{
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(900px 420px at 20% 70%, rgba(13, 92, 46, 0.55) 0%, rgba(13, 92, 46, 0) 65%),
        linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.72) 100%);
    pointer-events: none;
}

.vid-panel{
    position: absolute;
    left: clamp(14px, 3vw, 28px);
    bottom: clamp(18px, 3vw, 28px);
    z-index: 3;
    max-width: 560px;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 16px;
    padding: 1.1rem 1.15rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.vid-badge{
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1a1a1a;
    background: var(--accent);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    margin-bottom: 0.6rem;
}

.vid-title{
    margin: 0 0 0.35rem;
    font-size: clamp(1.25rem, 3.4vw, 1.85rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.28);
}

.vid-subtitle{
    margin: 0 0 0.85rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

.vid-cta{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: #fff;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease;
}

.vid-cta:hover{
    background: var(--accent);
    color: #1a1a1a;
    transform: translateY(-1px);
}

/* nav buttons — touch-friendly on mobile */
.clk {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.14);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
    font-size: 1.1rem;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 999px;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.clk:hover{
    transform: translateY(-50%) scale(1.03);
    background: rgba(255,255,255,0.22);
}

.prev { left: 8px; }
.next { right: 8px; }

@media (max-width: 480px) {
    .prev { left: 4px; }
    .next { right: 4px; }
}

/* video text*/
/* legacy `.vid-text` removed (replaced by `.vid-panel`) */

/* progress bar */
.progress-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    display: flex;
    gap: 8px;
    z-index: 30;
    padding: 0 12px 12px;
    box-sizing: border-box;
}

.progress-track {
    flex: 1;
    background: rgba(255,255,255,0.25);
    overflow: hidden;
    border-radius: 999px;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, #ffffff 100%);
}
  
/* Services hero — responsive height */
.services-material {
    position: relative;
    width: 100%;
    height: clamp(320px, 55vh, 800px);
    min-height: 280px;
    overflow: hidden;
}

.services-material img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark overlay */
.services-material .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 92, 46, 0.7) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.services-material .content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    z-index: 2;
    padding: 2.5rem 1.5rem;
}

.services-material-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.services-material h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.services-material p {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    max-width: 520px;
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.services-material-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.services-material-cta:hover {
    background: var(--accent);
    color: #1a1a1a;
    transform: translateY(-2px);
}

.content {
    animation: fadeUp 0.8s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


.services-container {
    display: block;
    margin: 0 auto;
    max-width: 1100px;
    width: 100%;
    padding: 0 20px;
}

/* Home services section (index.html) */
.services-home-header {
    max-width: 920px;
    margin: 0 auto 1.25rem;
    text-align: center;
}

.services-home-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: rgba(13, 92, 46, 0.08);
    border: 1px solid rgba(13, 92, 46, 0.14);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    margin-bottom: 0.75rem;
}

.services-home-title {
    margin: 0 0 0.6rem;
    font-size: clamp(1.4rem, 3.2vw, 2rem);
    letter-spacing: -0.02em;
}

.services-home-lead {
    margin: 0 auto;
    max-width: 720px;
    color: var(--text-muted);
    line-height: 1.65;
}

.services-home-media {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid-services {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    place-items: stretch;
    margin-top: -70px;
}

.products-and-services-container .service {
    position: relative;
    background: var(--surface);
    padding: 1.75rem 1.6rem 1.25rem;
    width: 100%;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: box-shadow var(--transition), transform var(--transition);
    overflow: hidden;
}

.products-and-services-container .service:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.products-and-services-container .service::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0.9;
}

.products-and-services-container .service .icon {
    display: inline-flex;
    align-self: flex-start;
    position: static;
    transform: translateY(-34px);
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: var(--primary);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 20px rgba(13, 92, 46, 0.18);
}

.products-and-services-title{
    font-size: 48px;
    text-align: center;
    padding: 36px;
    color: white;
    font-family: 'Century Gothic';
}

.products-and-services-container {
    background: var(--surface-alt);
    padding: 3rem 20px 4rem;
}

/* Home services (index) — more comprehensive, no clamping */
.home-services .home-services-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.home-services .home-services-header {
    max-width: 900px;
    margin: 0 auto 1.75rem;
    text-align: center;
}

.home-services .home-services-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: rgba(13, 92, 46, 0.08);
    border: 1px solid rgba(13, 92, 46, 0.14);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    margin-bottom: 0.75rem;
}

.home-services .home-services-title {
    margin: 0 0 0.6rem;
    letter-spacing: -0.02em;
    font-size: clamp(1.5rem, 3.2vw, 2.15rem);
}

.home-services .home-services-lead {
    margin: 0 auto;
    max-width: 740px;
    color: var(--text-muted);
    line-height: 1.7;
}

.home-services .home-services-actions {
    margin-top: 1.1rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.home-services .home-services-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    min-height: 44px;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(13, 92, 46, 0.2);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.home-services .home-services-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.home-services .home-services-cta.ghost {
    background: rgba(13, 92, 46, 0.06);
    color: var(--primary-dark);
    border: 1px solid rgba(13, 92, 46, 0.18);
    box-shadow: none;
}

.home-services .home-services-cta.ghost:hover {
    background: rgba(13, 92, 46, 0.1);
}

.home-services .home-services-media {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.home-services .grid-services {
    margin-top: -60px;
}

.home-services .service-image {
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.home-services .service {
    max-width: 100%;
}

.home-services .service-head {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.home-services .service-head-text {
    flex: 1 1 auto;
}

.home-services .service .title{
    margin: -18px 0 0.3rem;
    font-size: 1.15rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.home-services .service-subtitle {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.home-services .service-body {
    padding-top: 0.25rem;
}

.home-services .service-body .description{
    margin: 0.75rem 0 0;
    padding: 0;
    color: var(--text-muted);
    line-height: 1.75;
    display: block;
    overflow: visible;
}

.home-services .service-points{
    margin: 0.9rem 0 0;
    padding-left: 1.2rem;
    color: var(--text);
    line-height: 1.65;
}

.home-services .service-points li{
    margin: 0.25rem 0;
}

.home-services .service-tagline{
    margin: 0.9rem 0 0;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    color: var(--primary-dark);
    font-weight: 700;
}

@media (max-width: 768px) {
    .home-services .grid-services {
        margin-top: -36px;
    }
}

.service-image {
    width: 100%;
    max-width: 1100px;
    height: auto;
    min-height: 400px;
    max-height: 560px;
    display: block;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow);
}

@media (max-width: 992px) {
    .profile-gallery { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .profile-card img { height: 200px; }
}

@media (max-width: 768px) {
    .profile-gallery { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
    .profile-card img { height: 180px; }
}

@media (max-width: 480px) {
    .profile-gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .profile-card img { height: 150px; }
}

/* ============================================
   GLOBAL RESPONSIVE — ALL SCREEN SIZES
   ============================================ */

/* Prevent overflow — only for images not in fixed-height containers */
main img:not(.card img):not(.profile-card img):not(.slide):not(.services-material img):not(.update-card img),
.hero-content-about img,
.business-description img {
    max-width: 100%;
    height: auto;
}

/* New sections responsive */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons .explore-button {
        width: 100%;
        text-align: center;
    }

    .stats-inner {
        gap: 2rem;
    }

    .offer-grid {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .about-values {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-inner {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container-header,
    .container-about {
        padding-left: clamp(12px, 4vw, 24px);
        padding-right: clamp(12px, 4vw, 24px);
    }

    .header-about {
        min-height: 220px;
        height: 38vh;
        padding: 200px 16px 40px; /* Extra top padding for spacing from nav on mobile */
    }

    .products-and-services-container {
        padding: 2rem 16px 3rem;
    }

    .service-image {
        min-height: 280px;
        max-height: 400px;
    }

    .grid-services {
        top: 0;
        margin-top: -40px;
        gap: 1.5rem;
    }

    .products-and-services-container .service {
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding-left: 12px;
        padding-right: 12px;
        min-height: 64px;
    }

    .footerContainer {
        padding: 2rem 16px 1rem;
    }

    .footerBottom p {
        font-size: 0.8rem;
        padding-left: 12px;
        padding-right: 12px;
    }

    .socialIcons a {
        width: 40px;
        height: 40px;
    }

    .product-grid {
        padding: 0 12px;
        gap: 1.25rem;
    }

    .product-card .product-image {
        height: 160px;
    }
}

/* Very small screens (320px–400px) */
@media (max-width: 400px) {
    body {
        font-size: 15px;
    }

    .section-title {
        font-size: 1.25rem;
        flex-wrap: wrap;
        gap: 8px;
    }

    .section-title img {
        width: 48px !important;
        height: 48px !important;
    }

    .partners-section .section-title img {
        width: 56px !important;
        height: 56px !important;
    }

    .vid-auto,
    .services-material {
        min-height: 240px;
        height: 45vh;
    }

    .header h1 {
        font-size: 1.2rem;
    }

    .header p {
        font-size: 0.8rem;
    }

    .explore-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 320px) {
    .navbar-logo {
        font-size: 0.75rem;
    }

    .card {
        height: 340px;
    }

    .profile-gallery {
        grid-template-columns: 1fr;
    }

    .profile-card img {
        height: 200px;
    }
}

