/********** StockApp CSS **********/
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #296EFC; 
    --secondary: #296EFC; 
    --light: #EEF9FF; 
    --dark: #D2691E; 
    
    /* Official Brand Colors */
    --brand-blue: #296EFC;
    --brand-orange: #D2691E;
    --brand-grey: #8A99AD;
    --brand-grey-light: #F3F5F8;
    --brand-grey-dark: #4A5568;
    --brand-dark-blue: #0A192F;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Modern Ambient Accents */
    --card-glow-blue: rgba(41, 110, 252, 0.15);
    --card-glow-orange: rgba(210, 105, 30, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

body {
    font-family: var(--font-body);
    color: var(--brand-grey-dark);
    background-color: var(--brand-grey-light);
    background-image:
        radial-gradient(ellipse at 15% 10%, rgba(41, 110, 252, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse at 85% 90%, rgba(210, 105, 30, 0.03) 0%, transparent 60%);
    overflow-x: hidden;
}

.about-section {
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(9, 30, 62, 0.98) 0%, rgba(5, 15, 35, 1) 100%);
    overflow: hidden;
}

/* Subtle Modern Grid Background Overlay */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

/* Glowing Radial Accents in Background */
.about-section::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(41, 110, 252, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(80px);
}

/* Dark Overlay */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
}


/*** Spinner ***/
.spinner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: relative;
    margin: 100px auto;
}
.spinner::before, .spinner::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    border: 3px solid transparent;
}
.spinner::before {
    border-top-color: #296EFC;
    border-right-color: #296EFC;
    animation: spinner-fast 1s linear infinite;
}
.spinner::after {
    border-bottom-color: #D2691E;
    border-left-color: #D2691E;
    animation: spinner-slow 1.5s ease-in-out infinite;
    transform: scale(0.75);
}

@keyframes spinner-fast {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes spinner-slow {
    0% { transform: scale(0.75) rotate(0deg); }
    100% { transform: scale(0.75) rotate(-360deg); }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Topbar ***/
.container-fluid.bg-dark {
    background-color: var(--dark) !important; /* Set the background color to brand orange */
}



/*** Heading ***/
h1,
h2,
h3,
h4,
h5,
h6,
.fw-bold {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 12px;
    letter-spacing: -0.01em;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(41, 110, 252, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(210, 105, 30, 0.3);
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

/* Updated Styles for New Buttons */

/* Blue Button */
.btn-blue {
    background-color: #296EFC; /* Pure blue background color */
    border-color: #296EFC; /* Border color same as background for a flat appearance */
    color: #FFFFFF; /* White text color */
    transition: 0.5s; /* Transition effect */
}

.btn-blue:hover {
    background-color: #FFFFFF; /* Change background color on hover */
    color: #296EFC; /* Change text color on hover */
}

/* Outline White Button */
.btn-outline-white {
    border-color: #FFFFFF; /* White border color */
    color: #FFFFFF; /* White text color */
    transition: 0.5s; /* Transition effect */
}

.btn-outline-white:hover {
    background-color: #FFFFFF; /* Change background color on hover */
    color: #296EFC; /* Change text color on hover */
}

/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--dark);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

.navbar-dark .navbar-nav .nav-link.active {
    color: var(--brand-blue) !important;
    font-weight: 700;
}



/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

/* Custom CSS for changing button background to #296EFC with white icons and text */
.bg-primary.shadow,
.bg-light.shadow {
    background-color: #296EFC !important; /* Updated to the specified color */
    color: white !important;
}

/* Custom CSS for changing content inside the specified button to white */
.bg-light.shadow h5,
.bg-light.shadow h1 {
    color: white !important;
}

/* Custom CSS for changing only the Font Awesome icon to #296EFC */
.bg-light.shadow .bg-primary i {
    color: #296EFC !important; /* Updated to the specified color */
}


/* Custom CSS for changing the background color of the frame containing the Font Awesome icon to #296EFC */
.phone-icon {
    background-color: #296EFC !important; /* Updated to the specified color */
}





/* Custom CSS for changing the inner frame-like button to white */
.bg-light.shadow > div > .bg-primary {
    background-color: white !important;
    color: white !important;
}



/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


.navbar-brand {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .navbar-brand img {
    max-width: 100%; /* Scales proportionally on all devices */
    height: auto;
  }
  

  /* Custom Facts Section Styling to Control Padding */
.facts.container-fluid {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

@media (min-width: 992px) {
    .facts.container-fluid {
        padding-top: 5rem !important;
        /* padding-bottom: 5rem !important; */
    }
}


/*** Facts Section UI Enhancement ***/
.fact-item-enhanced {
    border-bottom: 3px solid var(--dark);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.fact-item-enhanced:hover {
    transform: translateY(-5px);
}


/* Additional CSS for new classes */
.about-title,
.text-blue {
    color: #296EFC; /* Updated to the specified color */
}

.phone-icon {
    color: #296EFC; /* Updated to the specified color */
}

.phone-icon i {
    color: #296EFC; /* Updated to the specified color */
}

.phone-number {
    color: #296EFC; /* Updated to the specified color */
}



.partner-button {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.partner-button:hover {
    background-color: #FFFFFF;
    color: var(--primary);
}

/* Additional CSS for new classes */
.why-choose-title,
.why-choose-container {
     /* Updated to the specified color */
}

.feature-icon {
    background-color: #296EFC !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease !important;
    box-shadow: 0 6px 20px rgba(41, 110, 252, 0.2);
}

.feature-icon:hover {
    transform: rotate(10deg) scale(1.12);
    box-shadow: 0 10px 28px rgba(41, 110, 252, 0.35) !important;
}

.feature-icon .fa,
.feature-icon i {
    color: #FFFFFF !important;
}


    .back-to-top {
        position: fixed;
        bottom: 20px;
        right: 20px;
        display: none;
        background-color: #296EFC; /* Default color, you can change it */
        color: #fff;
        padding: 10px;
        border-radius: 50%;
        transition: background-color 0.3s;
    }



    /* Adjust styles based on different background colors */
    body.page1 .back-to-top {
        background-color: #ff6347; /* Change to match the background color of page1 */
    }

    body.page2 .back-to-top {
        background-color: #32cd32; /* Change to match the background color of page2 */
    }




/*** Service ***/
/* =============================================
   SERVICES BENTO GRID — Mobile-First Redesign
   ============================================= */

/* Grid Container */
.services-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Tablet: 2 columns */
@media (max-width: 991px) {
    .services-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

/* Mobile: 1 column */
@media (max-width: 576px) {
    .services-bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Individual Service Card */
.service-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(41, 110, 252, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 56px rgba(41, 110, 252, 0.13);
    border-color: rgba(41, 110, 252, 0.22);
}

/* Card Image Header Wrapper */
.service-card-img-wrapper {
    position: relative;
    height: 190px;
    overflow: hidden;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .service-card-img-wrapper {
        height: 160px;
    }
}

.service-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.55s ease;
    display: block;
}

.service-card:hover .service-card-img-wrapper img {
    transform: scale(1.08);
}

/* Gradient Fallback (for cards without a photo) */
.service-card-img-gradient {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-img-gradient i {
    font-size: 4.5rem;
    color: rgba(255, 255, 255, 0.88);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-img-gradient i {
    transform: scale(1.12);
}

/* Floating Icon Badge (sits over image bottom edge) */
.service-card-badge {
    position: absolute;
    bottom: -20px;
    left: 24px;
    width: 50px;
    height: 50px;
    background: var(--brand-blue);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 22px rgba(41, 110, 252, 0.38);
    color: #FFFFFF;
    font-size: 1.2rem;
    border: 3px solid #FFFFFF;
    z-index: 2;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover .service-card-badge {
    transform: scale(1.15) rotate(6deg);
    box-shadow: 0 10px 28px rgba(41, 110, 252, 0.45);
}

/* Card Text Body */
.service-card-body {
    padding: 38px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-body h4 {
    font-weight: 700;
    color: #091E3E;
    margin-bottom: 10px;
    font-size: 1.05rem;
    line-height: 1.3;
}

.service-card-body p {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.68;
    flex: 1;
    margin: 0;
}

.service-card-body a.btn {
    margin-top: 18px;
    align-self: flex-start;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-card-body a.btn:hover {
    transform: translateX(3px);
}

/* =============================================
   FEATURE GLASS GRID — "Why Choose Us" Redesign
   ============================================= */

/* Glass Grid Container */
.feature-glass-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 991px) {
    .feature-glass-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .feature-glass-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Glass Card */
.feature-glass-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid rgba(41, 110, 252, 0.1);
    box-shadow: 0 8px 32px rgba(9, 30, 62, 0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.feature-glass-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 48px rgba(41, 110, 252, 0.15);
    border-color: rgba(41, 110, 252, 0.3);
}

/* Image Header */
.feature-glass-img {
    height: 220px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.feature-glass-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-glass-card:hover .feature-glass-img img {
    transform: scale(1.08);
}

/* Glass Content Panel */
.feature-glass-content {
    padding: 32px 28px 28px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.6);
}

/* Floating Top-Right Icon */
.feature-glass-icon {
    position: absolute;
    top: -24px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--brand-blue), #1a52c7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.25rem;
    box-shadow: 0 8px 24px rgba(41, 110, 252, 0.3);
    border: 3px solid #FFFFFF;
    transition: transform 0.4s ease;
}

.feature-glass-card:hover .feature-glass-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--brand-orange), #e67e22);
    box-shadow: 0 8px 24px rgba(210, 105, 30, 0.3);
}

.feature-glass-content h4 {
    font-weight: 700;
    color: #091E3E;
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.feature-glass-content p {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Keep legacy .service-item for any other pages still referencing it */
.service-item {
    position: relative;
    height: auto;
    min-height: 300px;
    padding: 30px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.service-item:hover {
    transform: translateY(-8px);
    border-color: rgba(41, 110, 252, 0.2);
    box-shadow: 0 20px 40px rgba(41, 110, 252, 0.08);
}

.services-title {}


/* Custom CSS Styles */
.text-primary,
.fa-check.text-primary {
    color: #296EFC !important; /* Updated to the specified color */
}

.btn-primary {
    background-color: #296EFC !important; /* Updated to the specified color */
    border-color: #296EFC !important; /* Updated to the specified color */
    color: white !important;
}

.pure-blue {
    background-color: #296EFC !important; /* Updated to the specified color */
    color: white !important;
}

.custom-email {
    color: #296EFC !important; /* Retained original color as it's different from the replacement */
    text-decoration: none;
}




/*** Testimonial Section ***/

/* Container settings */
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

/* For the center item (highlighted testimonial) */
.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
    border-radius: 10px;
    padding: 30px;
    margin-top: 20px;
}

/* Update the styling for individual testimonials */
.testimonial-item {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    text-align: center;
    padding: 35px 30px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Styling for the quote section inside testimonial cards */
.testimonial-item .testimonial-quote {
    background: #F8FAFC;
    padding: 24px;
    border-radius: 16px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4A5568;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

/* Arrow under the quote box to create speech bubble effect */
.testimonial-item .testimonial-quote::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #F8FAFC;
}

/* Styling for the client avatars */
.testimonial-item img {
    width: 65px !important;
    height: 65px !important;
    border-radius: 50%;
    object-fit: cover;
    margin: 20px auto 10px auto;
    border: 3px solid #EEF9FF;
    box-shadow: 0 4px 10px rgba(41, 110, 252, 0.15);
}

/* Client name and profession */
.testimonial-item h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #091E3E;
    margin-top: 12px;
}

.testimonial-item p {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 0;
}

/* Star rating */
.testimonial-stars span {
    color: #F59E0B; /* Modern amber star color */
    font-size: 1.1rem;
    margin-top: 8px;
    display: block;
}

/* Hover effect for highlighted testimonials */
.testimonial-item:hover {
    transform: translateY(-8px);
    border-color: rgba(41, 110, 252, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

/* Ensuring responsiveness */
@media (max-width: 768px) {
    .testimonial-item {
        margin-bottom: 30px;
    }
}


/* Team Section Redesign */
.team-item {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 85%;
    margin: 0 auto;
    height: auto;
    text-align: center;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    padding-top: 50px;
}

/* Beautiful Modern Dynamic Angled Accent Banner using Brand Colors */
.team-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a52c7 100%);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 95%);
    z-index: 1;
}

/* Image styling */
.team-img {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    position: relative;
    z-index: 2;
}

.team-img img {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid #FFFFFF;
    box-shadow: 0 8px 20px rgba(41, 110, 252, 0.2);
    display: inline-block;
    object-fit: cover;
}

.team-item:hover .team-img img {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 12px 25px rgba(41, 110, 252, 0.3);
}

/* Team content */
.team-content {
    padding: 25px 20px;
    position: relative;
    z-index: 2;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #091E3E;
    margin-bottom: 6px;
}

.team-content p {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Social media section styling */
.team-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #EEF9FF;
    border-radius: 50%;
    font-size: 1rem;
    color: var(--primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary);
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* Hover effect for the whole card */
.team-item:hover {
    transform: translateY(-8px);
    border-color: rgba(41, 110, 252, 0.15);
    box-shadow: 0 20px 40px rgba(41, 110, 252, 0.08);
}


    .blog-section {
        margin-bottom: 40px; /* Adjust this value to control the spacing between blogs */
    }


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}


/* Apply Open Sans font to everything by default */
* {
    font-family: 'Open Sans', sans-serif;
}

/* Apply Montserrat to all heading tags */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

.carousel-indicators {
    bottom: -20px; /* Adjust for spacing below pricing section */
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    background-color: #cccccc;
    opacity: 1;
    margin: 0 5px;
    border-radius: 2px;
}

.carousel-indicators .active {
    background-color: #333333;
}



.text-light-blue {
    color: #00BFFF; /* Light blue color */
}

.text-light-blue:hover {
    color: #1E90FF; /* Darker blue on hover */
}



.vendor-carousel .item {
    display: flex;
    justify-content: center;
    align-items: center;
}
.vendor-img {
    border-radius: 10px;
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
}
/* .vendor-img:hover {
    transform: scale(1.05);
}
.bg-white {
    position: relative;
}
.bg-white::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1;
} */
h2 {
    position: relative;
    z-index: 2;
    font-weight: bold;
    font-size: 2rem;
}


.carousel-item .ratio {
    width: 100%;
    max-width: 800px; /* Limit max-width for large screens */
    margin: 0 auto; /* Center the iframe on large screens */
    z-index: 2; /* Bring iframe to the top layer */
    pointer-events: auto; /* Ensure iframe is clickable */
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5); /* Make captions readable on larger screens */
    padding: 10px;
    border-radius: 5px;
}


/*** Partner  section ***/
.partnership-section {
    background: linear-gradient(135deg, #f0f4ff, #e0e9ff);
    background-image: url('img/pattern.png'); /* Use a subtle pattern as a background */
    background-blend-mode: overlay;
    padding: 5rem 0;
}

.section-title h5 {
    color: #296EFC;
    border-bottom: 2px solid #D2691E; 
    padding-bottom: 5px;
    margin-bottom: 10px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { color: #296EFC; }
    to { color: #D2691E;  }
}


.btn-primary {
    background-color: #296EFC;
    border: none;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background-color: #D2691E; 
    transform: scale(1.05);
}

.img-fluid {
    border-radius: 10px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s;
}

.img-fluid:hover {
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.4);
}

.custom-email {
    color: #296EFC;
    font-weight: bold;
    position: relative;
}

.custom-email:hover::after {
    content: "📋";
    font-size: 0.8rem;
    color: #D2691E; 
    margin-left: 5px;
    cursor: pointer;
}

/********** Premium AI Advisor & Radar Styling **********/
:root {
    --brand-blue: #296EFC;
    --brand-orange: #D2691E;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --dark-glass-bg: rgba(15, 23, 42, 0.9);
}

/* Glassmorphism Panels */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.glass-card-dark {
    background: var(--dark-glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.brand-glow-blue {
    box-shadow: 0 10px 30px rgba(41, 110, 252, 0.15);
    border: 1px solid rgba(41, 110, 252, 0.3) !important;
}

.brand-glow-orange {
    box-shadow: 0 10px 30px rgba(210, 105, 30, 0.15);
    border: 1px solid rgba(210, 105, 30, 0.3) !important;
}

/* AI Chat Window */
.ai-chat-window {
    height: 520px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: rgba(10, 15, 30, 0.95);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Montserrat', sans-serif;
    color: #e2e8f0;
}

/* Chat Messages */
.chat-msg-wrapper {
    display: flex;
    margin-bottom: 18px;
    align-items: flex-start;
    animation: fadeInUp 0.3s ease-out forwards;
}

.chat-msg-wrapper.user-msg {
    justify-content: flex-end;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid var(--brand-blue);
    object-fit: cover;
}

.chat-msg-wrapper.user-msg .chat-avatar {
    margin-right: 0;
    margin-left: 12px;
    border-color: var(--brand-orange);
    order: 2;
}

.chat-bubble {
    max-width: 75%;
    padding: 14px 18px;
    border-radius: 18px;
    line-height: 1.6;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.chat-bubble.ai-bubble {
    background: rgba(41, 110, 252, 0.08);
    border: 1px solid rgba(41, 110, 252, 0.2);
    border-top-left-radius: 4px;
    color: #f1f5f9;
}

.chat-bubble.user-bubble {
    background: rgba(210, 105, 30, 0.1);
    border: 1px solid rgba(210, 105, 30, 0.2);
    border-top-right-radius: 4px;
    color: #f8fafc;
}

/* Table styling within chat bubble */
.chat-table {
    width: 100%;
    margin: 10px 0;
    border-collapse: collapse;
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.chat-table th {
    background: rgba(41, 110, 252, 0.2);
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    color: #fff;
}

.chat-table td {
    padding: 8px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Tool execution console log */
.console-log {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: #10b981;
    background: rgba(0, 0, 0, 0.4);
    border-left: 3px solid #10b981;
    padding: 8px 12px;
    margin: 10px 0;
    border-radius: 4px;
}

/* Pulsing pill selectors */
.pill-trigger {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    margin: 6px;
}

.pill-trigger i {
    margin-right: 8px;
    font-size: 0.9rem;
}

.pill-trigger:hover {
    background: rgba(41, 110, 252, 0.15);
    border-color: var(--brand-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(41, 110, 252, 0.2);
}

.pill-trigger.active {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}

/* Background Radar Showcase styles */
.radar-panel {
    background: rgba(13, 20, 35, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    color: #e2e8f0;
}

.radar-screen {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41, 110, 252, 0.05) 30%, rgba(13, 20, 35, 1) 70%);
    border: 2px solid rgba(41, 110, 252, 0.15);
    overflow: hidden;
    margin: 0 auto;
}

.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, var(--brand-blue) 0deg, rgba(41, 110, 252, 0) 90deg);
    transform-origin: top left;
    transform: translate(-50%, -50%) rotate(0deg);
    animation: radar-rotate 4s linear infinite;
    opacity: 0.2;
    z-index: 1;
}

.radar-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 85%;
    border-radius: 50%;
    border: 1px dashed rgba(41, 110, 252, 0.2);
}

.radar-grid-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 50%;
    border-radius: 50%;
    border: 1px dashed rgba(41, 110, 252, 0.15);
}

.radar-blip {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    z-index: 2;
    animation: pulse-blip 1.5s ease-out infinite;
}

.radar-blip-orange {
    background: var(--brand-orange);
    box-shadow: 0 0 10px var(--brand-orange);
}

.radar-stage-box {
    border-left: 3px solid rgba(255, 255, 255, 0.1);
    padding-left: 16px;
    margin: 10px 0;
    transition: all 0.3s;
}

.radar-stage-box.active {
    border-color: var(--brand-blue);
    background: rgba(41, 110, 252, 0.05);
}

.radar-stage-box.active h6 {
    color: var(--brand-blue);
}

/* Insight Cards */
.insight-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.4s ease-out forwards;
}

.insight-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.04);
}

.insight-card.risk {
    border-left: 4px solid #ef4444;
}

.insight-card.opportunity {
    border-left: 4px solid #10b981;
}

.insight-card.briefing {
    border-left: 4px solid var(--brand-blue);
}

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

@keyframes pulse-blip {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.typewriter-text {
    border-right: 2px solid var(--brand-blue);
    animation: blink-caret 0.75s step-end infinite;
}

.global-reach-map-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    aspect-ratio: 1;
    overflow: hidden;
}

.global-reach-map-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.6));
    animation: rotateGlobe 120s linear infinite;
}

/* Glowing Orbital Ring 1 */
.global-reach-orbit-1 {
    position: absolute;
    width: 96%;
    height: 96%;
    border: 1.5px solid rgba(41, 110, 252, 0.25);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 15px rgba(41, 110, 252, 0.05);
    animation: rotateOrbit 25s linear infinite;
}

.global-reach-orbit-1::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 6px;
    height: 6px;
    background: #296EFC;
    border-radius: 50%;
    box-shadow: 0 0 12px #296EFC, 0 0 20px #296EFC;
}

/* Glowing Orbital Ring 2 */
.global-reach-orbit-2 {
    position: absolute;
    width: 80%;
    height: 80%;
    border: 1px dashed rgba(210, 105, 30, 0.3);
    border-radius: 50%;
    z-index: 1;
    animation: rotateOrbitBack 35s linear infinite;
}

.global-reach-orbit-2::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 20%;
    width: 8px;
    height: 8px;
    background: #D2691E;
    border-radius: 50%;
    box-shadow: 0 0 12px #D2691E, 0 0 20px #D2691E;
}

/* Scanning radar sweep overlay */
.global-reach-sweep {
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, rgba(41, 110, 252, 0.15) 0deg, rgba(41, 110, 252, 0) 90deg, rgba(41, 110, 252, 0) 360deg);
    border-radius: 50%;
    z-index: 3;
    pointer-events: none;
    animation: rotateSweep 8s linear infinite;
}

/* Pulsing heat spots overlay */
.global-reach-pulse {
    position: absolute;
    width: 14px;
    height: 14px;
    background: rgba(41, 110, 252, 0.8);
    border-radius: 50%;
    z-index: 4;
    box-shadow: 0 0 0 rgba(41, 110, 252, 0.6);
    animation: metricPulse 2s infinite;
}

.pulse-nairobi {
    top: 55%;
    left: 56%;
    background: #ffc107;
    animation-delay: 0.5s;
}

.pulse-lagos {
    top: 52%;
    left: 46%;
    background: #D2691E;
    animation-delay: 1s;
}

.pulse-london {
    top: 38%;
    left: 45%;
    background: #296EFC;
    animation-delay: 0s;
}

.pulse-johannesburg {
    top: 65%;
    left: 53%;
    background: #28a745;
    animation-delay: 1.5s;
}

@keyframes rotateGlobe {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateOrbit {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateOrbitBack {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes rotateSweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes metricPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7), 0 0 0 0 rgba(41, 110, 252, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0), 0 0 0 15px rgba(41, 110, 252, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 0 0 0 rgba(41, 110, 252, 0);
    }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--brand-blue); }
}

/* Premium Glassmorphic Stats Section */
.facts {
    margin-top: -75px;
    position: relative;
    z-index: 10;
}

@media (max-width: 991.98px) {
    .facts {
        margin-top: 20px; /* Pull down on tablet and mobile to prevent overlapping */
        padding-left: 15px;
        padding-right: 15px;
    }
}

.fact-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 4px solid transparent;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 140px;
    display: flex;
    align-items: center;
    padding: 25px 30px;
}

.brand-blue-card {
    border-left-color: var(--primary) !important;
}

.brand-orange-card {
    border-left-color: #D2691E !important;
}

@media (max-width: 575.98px) {
    .fact-card {
        height: auto;
        padding: 20px;
    }
    .fact-card h1 {
        font-size: 1.5rem !important;
    }
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(41, 110, 252, 0.08);
}

.fact-card.brand-blue-card:hover {
    border-color: rgba(41, 110, 252, 0.2);
}

.fact-card.brand-orange-card:hover {
    border-color: rgba(210, 105, 30, 0.2);
}

.fact-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.brand-blue-card .fact-icon-container {
    background: rgba(41, 110, 252, 0.08);
    color: var(--primary);
}

.brand-orange-card .fact-icon-container {
    background: rgba(210, 105, 30, 0.08);
    color: #D2691E;
}

.fact-card:hover .fact-icon-container {
    transform: scale(1.1) rotate(3deg);
}

.fact-card h5 {
    font-size: 0.85rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    font-weight: 600;
}

.fact-card h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0;
}

.brand-blue-card h1 {
    color: var(--primary);
}

.brand-orange-card h1 {
    color: #D2691E;
}


/* Play Store Positive Review Testimony Styles */
.playstore-review-badge {
    display: inline-flex;
    align-items: center;
    background: #E6F4EA;
    color: #137333;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.playstore-review-badge i {
    font-size: 0.85rem;
    margin-right: 5px;
}

.playstore-card-avatar {
    width: 65px !important;
    height: 65px !important;
    border-radius: 50%;
    object-fit: cover;
    margin: 20px auto 10px auto;
    border: 3px solid #E6F4EA;
}


/* =============================================
   FINAL PREMIUM POLISH LAYER
   ============================================= */

/* --- Blog Cards --- */
.blog-item {
    border-radius: 16px !important;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    overflow: hidden;
}

.blog-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(41,110,252,0.08);
    border-color: rgba(41,110,252,0.15);
}

.blog-item .blog-img {
    overflow: hidden;
}

.blog-item .blog-img video,
.blog-item .blog-img img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-item:hover .blog-img video,
.blog-item:hover .blog-img img {
    transform: scale(1.05);
}

.blog-item .p-4 h4 {
    font-weight: 700;
    color: #091E3E;
    font-size: 1rem;
    line-height: 1.5;
}

.blog-item .p-4 p {
    font-size: 0.875rem;
    color: #718096;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Contact Form Fields --- */
.form-control {
    border-radius: 10px !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: rgba(41, 110, 252, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(41, 110, 252, 0.12) !important;
    outline: none;
}

/* --- Vendor Carousel Logo Items --- */
.vendor-img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    filter: grayscale(40%);
    opacity: 0.75;
    transition: all 0.3s ease;
    padding: 8px 12px;
}

.vendor-img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* --- Footer Link Hover Animations --- */
.link-animated a {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.link-animated a:hover {
    padding-left: 8px;
    letter-spacing: 0.02em;
}

.link-animated a i {
    transition: transform 0.3s ease;
}

.link-animated a:hover i {
    transform: translateX(4px);
}

/* --- Partner Section --- */
.partner-item img {
    filter: grayscale(30%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.03);
}

/* --- Section Divider Accent --- */
.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #D2691E);
    border-radius: 2px;
    margin: 0 auto 1.5rem auto;
}

/* --- Navbar Glassmorphism on scroll --- */
.sticky-top.navbar-dark {
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.95) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

/* --- Back to Top Button Enhancement --- */
.back-to-top {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(41, 110, 252, 0.3) !important;
    transition: all 0.3s ease !important;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(41, 110, 252, 0.45) !important;
}

/* --- Mobile Responsive Service Cards --- */
@media (max-width: 768px) {
    .service-item {
        min-height: auto;
        padding: 24px 20px;
    }

    .service-item .service-icon {
        width: 55px;
        height: 55px;
    }

    .service-item h4 {
        font-size: 1rem;
    }
}

/* --- Mobile Fact Cards Stack Fix --- */
@media (max-width: 767.98px) {
    .fact-card {
        height: auto !important;
        min-height: 100px;
        padding: 18px 20px;
        margin-bottom: 12px;
    }

    .fact-icon-container {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .fact-card h1 {
        font-size: 1.5rem !important;
    }

    .fact-card h5 {
        font-size: 0.75rem;
    }
}

/* --- Smooth Section Fade-up Global Enhancement --- */
.wow.fadeInUp,
.wow.slideInUp,
.wow.slideInLeft,
.wow.slideInRight {
    will-change: transform, opacity;
}

/* --- Testimonial Card Avatar Ring Enhancement --- */
.playstore-card-avatar {
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px #E6F4EA;
    transition: transform 0.3s ease;
}

.testimonial-item:hover .playstore-card-avatar {
    transform: scale(1.08);
}

/* --- News & Media Section Video Border & Grid --- */
.ratio iframe {
    border-radius: 12px;
    border: 0;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1200px) {
    .media-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 991px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
    }
}

.media-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.media-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(41, 110, 252, 0.08);
    border-color: rgba(41, 110, 252, 0.15);
}

.media-thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}

.media-thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-card:hover .media-thumbnail-wrapper img {
    transform: scale(1.05);
}

.media-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 1;
}

.media-card:hover .media-play-overlay {
    background: rgba(0, 0, 0, 0.45);
}

.media-play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 2;
}

.media-play-btn i {
    margin-left: 3px;
}

.media-card:hover .media-play-btn {
    background: var(--brand-blue);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(41, 110, 252, 0.4);
}

.media-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.media-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #091E3E;
    margin-bottom: 8px;
    line-height: 1.4;
}

.media-card-text {
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.media-card-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.25s ease;
}

.media-card-link i {
    transition: transform 0.25s ease;
}

.media-card-link:hover {
    color: var(--brand-orange);
}

.media-card-link:hover i {
    transform: translateX(4px);
}


/* --- Team Card Image Zoom on Hover --- */
.team-img img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-item:hover .team-img img {
    transform: scale(1.05);
}

/* --- Social Link Icons Hover Glow --- */
.social-link {
    transition: all 0.3s ease !important;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.15) !important;
    filter: drop-shadow(0 4px 8px rgba(41, 110, 252, 0.35));
}

/* --- Global Reach Heatmap Section Styles --- */
.global-reach-section {
    background: radial-gradient(circle at 80% 20%, rgba(41, 110, 252, 0.08) 0%, rgba(9, 30, 62, 0) 60%), #091e3e;
    color: #ffffff;
    border-radius: 24px;
    padding: 60px 40px;
}

.global-reach-metrics {
    border-left: 2px dashed rgba(255, 255, 255, 0.15);
    padding-left: 30px;
}

.metric-item {
    margin-bottom: 35px;
    position: relative;
}

.metric-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #296EFC;
    border: 2px solid #091e3e;
    box-shadow: 0 0 10px #296EFC;
}

.metric-item:nth-child(2)::before {
    background: #D2691E;
    box-shadow: 0 0 10px #D2691E;
}

.metric-item:nth-child(3)::before {
    background: #28a745;
    box-shadow: 0 0 10px #28a745;
}

.metric-item:nth-child(4)::before {
    background: #ffc107;
    box-shadow: 0 0 10px #ffc107;
}

.metric-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.metric-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.4;
}

.metric-sublist {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-left: 0;
    list-style: none;
}

.metric-sublist li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}

.metric-sublist li::before {
    content: "✓";
    color: #296EFC;
    font-weight: bold;
    margin-right: 8px;
}

.global-reach-map-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.global-reach-map-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.6));
    animation: floatMap 6s ease-in-out infinite;
}

@keyframes floatMap {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.5deg); }
}


/* ============================================
   PREMIUM FOOTER STYLES
   ============================================ */

.footer-modern {
    background: #2C2E33;
    border-top: 1px solid #3E4249;
    color: #E2E8F0;
    position: relative;
}

.footer-modern > .container {
    position: relative;
    z-index: 1;
}

/* Brand description text */
.footer-brand-desc {
    font-size: 0.875rem;
    color: #94A3B8;
    line-height: 1.7;
    max-width: 320px;
}

/* Social icons row */
.footer-social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #CBD5E1;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(41, 110, 252, 0.4);
}

/* Office cards */
.footer-office-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px;
    height: 100%;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.footer-office-card:hover {
    background: rgba(41, 110, 252, 0.05);
    border-color: rgba(41, 110, 252, 0.25);
}

.office-flag {
    width: 26px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
}

.office-text {
    font-size: 0.8rem;
    color: #94A3B8;
    margin-bottom: 4px;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    line-height: 1.4;
}

.office-text i {
    color: var(--brand-blue);
    margin-top: 2px;
    flex-shrink: 0;
}

/* Quick Links column */
.uppercase-spacing {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links-list a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links-list a i {
    font-size: 1.1rem;
    color: var(--brand-blue);
    margin-right: 2px;
    transition: transform 0.25s ease;
}

.footer-links-list a:hover {
    color: #FFFFFF;
    transform: translateX(4px);
}

.footer-links-list a:hover i {
    transform: translateX(3px);
}

/* Divider */
.footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

/* Bottom bar */
.footer-copyright {
    font-size: 0.83rem;
    color: #64748B;
}

.footer-mail-link {
    font-size: 0.83rem;
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-mail-link:hover {
    color: var(--brand-blue);
}






/* --- Partnership Handshake Animation --- */
@keyframes handshake-greeting {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    10% { transform: translateY(5px) rotate(-4deg) scale(1.02); }
    20% { transform: translateY(-5px) rotate(4deg) scale(1.02); }
    30% { transform: translateY(5px) rotate(-4deg) scale(1.02); }
    40% { transform: translateY(-5px) rotate(4deg) scale(1.02); }
    50% { transform: translateY(0) rotate(0deg) scale(1); }
    100% { transform: translateY(0) rotate(0deg) scale(1); } /* Pause between handshakes */
}

.partnership-handshake-anim {
    animation: handshake-greeting 3s ease-in-out infinite;
    transform-origin: bottom center; /* Pivot from bottom to simulate arm motion */
    border-radius: 50%; /* Give the logo a nice rounded feel */
    box-shadow: 0 10px 30px rgba(41, 110, 252, 0.15); /* Soft brand blue glow */
    border: 4px solid white; /* Clean border */
    transition: all 0.3s ease;
}

.partnership-handshake-anim:hover {
    box-shadow: 0 15px 40px rgba(210, 105, 30, 0.25); /* Orange glow on hover */
    animation-duration: 1.5s; /* Faster shake when hovered */
}

/* --- OdaPAP Styles --- */
.odapap-feature-card:hover {
    transform: translateY(-10px);
}
.pulse-animation {
    animation: pulse-primary 2s infinite;
}
@keyframes pulse-primary {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(41, 110, 252, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(41, 110, 252, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(41, 110, 252, 0); }
}

/* --- Team Grid Layout --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 991px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

