/* Cookie Popup Styles */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 9999;
    transition: bottom 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.cookie-popup.show {
    bottom: 20px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #6366f1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4f46e5;
}

/* Print Styles */
@media print {
    header,
    footer,
    #cookiePopup {
        display: none;
    }
}

/* Additional Responsive Utilities */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Added navy dark color scheme */
.bg-navy-dark {
    background-color: #0f1729;
}

.text-navy-dark {
    color: #0f1729;
}

.bg-navy-light {
    background-color: #1a2332;
}

.border-navy-light {
    border-color: #1a2332;
}

.text-blue-accent {
    color: #4a9ff5;
}

.bg-blue-accent {
    background-color: #4a9ff5;
}

.hover\:bg-blue-600:hover {
    background-color: #3b8fd9;
}

.hover\:text-blue-accent:hover {
    color: #4a9ff5;
}

.focus\:border-blue-accent:focus {
    border-color: #4a9ff5;
}

.focus\:ring-blue-accent:focus {
    --tw-ring-color: #4a9ff5;
}

/* Added dotted pattern background */
.dotted-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(74, 159, 245, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

/* Added card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Added client logo box styles */
.client-logo-box {
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: all 0.3s ease;
}

.client-logo-box:hover {
    border-color: rgba(74, 159, 245, 0.5);
    background: rgba(74, 159, 245, 0.05);
}

/* Added flip card 3D effects */
.flip-card {
    perspective: 1000px;
    cursor: pointer;
    height: 350px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* Added expandable card animations */
.expandable-card {
    transition: all 0.3s ease;
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.expandable-card.expanded .expandable-content {
    max-height: 1000px;
}

.expand-btn svg {
    transition: transform 0.3s ease;
}

.expandable-card.expanded .expand-btn svg {
    transform: rotate(180deg);
}

/* Added hero image wrapper animation */
.hero-image-wrapper {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Added responsive adjustments for new design */
@media (max-width: 768px) {
    .flip-card {
        height: auto;
    }
    
    .flip-card-front,
    .flip-card-back {
        position: relative;
        transform: none !important;
    }
    
    .flip-card.flipped .flip-card-inner {
        transform: none;
    }
    
    .flip-card-inner {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .dotted-pattern {
        width: 100%;
        opacity: 0.5;
    }
    
    .client-logo-box {
        min-height: 80px;
        padding: 1rem;
    }
}

/* Added smooth transitions for interactive elements */
a, button {
    transition: all 0.2s ease;
}
