/* ===================================
   3D AC UNIT ILLUSTRATION (Hero Section)
   =================================== */
.ac-3d-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    animation: floatContainer 6s ease-in-out infinite;
}

@keyframes floatContainer {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.ac-unit {
    position: relative;
    width: 320px;
    height: 200px;
    transform-style: preserve-3d;
    transform: rotateX(-15deg) rotateY(25deg);
    animation: acRotate 20s ease-in-out infinite;
}

@keyframes acRotate {

    0%,
    100% {
        transform: rotateX(-15deg) rotateY(25deg);
    }

    50% {
        transform: rotateX(-10deg) rotateY(30deg);
    }
}

.ac-front {
    position: absolute;
    width: 320px;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.8);
    transform: translateZ(40px);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.ac-top {
    position: absolute;
    width: 320px;
    height: 80px;
    background: linear-gradient(180deg, #dee2e6 0%, #ced4da 100%);
    border-radius: 12px 12px 0 0;
    transform-origin: top;
    transform: rotateX(90deg) translateZ(120px);
}

.ac-side {
    position: absolute;
    width: 80px;
    height: 200px;
    background: linear-gradient(90deg, #ced4da 0%, #adb5bd 100%);
    border-radius: 0 12px 12px 0;
    transform-origin: right;
    transform: rotateY(90deg) translateZ(280px);
}

.ac-display {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border-radius: 6px;
    animation: displayGlow 3s ease-in-out infinite;
}

@keyframes displayGlow {

    0%,
    100% {
        opacity: 0.8;
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
    }
}

.ac-vents {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 80px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vent-line {
    width: 100%;
    height: 3px;
    background: rgba(135, 206, 235, 0.5);
    border-radius: 2px;
    animation: ventFlow 2s ease-in-out infinite;
}

@keyframes ventFlow {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
        transform: scaleX(1.05);
    }
}

.ac-logo {
    position: absolute;
    top: 60px;
    left: 30px;
    font-size: 32px;
    color: rgba(135, 206, 235, 0.8);
    animation: snowflakeRotate 8s linear infinite;
}

@keyframes snowflakeRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.airflow-container {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.airflow-particle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.8) 0%, rgba(135, 206, 235, 0) 70%);
    border-radius: 50%;
    filter: blur(2px);
}

.ap-1 {
    top: 30%;
    left: 60%;
    animation: airflowMove1 4s infinite;
}

.ap-2 {
    top: 40%;
    left: 65%;
    animation: airflowMove2 5s infinite 0.5s;
}

.ap-3 {
    top: 50%;
    left: 62%;
    animation: airflowMove3 4.5s infinite 1s;
}

@keyframes airflowMove1 {
    0% {
        transform: translate(0, 0) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translate(-200px, 100px) scale(1.5);
        opacity: 0;
    }
}

@keyframes airflowMove2 {
    0% {
        transform: translate(0, 0) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translate(-180px, 80px) scale(1.3);
        opacity: 0;
    }
}

@keyframes airflowMove3 {
    0% {
        transform: translate(0, 0) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translate(-220px, 120px) scale(1.6);
        opacity: 0;
    }
}

/* ===================================
   COMPANY 3D BUILDING (About Section)
   =================================== */
.company-3d-scene {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 2000px;
    transform-style: preserve-3d;
}

.building-container {
    position: relative;
    width: 220px;
    height: 380px;
    transform-style: preserve-3d;
    transform: rotateX(-15deg) rotateY(35deg);
    animation: buildingFloat 10s ease-in-out infinite;
}

@keyframes buildingFloat {

    0%,
    100% {
        transform: rotateX(-15deg) rotateY(35deg) translateY(0);
    }

    50% {
        transform: rotateX(-10deg) rotateY(45deg) translateY(-20px);
    }
}

.building-core {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.face {
    position: absolute;
    background: #ffffff;
    border: 1px solid #e1f5fe;
    backface-visibility: hidden;
}

.face-front {
    width: 220px;
    height: 380px;
    transform: translateZ(60px);
    background: linear-gradient(180deg, #ffffff 0%, #f0f8ff 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 12px;
}

.face-right {
    width: 120px;
    height: 380px;
    transform: rotateY(90deg) translateZ(160px);
    background: linear-gradient(180deg, #f0f8ff 0%, #e1f5fe 100%);
}

.face-top {
    width: 220px;
    height: 120px;
    transform: rotateX(90deg) translateZ(60px);
    background: #f8f9fa;
}

.building-logo {
    background: #1e3a8a;
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 3px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
}

.window-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    flex-grow: 1;
}

.window {
    background: rgba(135, 206, 235, 0.2);
    border-radius: 2px;
    animation: windowPulse 5s infinite;
}

@keyframes windowPulse {

    0%,
    100% {
        background: rgba(135, 206, 235, 0.2);
    }

    50% {
        background: rgba(135, 206, 235, 0.6);
        box-shadow: 0 0 10px rgba(135, 206, 235, 0.4);
    }
}

.window:nth-child(odd) {
    animation-delay: 1s;
}

.window:nth-child(3n) {
    animation-delay: 2.5s;
}

.roof-ac {
    position: absolute;
    top: 20px;
    left: 40px;
    width: 50px;
    height: 40px;
    background: #e2e8f0;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(10px);
}

.ac-fan {
    width: 25px;
    height: 25px;
    border: 3px dashed #64748b;
    border-radius: 50%;
    animation: fanSpin 0.8s linear infinite;
}

@keyframes fanSpin {
    to {
        transform: rotate(360deg);
    }
}

.building-ground {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) rotateX(90deg);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.maintenance-tools i {
    color: #4A90E2;
    opacity: 0.8;
}

/* Ensure centering in the about section */
.about-image-side {
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}