/*
|----------------------------------------------------------------------------
    3D Effects & Visual Enhancements for Weba1
    Preserved light amber/gold color scheme (#0056b3)
|----------------------------------------------------------------------------
*/

/* ============================================================
   1. SERVICE CARDS — 3D FLIP EFFECT
   ============================================================ */

#service .flip-card {
    perspective: 1200px;
    height: 220px !important;
    min-height: 220px !important;
    margin-bottom: 20px;
    display: block;
    overflow: visible;
    position: relative;
}

#service .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100% !important;
    transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-style: preserve-3d;
    display: block;
}

#service .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

#service .flip-card-front,
#service .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 14px;
    overflow: hidden;
}

#service .flip-card-front {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 173, 239, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    text-align: center;
    z-index: 2;
    border: 1px solid rgba(0, 173, 239, 0.2);
}

#service .flip-card-front i {
    background-color: #fff;
    border: 2px solid #00ADEF;
    border-radius: 50%;
    color: #00ADEF;
    height: 56px;
    font-size: 26px;
    line-height: 52px;
    text-align: center;
    width: 56px;
    margin-bottom: 12px;
    transition: all 0.4s ease;
    display: inline-block;
}

#service .flip-card:hover .flip-card-front i {
    background-color: #00ADEF;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 173, 239, 0.4);
}

#service .flip-card-front h3 {
    color: #0056b3;
    font-weight: bold;
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    display: block;
}

#service .flip-card-back {
    background: linear-gradient(145deg, #0056b3 0%, #004085 50%, #002d5e 100%);
    color: #fff;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 15px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 86, 179, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#service .flip-card-back h3 {
    color: #fff;
    font-weight: bold;
    margin: 0 0 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#service .flip-card-back p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    line-height: 1.45;
    margin: 0;
}

#service .flip-card-back::before {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

#service .flip-card-back::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

/* Override original service-wrap styles when inside flip card */
#service .flip-card .service-wrap {
    box-shadow: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    height: 100%;
}

#service .flip-card .service-box {
    height: auto;
    padding: 0;
}

/* Reset any conflicting service styles */
#service .flip-card .service-wrap i {
    border: none;
    background: none;
    height: auto;
    width: auto;
    line-height: normal;
}


/* ============================================================
   2. TEAM CARDS — 3D FLIP ON HOVER
   ============================================================ */

/* -- Team Flip Card -- */
#team .team-flip-card {
    perspective: 1200px;
    height: 320px !important;
    min-height: 320px !important;
    margin-bottom: 30px;
    display: block;
    overflow: visible;
    position: relative;
}

#team .team-flip-inner {
    position: relative;
    width: 100%;
    height: 100% !important;
    transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-style: preserve-3d;
    display: block;
}

#team .team-flip-card:hover .team-flip-inner {
    transform: rotateY(180deg);
}

#team .team-flip-front,
#team .team-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 14px;
    overflow: hidden;
}

#team .team-flip-front {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 173, 239, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 15px 15px;
    text-align: center;
    z-index: 2;
    border: 1px solid rgba(0, 173, 239, 0.4);
}

#team .team-flip-front .team-photo {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
    border: 3px solid #0056b3;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.25);
}

#team .team-flip-front .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#team .team-flip-front h4 {
    color: #0056b3;
    font-weight: bold;
    margin: 0 0 5px;
    font-size: 16px;
    text-transform: uppercase;
}

#team .team-flip-front h5 {
    color: #666;
    font-style: italic;
    margin: 0 0 8px;
    font-size: 13px;
}

#team .team-flip-front .team-social,
#team .team-flip-back .team-social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}

#team .team-flip-front .team-social a,
#team .team-flip-back .team-social a {
    display: block;
    overflow: hidden;
}

#team .team-flip-back {
    background: linear-gradient(145deg, #0056b3 0%, #0071BC 50%, #00ADEF 100%);
    color: #fff;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 86, 179, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#team .team-flip-back .team-photo-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

#team .team-flip-back .team-photo-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#team .team-flip-back h4 {
    color: #fff;
    font-weight: bold;
    margin: 0 0 10px;
    font-size: 15px;
    text-transform: uppercase;
}

#team .team-flip-back p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 12px;
}

#team .team-flip-back .team-social a {
    color: #fff !important;
}

/* -- Pricing Flip Card -- */
#pricing .pricing-flip-card {
    perspective: 1200px;
    height: 380px !important;
    min-height: 380px !important;
    margin-bottom: 30px;
    display: block;
    overflow: visible;
    position: relative;
}

#pricing .pricing-flip-inner {
    position: relative;
    width: 100%;
    height: 100% !important;
    transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-style: preserve-3d;
    display: block;
}

#pricing .pricing-flip-card:hover .pricing-flip-inner {
    transform: rotateY(180deg);
}

#pricing .pricing-flip-front,
#pricing .pricing-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 14px;
    overflow: hidden;
}

#pricing .pricing-flip-front {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 173, 239, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    text-align: center;
    z-index: 2;
    border: 1px solid rgba(0, 173, 239, 0.4);
}

#pricing .pricing-flip-front h3 {
    color: #333;
    font-weight: bold;
    margin: 0 0 20px;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #0056b3;
    padding-bottom: 10px;
}

#pricing .pricing-flip-front .dolar {
    font-size: 48px;
    font-weight: bold;
    color: #0056b3;
    margin: 0 0 20px;
    line-height: 1;
}

#pricing .pricing-flip-front .dolar sup {
    font-size: 22px;
    top: -18px;
}

#pricing .pricing-flip-front .dolar sub {
    font-size: 14px;
    color: #999;
}

#pricing .pricing-flip-front .btn {
    margin-top: 5px;
}

#pricing .pricing-flip-back {
    background: linear-gradient(145deg, #0056b3 0%, #0071BC 50%, #00ADEF 100%);
    color: #fff;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 86, 179, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#pricing .pricing-flip-back h3 {
    color: #fff;
    font-weight: bold;
    margin: 0 0 15px;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#pricing .pricing-flip-back .price {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    width: 100%;
}

#pricing .pricing-flip-back .price li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
}

#pricing .pricing-flip-back .price li:last-child {
    border-bottom: none;
}

#pricing .pricing-flip-back .btn {
    background: #fff;
    color: #0056b3;
    border: none;
    font-weight: bold;
}

#pricing .pricing-flip-back .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Featured pricing card */
#pricing .pricing-flip-card.featured .pricing-flip-front {
    background: #0056b3;
    border-color: #0071BC;
}

#pricing .pricing-flip-card.featured .pricing-flip-front h3 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.4);
}

#pricing .pricing-flip-card.featured .pricing-flip-front .dolar {
    color: #fff;
}

#pricing .pricing-flip-card.featured .pricing-flip-front .dolar sub {
    color: rgba(255, 255, 255, 0.8);
}

#pricing .pricing-flip-card.featured .pricing-flip-front .btn {
    background: #fff;
    color: #0056b3;
}

.team-wrap {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.team-wrap:hover {
    box-shadow: 0 16px 40px rgba(0, 86, 179, 0.25),
        0 0 0 1px rgba(0, 86, 179, 0.1);
}

.team-wrap .team-thumb {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-wrap:hover .team-thumb {
    transform: translateZ(20px);
    box-shadow: 0 8px 24px rgba(0, 86, 179, 0.3);
}

.team-wrap:hover .team-thumb img {
    border-color: #0056b3;
}

/* Team card content elevation on hover */
.team-wrap .details-overly,
.team-wrap .details-plain {
    transition: all 0.4s ease;
}


/* ============================================================
   3. PRICING CARDS — 3D LIFT + SCALE
   ============================================================ */

.pricing-wrap {
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.45s ease;
    transform-style: preserve-3d;
    will-change: transform;
    position: relative;
    overflow: visible;
}

.pricing-wrap::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 10%;
    width: 80%;
    height: 16px;
    background: rgba(0, 86, 179, 0.15);
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.pricing-wrap:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 86, 179, 0.2),
        0 0 0 1px rgba(0, 86, 179, 0.15);
}

.pricing-wrap:hover::after {
    opacity: 1;
}

/* Pricing icon glow */
.pricing-wrap h3 {
    transition: text-shadow 0.3s ease;
}

.pricing-wrap:hover h3 {
    text-shadow: 0 0 12px rgba(0, 86, 179, 0.3);
}

/* Active pricing card enhanced effect */
.pricing .active .pricing-wrap:hover {
    transform: translateY(-16px) scale(1.05);
    box-shadow: 0 24px 60px rgba(0, 86, 179, 0.35);
}


/* ============================================================
   4. PORTFOLIO FILTER BUTTONS — PROFESSIONAL STYLING
   ============================================================ */

.isotopeFilters {
    text-align: center;
    margin-bottom: 30px;
}

.isotopeFilters .filter-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0 auto;
    list-style: none;
}

.isotopeFilters .filter-wrapper li {
    margin: 0;
    padding: 0;
}

.isotopeFilters .filter-wrapper li a {
    display: block;
    padding: 6px 18px;
    border: 1px solid #555;
    border-radius: 5px;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.isotopeFilters .filter-wrapper li a:hover,
.isotopeFilters .filter-wrapper li a:focus {
    background-color: #0056b3;
    border-color: #0056b3;
    color: #fff;
    text-decoration: none;
    outline: none;
}

.isotopeFilters .filter-wrapper li.active a {
    background-color: #0056b3;
    border-color: #0056b3;
    color: #fff;
    text-decoration: none;
    outline: none;
}

/* ============================================================
   4b. PORTFOLIO ITEMS — 3D PERSPECTIVE ZOOM
   ============================================================ */

.portfolio-wrapper {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.5s ease;
    border-radius: 10px;
    overflow: hidden;
    transform-style: preserve-3d;
}

.portfolio-wrapper:hover {
    transform: perspective(800px) rotateX(2deg) rotateY(-2deg) scale(1.04);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(0, 86, 179, 0.2);
}

.portfolio-wrapper>img {
    transition: transform 0.6s ease;
}

.portfolio-wrapper:hover>img {
    transform: scale(1.08);
}

/* -- Portfolio Flip Card -- */
#portfolio .portfolio-flip-card {
    perspective: 1200px;
    height: 220px;
    margin-bottom: 20px;
    display: block;
    overflow: visible;
    position: relative;
}

#portfolio .portfolio-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-style: preserve-3d;
    display: block;
}

#portfolio .portfolio-flip-card:hover .portfolio-flip-inner {
    transform: rotateY(180deg);
}

#portfolio .portfolio-flip-front,
#portfolio .portfolio-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}

#portfolio .portfolio-flip-front {
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 173, 239, 0.35);
    border: 1px solid rgba(0, 173, 239, 0.3);
}

#portfolio .portfolio-flip-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

#portfolio .portfolio-flip-card:hover .portfolio-flip-front img {
    transform: scale(1.05);
}

#portfolio .portfolio-flip-back {
    background: linear-gradient(145deg, #0056b3 0%, #0071BC 50%, #00ADEF 100%);
    color: #fff;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 86, 179, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#portfolio .portfolio-flip-back h3 {
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#portfolio .portfolio-flip-back .pfolio-link {
    display: flex;
    gap: 12px;
}

#portfolio .portfolio-flip-back .pfolio-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

#portfolio .portfolio-flip-back .pfolio-link a:hover {
    background: #fff;
    color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#portfolio .portfolio-flip-back::before {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

#portfolio .portfolio-flip-back::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

/* ============================================================
   5. BLOG POSTS — 3D FLIP CARD
   ============================================================ */

#blog .blog-flip-card {
    perspective: 1200px;
    height: 290px;
    margin-bottom: 20px;
}

#blog .blog-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-style: preserve-3d;
}

#blog .blog-flip-card:hover .blog-flip-inner {
    transform: rotateY(180deg);
}

#blog .blog-flip-front,
#blog .blog-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 14px;
    overflow: hidden;
}

#blog .blog-flip-front {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 173, 239, 0.35);
    border: 1px solid rgba(0, 173, 239, 0.3);
    display: flex;
    flex-direction: column;
}

#blog .blog-flip-front .blog-front-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

#blog .blog-flip-front .blog-front-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

#blog .blog-flip-card:hover .blog-front-img img {
    transform: scale(1.05);
}

#blog .blog-flip-front .blog-front-content {
    padding: 18px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#blog .blog-flip-front .blog-front-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

#blog .blog-flip-front .blog-front-meta i {
    color: #0056b3;
    margin-right: 4px;
}

#blog .blog-flip-front .blog-front-meta span {
    margin-right: 12px;
}

#blog .blog-flip-front h3 {
    font-size: 15px;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
    color: #333;
}

#blog .blog-flip-front h3 a {
    color: #333;
    text-decoration: none;
}

#blog .blog-flip-back {
    background: linear-gradient(145deg, #0056b3 0%, #0071BC 50%, #00ADEF 100%);
    color: #fff;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 22px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 86, 179, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#blog .blog-flip-back h3 {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    margin: 0 0 15px;
    line-height: 1.4;
}

#blog .blog-flip-back h3 a {
    color: #fff;
    text-decoration: none;
}

#blog .blog-flip-back p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 20px;
}

#blog .blog-flip-back .btn-more {
    background: #fff;
    color: #0056b3;
    padding: 8px 24px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

#blog .blog-flip-back .btn-more:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#blog .blog-flip-back .btn-more i {
    margin-left: 4px;
}

/* Keep original post-wrap for fallback */
.post-wrap {
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.45s ease;
    transform-style: preserve-3d;
    border-radius: 10px;
    overflow: hidden;
    will-change: transform;
}

.post-wrap:hover {
    transform: translateY(-8px) perspective(600px) rotateX(2deg);
    box-shadow: 0 18px 45px rgba(0, 86, 179, 0.2);
}


/* ============================================================
   6. ABOUT SECTION COUNTERS — FLOATING ANIMATION
   ============================================================ */

@keyframes floatBob {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes iconPulseGlow {

    0%,
    100% {
        text-shadow: 0 0 8px rgba(0, 86, 179, 0.3);
    }

    50% {
        text-shadow: 0 0 24px rgba(0, 86, 179, 0.6),
            0 0 48px rgba(0, 86, 179, 0.2);
    }
}

.success-story-wrap .icon {
    animation: floatBob 3s ease-in-out infinite;
}

.success-story-wrap .icon i {
    animation: iconPulseGlow 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.success-story-wrap .col-xs-6:nth-child(2) .icon {
    animation-delay: 0.4s;
}

.success-story-wrap .col-xs-6:nth-child(3) .icon {
    animation-delay: 0.8s;
}

.success-story-wrap .col-xs-6:nth-child(4) .icon {
    animation-delay: 1.2s;
}

/* Counter number glow */
.counter-wrap .counter {
    transition: color 0.3s ease;
}

.success-story-wrap .col-xs-6:hover .counter {
    color: #0056b3;
    text-shadow: 0 0 16px rgba(0, 86, 179, 0.4);
}

.success-story-wrap .col-xs-6:hover .icon i {
    transform: scale(1.15) rotate(5deg);
}


/* ============================================================
   7. SECTION HEADINGS — SHIMMER EFFECT
   ============================================================ */

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.title-text>span {
    background: linear-gradient(90deg,
            #0056b3 0%,
            #00ADEF 25%,
            #0056b3 50%,
            #00ADEF 75%,
            #0056b3 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}


/* ============================================================
   8. ABOUT SECTION — ICON HOVER EFFECTS
   ============================================================ */

.about-wrap .icon-holder i {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.about-wrap:hover .icon-holder i {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 86, 179, 0.35);
}


/* ============================================================
   9. CONTACT SECTION — ENHANCED FORM INTERACTIONS
   ============================================================ */

.contact .form-control {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.contact .form-control:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15),
        0 4px 12px rgba(0, 86, 179, 0.1);
    transform: translateY(-1px);
}

.contact .contact-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 12px 15px;
    border-radius: 8px;
}

.contact .contact-item:hover {
    transform: translateX(8px);
    background: rgba(0, 173, 239, 0.1);
}

.contact .contact-left i {
    transition: transform 0.4s ease, color 0.3s ease;
}

.contact .contact-item:hover .contact-left i {
    transform: scale(1.2) rotate(-10deg);
    color: #fff;
}


/* ============================================================
   10. NAVIGATION — ENHANCED EFFECTS
   ============================================================ */

.nav.navbar-nav.navbar-right>li>a {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.nav.navbar-nav.navbar-right>li>a:hover {
    transform: translateY(-2px);
}


/* ============================================================
   11. BUTTONS — ENHANCED HOVER EFFECTS
   ============================================================ */

.btn.btn-shutter-out-horizontal {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 50px;
}

.btn.btn-shutter-out-horizontal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.35);
}

.btn.btn-shutter-out-horizontal:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 86, 179, 0.2);
}


/* ============================================================
   12. SCROLL-TRIGGERED REVEAL ANIMATIONS
   ============================================================ */

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.reveal-on-scroll {
    opacity: 0;
}

.reveal-on-scroll.revealed {
    animation: revealUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.reveal-on-scroll.revealed-scale {
    animation: revealScale 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}


/* ============================================================
   13. SCROLL UP BUTTON ENHANCEMENT
   ============================================================ */

.scrollup {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scrollup:hover {
    transform: translateY(-4px) scale(1.1);
    text-shadow: 0 0 16px rgba(0, 86, 179, 0.5);
}


/* ============================================================
   14. FOOTER — SUBTLE GLOW
   ============================================================ */

.footer .copyright a {
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer .copyright a:hover {
    text-shadow: 0 0 12px rgba(0, 86, 179, 0.3);
}


/* ============================================================
   15. SERVICE SECTION LAYOUT FIX FOR FLIP CARDS
   ============================================================ */

#service .flip-card .col-xs-12 {
    padding: 0;
}

/* Staggered entrance for flip cards */
.flip-card:nth-child(odd) {
    animation-delay: 0.1s;
}

.flip-card:nth-child(even) {
    animation-delay: 0.25s;
}


/* ============================================================
   16. GLASSMORPHISM CARD REFINEMENTS
   ============================================================ */

.about-wrap {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    border-radius: 12px;
}

.about-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 173, 239, 0.25);
    background: rgba(255, 255, 255, 0.7);
}


/* ============================================================
   17. RESPONSIVE ADJUSTMENTS FOR EFFECTS
   ============================================================ */

@media (max-width: 768px) {
    .flip-card {
        height: 260px;
    }

    .flip-card-front h3 {
        font-size: 15px;
    }

    .flip-card-back p {
        font-size: 12.5px;
    }

    .pricing-wrap:hover {
        transform: translateY(-6px) scale(1.02);
    }

    .portfolio-wrapper:hover {
        transform: perspective(800px) scale(1.02);
    }

    #team .team-flip-card {
        height: 300px !important;
        min-height: 300px !important;
    }

    #blog .blog-flip-card {
        height: 380px;
    }

    #pricing .pricing-flip-card {
        height: 340px !important;
        min-height: 340px !important;
    }
}

@media (max-width: 480px) {
    .flip-card {
        height: 240px;
    }

    .flip-card-front i {
        height: 56px;
        width: 56px;
        font-size: 26px;
        line-height: 52px;
    }

    .flip-card-front h3 {
        font-size: 14px;
    }

    .flip-card-back p {
        font-size: 12px;
        line-height: 1.45;
    }

    #team .team-flip-card {
        height: 280px !important;
        min-height: 280px !important;
    }

    #blog .blog-flip-card {
        height: 360px;
    }
}

/* ============================================================
   18. TICKER / SHIMMER HOVER FOR FLIP CARDS
   ============================================================ */

@keyframes shimmerSweep {
    0% {
        transform: translateX(-150%) skewX(-25deg);
    }
    100% {
        transform: translateX(150%) skewX(-25deg);
    }
}

.flip-card::after,
.team-flip-inner::after,
.pricing-flip-inner::after,
.portfolio-flip-inner::after,
.blog-flip-inner::after,
.nav.navbar-nav.navbar-right>li>a::after,
.contact-btn::after,
.isotopeFilters .filter-wrapper li a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-150%) skewX(-25deg);
    transition: none;
    pointer-events: none;
    z-index: 5;
}

.flip-card:hover::after,
.team-flip-card:hover .team-flip-inner::after,
.pricing-flip-card:hover .pricing-flip-inner::after,
.portfolio-flip-card:hover .portfolio-flip-inner::after,
.blog-flip-card:hover .blog-flip-inner::after,
.nav.navbar-nav.navbar-right>li>a:hover::after,
.contact-btn:hover::after,
.isotopeFilters .filter-wrapper li a:hover::after {
    animation: shimmerSweep 1s ease-in-out;
}

