/**
 * Interactive Enhancements CSS
 * Styles for enhanced interactive elements
 */

/* ============================================
   EXPERIENCE CARDS 3D FLIP
   ============================================ */

.experience-card {
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.3s ease-out;
}

.experience-card .experience-card-inner {
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.experience-card.flipped .experience-card-inner {
    transform: rotateY(180deg);
}

.experience-card-front,
.experience-card-back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.experience-card-back {
    transform: rotateY(180deg);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================
   ENHANCED TESTIMONIALS
   ============================================ */

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial {
    min-width: 100%;
    padding: 2rem;
    box-sizing: border-box;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(26, 95, 60, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots .dot.active {
    background: #28A745;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}

.testimonial-dots .dot:hover {
    background: rgba(26, 95, 60, 0.6);
    transform: scale(1.2);
}

/* ============================================
   CTA SECTION ENHANCEMENTS
   ============================================ */

.cta-section {
    position: relative;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(10, 50, 66, 0.95) 0%, rgba(26, 95, 60, 0.95) 100%);
    border-radius: 24px;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.1) 0%, transparent 70%);
    animation: rotateGradient 20s linear infinite;
}

@keyframes rotateGradient {
    to {
        transform: rotate(360deg);
    }
}

.cta-section h2 {
    position: relative;
    z-index: 1;
    color: white;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.cta-section p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-section .btn {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #D4A017, #F5C842);
    border: none;
    color: #0A3242;
    font-weight: 700;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.4);
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 160, 23, 0.6);
}

/* ============================================
   FLOATING ELEMENTS
   ============================================ */

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

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

/* ============================================
   GRADIENT BACKGROUNDS
   ============================================ */

.gradient-bg {
    background: linear-gradient(-45deg, #0A3242, #1A5F3C, #0066CC, #28A745);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ============================================
   ENHANCED FEATURE CARDS
   ============================================ */

.feature-card,
.value-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card::before,
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before,
.value-card:hover::before {
    left: 100%;
}

.feature-icon,
.value-icon {
    transition: transform 0.4s ease;
}

/* ============================================
   TIMELINE ENHANCEMENTS
   ============================================ */

.timeline-item {
    position: relative;
    padding: 2rem;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: linear-gradient(to bottom, #28A745, #1A5F3C);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
}

.timeline-icon {
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.timeline-content {
    transition: transform 0.3s ease;
}

/* ============================================
   LOADING SCREEN
   ============================================ */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A3242 0%, #1A5F3C 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* ============================================
   RESPONSIVE ENHANCEMENTS
   ============================================ */

@media (max-width: 768px) {
    .experience-card.flipped {
        transform: none;
    }
    
    .cta-section {
        padding: 2rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .testimonial {
        padding: 1.5rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .floating-element,
    .gradient-bg,
    .testimonial-track {
        animation: none;
    }
    
    .experience-card.flipped {
        transform: none;
    }
}

