/* Custom SMM Section Styles */
.btn-get-touch-dark {
    background: #004a99; /* Deep navy blue from image */
    color: #fff;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 74, 153, 0.2);
}

.btn-get-touch-dark:hover {
    background: #003366;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 74, 153, 0.3);
}

.btn-learn-more-outline {
    border: 2.5px solid #004a99;
    color: #004a99;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-learn-more-outline:hover {
    background: #004a99;
    color: #fff;
}

/* Specific floating for SMM image */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(2deg); }
}

.animate-float-slow {
    animation: floatSlow 8s ease-in-out infinite;
}

@keyframes bounceSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.animate-bounce-slow {
    animation: bounceSlow 4s ease-in-out infinite;
}

/* Background gradient text effect */
.gradient-text-smm {
    background: linear-gradient(90deg, #004a99, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes bounceHorizontal {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.animate-bounce-horizontal {
    animation: bounceHorizontal 2s infinite ease-in-out;
}

/* Feature Icon Box Shadow on Hover */
.group:hover div {
    box-shadow: 0 10px 15px -3px rgba(0, 74, 128, 0.2);
}

/* Input line animation */
.group-focus-within::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #004a80;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.group:focus-within::after {
    transform: scaleX(1);
}

/* Container for Rings */
.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    /* Gradient border look */
    border-image: linear-gradient(to right, #f472b6, #818cf8) 1;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #f472b6, #818cf8) border-box;
}

.outer-ring {
    width: 400px;
    height: 400px;
    animation: rotateOrbit 40s linear infinite;
}

.inner-ring {
    width: 220px;
    height: 220px;
    animation: rotateOrbit 25s linear reverse infinite;
}

/* Individual Icon Styling */
.orbit-icon {
    position: absolute;
    width: 55px;
    height: 55px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    /* Trigonometry-free positioning using variables */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translate(200px) rotate(calc(-1 * var(--angle)));
    transition: all 0.4s ease;
}

/* Position Adjustment for Inner Ring Icons */
.inner-ring .orbit-icon {
    transform: translate(-50%, -50%) rotate(var(--angle)) translate(110px) rotate(calc(-1 * var(--angle)));
}

/* Counter-rotate the icons themselves so they don't flip upside down */
@keyframes rotateOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Ensure the icons stay upright while the ring spins */
.orbit-ring .orbit-icon i {
    animation: counterRotate 40s linear infinite;
}
.inner-ring .orbit-icon i {
    animation: counterRotate 25s linear reverse infinite;
}

@keyframes counterRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* Hover Effect */
.orbit-icon:hover {
    transform: translate(-50%, -50%) rotate(var(--angle)) translate(210px) rotate(calc(-1 * var(--angle))) scale(1.2);
    box-shadow: 0 0 30px rgba(55, 226, 241, 0.4);
    z-index: 100;
}

/* Responsive */
@media (max-width: 640px) {
    .outer-ring { width: 300px; height: 300px; }
    .inner-ring { width: 160px; height: 160px; }
    .orbit-icon { width: 40px; height: 40px; font-size: 18px; }
    .orbit-icon { transform: translate(-50%, -50%) rotate(var(--angle)) translate(150px) rotate(calc(-1 * var(--angle))); }
    .inner-ring .orbit-icon { transform: translate(-50%, -50%) rotate(var(--angle)) translate(80px) rotate(calc(-1 * var(--angle))); }
}

/* Custom Process Section Animations */
.process-step {
    @apply flex flex-col items-center relative;
}

.process-icon-box {
    @apply w-24 h-24 rounded-full flex items-center justify-center relative z-20 transition-all duration-300;
}

/* Hover effects for the icons */
.process-step:hover .process-icon-box {
    box-shadow: 0 15px 30px rgba(6, 182, 212, 0.2); /* Cyan shadow */
    border-color: #06b6d4;
    @apply -translate-y-3;
}

/* Horizontal bouncing connecting arrow */
@keyframes bounceHorizontal {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.animate-bounce-horizontal {
    animation: bounceHorizontal 2s infinite ease-in-out;
}

/* Specific icon hover effects */
.fa-traffic-light:hover {
    color: #ef4444; /* Turns red on hover to simulate a traffic light */
}

/* Main Image Floating Animation */
.main-float {
    animation: mainFloating 6s ease-in-out infinite;
}

@keyframes mainFloating {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

/* Subtle background bounce for decorative elements */
.animate-bounce-slow {
    animation: bounceSlow 4s ease-in-out infinite;
}

@keyframes bounceSlow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1) translateY(-10px); }
}

/* Tumble Hover effect for the 'Marketing' span */
.tumble-header {
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
}

.tumble-header:hover {
    transform: translateY(-5px) rotate(-2deg) scale(1.1);
    color: #0891b2; /* Slightly darker cyan */
    text-shadow: 0 10px 20px rgba(6, 182, 212, 0.2);
}


/* Premium Physics Animations */

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes bounceSlow {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.1) translateY(-10px); }
}

@keyframes bounceHorizontal {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(12px); }
}

@keyframes bounceHorizontal-reverse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-12px); }
}

.animate-float { animation: float 6s infinite ease-in-out; }
.animate-bounce-slow { animation: bounceSlow 5s infinite ease-in-out; }
.animate-bounce-horizontal { animation: bounceHorizontal 4s infinite ease-in-out; }
.animate-bounce-horizontal-reverse { animation: bounceHorizontal-reverse 4s infinite ease-in-out; }

/* Staggered Delay Utilities */
.delay-150 { animation-delay: 0.15s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-500 { animation-delay: 0.5s; }
.delay-700 { animation-delay: 0.7s; }

/* Desktop-only Orbit Spin */
@media (min-width: 1024px) {
    .animate-spin-slow { animation: spin 25s linear infinite; }
}

/* Orbit Rotation Animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin-slow {
    animation: spin 30s linear infinite;
}

/* Positioning Icons in a Circle */
.orbit-node {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 15px; /* Matches the rounded square look in screenshot */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.03);
    
    /* Math to place 8 icons at 45 degree intervals */
    left: 50%;
    top: 50%;
    transform-origin: center;
    /* Move out 160px from center based on index --i */
    transform: translate(-50%, -50%) 
               rotate(calc(var(--i) * 45deg)) 
               translateY(-160px) 
               rotate(calc(var(--i) * -45deg)); /* Counter-rotate to keep upright */
    
    transition: all 0.3s ease;
}

/* Extra logic: Stop the icon from spinning with the parent so it stays readable */
.orbit-node i {
    animation: spin 30s linear infinite reverse;
}

.orbit-node:hover {
    transform: translate(-50%, -50%) 
               rotate(calc(var(--i) * 45deg)) 
               translateY(-180px) 
               rotate(calc(var(--i) * -45deg)) 
               scale(1.2);
    box-shadow: 0 15px 30px rgba(6, 182, 212, 0.2);
    z-index: 50;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .orbit-node {
        width: 45px;
        height: 45px;
        font-size: 20px;
        transform: translate(-50%, -50%) 
                   rotate(calc(var(--i) * 45deg)) 
                   translateY(-120px) 
                   rotate(calc(var(--i) * -45deg));
    }
}


/* Custom Form Styling */

/* Smooth underline transition for inputs */
input:focus {
    padding-left: 5px; /* Subtle movement on focus */
}

/* Button Shadow Bloom matching your screenshot's purple/blue glow */
button[type="submit"] {
    position: relative;
    z-index: 1;
}

button[type="submit"]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #004274;
    filter: blur(20px);
    opacity: 0.3;
    z-index: -1;
    border-radius: 9999px;
    transition: opacity 0.3s ease;
}

button[type="submit"]:hover::after {
    opacity: 0.6;
}

/* Specific background color matching your SMM sub-pages */
.bg-contact-light {
    background-color: #e9f5ff;
}


/* Rotates only the specific image element */
@keyframes tumbleMainImage {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(2deg) scale(1.03); /* Subtle scale adds depth */
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}

/* Apply this class to the image */
.tumble-main-image {
    animation: tumbleMainImage 7s ease-in-out infinite;
    /* Keeps the rotation centered and smooth */
    transform-origin: center;
    will-change: transform; /* Boosts performance */
}


