/* Home section styles */

.home {
    padding: 80px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hom {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 50px;
}

.home .left {
    flex: 1;
}

.home .right {
    flex: 1;
    text-align: center;
}

#wel {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

#par {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

#get {
    display: inline-block;
    padding: 15px 30px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

#get:hover {
    background: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.3);
}

#pic {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 3D Animation Styles */
.image-container {
    position: relative;
    display: inline-block;
}

.animation-overlay {
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 10;
}

.floating-animation {
    width: 120px;
    height: 120px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(5deg);
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

/* Logo Display Styles */
.logo-display {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.nova-logo-img {
    width: 300px;
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 123, 255, 0.3));
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.nova-logo-img:hover {
    transform: scale(1.1);
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    50% {
        transform: translateY(0px) rotate(0deg);
    }
    75% {
        transform: translateY(-5px) rotate(-2deg);
    }
}

/* Mobile responsive for logo */
@media (max-width: 768px) {
    .nova-logo-img {
        width: 250px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .nova-logo {
        width: 200px;
        height: 120px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .home {
        padding: 40px 0;
    }
    
    .hom {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    #wel {
        font-size: 2rem;
    }
    
    #par {
        font-size: 1rem;
    }
    
    .home .left {
        order: 2;
    }
    
    .home .right {
        order: 1;
    }
    
    #get {
        font-size: 1rem;
        padding: 12px 25px;
    }
}

/* 3D Floating Animation Styles */
.animated-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.floating-3d-image {
    width: 350px;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: float3D 4s ease-in-out infinite;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    border: none;
    outline: none;
}

.floating-3d-image:hover {
    animation-play-state: paused;
    transform: scale(1.05) rotateY(15deg);
}

@keyframes float3D {
    0%, 100% {
        transform: translateX(-20px) translateY(0px) rotateY(-5deg);
    }
    25% {
        transform: translateX(10px) translateY(-15px) rotateY(5deg);
    }
    50% {
        transform: translateX(20px) translateY(0px) rotateY(-5deg);
    }
    75% {
        transform: translateX(-10px) translateY(-15px) rotateY(5deg);
    }
}

/* Mobile responsive for animated image/video */
@media (max-width: 768px) {
    .animated-image-container {
        height: 220px;
    }
    
    .floating-3d-image {
        width: 250px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .animated-image-container {
        height: 180px;
    }
    
    .floating-3d-image {
        width: 200px;
        height: 140px;
    }
}

/* Video specific styles */
video.floating-3d-image {
    background: transparent;
}

video.floating-3d-image::-webkit-media-controls {
    display: none !important;
}

video.floating-3d-image::-webkit-media-controls-panel {
    display: none !important;
}

/* Main video styles - reduced size */
video.main-video {
    width: 280px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    animation: float3D 4s ease-in-out infinite;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    border: none;
    outline: none;
}

video.main-video:hover {
    animation-play-state: paused;
    transform: scale(1.05) rotateY(10deg);
}

/* Mobile responsive for main video */
@media (max-width: 768px) {
    video.main-video {
        width: 220px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    video.main-video {
        width: 180px;
        height: 130px;
    }
}