:root {
    --alpine: #ba8e36;
    --heavy-metal: #161a17;
    --bianca: #faf6eb;
    --gimblet: #bda16e;
    --kumera: #956b1e;
    --kumera-dark: #815d1c;
    --bleach-white: #fef7d5;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--heavy-metal);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== SCROLL ANIMATION CORE STYLES ===== */
[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll].scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-scroll="fade-down"] {
    transform: translateY(-30px);
}

[data-scroll="fade-down"].scroll-visible {
    transform: translateY(0);
}

[data-scroll="fade-up"] {
    transform: translateY(30px);
}

[data-scroll="fade-up"].scroll-visible {
    transform: translateY(0);
}

[data-scroll-delay="100"].scroll-visible {
    transition-delay: 0.1s;
}

[data-scroll-delay="200"].scroll-visible {
    transition-delay: 0.2s;
}

[data-scroll-delay="300"].scroll-visible {
    transition-delay: 0.3s;
}

[data-scroll-delay="400"].scroll-visible {
    transition-delay: 0.4s;
}

[data-scroll-delay="500"].scroll-visible {
    transition-delay: 0.5s;
}

[data-scroll-delay="600"].scroll-visible {
    transition-delay: 0.6s;
}

[data-scroll-delay="700"].scroll-visible {
    transition-delay: 0.7s;
}

[data-scroll-delay="800"].scroll-visible {
    transition-delay: 0.8s;
}

[data-scroll-duration="800"] {
    transition-duration: 0.8s;
}

[data-scroll-duration="1000"] {
    transition-duration: 1s;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: rgba(250, 246, 235, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(22, 26, 23, 0.08);
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 20px;
}

/* Logo with Image */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--alpine);
    box-shadow: 0 4px 12px rgba(186, 142, 54, 0.15);
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

/* Updated Logo Main - Combined Binaax MiddleEast WLL */
.logo-main {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--kumera);
    line-height: 1.2;
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: column;
}

/* No separate subtitle - everything in logo-main */
.logo-tagline {
    font-size: 0.75rem;
    color: #666;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Navigation menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    position: relative;
}

.nav-menu a:hover {
    color: var(--kumera);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--kumera) 0%, var(--alpine) 100%);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--kumera);
    font-weight: 700;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--kumera);
}

/* Mobile Menu Logo Container */
.mobile-menu-logo {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 80px;
    background: rgba(250, 246, 235, 0.98);
    border-bottom: 1px solid rgba(22, 26, 23, 0.1);
    align-items: center;
    padding: 0 30px;
    transition: left 0.4s ease;
    z-index: 1000;
}

/* ===== UPDATED HERO SECTION WITH 6 SLIDES ===== */
.hero {
    position: relative;
    min-height: 100vh;
    /* Default height for desktop */
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

/* Hero Slider Container */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

/* Updated Slide Images - All 6 slides with proper fallbacks */
.slide-1 {
    background: linear-gradient(90deg, rgba(22, 26, 23, 0.92) 0%, rgba(22, 26, 23, 0.75) 100%),
        url('./assets/background1.png');
    background-size: cover;
    background-position: center;
}

.slide-2 {
    background: linear-gradient(90deg, rgba(22, 26, 23, 0.92) 0%, rgba(22, 26, 23, 0.75) 100%),
        url('./assets/background2.png');
    background-size: cover;
    background-position: center;
}

.slide-3 {
    background: linear-gradient(90deg, rgba(22, 26, 23, 0.92) 0%, rgba(22, 26, 23, 0.75) 100%),
        url('./assets/background3.png');
    background-size: cover;
    background-position: center;
}

.slide-4 {
    background: linear-gradient(90deg, rgba(22, 26, 23, 0.92) 0%, rgba(22, 26, 23, 0.75) 100%),
        url('./assets/background4.png');
    background-size: cover;
    background-position: center;
}

.slide-5 {
    background: linear-gradient(90deg, rgba(22, 26, 23, 0.92) 0%, rgba(22, 26, 23, 0.75) 100%),
        url('./assets/background5.png');
    background-size: cover;
    background-position: center;
}

.slide-6 {
    background: linear-gradient(90deg, rgba(22, 26, 23, 0.92) 0%, rgba(22, 26, 23, 0.75) 100%),
        url('./assets/background6.png');
    background-size: cover;
    background-position: center;
}

/* Fallback background colors in case images don't load */
.slide-1 {
    background-color: #1a2b3c;
}

.slide-2 {
    background-color: #2c3e50;
}

.slide-3 {
    background-color: #34495e;
}

.slide-4 {
    background-color: #2c3e50;
}

.slide-5 {
    background-color: #1a2b3c;
}

.slide-6 {
    background-color: #34495e;
}

.hero-content {
    width: 100%;
    padding: 60px 0;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 750px;
    /* Increased for better text wrapping */
}

.hero-title {
    font-size: 3.6rem;
    /* Slightly reduced for better line breaks */
    font-weight: 900;
    color: var(--bianca);
    line-height: 1.15;
    /* Better line height */
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-title.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Improved keyword styling */
.power-text {
    color: var(--alpine);
    position: relative;
}

.power-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--alpine) 0%, transparent 100%);
    opacity: 0.7;
}

.cooling-text {
    color: var(--alpine);
    position: relative;
}

.cooling-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--alpine) 0%, transparent 100%);
    opacity: 0.7;
}

.rental-text {
    color: var(--alpine);
    position: relative;
    display: inline-block;
}

/* Subtle animation for rental text */
.rental-text::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -5px;
    right: -5px;
    bottom: -2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(186, 142, 54, 0.1) 25%,
            rgba(186, 142, 54, 0.2) 50%,
            rgba(186, 142, 54, 0.1) 75%,
            transparent 100%);
    border-radius: 4px;
    animation: shimmer 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.02);
    }
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(250, 246, 235, 0.9);
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.hero-description.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-highlight {
    color: var(--alpine);
    font-weight: 600;
    position: relative;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--alpine);
    opacity: 0.5;
}

.hero-button-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 35px;
    border: none;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 8px;
    cursor: pointer;
    min-width: 180px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease, all 0.3s ease;
}

.btn-primary.scroll-visible,
.btn-secondary.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(90deg, var(--kumera) 0%, var(--alpine) 100%);
    color: var(--bianca);
    box-shadow: 0 8px 20px rgba(162, 115, 32, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(90deg, var(--alpine) 0%, var(--kumera) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(162, 115, 32, 0.4);
    letter-spacing: 2px;
}

.btn-secondary {
    background: transparent;
    color: var(--bianca);
    border: 2px solid rgba(186, 142, 54, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(186, 142, 54, 0.1);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover {
    border-color: var(--alpine);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(186, 142, 54, 0.3);
    background: rgba(186, 142, 54, 0.05);
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-icon {
    margin-left: 10px;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(3px);
}

.btn-secondary:hover .btn-icon {
    transform: translateX(3px);
}

/* Slider Dots Container for proper centering */
.slider-dots-container {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.8s, transform 0.8s ease 0.8s;
    display: flex;
    justify-content: center;
}

.slider-dots-container.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.slider-dots {
    display: flex;
    gap: 8px;
    padding: 0 20px;
    justify-content: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(250, 246, 235, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dot.active {
    background: var(--alpine);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(186, 142, 54, 0.6);
}

.dot:hover {
    background: var(--alpine);
    transform: scale(1.1);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.2rem;
    }

    .logo-main {
        font-size: 1.4rem;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1.1rem;
        text-align: justify;
    }

    .logo-main {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.25;
    }

    .hero-description {
        font-size: 1rem;
        max-width: 550px;
        text-align: justify;
    }

    .hero-content {
        max-width: 650px;
    }

    .logo-main {
        font-size: 1.25rem;
    }

    .logo-tagline {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {

    /* MOBILE HEIGHT ADJUSTMENT - REDUCED FROM 75vh */
    .hero {
        min-height: 65vh;
        /* Reduced from 75vh */
        padding-top: 80px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    /* Mobile Navigation Menu */
    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 1001;
    }

    .mobile-menu-logo {
        display: flex;
    }

    .header-content {
        padding: 12px 0;
    }

    /* Mobile Logo Adjustments */
    .logo-main {
        font-size: 1.1rem;
        line-height: 1.1;
    }

    .logo-tagline {
        font-size: 0.6rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        flex-direction: column;
        background-color: rgba(250, 246, 235, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 280px;
        height: 100vh;
        text-align: left;
        transition: 0.4s ease;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        padding: 100px 30px 40px;
        z-index: 999;
        gap: 0;
        margin: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu.active+.mobile-menu-logo {
        left: 0;
    }

    /* Mobile Menu Logo Adjustments */
    .mobile-menu-logo .logo {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
    }

    .mobile-menu-logo .logo-image {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        overflow: hidden;
        border: 2px solid var(--alpine);
        box-shadow: 0 4px 12px rgba(186, 142, 54, 0.15);
    }

    .mobile-menu-logo .logo-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mobile-menu-logo .logo-text {
        display: flex;
        flex-direction: column;
    }

    .mobile-menu-logo .logo-main {
        font-size: 1rem;
        font-weight: 900;
        color: var(--kumera);
        line-height: 1.1;
    }

    .mobile-menu-logo .logo-tagline {
        font-size: 0.55rem;
    }

    .nav-menu li {
        margin: 0;
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 10px 0;
    }

    /* MOBILE HERO CONTENT IMPROVEMENTS */
    .hero-content {
        align-items: center;
        padding: 20px 0;
        max-width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: 2.1rem;
        text-align: center;
        margin-bottom: 15px;
        line-height: 1.3;
        padding: 0 15px;
    }

    /* Better mobile animation for rental text */
    .rental-text::before {
        animation: shimmerMobile 4s ease-in-out infinite;
    }

    @keyframes shimmerMobile {

        0%,
        100% {
            opacity: 0.2;
            transform: scale(1);
        }

        50% {
            opacity: 0.3;
            transform: scale(1.01);
        }
    }

    .hero-description {
        font-size: 0.95rem;
        text-align: center;
        padding: 0 20px;
        margin-bottom: 25px;
        /* Reduced margin */
        max-width: 100%;
        line-height: 1.5;
        text-align: justify;
    }

    .hero-button-group {
        justify-content: center;
        gap: 15px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 10px;
        /* Added bottom margin */
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 30px;
        min-width: 160px;
        font-size: 0.85rem;
        flex: 1;
        max-width: 180px;
    }

    .slider-dots-container {
        bottom: 20px;
        /* Moved dots higher */
    }

    .slider-dots {
        gap: 6px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 60vh;
        /* Reduced from 70vh */
        padding-top: 70px;
    }

    /* Mobile Logo Further Adjustments */
    .logo-main {
        font-size: 1rem;
        line-height: 1.1;
    }

    .logo-tagline {
        font-size: 0.55rem;
    }

    .logo-image {
        width: 40px;
        height: 40px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.35;
        padding: 0 10px;
        margin-bottom: 12px;
        /* Reduced margin */
    }

    .hero-description {
        font-size: 0.9rem;
        padding: 0 15px;
        margin-bottom: 20px;
        /* Reduced margin */
        line-height: 1.5;
        text-align: justify;
    }

    .hero-button-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 10px;
        /* Reduced gap */
        margin-bottom: 15px;
        /* Added margin */
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        min-width: auto;
        padding: 12px 25px;
        max-width: 100%;
    }

    .slider-dots-container {
        bottom: 15px;
        /* Moved higher */
    }

    .slider-dots {
        gap: 5px;
        padding: 0 15px;
    }

    .dot {
        width: 7px;
        height: 7px;
    }

    /* Mobile menu logo adjustments */
    .mobile-menu-logo .logo-main {
        font-size: 0.95rem;
    }

    .mobile-menu-logo .logo-tagline {
        font-size: 0.5rem;
    }

    .mobile-menu-logo .logo-image {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 400px) {
    .hero {
        min-height: 55vh;
        /* Reduced from 65vh */
        padding-top: 60px;
    }

    /* Extra Small Screen Logo */
    .logo-main {
        font-size: 0.9rem;
    }

    .logo-tagline {
        font-size: 0.5rem;
    }

    .logo-image {
        width: 35px;
        height: 35px;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.4;
        margin-bottom: 10px;
        /* Reduced margin */
    }

    .hero-description {
        font-size: 0.85rem;
        line-height: 1.5;
        text-align: justify;
        margin-bottom: 15px;
        /* Reduced margin */
        padding: 0 10px;
    }

    .hero-button-group {
        gap: 8px;
        /* Reduced gap */
        margin-bottom: 10px;
        /* Added margin */
    }

    .slider-dots-container {
        bottom: 10px;
        /* Moved higher */
    }

    .slider-dots {
        gap: 4px;
    }

    .dot {
        width: 6px;
        height: 6px;
    }

    /* Mobile menu logo for very small screens */
    .mobile-menu-logo {
        width: 250px;
        padding: 0 20px;
    }

    .mobile-menu-logo .logo-main {
        font-size: 0.85rem;
    }

    .mobile-menu-logo .logo-tagline {
        font-size: 0.45rem;
    }

    .mobile-menu-logo .logo-image {
        width: 30px;
        height: 30px;
    }
}

/* Animation for mobile menu */
@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.nav-menu.active li {
    animation: slideIn 0.3s ease forwards;
    animation-delay: calc(0.1s * var(--i));
}

/* Ensure proper mobile menu stacking */
.mobile-menu-btn.active i::before {
    content: '\f00d';
}

/* Optional: Add loading animation for images */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slide {
    animation: fadeIn 0.5s ease;
}

/* Header scroll effect */
header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: rgba(250, 246, 235, 0.98);
}

/* Additional smooth hover effects */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--kumera) 0%, var(--alpine) 100%);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}







/* ============================================
   ABOUT SECTION - COMPLETE CSS
============================================ */

/* ===== ABOUT BINAAX SECTION - Updated to match OUR STORY design ===== */
#about.section {
    padding: 80px 0 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Updated About Binaax Section to match Our Story design */
.about-binaax-section {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    margin-bottom: 60px;
    border: 1px solid rgba(186, 142, 54, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-binaax-section.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-binaax-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.about-binaax-header {
    margin-bottom: 40px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-binaax-header.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-binaax-header h2 {
    font-size: 1.8rem;
    color: var(--heavy-metal);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.about-binaax-header h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    /* background: linear-gradient(90deg, var(--alpine), transparent); */
}

.about-binaax-divider {
    width: 60px;
    height: 3px;
    margin: 15px auto;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--alpine), var(--kumera));
    transition: width 1s ease-out;
}

.about-binaax-header.scroll-visible .about-binaax-divider {
    width: 60px;
}

.about-binaax-content {
    display: flex;
    gap: 60px;
    align-items: center;
    /* Changed back to center */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.about-binaax-content.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-binaax-text {
    flex: 3;
    /* Changed from flex: 1 to flex: 3 for 3:1 ratio */
}

.about-binaax-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--heavy-metal);
    margin-bottom: 25px;
    opacity: 0.9;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--gimblet);
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.about-binaax-text p:last-child {
    margin-bottom: 0;
}

.about-binaax-image {
    flex: 1;
    /* Changed from flex: 0 0 500px to flex: 1 for 3:1 ratio */
    display: flex;
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
}

.about-binaax-image-box {
    width: 100%;
    max-width: 250px;
    /* Set a max width for square shape */
    height: 250px;
    /* Make height equal to max-width for square */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
    margin: 0 auto;
    /* Center the box */
}

.about-binaax-image-box:hover {
    transform: scale(1.02);
}

.about-binaax-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.about-binaax-image-box:hover img {
    transform: scale(1.1);
}

.about-binaax-image-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(22, 26, 23, 0.7), transparent);
}

.about-binaax-image-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #ffffff;
    z-index: 2;
    text-align: left;
}

.about-binaax-image-content span {
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    color: var(--alpine);
}

.about-binaax-image-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 500;
    border-left: none;
    padding-left: 0;
    text-align: left;
    /* Keep left-aligned for image caption */
    text-justify: auto;
    hyphens: none;
}

/* Tablet and Mobile Responsiveness */
@media (max-width: 1200px) {
    .about-binaax-content {
        gap: 40px;
    }

    .about-binaax-image {
        flex: 1;
        /* Maintain 3:1 ratio */
    }

    .about-binaax-image-box {
        max-width: 280px;
        height: 280px;
    }
}

@media (max-width: 1024px) {
    .about-binaax-section {
        padding: 50px 40px;
    }

    .about-binaax-content {
        flex-direction: column;
        gap: 50px;
        align-items: center;
    }

    .about-binaax-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-binaax-image-box {
        max-width: 400px;
        height: 400px;
        width: 100%;
    }

    .about-binaax-text p {
        text-align: justify;
        padding-right: 20px;
    }
}

@media (max-width: 900px) {
    .about-binaax-section {
        padding: 40px 30px;
    }

    .about-binaax-content {
        gap: 40px;
    }

    .about-binaax-image {
        max-width: 380px;
    }

    .about-binaax-image-box {
        max-width: 380px;
        height: 380px;
    }
}

@media (max-width: 768px) {
    .about-binaax-section {
        padding: 35px 25px;
        margin-bottom: 40px;
    }

    .about-binaax-header {
        margin-bottom: 30px;
    }

    .about-binaax-header h2 {
        font-size: 1.7rem;
    }

    .about-binaax-content {
        gap: 35px;
    }

    .about-binaax-image {
        max-width: 350px;
    }

    .about-binaax-image-box {
        max-width: 350px;
        height: 350px;
        border-radius: 8px;
    }

    .about-binaax-text p {
        font-size: 1.05rem;
        line-height: 1.65;
        padding-left: 18px;
        text-align: justify;
        border-left-width: 2px;
    }

    .about-binaax-image-content {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }

    .about-binaax-image-content span {
        font-size: 1.1rem;
    }

    .about-binaax-image-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .about-binaax-section {
        padding: 30px 20px;
        border-radius: 10px;
    }

    .about-binaax-header h2 {
        font-size: 1.5rem;
    }

    .about-binaax-divider {
        width: 50px;
        height: 2.5px;
        margin: 12px auto;
    }

    .about-binaax-content {
        gap: 30px;
    }

    .about-binaax-image {
        max-width: 100%;
    }

    .about-binaax-image-box {
        max-width: 320px;
        height: 320px;
        border-radius: 8px;
    }

    .about-binaax-text p {
        font-size: 1rem;
        line-height: 1.6;
        padding-left: 15px;
        margin-bottom: 20px;
        text-align: justify;
    }

    .about-binaax-image-content span {
        font-size: 1rem;
        margin-bottom: 3px;
    }

    .about-binaax-image-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .about-binaax-section {
        padding: 25px 15px;
        margin-bottom: 30px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .about-binaax-header h2 {
        font-size: 1.4rem;
        letter-spacing: 0.5px;
    }

    .about-binaax-divider {
        width: 45px;
        height: 2px;
        margin: 10px auto;
    }

    .about-binaax-content {
        gap: 25px;
    }

    .about-binaax-image-box {
        max-width: 280px;
        height: 280px;
        border-radius: 6px;
    }

    .about-binaax-image-box::after {
        height: 60px;
    }

    .about-binaax-text p {
        font-size: 0.95rem;
        line-height: 1.55;
        padding-left: 12px;
        border-left-width: 2px;
        margin-bottom: 18px;
        text-align: justify;
    }

    .about-binaax-image-content {
        bottom: 12px;
        left: 12px;
    }

    .about-binaax-image-content span {
        font-size: 0.95rem;
    }

    .about-binaax-image-content p {
        font-size: 0.8rem;
    }
}

@media (max-width: 375px) {
    .about-binaax-section {
        padding: 20px 12px;
    }

    .about-binaax-header h2 {
        font-size: 1.3rem;
    }

    .about-binaax-image-box {
        max-width: 250px;
        height: 250px;
    }

    .about-binaax-text p {
        font-size: 0.9rem;
        line-height: 1.5;
        padding-left: 10px;
        text-align: justify;
    }

    .about-binaax-image-content {
        bottom: 10px;
        left: 10px;
    }

    .about-binaax-image-content span {
        font-size: 0.9rem;
    }

    .about-binaax-image-content p {
        font-size: 0.75rem;
    }
}

/* Extra small devices */
@media (max-width: 320px) {
    .about-binaax-image-box {
        max-width: 220px;
        height: 220px;
    }

    .about-binaax-text p {
        font-size: 0.85rem;
        text-align: justify;
    }
}

/* ===== OUR STORY SECTION ===== */
.story-section {
    padding: 40px;
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 40px;
    border: 1px solid rgba(186, 142, 54, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

[data-scroll].story-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll].story-section.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-section-header {
    margin-bottom: 40px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll="fade-down"].scroll-visible.about-section-header {
    opacity: 1;
    transform: translateY(0);
}

.about-section-header h3 {
    font-size: 1.6rem;
    color: var(--heavy-metal);
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-divider {
    width: 50px;
    height: 2px;
    margin: 10px auto;
    background: linear-gradient(90deg, var(--alpine), var(--kumera));
}

.story-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.1s, transform 0.8s ease 0.1s;
}

[data-scroll="fade-up"].scroll-visible.story-content {
    opacity: 1;
    transform: translateY(0);
}

/* Row Layout */
.story-row {
    margin-bottom: 30px;
}

.story-row:last-child {
    margin-bottom: 0;
}

.story-row-1 {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

.story-col {
    flex: 1;
}

.story-col-image {
    flex: 0 0 45%;
}

.story-col-text {
    flex: 0 10% 55%;
}

/* Image Box */
.image-box {
    width: 100%;
    height: 320px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #ffffff;
    z-index: 2;
    text-align: left;
}

.image-content span {
    font-size: 0.9rem;
    opacity: 0.9;
    display: block;
    margin-bottom: 2px;
}

.image-content p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* Text Styling */
.story-row p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--heavy-metal);
    margin-bottom: 15px;
    opacity: 0.9;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

/* Purpose Grid */
.purpose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.purpose-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.purpose-item {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--heavy-metal);
    padding: 15px;
    background: rgba(186, 142, 54, 0.03);
    border-radius: 6px;
    border-left: 3px solid var(--gimblet);
    text-align: left;
}

/* Mindset Container */
.mindset-container {
    margin-top: 15px;
}

.mindset-quote {
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.6;
    color: var(--heavy-metal);
    font-style: italic;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(186, 142, 54, 0.05), transparent);
    border-radius: 6px;
    border: 1px solid rgba(186, 142, 54, 0.1);
}

/* Conclusion Row */
.story-row-6 p {
    text-align: center;
    font-size: 1.05rem;
    padding-top: 20px;
    border-top: 1px solid rgba(186, 142, 54, 0.1);
    margin-top: 20px;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 991px) {
    .story-section {
        padding: 30px;
    }

    .story-row-1 {
        flex-direction: column;
        gap: 30px;
    }

    .story-col-image,
    .story-col-text {
        flex: none;
        width: 100%;
    }

    .image-box {
        height: 280px;
    }

    .purpose-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .story-row p {
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
    }
}

@media (max-width: 767px) {
    .story-section {
        padding: 25px;
    }

    .about-section-header h3 {
        font-size: 1.4rem;
    }

    .story-row {
        margin-bottom: 25px;
    }

    .image-box {
        height: 240px;
    }

    .story-row p,
    .purpose-item,
    .mindset-quote {
        font-size: 0.95rem;
    }

    .mindset-quote {
        padding: 15px;
    }

    .story-row p {
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
    }
}

@media (max-width: 575px) {
    .story-section {
        padding: 20px;
    }

    .image-box {
        height: 200px;
    }

    .purpose-item {
        padding: 12px;
        text-align: left;
    }

    .image-content {
        bottom: 15px;
        left: 15px;
    }

    .image-content p {
        font-size: 1rem;
    }

    .story-row p {
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
    }
}

@media (max-width: 479px) {
    .story-row p {
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
    }
}


/* TIME LINE SECTION
.timeline-section {
    padding: 60px;
    margin-bottom: 60px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(186, 142, 54, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

TIMELINE HEADER STYLES - Match your other sections
.about-section-header {
    margin-bottom: 40px;
    text-align: center;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important; 
}

.about-section-header h3 {
    font-size: 1.8rem;
    color: var(--heavy-metal);
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    opacity: 1 !important;
    visibility: visible !important;
}

.about-section-header h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--alpine), transparent);
}

.section-divider {
    width: 60px;
    height: 3px;
    margin: 15px auto;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--alpine), var(--kumera));
    opacity: 1 !important;
    visibility: visible !important;
}

WAVE TIMELINE
.wave-timeline {
    position: relative;
    height: 500px;
    margin-top: 20px;
}

SVG LINE
.wave-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 200px;
    transform: translateY(-50%);
}

ITEMS
.wave-item {
    position: absolute;
    width: 220px;
    text-align: center;
    transform: translateX(-50%);
}

DEFAULT UP & DOWN POSITIONS
.wave-item.up {
    top: 25%;
}

.wave-item.down {
    bottom: 25%;
}

HIGHER POSITION (2009, 2015, 2017)
.wave-item.move-higher {
    top: 0% !important;
}

SLIGHTLY HIGHER (2007)
.wave-item.move-slightly-higher {
    top: 0% !important;
}

SLIGHTLY LOWER (2008, 2016)
.wave-item.move-slightly-lower {
    bottom: 18% !important;
}

YEAR
.timeline-year {
    display: inline-block;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--alpine), var(--kumera));
    color: #fff;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 10px;
}

ICON
.timeline-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 10px;
    background: rgba(254, 247, 213, 0.3);
    color: var(--alpine);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(186, 142, 54, 0.15);
}

TEXT
.wave-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--heavy-metal);
}

MOBILE STACK
@media (max-width: 991px) {
    .timeline-section {
        padding: 40px 20px;
    }
    
    .about-section-header h3 {
        font-size: 1.4rem;
    }
    
    .wave-timeline {
        height: auto;
        margin-top: 10px;
    }

    .wave-line {
        display: none;
    }

    .wave-item {
        position: static;
        transform: none;
        width: 100%;
        margin-bottom: 40px;
    }
    
    .wave-item.up,
    .wave-item.down,
    .wave-item.move-higher,
    .wave-item.move-slightly-higher,
    .wave-item.move-slightly-lower {
        top: auto !important;
        bottom: auto !important;
    }
} */


/* vission and mission */
/* Scroll animation core CSS - works like AOS */
[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll].scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Different animation types */
[data-scroll="fade-up"] {
    transform: translateY(50px);
}

[data-scroll="fade-down"] {
    transform: translateY(-50px);
}

[data-scroll="fade-left"] {
    transform: translateX(-50px);
}

[data-scroll="fade-right"] {
    transform: translateX(50px);
}

[data-scroll="zoom-in"] {
    transform: scale(0.9);
}

[data-scroll="flip-left"] {
    transform: perspective(1000px) rotateY(-90deg);
    transform-origin: left center;
}

[data-scroll="flip-right"] {
    transform: perspective(1000px) rotateY(90deg);
    transform-origin: right center;
}

/* Delay classes */
[data-scroll-delay="100"].scroll-visible {
    transition-delay: 0.1s;
}

[data-scroll-delay="200"].scroll-visible {
    transition-delay: 0.2s;
}

[data-scroll-delay="300"].scroll-visible {
    transition-delay: 0.3s;
}

[data-scroll-delay="400"].scroll-visible {
    transition-delay: 0.4s;
}

[data-scroll-delay="500"].scroll-visible {
    transition-delay: 0.5s;
}

/* Duration and easing functions */
[data-scroll-duration="500"] {
    transition-duration: 0.5s;
}

[data-scroll-duration="1000"] {
    transition-duration: 1s;
}

[data-scroll-duration="1500"] {
    transition-duration: 1.5s;
}

/* Trigger once or repeat */
[data-scroll-once="true"] {
    /* Once shown, won't hide again */
}

/* About tabs container */
.about-tabs-container {
    width: 100%;
    max-width: 1200px;
    padding: 60px;
    margin-bottom: 60px;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(186, 142, 54, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* About section header */
.about-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-section-header h3 {
    font-size: 2.2rem;
    color: var(--heavy-metal);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.about-section-header h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--alpine), var(--kumera));
    border-radius: 2px;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(186, 142, 54, 0.3), transparent);
    margin: 20px auto;
    max-width: 200px;
}

/* Tab navigation */
.tab-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    background: #ffffff;
    border: 2px solid var(--alpine);
    color: var(--alpine);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 240px;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tab-btn i {
    font-size: 1.3rem;
}

.tab-btn.active {
    background: var(--alpine);
    color: white;
    box-shadow: 0 8px 20px rgba(186, 142, 54, 0.3);
    transform: translateY(-2px);
}

.tab-btn:hover:not(.active) {
    background: rgba(186, 142, 54, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

/* Tab content */
.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Update existing vision/mission sections for tabs */
.about-section.vision-section,
.about-section.mission-section {
    padding: 0;
    border: none;
    box-shadow: none;
    animation: none;
    opacity: 1;
    transform: none;
}

.vision-section .vision-grid,
.mission-section .mission-grid {
    margin-bottom: 50px;
}

/* Vision section styles */
.vision-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.vision-main-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.vision-image-large {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.vision-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.vision-image-large:hover img {
    transform: scale(1.1);
}

.vision-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 26, 23, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vision-image-large:hover .vision-overlay {
    opacity: 1;
}

.vision-image-content i {
    font-size: 2.5rem;
    color: var(--alpine);
    margin-bottom: 15px;
}

.vision-image-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.vision-image-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.vision-statement h4 {
    font-size: 1.5rem;
    color: var(--heavy-metal);
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.vision-statement h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--alpine), var(--kumera));
    border-radius: 2px;
}

.vision-statement p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--heavy-metal);
    margin: 0 0 25px 0;
    opacity: 0.9;
    text-align: left;
}

.vision-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.vision-value-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.vision-value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(186, 142, 54, 0.1);
    border-color: var(--alpine);
}

.value-icon-wrapper {
    font-size: 2rem;
    color: var(--alpine);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.vision-value-card:hover .value-icon-wrapper {
    transform: scale(1.2) rotate(15deg);
}

.vision-value-card h5 {
    font-size: 1rem;
    color: var(--heavy-metal);
    margin-bottom: 10px;
    font-weight: 600;
}

.vision-value-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--heavy-metal);
    margin: 0;
    opacity: 0.8;
}

.vision-testimonial {
    background: linear-gradient(135deg, var(--heavy-metal), #2a2f2c);
    color: var(--bianca);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vision-testimonial::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(186, 142, 54, 0.2);
    border-radius: 50%;
}

.testimonial-content {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--alpine);
    margin-bottom: 20px;
    display: block;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--alpine);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--alpine);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h6 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--alpine);
    text-align: left;
}

.author-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
    text-align: left;
}

/* Mission section styles */
.mission-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.mission-main-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.mission-image-large {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.mission-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.mission-image-large:hover img {
    transform: scale(1.1);
}

.mission-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 26, 23, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mission-image-large:hover .mission-overlay {
    opacity: 1;
}

.mission-image-content i {
    font-size: 2.5rem;
    color: var(--alpine);
    margin-bottom: 15px;
}

.mission-image-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.mission-image-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.mission-statement h4 {
    font-size: 1.5rem;
    color: var(--heavy-metal);
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.mission-statement h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--alpine), var(--kumera));
    border-radius: 2px;
}

.mission-statement p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--heavy-metal);
    margin: 0 0 25px 0;
    opacity: 0.9;
    text-align: left;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mission-value-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.mission-value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(186, 142, 54, 0.1);
    border-color: var(--alpine);
}

.mission-value-card:hover .value-icon-wrapper {
    transform: scale(1.2) rotate(15deg);
}

.mission-value-card h5 {
    font-size: 1rem;
    color: var(--heavy-metal);
    margin-bottom: 10px;
    font-weight: 600;
}

.mission-value-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--heavy-metal);
    margin: 0;
    opacity: 0.8;
}

.mission-testimonial {
    background: linear-gradient(135deg, var(--heavy-metal), #2a2f2c);
    color: var(--bianca);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mission-testimonial::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(186, 142, 54, 0.2);
    border-radius: 50%;
}

/* Media queries */
@media (max-width: 991px) {
    .about-tabs-container {
        padding: 40px;
    }

    .tab-btn {
        padding: 12px 30px;
        min-width: 180px;
        font-size: 1rem;
    }

    .vision-main-card,
    .mission-main-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .vision-statement,
    .mission-statement {
        text-align: center;
    }

    .vision-statement p,
    .mission-statement p {
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
    }

    .vision-image-large,
    .mission-image-large {
        height: 250px;
    }

    .vision-values,
    .mission-values {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .about-tabs-container {
        padding: 30px;
    }

    .tab-navigation {
        gap: 15px;
        flex-direction: row;
        /* Keep buttons in row (side by side) */
        justify-content: center;
    }

    .tab-btn {
        padding: 10px 20px;
        min-width: 160px;
        font-size: 0.95rem;
        flex: 1;
        /* Make buttons equal width */
        max-width: 200px;
        /* Limit max width */
    }

    .vision-values,
    .mission-values {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vision-testimonial,
    .mission-testimonial {
        padding: 30px;
    }

    .testimonial-text {
        font-size: 1.1rem;
    }

    .vision-statement p,
    .mission-statement p {
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
    }

    .vision-statement h4 {
        display: none;
    }

    .vision-statement h4 {
        display: none;
    }
}

@media (max-width: 575px) {
    .about-tabs-container {
        padding: 25px 20px;
    }

    .tab-navigation {
        flex-direction: row;
        /* Keep buttons in row */
        gap: 10px;
        justify-content: center;
    }

    .tab-btn {
        padding: 10px 15px;
        min-width: 140px;
        font-size: 0.9rem;
        flex: 1;
        /* Equal width */
        max-width: 180px;
        /* Limit max width */
    }

    .tab-btn i {
        font-size: 1.1rem;
    }

    .vision-main-card,
    .mission-main-card {
        padding: 20px;
    }

    .vision-image-large,
    .mission-image-large {
        height: 200px;
    }

    .vision-statement h4,
    .mission-statement h4 {
        font-size: 1.3rem;
        text-align: center;
        display: none;
    }

    .vision-statement p,
    .mission-statement p {
        font-size: 1rem;
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
    }

    .about-section-header h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 479px) {
    .about-tabs-container {
        padding: 20px 15px;
    }

    .tab-navigation {
        flex-direction: row;
        /* Keep buttons in row (side by side) */
        align-items: center;
        gap: 10px;
        justify-content: center;
    }

    .tab-btn {
        width: auto;
        /* Remove full width */
        flex: 1;
        /* Equal width */
        min-width: auto;
        /* Remove min-width */
        max-width: 160px;
        /* Set max width */
        padding: 10px 12px;
    }

    .vision-testimonial,
    .mission-testimonial {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-content i {
        font-size: 1.5rem;
    }

    .author-image {
        width: 40px;
        height: 40px;
    }

    .author-info h6 {
        font-size: 0.9rem;
    }

    .author-info p {
        font-size: 0.8rem;
    }

    .vision-statement p,
    .mission-statement p {
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
    }

    .vision-statement h4 {
        display: none;
    }
}

@media (max-width: 375px) {
    .about-tabs-container {
        padding: 15px 12px;
    }

    .tab-navigation {
        gap: 8px;
    }

    .tab-btn {
        padding: 8px 10px;
        font-size: 0.85rem;
        max-width: 140px;
    }

    .tab-btn i {
        font-size: 1rem;
        margin-right: 5px;
    }

    .tab-btn span {
        font-size: 0.85rem;
    }
}

/* ===== 5. COOLING SOLUTIONS SECTION ===== */
.cooling-section {
    padding: 60px;
    background-color: #ffffff;
    border-radius: 12px;
    margin-bottom: 60px;
    border: 1px solid rgba(186, 142, 54, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    opacity: 1;
    transform: none;
}

/* Remove all old animation properties from cooling section */
[data-scroll].cooling-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll].cooling-section.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.cooling-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

/* Update animation styles for scroll transitions */
.cooling-image-side {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll="fade-left"].scroll-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Image Rotation Styles */
.cooling-image-rotation {
    margin-top: 140px;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.rotation-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.rotation-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.rotation-image.active {
    opacity: 1;
}

.rotation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fixed overlay styles - apply to all images */
.cooling-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 26, 23, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    /* Prevent overlay from interfering with hover */
}

/* Show overlay when hovering ANY image (not just active) */
.cooling-image-rotation:hover .cooling-image-overlay {
    opacity: 1;
}

/* Ensure only the active image's overlay is visible */
.rotation-image:not(.active) .cooling-image-overlay {
    display: none;
    /* Hide overlays of non-active images completely */
}

/* Alternative approach - show overlay only for active image */
.rotation-image.active .cooling-image-overlay {
    display: flex;
    /* Make sure active overlay is properly displayed */
}

.cooling-image-content i {
    font-size: 2.5rem;
    color: var(--alpine);
    margin-bottom: 15px;
    animation: spin 3s linear infinite;
}

.cooling-image-content h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.cooling-image-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.cooling-info-side {
    display: flex;
    flex-direction: column;
    gap: 40px;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

[data-scroll="fade-right"].scroll-visible {
    opacity: 1;
    transform: translateX(0);
}

.cooling-intro h4 {
    font-size: 1.8rem;
    color: var(--heavy-metal);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.cooling-intro h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--alpine), var(--kumera));
    border-radius: 2px;
}

.cooling-intro p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--heavy-metal);
    margin: 0 0 20px 0;
    opacity: 0.9;
    text-align: left;
    text-align: justify;
}

.cooling-intro p:last-child {
    margin-bottom: 0;
}

/* STATS SECTION REMOVED - All related CSS has been removed */

.cooling-features-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

[data-scroll="fade-up"].scroll-visible.cooling-features-section {
    opacity: 1;
    transform: translateY(0);
}

.cooling-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.cooling-feature {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, all 0.3s ease;
}

[data-scroll="fade-up"].scroll-visible.cooling-feature {
    opacity: 1;
    transform: translateY(0);
}

.cooling-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(186, 142, 54, 0.1);
    border-color: var(--alpine);
}

.feature-icon-box {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--alpine), var(--kumera));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.cooling-feature:hover .feature-icon-box {
    transform: scale(1.1) rotate(10deg);
}

.feature-details h5 {
    font-size: 1.15rem;
    color: var(--heavy-metal);
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-details p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--heavy-metal);
    margin: 0;
    opacity: 0.8;
}

.cooling-note {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--alpine);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-scroll="fade-up"].scroll-visible.cooling-note {
    opacity: 1;
    transform: translateY(0);
}

.cooling-note p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--heavy-metal);
    margin: 0;
    font-weight: 500;
}

.cooling-note strong {
    color: var(--kumera);
}

/* Add spin animation for the snowflake icon */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== COOLING SOLUTIONS MEDIA QUERIES ===== */
/* Tablet Devices (768px - 991px) */
@media (max-width: 991px) {
    .cooling-section {
        padding: 40px;
    }

    .cooling-main-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .cooling-image-rotation {
        margin-top: auto;
        height: 300px;
    }

    .cooling-intro {
        text-align: center;
    }

    .cooling-intro p {
        text-align: justify !important;
        text-justify: inter-word;
        hyphens: auto;
        margin-bottom: 15px;
    }

    .cooling-intro h4 {
        display: none;
    }

    .cooling-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .cooling-feature {
        padding: 20px;
    }

    .feature-icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .feature-details h5 {
        font-size: 1.1rem;
    }

    .feature-details p {
        font-size: 0.85rem;
    }
}

/* Mobile Devices (576px - 767px) */
@media (max-width: 767px) {
    .cooling-section {
        padding: 30px 25px;
    }

    .cooling-main-content {
        gap: 30px;
    }

    .cooling-image-rotation {
        margin-top: auto;
        height: 250px;
    }

    .cooling-info-side {
        gap: 30px;
    }

    .cooling-intro h4 {
        font-size: 1.6rem;
        text-align: center;
        display: none;
    }

    .cooling-intro p {
        font-size: 1rem;
        text-align: justify !important;
        text-justify: inter-word;
        hyphens: auto;
        margin-bottom: 15px;
    }

    .cooling-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-icon-box {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
}

/* Small Mobile Devices (480px - 575px) */
@media (max-width: 575px) {
    .cooling-section {
        padding: 25px 20px;
    }

    .cooling-image-rotation {
        margin-top: auto;
        height: 200px;
    }

    .cooling-image-content h4 {
        font-size: 1.3rem;
    }

    .cooling-intro h4 {
        font-size: 1.4rem;
        text-align: center;
        display: none;
    }

    .cooling-intro p {
        text-align: justify !important;
        text-justify: inter-word;
        hyphens: auto;
        margin-bottom: 15px;
    }

    .cooling-note {
        padding: 18px;
    }

    .cooling-note p {
        font-size: 0.95rem;
    }
}

/* Extra Small Devices (320px - 479px) */
@media (max-width: 479px) {
    .cooling-section {
        padding: 20px 15px;
    }

    .cooling-intro p {
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: justify !important;
        text-justify: inter-word;
        hyphens: auto;
        margin-bottom: 15px;
    }

    .cooling-intro h4 {
        display: none;
    }

    .cooling-note {
        padding: 15px;
    }

    .cooling-note p {
        font-size: 0.9rem;
    }
}

/* ===== 6. QUALITY COMMITMENT SECTION ===== */
.quality-section {
    padding: 60px;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(186, 142, 54, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Remove old animation properties */
    opacity: 1;
    transform: none;
}

/* Add scroll transition for quality section */
[data-scroll].quality-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll].quality-section.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.quality-certification {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.certification-card {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.certification-badge {
    text-align: center;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(186, 142, 54, 0.1);
    border: 3px solid var(--alpine);
    max-width: 300px;
    margin: 0 auto;
    /* Remove old animation: animation: bounceIn 0.8s ease-out; */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll="fade-up"].scroll-visible.certification-badge {
    opacity: 1;
    transform: translateY(0);
}

.badge-icon {
    font-size: 3rem;
    color: var(--alpine);
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

.certification-badge h4 {
    font-size: 1.5rem;
    color: var(--heavy-metal);
    margin-bottom: 8px;
    font-weight: 600;
}

.certification-badge p {
    font-size: 1rem;
    color: var(--heavy-metal);
    margin: 0;
    font-weight: 500;
    opacity: 0.8;
}

.certification-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.certification-image {
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    /* Remove old animation: animation: fadeInLeft 0.8s ease-out; */
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll="fade-left"].scroll-visible.certification-image {
    opacity: 1;
    transform: translateX(0);
}

.certification-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.certification-image:hover img {
    transform: scale(1.1);
}

.cert-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 26, 23, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certification-image:hover .cert-image-overlay {
    opacity: 1;
}

.cert-image-content i {
    font-size: 2.5rem;
    color: var(--alpine);
    margin-bottom: 15px;
}

.cert-image-content h5 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.cert-image-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.certification-details {
    /* Remove old animation: animation: fadeInRight 0.8s ease-out 0.2s both; */
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

[data-scroll="fade-right"].scroll-visible.certification-details {
    opacity: 1;
    transform: translateX(0);
}

.certification-details h4 {
    font-size: 1.5rem;
    color: var(--heavy-metal);
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.certification-details h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--alpine), var(--kumera));
    border-radius: 2px;
}

.certification-details p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--heavy-metal);
    margin-bottom: 25px;
    opacity: 0.9;
    text-align: left;
}

.quality-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.quality-point {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Remove old animation: animation: slideInRight 0.5s ease-out forwards; */
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-scroll="fade-up"].scroll-visible.quality-point {
    opacity: 1;
    transform: translateX(0);
}

.quality-point i {
    color: var(--alpine);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.quality-point:hover i {
    transform: scale(1.2);
}

.quality-point span {
    font-size: 1rem;
    color: var(--heavy-metal);
    opacity: 0.9;
}

.quality-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pillar-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    /* Remove old animation: animation: fadeInUp 0.6s ease-out forwards; */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, all 0.3s ease;
}

[data-scroll="fade-up"].scroll-visible.pillar-card {
    opacity: 1;
    transform: translateY(0);
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(186, 142, 54, 0.1);
    border-color: var(--alpine);
}

.pillar-icon {
    font-size: 2rem;
    color: var(--alpine);
    margin-bottom: 15px;
    display: inline-block;
    background: #f8f8f8;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.1) rotate(15deg);
}

.pillar-card h5 {
    font-size: 1rem;
    color: var(--heavy-metal);
    margin-bottom: 10px;
    font-weight: 600;
}

.pillar-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--heavy-metal);
    margin: 0;
    opacity: 0.8;
}

.quality-quote-box {
    background: linear-gradient(135deg, var(--heavy-metal), #2a2f2c);
    color: var(--bianca);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Remove old animation: animation: fadeIn 0.8s ease-out 0.6s both; */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}

[data-scroll="fade-up"].scroll-visible.quality-quote-box {
    opacity: 1;
    transform: translateY(0);
}

.quality-quote-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(186, 142, 54, 0.2);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

.quote-icon-large {
    font-size: 2.5rem;
    color: var(--alpine);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    animation: spinSlow 8s linear infinite;
}

.quality-quote-text {
    font-size: 1.3rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--alpine);
}

.quality-note {
    background: rgba(186, 142, 54, 0.1);
    padding: 20px;
    border-radius: 8px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.quality-note p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
    text-align: center;
}

/* Add spinSlow animation */
@keyframes spinSlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== QUALITY COMMITMENT MEDIA QUERIES ===== */
/* Tablet Devices (768px - 991px) */
@media (max-width: 991px) {
    .quality-section {
        padding: 40px;
    }

    .certification-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .certification-details {
        text-align: center;
    }

    .certification-details p {
        text-align: justify !important;
        text-justify: inter-word;
        hyphens: auto;
    }

    .certification-details h4 {
        display: none;
    }

    .certification-image {
        height: 250px;
    }

    .quality-pillars {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile Devices (576px - 767px) */
@media (max-width: 767px) {
    .quality-section {
        padding: 30px;
    }

    .quality-pillars {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .quality-quote-box {
        padding: 30px;
    }

    .quality-quote-text {
        font-size: 1.2rem;
    }

    .certification-details h4 {
        text-align: center;
        display: none;
    }

    .certification-details p {
        text-align: justify !important;
        text-justify: inter-word;
        hyphens: auto;
    }
}

/* Small Mobile Devices (480px - 575px) */
@media (max-width: 575px) {
    .quality-section {
        padding: 25px 20px;
    }

    .certification-badge {
        padding: 20px;
        max-width: 300px;
    }

    .badge-icon {
        font-size: 2.5rem;
    }

    .certification-badge h4 {
        font-size: 1.3rem;
    }

    .certification-image {
        height: 200px;
    }

    .certification-details h4 {
        font-size: 1.3rem;
        text-align: center;
        display: none;
    }

    .certification-details p {
        font-size: 1rem;
        text-align: justify !important;
        text-justify: inter-word;
        hyphens: auto;
    }
}

/* Extra Small Devices (320px - 479px) */
@media (max-width: 479px) {
    .quality-section {
        padding: 20px 15px;
    }

    .quality-quote-box {
        padding: 20px;
    }

    .quality-quote-text {
        font-size: 1.1rem;
    }

    .quote-icon-large {
        font-size: 2rem;
    }

    .quality-note {
        padding: 15px;
    }

    .quality-note p {
        font-size: 0.9rem;
    }

    .certification-details p {
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: justify !important;
        text-justify: inter-word;
        hyphens: auto;
    }

    .certification-details h4 {
        display: none;
    }
}









/* Why Binaax Middle East Section - Single Box Design */
.why-binaax-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.why-binaax-section.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Container styles */
.why-binaax-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.why-binaax-header {
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.why-binaax-header.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.why-binaax-header h2 {
    font-size: 2.2rem;
    color: var(--heavy-metal);
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.why-binaax-divider {
    width: 60px;
    height: 3px;
    margin: 0 auto;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--alpine), var(--kumera));
    transition: width 1s ease-out;
}

.why-binaax-header.scroll-visible .why-binaax-divider {
    width: 60px;
}

.why-binaax-single-box {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.why-binaax-single-box.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.box-content {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(186, 142, 54, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.box-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, rgba(186, 142, 54, 0.03), transparent);
    border-radius: 50%;
    transform: translate(50px, -50px);
}

.box-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, transparent, rgba(186, 142, 54, 0.03));
    border-radius: 50%;
    transform: translate(-30px, 50px);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
    border-radius: 8px;
    background: rgba(248, 249, 250, 0.5);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease, all 0.3s ease;
}

.feature-item.scroll-visible {
    opacity: 1;
    transform: translateX(0);
}

.feature-item:hover {
    background: rgba(186, 142, 54, 0.05);
    transform: translateX(5px);
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--alpine), var(--kumera));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(186, 142, 54, 0.15);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: rotate(10deg) scale(1.05);
    box-shadow: 0 8px 20px rgba(186, 142, 54, 0.2);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.feature-text {
    flex: 1;
}

.feature-text h4 {
    font-size: 1.1rem;
    color: var(--heavy-metal);
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.4;
}

.feature-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--heavy-metal);
    opacity: 0.8;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .why-binaax-section .container {
        max-width: 95%;
    }

    .box-content {
        padding: 35px;
    }
}

@media (max-width: 991px) {
    .why-binaax-section {
        padding: 70px 0;
    }

    .why-binaax-header h2 {
        font-size: 1.8rem;
    }

    .box-content {
        padding: 30px;
    }

    .feature-item {
        gap: 18px;
        padding: 14px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .feature-icon svg {
        width: 22px;
        height: 22px;
    }

    .feature-text h4 {
        font-size: 1.05rem;
    }

    .feature-text p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .why-binaax-section {
        padding: 60px 0;
    }

    .why-binaax-header {
        margin-bottom: 30px;
    }

    .why-binaax-header h2 {
        font-size: 1.6rem;
    }

    .why-binaax-divider {
        width: 50px;
        height: 2.5px;
    }

    .box-content {
        padding: 25px;
    }

    .features-list {
        gap: 15px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 15px;
        padding: 20px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .feature-text h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .feature-text p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

@media (max-width: 600px) {
    .why-binaax-section {
        padding: 50px 0;
    }

    .why-binaax-section .container {
        padding: 0 15px;
    }

    .why-binaax-header h2 {
        font-size: 1.4rem;
    }

    .box-content {
        padding: 20px;
    }

    .features-list {
        gap: 12px;
    }

    .feature-item {
        padding: 18px;
        gap: 12px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .feature-icon svg {
        width: 22px;
        height: 22px;
    }

    .feature-text h4 {
        font-size: 1rem;
    }

    .feature-text p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .why-binaax-section {
        padding: 40px 0;
    }

    .why-binaax-header h2 {
        font-size: 1.3rem;
    }

    .box-content {
        padding: 18px;
        border-radius: 10px;
    }

    .box-content::before,
    .box-content::after {
        display: none;
    }

    .feature-item {
        padding: 16px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
    }

    .feature-text h4 {
        font-size: 0.95rem;
    }

    .feature-text p {
        font-size: 0.85rem;
    }
}

/* Fix for touch devices */
@media (hover: none) and (pointer: coarse) {
    .feature-item:hover {
        transform: none;
        background: rgba(248, 249, 250, 0.5);
    }

    .feature-item:hover .feature-icon {
        transform: none;
        box-shadow: 0 5px 15px rgba(186, 142, 54, 0.15);
    }
}









/* ============================================
   SERVICES SECTION - UPDATED DESIGN
   ============================================ */

/* Services Section Container */
#services.section {
    padding: 0 0 0;
    background-color: #ffffff;
    position: relative;
    /* Remove old animation properties */
    opacity: 1;
    transform: none;
}

/* Add scroll transition for services section */
[data-scroll].section#services {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll].section#services.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    /* Remove old animation: animation: fadeInUp 0.8s ease-out; */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll="fade-down"].scroll-visible.section-title {
    opacity: 1;
    transform: translateY(0);
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--heavy-metal);
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--alpine), var(--kumera));
    border-radius: 2px;
}

.section-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--heavy-metal);
    margin-top: 20px;
    opacity: 0.9;
    /* Remove old animation: animation: fadeIn 1s ease-out 0.3s both; */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
}

[data-scroll="fade-down"].scroll-visible.section-title .section-description {
    opacity: 1;
    transform: translateY(0);
}

/* Services Content Layout */
.services-content {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

/* Service Row */
.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    /* Remove old animation properties */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll="fade-up"].scroll-visible.service-row {
    opacity: 1;
    transform: translateY(0);
}

/* Image Box with Animation - Fixed Height */
.service-image-box {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(22, 26, 23, 0.1);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: auto;
    max-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fcfcfc;
    /* Added background to blend better if any tiny space remains */
    /* Add scroll transition */
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease, all 0.4s ease;
}

[data-scroll="fade-left"].scroll-visible.service-image-box {
    opacity: 1;
    transform: translateX(0);
}

.service-row.service-row-reverse .service-image-box {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease, all 0.4s ease;
}

.service-row.service-row-reverse [data-scroll="fade-right"].scroll-visible.service-image-box {
    opacity: 1;
    transform: translateX(0);
}

.service-image-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(22, 26, 23, 0.15);
}

/* Fixed Image Size - No extra space */
.service-img {
    width: 100%;
    height: auto;
    max-height: 450px;
    /* Changed from fixed 500px to auto */
    object-fit: contain;
    /* Changed from cover to ensure full visibility */
    display: block;
    transition: transform 0.7s ease;
}

.service-image-box:hover .service-img {
    transform: scale(1.08);
}

/* Content Box */
.service-content-box {
    height: 100%;
    display: flex;
    align-items: center;
    /* Add scroll transition */
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll="fade-right"].scroll-visible.service-content-box {
    opacity: 1;
    transform: translateX(0);
}

.service-row.service-row-reverse .service-content-box {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-row.service-row-reverse [data-scroll="fade-left"].scroll-visible.service-content-box {
    opacity: 1;
    transform: translateX(0);
}

.service-info {
    width: 100%;
    padding: 20px 0;
    /* Remove old animation: animation: fadeIn 0.8s ease-out 0.2s both; */
}

/* Service Header with Icons */
.service-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--alpine), var(--kumera));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.service-icon:hover {
    transform: rotate(15deg) scale(1.1);
}

.service-info h3 {
    color: var(--heavy-metal);
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

.service-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--alpine), var(--kumera));
    border-radius: 2px;
}

/* Paragraphs */
.service-info p {
    color: var(--heavy-metal);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Quote */
.quote {
    background: #f8f8f8;
    border-left: 4px solid var(--alpine);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    position: relative;
    overflow: hidden;
    /* Remove old animation: animation: slideInRight 0.6s ease-out; */
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-scroll="fade-up"].scroll-visible.quote {
    opacity: 1;
    transform: translateX(0);
}

.quote::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: rgba(186, 142, 54, 0.05);
    border-radius: 50%;
}

.quote p {
    color: var(--heavy-metal);
    font-style: italic;
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.7;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Service Features */
.service-features {
    margin-top: 35px;
    background: #f8f8f8;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(186, 142, 54, 0.1);
    /* Remove old animation: animation: fadeInUp 0.6s ease-out 0.4s both; */
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(186, 142, 54, 0.1);
    transition: transform 0.3s ease;
    /* Remove old animation: animation: slideInRight 0.5s ease-out forwards; */
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease, all 0.3s ease;
}

[data-scroll="fade-up"].scroll-visible.feature {
    opacity: 1;
    transform: translateX(0);
}

.feature i {
    color: var(--alpine);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateX(10px);
}

.feature:hover i {
    transform: scale(1.2);
}

.feature:last-child {
    border-bottom: none;
}

.feature span:last-child {
    color: var(--heavy-metal);
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Tablet Devices (768px - 991px) */
@media (max-width: 991px) {
    #services.section {
        padding: 70px 0;
    }

    .section-title {
        margin-bottom: 60px;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .section-description {
        font-size: 1.1rem;
        text-align: justify;
    }

    .services-content {
        gap: 70px;
    }

    .service-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-image-box {
        height: auto;
        max-height: 350px;
        order: 1;
    }

    .service-img {
        height: auto;
        max-height: 350px;
        object-fit: contain;
    }

    .service-content-box {
        order: 2;
        padding: 0;
    }

    .service-info {
        padding: 0;
    }

    /* FIXED: Remove text-align center and apply justify */
    .service-row:nth-child(1) .service-content-box .service-info p:nth-child(2),
    .service-row:nth-child(1) .service-content-box .service-info p:nth-child(3),
    .service-row:nth-child(2) .service-content-box .service-info p:nth-child(2),
    .service-row:nth-child(2) .service-content-box .service-info p:nth-child(3),
    .service-row:nth-child(3) .service-content-box .service-info p:nth-child(3),
    .service-row:nth-child(3) .service-content-box .service-info p:nth-child(4) {
        text-align: justify !important;
    }

    /* Apply justify to all paragraphs in service info */
    .service-info p {
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
    }

    .service-info h3 {
        font-size: 1.8rem;
        text-align: left;
    }

    .service-header {
        gap: 15px;
        margin-bottom: 20px;
        justify-content: flex-start;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .feature {
        padding: 10px 0;
    }

    .feature span:last-child {
        text-align: left;
    }
}

/* Mobile Devices (576px - 767px) */
@media (max-width: 767px) {
    #services.section {
        padding: 50px 0;
    }

    .container {
        padding: 0 15px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .section-description {
        font-size: 1rem;
        line-height: 1.6;
        text-align: justify;
    }

    .services-content {
        gap: 50px;
    }

    .service-row {
        gap: 30px;
    }

    .service-image-box {
        height: auto;
        max-height: 300px;
        border-radius: 10px;
    }

    .service-img {
        height: auto;
        max-height: 300px;
        object-fit: cover;
    }

    /* FIXED: Remove text-align center and apply justify */
    .service-row:nth-child(1) .service-content-box .service-info p:nth-child(2),
    .service-row:nth-child(1) .service-content-box .service-info p:nth-child(3),
    .service-row:nth-child(2) .service-content-box .service-info p:nth-child(2),
    .service-row:nth-child(2) .service-content-box .service-info p:nth-child(3),
    .service-row:nth-child(3) .service-content-box .service-info p:nth-child(3),
    .service-row:nth-child(3) .service-content-box .service-info p:nth-child(4) {
        text-align: justify !important;
    }

    /* Apply justify to all paragraphs */
    .service-info p {
        text-align: justify;
        text-justify: inter-word;
    }

    .service-info h3 {
        font-size: 1.6rem;
        text-align: left;
    }

    .service-header {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }

    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .service-info p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .quote {
        padding: 20px;
        margin: 20px 0;
        border-radius: 0 10px 10px 0;
    }

    .quote p {
        font-size: 1.1rem;
        line-height: 1.5;
        text-align: center;
    }

    .service-features {
        padding: 20px;
        margin-top: 20px;
        border-radius: 10px;
    }

    .feature {
        padding: 8px 0;
    }

    .feature span:last-child {
        font-size: 0.95rem;
        text-align: left;
    }
}

/* Small Mobile Devices (480px - 575px) */
@media (max-width: 575px) {
    #services.section {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .section-description {
        font-size: 0.95rem;
        text-align: justify;
    }

    .services-content {
        gap: 40px;
    }

    .service-row {
        gap: 25px;
    }

    .service-image-box {
        height: auto;
        max-height: 250px;
    }

    .service-img {
        height: auto;
        max-height: 250px;
        object-fit: cover;
    }

    /* FIXED: Remove text-align center and apply justify */
    .service-row:nth-child(1) .service-content-box .service-info p:nth-child(2),
    .service-row:nth-child(1) .service-content-box .service-info p:nth-child(3),
    .service-row:nth-child(2) .service-content-box .service-info p:nth-child(2),
    .service-row:nth-child(2) .service-content-box .service-info p:nth-child(3),
    .service-row:nth-child(3) .service-content-box .service-info p:nth-child(3),
    .service-row:nth-child(3) .service-content-box .service-info p:nth-child(4) {
        text-align: justify !important;
    }

    .service-info p {
        text-align: justify;
    }

    .service-info h3 {
        font-size: 1.4rem;
        text-align: left;
    }

    .service-header {
        gap: 12px;
        justify-content: flex-start;
    }

    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .service-info p {
        font-size: 0.95rem;
    }

    .quote {
        padding: 15px;
        margin: 15px 0;
        border-radius: 0 8px 8px 0;
    }

    .quote p {
        font-size: 1rem;
        text-align: center;
    }

    .service-features {
        padding: 15px;
        border-radius: 8px;
    }

    .feature {
        padding: 6px 0;
    }

    .feature span:last-child {
        font-size: 0.9rem;
        text-align: left;
    }
}

/* Extra Small Devices (320px - 479px) */
@media (max-width: 479px) {
    .section-title h2 {
        font-size: 1.4rem;
    }

    .section-description {
        font-size: 0.9rem;
        text-align: justify;
    }

    .service-image-box {
        height: auto;
        max-height: 200px;
        border-radius: 8px;
    }

    .service-img {
        height: auto;
        max-height: 200px;
        object-fit: cover;
    }

    /* FIXED: Remove text-align center and apply justify */
    .service-row:nth-child(1) .service-content-box .service-info p:nth-child(2),
    .service-row:nth-child(1) .service-content-box .service-info p:nth-child(3),
    .service-row:nth-child(2) .service-content-box .service-info p:nth-child(2),
    .service-row:nth-child(2) .service-content-box .service-info p:nth-child(3),
    .service-row:nth-child(3) .service-content-box .service-info p:nth-child(3),
    .service-row:nth-child(3) .service-content-box .service-info p:nth-child(4) {
        text-align: justify !important;
    }

    .service-info p {
        text-align: justify;
    }

    .service-info h3 {
        font-size: 1.3rem;
        text-align: left;
    }

    .service-header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        justify-content: flex-start;
    }

    .service-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .service-info p {
        font-size: 0.9rem;
    }

    .quote p {
        font-size: 0.95rem;
        text-align: center;
    }

    .feature span:last-child {
        font-size: 0.85rem;
        text-align: left;
    }
}

/* Fix for alternate layout on mobile */
@media (max-width: 991px) {
    .service-row.service-row-reverse .service-image-box {
        order: 1;
    }

    .service-row.service-row-reverse .service-content-box {
        order: 2;
    }
}

/* Fix for feature list on small screens */
@media (max-width: 575px) {
    .feature {
        align-items: flex-start;
    }
}

/* Fix for image hover effects on mobile */
@media (hover: none) and (pointer: coarse) {
    .service-image-box:hover {
        transform: none;
        box-shadow: 0 15px 35px rgba(22, 26, 23, 0.1);
    }

    .service-image-box:hover .service-img {
        transform: none;
    }

    .service-icon:hover,
    .feature:hover,
    .feature:hover i {
        transform: none;
    }
}
















/* ============================================
   CONTACT SECTION - WITH SCROLL TRANSITIONS
============================================ */

/* Contact Section */
#contact.section {
    padding: 80px 0;
    background-color: #ffffff;
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

/* Scroll animation for the entire section */
[data-scroll].section#contact {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll].section#contact.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll="fade-down"].scroll-visible.section-title {
    opacity: 1;
    transform: translateY(0);
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--heavy-metal);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--alpine), var(--kumera));
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--heavy-metal);
    max-width: 800px;
    margin: 40px auto 0;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
}

[data-scroll="fade-down"].scroll-visible.section-title .section-description {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   CONTACT FORM SECTION
============================================ */
.contact-form-section {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(186, 142, 54, 0.1);
    margin-bottom: 60px;
    opacity: 1;
}

/* Scroll animation */
.contact-form-section[data-scroll="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-form-section[data-scroll="fade-up"].scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.form-title {
    font-size: 1.8rem;
    color: var(--heavy-metal);
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-title i {
    color: var(--alpine);
    font-size: 1.5rem;
}

.form-description {
    color: var(--heavy-metal);
    opacity: 0.8;
    font-size: 1rem;
    margin-bottom: 30px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
    opacity: 1;
}

/* Scroll animation */
.form-group[data-scroll="fade-up"] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.form-group[data-scroll="fade-up"].scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border: 2px solid rgba(186, 142, 54, 0.15);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--heavy-metal);
    background: #ffffff;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--alpine);
    box-shadow: 0 0 0 3px rgba(186, 142, 54, 0.1);
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--alpine);
    font-size: 1.2rem;
    pointer-events: none;
}

.form-group textarea+i {
    top: 20px;
    transform: none;
}

.form-group textarea {
    padding-left: 45px;
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.submit-btn {
    background: linear-gradient(90deg, var(--kumera) 0%, var(--alpine) 100%);
    color: var(--bianca);
    border: none;
    padding: 16px 35px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
    opacity: 1;
}

/* Scroll animation */
.submit-btn[data-scroll="fade-up"] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, all 0.3s ease;
}

.submit-btn[data-scroll="fade-up"].scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.submit-btn:hover {
    background: linear-gradient(90deg, var(--alpine) 0%, var(--kumera) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(162, 115, 32, 0.2);
}

/* Button Loading State */
.submit-btn.loading {
    background: linear-gradient(90deg, #8a6d3b 0%, #b68e36 100%);
    pointer-events: none;
}

.submit-btn.loading .btn-text {
    color: rgba(255, 255, 255, 0.8);
}

.submit-btn.loading:hover {
    transform: none;
    box-shadow: none;
}

/* Button Text */
.btn-text {
    transition: all 0.3s ease;
}

/* ============================================
   FORM MESSAGE STYLES
============================================ */

.message-container {
    margin: 20px 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 0;
    overflow: hidden;
}

.message-container.show {
    opacity: 1;
    transform: translateY(0);
    max-height: 300px;
}

.message-box {
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    animation: messageSlideIn 0.5s ease-out;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes checkmarkAnimation {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.2) rotate(-45deg);
    }

    100% {
        transform: scale(1) rotate(-45deg);
        opacity: 1;
    }
}

@keyframes crossAnimation {
    0% {
        transform: scale(0) rotate(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2) rotate(-10deg);
    }

    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

@keyframes pulseSuccess {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
}

@keyframes pulseError {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
}

/* Success Message */
.message-success {
    background: linear-gradient(135deg, rgba(212, 255, 222, 0.95) 0%, rgba(240, 255, 244, 0.95) 100%);
    border-color: #28a745;
    border-left: 5px solid #28a745;
}

.message-success .message-icon {
    color: #28a745;
    animation: checkmarkAnimation 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.message-success .message-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(40, 167, 69, 0.1);
    z-index: -1;
    animation: pulseSuccess 2s infinite;
}

/* Error Message */
.message-error {
    background: linear-gradient(135deg, rgba(255, 234, 234, 0.95) 0%, rgba(255, 245, 245, 0.95) 100%);
    border-color: #dc3545;
    border-left: 5px solid #dc3545;
}

.message-error .message-icon {
    color: #dc3545;
    animation: crossAnimation 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.message-error .message-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.1);
    z-index: -1;
    animation: pulseError 2s infinite;
}

/* Message Icon */
.message-icon {
    position: relative;
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.message-icon i {
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
}

/* Message Content */
.message-content {
    flex: 1;
    padding-right: 10px;
}

.message-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #155724;
    display: flex;
    align-items: center;
    gap: 8px;
}

.message-error .message-title {
    color: #721c24;
}

.message-title i {
    font-size: 0.9rem;
}

.message-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #0d4521;
    opacity: 0.95;
}

.message-error .message-text {
    color: #5a1a1a;
}

/* Close Button */
.message-close {
    background: none;
    border: none;
    color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    font-size: 1.4rem;
    transition: all 0.2s ease;
    padding: 5px;
    margin-left: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    align-self: flex-start;
}

.message-close:hover {
    color: rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.05);
    transform: rotate(90deg);
}

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes runningLine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */

/* Tablet Devices (1024px and below) */
@media (max-width: 1024px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .message-box {
        padding: 18px;
        gap: 15px;
    }

    .message-icon {
        width: 50px;
        height: 50px;
    }

    .message-icon i {
        font-size: 1.6rem;
    }
}

/* Tablet Devices (768px and below) */
@media (max-width: 768px) {
    #contact.section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .contact-form-section {
        padding: 30px 25px;
        margin-bottom: 40px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .submit-btn {
        max-width: 100%;
    }

    /* Message Box Responsive */
    .message-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 20px;
        gap: 15px;
    }

    .message-icon {
        width: 60px;
        height: 60px;
    }

    .message-icon i {
        font-size: 2rem;
    }

    .message-content {
        padding-right: 0;
    }

    .message-title {
        justify-content: center;
        font-size: 1.3rem;
    }

    .message-text {
        font-size: 1.05rem;
    }

    .message-close {
        position: absolute;
        top: 15px;
        right: 15px;
        align-self: auto;
        margin: 0;
    }

    .message-success,
    .message-error {
        border-left: 5px solid;
        border-top: none;
    }
}

/* Mobile Devices (576px and below) */
@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .contact-form-section {
        padding: 25px 20px;
        margin-bottom: 30px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 12px 12px 40px;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 14px 25px;
        font-size: 0.95rem;
    }

    /* Message Box Mobile */
    .message-box {
        padding: 20px 15px;
        gap: 12px;
    }

    .message-icon {
        width: 50px;
        height: 50px;
    }

    .message-icon i {
        font-size: 1.6rem;
    }

    .message-title {
        font-size: 1.1rem;
    }

    .message-text {
        font-size: 0.95rem;
    }
}

/* Small Mobile Devices (479px and below) */
@media (max-width: 479px) {
    .section-title h2 {
        font-size: 1.6rem;
    }

    .contact-form-section {
        padding: 20px 15px;
    }

    .form-title {
        font-size: 1.3rem;
    }

    .form-description {
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 12px 20px;
    }

    /* Message Box Small Mobile */
    .message-box {
        padding: 18px 12px;
    }

    .message-title {
        font-size: 1rem;
    }

    .message-text {
        font-size: 0.9rem;
    }
}

/* Fix for mobile hover effects */
@media (hover: none) and (pointer: coarse) {
    .contact-form-section:hover {
        transform: none;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    }

    .submit-btn:hover {
        transform: none;
        box-shadow: none;
    }

    .message-close:hover {
        transform: none;
        background: none;
    }
}

/* Loading Spinner Animation */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
















/* ============================================
   FOOTER - CLEAN & MODERN DESIGN
============================================ */

/* Footer Base */
footer {
    background: linear-gradient(135deg, var(--heavy-metal), #2a2f2c);
    color: var(--bianca);
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--alpine), transparent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Content Layout */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out;
}

/* Footer Info Section */
.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-5px);
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--alpine);
    box-shadow: 0 4px 15px rgba(186, 142, 54, 0.3);
}

.company-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bianca);
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.company-description {
    color: rgba(250, 246, 235, 0.8);
    line-height: 1.7;
    text-align: justify;
    font-size: 1rem;
    margin: 0;
}

.footer-certification {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(186, 142, 54, 0.1);
    padding: 10px 15px;
    border-radius: 6px;
    border-left: 3px solid var(--alpine);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.footer-certification::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(186, 142, 54, 0.2),
            transparent);
    animation: runningLine 3s ease-in-out infinite;
}

.footer-certification i {
    color: var(--alpine);
    font-size: 1rem;
    position: relative;
    z-index: 1;
    animation: pulse 2s infinite;
}

.footer-certification span {
    color: var(--bianca);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

/* Footer Links */
.footer-links,
.footer-contact,
.footer-social {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.footer-links {
    animation-delay: 0.3s;
}

.footer-contact {
    animation-delay: 0.4s;
}

.footer-social {
    animation-delay: 0.5s;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1.2rem;
    color: var(--bianca);
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--alpine), var(--kumera));
    border-radius: 1px;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
    animation: slideInRight 0.5s ease-out forwards;
    opacity: 0;
}

.footer-links li:nth-child(1) {
    animation-delay: 0.3s;
}

.footer-links li:nth-child(2) {
    animation-delay: 0.4s;
}

.footer-links li:nth-child(3) {
    animation-delay: 0.5s;
}

.footer-links li:nth-child(4) {
    animation-delay: 0.6s;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(250, 246, 235, 0.8);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.footer-links a:hover {
    color: var(--alpine);
    transform: translateX(5px);
}

.footer-links i {
    font-size: 0.8rem;
    color: var(--alpine);
    transition: transform 0.3s ease;
}

.footer-links a:hover i {
    transform: translateX(3px);
}



/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.contact-item:nth-child(1) {
    animation-delay: 0.3s;
}

.contact-item:nth-child(2) {
    animation-delay: 0.4s;
}

.contact-item:nth-child(3) {
    animation-delay: 0.5s;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    color: var(--alpine);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 20px;
    transition: transform 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.2);
}

.contact-link {
    color: var(--bianca);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-item span {
    display: block;
    color: rgba(250, 246, 235, 0.7);
    font-size: 0.85rem;
    margin-bottom: 3px;
    font-weight: 500;
}

.contact-item p {
    color: var(--bianca);
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

/* Footer Social */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(250, 246, 235, 0.8);
    text-decoration: none;
    padding: 10px 15px;
    background: rgba(186, 142, 54, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(186, 142, 54, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.social-link:nth-child(1) {
    animation-delay: 0.3s;
}

.social-link:nth-child(2) {
    animation-delay: 0.4s;
}

.social-link:nth-child(3) {
    animation-delay: 0.5s;
}

.social-link:nth-child(4) {
    animation-delay: 0.6s;
}

.social-link:hover {
    background: rgba(186, 142, 54, 0.15);
    border-color: var(--alpine);
    color: var(--bianca);
    transform: translateY(-3px);
}

.social-link i {
    font-size: 1.1rem;
    width: 20px;
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2);
}

.social-link span {
    font-size: 0.9rem;
    font-weight: 500;
}

.website-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(186, 142, 54, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(186, 142, 54, 0.1);
    margin-top: 10px;
    animation: fadeIn 0.8s ease-out 0.7s both;
    transition: all 0.3s ease;
}

.website-link:hover {
    background: rgba(186, 142, 54, 0.15);
    border-color: var(--alpine);
    transform: translateY(-2px);
}

.website-link i {
    color: var(--alpine);
    font-size: 1.1rem;
}

.website-link a {
    color: var(--bianca);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.website-link a:hover {
    color: var(--alpine);
    text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(186, 142, 54, 0.2);
    animation: fadeIn 0.8s ease-out 0.8s both;
}

.copyright {
    text-align: center;
    color: rgba(250, 246, 235, 0.7);
}

.copyright p {
    margin: 8px 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.copyright p:first-child {
    font-weight: 500;
}

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes runningLine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ============================================
   RESPONSIVE DESIGN - IMPROVED MOBILE VIEW
============================================ */
@media (max-width: 1024px) {
    .footer-content {
        gap: 30px;
    }

    .social-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    footer {
        padding: 50px 0 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Change: Remove text-align center and keep left alignment */
    .footer-content {
        text-align: left;
        /* Changed from center */
    }

    .footer-info {
        order: 1;
    }

    .footer-links {
        order: 2;
    }

    .footer-contact {
        order: 3;
    }

    .footer-social {
        order: 4;
    }

    .footer-logo {
        justify-content: flex-start;
        /* Changed from center */
        flex-direction: row;
        /* Changed from column */
        gap: 15px;
        /* Changed from 10px */
    }

    .company-description {
        text-align: justify;
        /* Changed from center */
        padding: 0;
        /* Changed from 0 10px */
    }

    .footer-certification {
        justify-content: flex-start;
        /* Changed from center */
        margin-left: 0;
        /* Changed from auto */
        margin-right: 0;
        /* Changed from auto */
        max-width: 100%;
        /* Changed from 300px */
    }

    .footer-links h4::after,
    .footer-contact h4::after,
    .footer-social h4::after {
        left: 0;
        /* Changed from 50% */
        transform: translateX(0);
        /* Changed from translateX(-50%) */
    }

    .footer-links a {
        justify-content: flex-start;
        /* Changed from center */
        padding: 8px 0;
        /* Changed from 10px */
    }

    .footer-links a:hover {
        transform: translateX(5px);
        /* Changed from 0 */
        background: transparent;
        /* Changed from rgba(186, 142, 54, 0.1) */
        border-radius: 0;
        /* Changed from 6px */
    }

    .contact-item {
        justify-content: flex-start;
        /* Changed from center */
        flex-direction: row;
        /* Changed from column */
        gap: 15px;
        /* Changed from 5px */
        text-align: left;
        /* Changed from center */
        padding: 0;
        /* Changed from 10px */
        border-radius: 0;
        /* Changed from 8px */
        background: transparent;
        /* Changed from rgba(186, 142, 54, 0.05) */
        margin-bottom: 20px;
        /* Changed from 10px */
    }

    .contact-item:hover {
        transform: translateX(5px);
        /* Changed from 0 */
        background: transparent;
        /* Changed from rgba(186, 142, 54, 0.1) */
    }

    .contact-item i {
        margin-top: 3px;
        /* Changed from 0 */
    }

    .social-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .social-link {
        flex-direction: row;
        /* Changed from column */
        text-align: left;
        /* Changed from center */
        padding: 10px 15px;
        /* Changed from 15px 10px */
        gap: 10px;
        /* Changed from 8px */
    }

    .social-link span {
        font-size: 0.9rem;
        /* Changed from 0.85rem */
    }

    .social-link:hover {
        transform: translateY(-3px);
        /* Changed from -2px */
    }

    .website-link {
        justify-content: flex-start;
        /* Changed from center */
        flex-direction: row;
        /* Changed from column */
        gap: 10px;
        /* Changed from 8px */
        padding: 12px 15px;
        /* Changed from 15px */
    }

    .copyright p {
        font-size: 0.85rem;
        padding: 0;
    }
}

@media (max-width: 576px) {
    footer {
        padding: 40px 0 20px;
    }

    .container {
        padding: 0 15px;
    }

    .footer-content {
        gap: 30px;
    }

    .company-name {
        font-size: 1.8rem;
    }

    .company-description {
        font-size: 0.95rem;
        text-align: justify;
        line-height: 1.6;
    }

    .footer-links h4,
    .footer-contact h4,
    .footer-social h4 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    .social-link {
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px 15px;
    }

    .social-link i {
        width: 25px;
        text-align: center;
    }

    .copyright p {
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    .footer-logo img {
        width: 45px;
        height: 45px;
    }

    .company-name {
        font-size: 1.6rem;
    }

    .footer-links a {
        padding: 8px 0;
        font-size: 0.95rem;
    }

    .social-link {
        padding: 10px 12px;
    }

    .social-link span {
        font-size: 0.8rem;
    }

    .contact-item p {
        font-size: 0.95rem;
    }
}

/* Fix for mobile hover effects */
@media (hover: none) and (pointer: coarse) {

    .footer-logo:hover,
    .footer-links a:hover,
    .contact-item:hover,
    .social-link:hover,
    .website-link:hover {
        transform: none;
    }

    .footer-links a:hover {
        background: transparent;
    }

    .contact-item:hover {
        background: transparent;
    }

    .social-link:hover i,
    .contact-item:hover i {
        transform: none;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    width: 60px !important;
    height: 60px !important;
    background: #25D366 !important;
    border-radius: 50% !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Icon */
.whatsapp-icon {
    width: 34px !important;
    height: 34px !important;
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

/* Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 52px !important;
        height: 52px !important;
        right: 15px !important;
        bottom: 15px !important;
    }

    .whatsapp-icon {
        width: 28px !important;
        height: 28px !important;
    }
}