/* 3D Team Card Effects */
.card-3d {
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-3d:hover {
    transform: translateY(-10px) rotateX(10deg);
}

.team-block_one-inner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.5s ease;
}

.team-block_one-image {
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.team-block_one-inner:hover .team-block_one-image {
    transform: scale(1.05) translateZ(30px);
}

.animate-icons a {
    transition: all 0.3s ease;
    opacity: 0.7;
}

.animate-icons a:hover {
    transform: translateY(-5px) scale(1.1);
    opacity: 1;
}

/* 3D Stats Counter Effects */
.animate-counter {
    transform-style: preserve-3d;
    transition: all 0.5s ease;
}

.animate-counter:hover {
    transform: translateZ(20px) scale(1.05);
}

.counter-block_one-counter {
    font-size: 3.5em;
    background: linear-gradient(45deg, #2196F3, #00BCD4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.1);
}

/* 3D Awards Section */
.award-block_one {
    perspective: 1000px;
}

.award-block_one-inner {
    transform-style: preserve-3d;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
    background: linear-gradient(45deg, #2c3e50, #3498db);
    border-radius: 15px;
    overflow: hidden;
}

.award-block_one-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 20%,
        rgba(255, 255, 255, 0.1) 40%,
        rgba(255, 255, 255, 0.3) 60%,
        transparent 80%
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite linear;
    pointer-events: none;
}

.award-block_one-inner:hover {
    transform: translateZ(20px) rotateX(10deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(52, 152, 219, 0.5),
                0 0 40px rgba(52, 152, 219, 0.3);
}

.award-block_one-inner .icon {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    position: relative;
}

.award-block_one-inner:hover .icon {
    transform: translateZ(30px) scale(1.1);
}

.award-block_one-inner .count {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateZ(10px);
}

.award-block_one-inner .title {
    color: #ecf0f1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateZ(5px);
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.award-block_one-inner.float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.award-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(52, 152, 219, 0.4),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.award-block_one-inner:hover .award-glow {
    opacity: 1;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-icon {
    animation: float 3s ease-in-out infinite;
}

/* Glowing Effect */
@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(66, 133, 244, 0.3); }
    50% { box-shadow: 0 0 20px rgba(66, 133, 244, 0.6); }
    100% { box-shadow: 0 0 5px rgba(66, 133, 244, 0.3); }
}

.glow-effect {
    animation: glow 2s ease-in-out infinite;
}

/* 3D Text Effect */
.animate-title {
    transform-style: preserve-3d;
    transition: all 0.5s ease;
}

.animate-title:hover {
    transform: translateZ(20px);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonial Section */
.testimonial-block_one-inner {
    transform-style: preserve-3d;
    transition: all 0.5s ease;
}

.testimonial-block_one-inner:hover {
    transform: translateZ(30px) scale(1.02);
}

/* Testimonial Styles */
.testimonial-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a2a3d 0%, #2c3e50 100%);
    position: relative;
    overflow: hidden;
}

.testimonial-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.testimonial-item {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(0.95);
}

.testimonial-item.active {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.testimonial-inner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.testimonial-inner:hover {
    transform: translateY(-5px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-image {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #3498db;
    transition: transform 0.3s ease;
}

.testimonial-inner:hover .testimonial-image img {
    transform: scale(1.1) translateZ(20px);
}

.quote-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transform: translateZ(30px);
}

.testimonial-content {
    flex: 1;
}

.testimonial-content p {
    color: #ecf0f1;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-content h4 {
    color: #3498db;
    font-size: 20px;
    margin-bottom: 5px;
}

.testimonial-content .designation {
    color: #bdc3c7;
    font-size: 14px;
}

.rating {
    color: #f1c40f;
    margin-top: 10px;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.nav-prev, .nav-next {
    background: rgba(52, 152, 219, 0.2);
    border: none;
    color: #3498db;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-prev:hover, .nav-next:hover {
    background: #3498db;
    color: white;
    transform: scale(1.1);
}

.nav-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #3498db;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonial-inner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .testimonial-image {
        margin: 0 auto 20px;
    }
}

/* Journal 3D Background Styles */
.journal-one {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #1a1a1a, #2c3e50);
}

.journal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.journal-one .auto-container {
    position: relative;
    z-index: 2;
}

.journal-one .sec-title {
    position: relative;
    z-index: 2;
}

.journal-one .sec-title_heading {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.journal-one .sec-title_text {
    color: rgba(255, 255, 255, 0.8);
}

/* Add glass effect to journal cards */
.journal-block_one-inner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journal-block_one-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Background Effect */
.background-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-3d:hover {
        transform: translateY(-5px) rotateX(5deg);
    }
    
    .award-block_one-inner:hover {
        transform: translateY(-5px) rotateX(5deg);
    }
}
