/* Override existing hero section with shimmer effects */
.hero-section {
    background: linear-gradient(135deg, #0f1419 0%, #009688 30%, #004d40 70%, #2c3e50 100%) !important;
    color: white !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    padding: 120px 0 !important;
}

/* Remove existing ::before element */
.hero-section::before {
    display: none !important;
}

/* Add shimmer overlay - FIXED */
.hero-section::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 200% !important;
    height: 100% !important;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 215, 0, 0.12) 30%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 215, 0, 0.12) 70%,
        transparent 100%
    ) !important;
    animation: heroShimmer 4s ease-in-out infinite !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

/* FIXED: Shimmer animation keyframes */
@keyframes heroShimmer {
    0% { 
        left: -100%; 
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
    100% { 
        left: 100%; 
        opacity: 0.3;
    }
}

/* Background animation layer */
.hero-bg-animation {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 150, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 121, 107, 0.1) 0%, transparent 50%) !important;
    animation: backgroundFloat 25s ease-in-out infinite !important;
    z-index: 0 !important;
}

@keyframes backgroundFloat {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
        filter: hue-rotate(0deg);
    }
    33% {
        transform: rotate(1deg) scale(1.02);
        filter: hue-rotate(10deg);
    }
    66% {
        transform: rotate(-1deg) scale(1.05);
        filter: hue-rotate(-10deg);
    }
}

/* Floating elements */
.floating-elements {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.floating-icon {
    position: absolute !important;
    font-size: 2.2rem !important;
    opacity: 0.12 !important;
    animation: floatIcon 8s ease-in-out infinite !important;
}

@keyframes floatIcon {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.12;
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
        opacity: 0.2;
    }
    50% { 
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.15;
    }
    75% {
        transform: translateY(-10px) rotate(3deg);
        opacity: 0.18;
    }
}

.floating-icon-1 {
    top: 12% !important;
    left: 6% !important;
    color: #009688 !important;
    animation-delay: 0s !important;
}
.floating-icon-2 {
    top: 68% !important;
    right: 10% !important;
    color: #FFD700 !important;
    animation-delay: 2s !important;
}

.floating-icon-3 {
    bottom: 22% !important;
    left: 12% !important;
    color: #00796b !important;
    animation-delay: 4s !important;
}

.floating-icon-4 {
    top: 22% !important;
    right: 18% !important;
    color: #e6c200 !important;
    animation-delay: 1s !important;
}

/* Ensure content is above all effects */
.hero-section .container {
    position: relative !important;
    z-index: 5 !important;
}

/* Content animations */
.hero-content {
    animation: slideInLeft 1.2s ease-out !important;
}

@keyframes slideInLeft {
    from { 
        opacity: 0; 
        transform: translateX(-50px);
    }
    to { 
        opacity: 1; 
        transform: translateX(0);
    }
}

.tech-showcase {
    animation: slideInRight 1.2s ease-out !important;
}

@keyframes slideInRight {
    from { 
        opacity: 0; 
        transform: translateX(50px);
    }
    to { 
        opacity: 1; 
        transform: translateX(0);
    }
}

/* FIXED: Shimmer text effect with proper animation */
.shimmer-text {
    background: linear-gradient(
        110deg,
        #FFD700 0%,
        #FFD700 40%,
        #ffffff 50%,
        #FFD700 60%,
        #FFD700 100%
    ) !important;
    background-size: 200% 100% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: shimmerTextFlow 2.5s ease-in-out infinite !important;
    position: relative !important;
    display: inline-block !important;
}

/* FIXED: Shimmer text animation keyframes */
@keyframes shimmerTextFlow {
    0% { 
        background-position: -200% 0;
    }
    100% { 
        background-position: 200% 0;
    }
}

/* Tech showcase elements */
.main-icon-container {
    position: relative !important;
    display: inline-block !important;
    margin: 2rem !important;
}

.pulse-ring {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    border-radius: 50% !important;
    animation: pulseRing 3s ease-in-out infinite !important;
}

@keyframes pulseRing {
    0% { 
        transform: translate(-50%, -50%) scale(0.8); 
        opacity: 1; 
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.3); 
        opacity: 0; 
    }
}

.pulse-ring-1 {
    width: 200px !important;
    height: 200px !important;
    border: 3px solid rgba(255, 215, 0, 0.4) !important;
}

.pulse-ring-2 {
    width: 260px !important;
    height: 260px !important;
    border: 3px solid rgba(0, 150, 136, 0.3) !important;
    animation-delay: 1.5s !important;
}

.pulse-ring-3 {
    width: 320px !important;
    height: 320px !important;
    border: 2px solid rgba(255, 215, 0, 0.2) !important;
    animation-delay: 3s !important;
}

.main-server-icon {
    position: relative !important;
    z-index: 2 !important;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.7)) !important;
    animation: iconFloat 4s ease-in-out infinite !important;
}

@keyframes iconFloat {
    0%, 100% { 
        transform: translateY(0px);
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.7));
    }
    50% { 
        transform: translateY(-10px);
        filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.9));
    }
}

/* Enhanced orbit container for 8 icons */
.orbit-container {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 300px !important;
    height: 300px !important;
    animation: rotateOrbit 35s linear infinite !important;
}

@keyframes rotateOrbit {
    from { 
        transform: translate(-50%, -50%) rotate(0deg); 
    }
    to { 
        transform: translate(-50%, -50%) rotate(360deg); 
    }
}

.orbit-icon {
    position: absolute !important;
    width: 52px !important;
    height: 52px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    backdrop-filter: blur(15px) !important;
    border: 2px solid rgba(255, 215, 0, 0.4) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    color: #FFD700 !important;
    animation: iconPulse 2.5s ease-in-out infinite alternate !important;
}

@keyframes iconPulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 rgba(255, 215, 0, 0.4);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3), 0 0 15px rgba(255, 215, 0, 0.6);
        transform: scale(1.05);
    }
}

.orbit-icon:hover {
    transform: scale(1.2) !important;
    border-color: rgba(255, 215, 0, 0.9) !important;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5) !important;
    color: #ffffff !important;
    background: rgba(255, 215, 0, 0.25) !important;
}

/* Positioning for 8 orbit icons in perfect circle - 45° apart */
.orbit-1 {
    top: -26px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    animation-delay: 0s !important;
}

.orbit-2 {
    top: 18px !important;
    right: 18px !important;
    transform: rotate(45deg) !important;
    animation-delay: 0.3s !important;
}

.orbit-3 {
    top: 50% !important;
    right: -26px !important;
    transform: translateY(-50%) !important;
    animation-delay: 0.6s !important;
}

.orbit-4 {
    bottom: 18px !important;
    right: 18px !important;
    transform: rotate(-45deg) !important;
    animation-delay: 0.9s !important;
}

.orbit-5 {
    bottom: -26px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    animation-delay: 1.2s !important;
}

.orbit-6 {
    bottom: 18px !important;
    left: 18px !important;
    transform: rotate(45deg) !important;
    animation-delay: 1.5s !important;
}

.orbit-7 {
    top: 50% !important;
    left: -26px !important;
    transform: translateY(-50%) !important;
    animation-delay: 1.8s !important;
}

.orbit-8 {
    top: 18px !important;
    left: 18px !important;
    transform: rotate(-45deg) !important;
    animation-delay: 2.1s !important;
}

/* Enhanced buttons with shimmer */
.btn-solutions {
    background: linear-gradient(45deg, #FFD700, #FFA500, #FFD700) !important;
    background-size: 200% 100% !important;
    color: #000 !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6) !important;
    transition: all 0.3s ease !important;
    animation: btnShimmer 3s ease-in-out infinite !important;
    border: none !important;
}

@keyframes btnShimmer {
    0%, 100% { 
        background-position: 0% 50%; 
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    }
    50% { 
        background-position: 100% 50%; 
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    }
}

.btn-solutions:hover {
    background: linear-gradient(45deg, #f8f9fa, #ffffff, #f8f9fa) !important;
    background-size: 200% 100% !important;
    color: #212529 !important;
    transform: translateY(-2px) scale(1.05) !important;
    animation: none !important;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute !important;
    bottom: 25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    animation: bounceIndicator 2s infinite !important;
    z-index: 5 !important;
}

@keyframes bounceIndicator {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateX(-50%) translateY(0); 
    }
    40% { 
        transform: translateX(-50%) translateY(-10px); 
    }
    60% { 
        transform: translateX(-50%) translateY(-5px); 
    }
}

.scroll-arrow {
    color: #FFD700 !important;
    font-size: 2rem !important;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) !important;
    animation: arrowGlow 2s ease-in-out infinite alternate !important;
}

@keyframes arrowGlow {
    0% {
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
    }
    100% {
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.9));
    }
}

/* Service icon large for hero */
.service-icon-large {
    width: 200px !important;
    height: 200px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    font-size: 5rem !important;
    color: var(--primary-gold) !important;
    animation: pulse 2s ease-in-out infinite alternate !important;
    border: 3px solid rgba(255, 215, 0, 0.3) !important;
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2) !important;
    transition: all 0.3s ease !important;
}

.service-icon-large:hover {
    transform: scale(1.1) !important;
    background: rgba(255, 215, 0, 0.15) !important;
    box-shadow: 0 25px 50px rgba(255, 215, 0, 0.4) !important;
    border-color: rgba(255, 215, 0, 0.6) !important;
}

.service-icon-large i {
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5) !important;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    100% {
        box-shadow: 0 0 0 20px rgba(255, 215, 0, 0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section {
        min-height: 90vh !important;
        padding: 100px 0 !important;
    }

    .main-icon-container {
        margin: 1.5rem !important;
    }

    .orbit-container {
        width: 240px !important;
        height: 240px !important;
    }

    .pulse-ring-1 { width: 160px !important; height: 160px !important; }
    .pulse-ring-2 { width: 200px !important; height: 200px !important; }
    .pulse-ring-3 { width: 240px !important; height: 240px !important; }

    .service-icon-large {
        width: 150px !important;
        height: 150px !important;
        font-size: 4rem !important;
    }

    .orbit-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.2rem !important;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 85vh !important;
        padding: 80px 0 !important;
    }

    .hero-section .display-4 {
        font-size: 2.2rem !important;
    }

    .floating-icon {
        display: none !important;
    }

    .hero-section .btn {
        width: 100% !important;
        margin-bottom: 1rem !important;
    }

    .service-icon-large {
        width: 120px !important;
        height: 120px !important;
        font-size: 3rem !important;
    }

    .orbit-container {
        width: 200px !important;
        height: 200px !important;
    }

    .orbit-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .hero-section .display-4 {
        font-size: 1.8rem !important;
    }

    .orbit-container {
        width: 170px !important;
        height: 170px !important;
    }

    .pulse-ring-1 { width: 130px !important; height: 130px !important; }
    .pulse-ring-2 { width: 160px !important; height: 160px !important; }
    .pulse-ring-3 { width: 190px !important; height: 190px !important; }

    .orbit-icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.9rem !important;
    }
}
/* Alternative versions */

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700, #20B2AA);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.service-icon i {
    font-size: 1.8rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #FFA500, #008B8B);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}
.service-card h4 {
    text-align: center;
}

.service-card p {
    text-align: left;
    line-height: 1.6;
    font-size: 0.97rem;
    color: #444;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    font-weight: 400;
}
.hero-content {
    margin-bottom: 1.2rem;
}

@media (max-width: 991.98px) {
    .hero-content {
        margin-bottom: 1rem;
    }
    .tech-showcase {
        margin-top: 1rem;
    }
}

/* Customize all Bootstrap tooltips */
.tooltip .tooltip-inner {
    background-color: #222d3b !important;  /* Custom dark blue background */
    color: #FFD700 !important;             /* Gold text */
    padding: 0.75rem 1.2rem !important;    /* More padding */
    font-size: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.tooltip.bs-tooltip-top .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[x-placement^="top"] .tooltip-arrow::before {
    border-top-color: #222d3b !important;
}

#services-overview .row:first-child {
  margin-top: 0;      /* remove top row margin */
  padding-top: 0;     /* remove row padding */
}

#services-overview .container {
  padding-top: 0;     /* remove container top padding if any */
}

.core-section {
  position: relative;
  margin-top: 0;             /* sits right under hero */
  margin-bottom: 2rem;       /* space before cards */
  padding: 2rem 1.5rem;      /* internal padding */
  background-color: #008080;
  border-radius: 0.5rem;
  max-width: 1200px;         /* keeps it aligned with card grid */
  margin-left: auto;          /* center horizontally */
  margin-right: auto;         /* center horizontally */
  box-sizing: border-box;     /* prevents padding from stretching beyond max-width */
}

.core-section h2 {
  margin-bottom: 0.75rem; /* smaller gap under heading */
}


