/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-icon {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--color2-amber);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in {
    opacity: 0;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
}

.scale-up {
    opacity: 0;
    transform: scale(0.8);
}

/* Hover Effects */
.team-card {
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-photo {
    position: relative;
    overflow: hidden;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.social-icon {
    color: white;
    margin: 0 10px;
    font-size: 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.team-card:hover .social-icon {
    transform: translateY(0);
    opacity: 1;
}

/* Social Icons Stagger */
.team-card:hover .social-icon:nth-child(1) { transition-delay: 0s; }
.team-card:hover .social-icon:nth-child(2) { transition-delay: 0.1s; }
.team-card:hover .social-icon:nth-child(3) { transition-delay: 0.2s; }
.team-card:hover .social-icon:nth-child(4) { transition-delay: 0.3s; }

/* Gallery Animations */
.bento-item {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.bento-item:hover {
    transform: scale(1.02);
}

/* Button Animations */
.button-style-1 a,
.button-style-2 a {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.button-style-1 a:before,
.button-style-2 a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.button-style-1 a:hover:before,
.button-style-2 a:hover:before {
    left: 100%;
}

/* Founder Section */
.founder-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--color2-amber);
    opacity: 0.1;
}

.decoration-1 {
    top: -30px;
    left: -30px;
    transform: rotate(-15deg);
}

.decoration-2 {
    bottom: -30px;
    right: -30px;
    transform: rotate(15deg);
}

/* Slider Animations */
.slider-content {
    opacity: 0;
}

.slider-heading,
.slider-text,
.slider-button {
    opacity: 0;
    transform: translateY(30px);
}
