:root {
    --bg-color: #f8fafc;

    --text-color: #1e293b;
    --primary: #4f46e5;
    /* Indigo */
    --secondary: #06b6d4;
    /* Cyan */
    --accent: #ef4444;
    /* Red */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: #ffffff;
    --muted-text: #64748b;
    --dark-blue: #0a192f;
    /* Premium Dark Blue */
}
.powered {
    font-size: 0.8rem;
}
/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo {
    height: 150px;
    z-index: 10;
    animation: pulse 2s ease-in-out infinite;
}

.loader-ring {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 3px solid transparent;
    border-top: 3px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.loader-ring::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 3px solid transparent;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}



/* Glassmorphism Navbar (Dark Blue) */
.custom-navbar {
    background: transparent;
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0 !important;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.custom-navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.custom-navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--secondary), #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.custom-navbar .nav-link {
    color: var(--text-color) !important;
    font-weight: 400;
    font-size: 1.15rem;
    transition: color 0.3s ease;
}

.custom-navbar.scrolled .nav-link {
    color: var(--text-color) !important;
}

.custom-navbar .nav-link:hover {
    color: var(--secondary) !important;
}

.navbar-toggler {
    padding: 8px !important;
    border-radius: 8px !important;
}

.custom-navbar .navbar-toggler-icon {
    filter: invert(1);
}

.custom-navbar.scrolled .navbar-toggler-icon {
    filter: invert(0);
}

@media (max-width: 991.98px) {
    .custom-navbar .navbar-brand img {
        height: 80px !important;
    }
    
    .container-fluid.px-5 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

.custom-navbar .navbar-brand {
    display: flex;
    align-items: center;
}

.custom-navbar .navbar-brand img {
    height: 90px !important;
    width: auto !important;
    transition: all 0.3s ease;
}

.custom-navbar.scrolled .navbar-brand img {
    height: 70px !important;
}
.navbar-brand {
    /* Removed restrictive height/width to allow logo size to be controlled by the image itself */
}
/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.5);
    color: white;
}

/* AI Chatbot */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.chatbot-toggle {
    background: var(--primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    transition: transform 0.3s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 350px;
    height: 450px;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    padding: 15px;
    font-weight: bold;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chatbot-message {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
}

.chatbot-message.bot {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    align-self: flex-start;
}

.chatbot-message.user {
    background: var(--primary);
    color: white;
    align-self: flex-end;
}

.chatbot-input-container {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
}

.chatbot-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px 15px;
    color: white;
}

.chatbot-input:focus {
    outline: none;
    border-color: var(--secondary);
}

.chatbot-send {
    background: var(--secondary);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
}

/* Footer (Dark Blue) */
.custom-footer {
    background: var(--dark-blue);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
    margin-top: 100px;
    color: #94a3b8;
}

.custom-footer h5,
.custom-footer h6 {
    color: white;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
}

/* Common Components */
.gradient-text {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lined-heading {
    display: flex;
    align-items: center;
    text-align: center;
}

.lined-heading::before,
.lined-heading::after {
    content: '';
    flex: 1;
    border-bottom: 2px solid #1F6FB2;
    /* Using green as requested in reference image */
}

.lined-heading::before {
    margin-right: 20px;
}

.lined-heading::after {
    margin-left: 20px;
}

.hero-section {
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--dark-blue), rgba(10, 25, 47, 0.9)), url(/images/hero_bg_tech.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
 

.glass-card {
    background: var(--card-bg);
    border: 2px solid #cbd5e1;
    border-radius: 20px;
    padding: 11px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary);
}

/* Coin Toss Animation for Icons */
.glass-card i,
.hero-section i {
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    display: inline-block;
}

.glass-card:hover i,
.hero-section:hover i {
    transform: rotateY(360deg) scale(1.2);
}

/* Button Animations */
.btn-custom {
    /*background: linear-gradient(45deg, var(--primary), var(--secondary));*/
    color: black;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;

    font-weight: 600;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-customs {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-custom:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.4);
    color: white;
}

.btn-outline-primary {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.btn-outline-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}

/* Movable Image Styles */
.movable-image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    transition: transform 0.1s ease-out;
}

.movable-image {
    width: 100%;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Viewport Animations */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    transform: translateY(40px);
    opacity: 0;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.zoom-in {
    animation: zoomIn 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    transform: scale(0.92);
    opacity: 0;
}

@keyframes zoomIn {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.fade-left {
    animation: fadeLeft 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    transform: translateX(-40px);
    opacity: 0;
}

@keyframes fadeLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.fade-right {
    animation: fadeRight 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    transform: translateX(40px);
    opacity: 0;
}

@keyframes fadeRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Floating Social Buttons */
.floating-social-bar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-social-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;

    border: 1px solid rgba(0, 0, 0, 0.1);

    font-size: 1.2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.floating-social-bar a:hover {
    transform: scale(1.1) rotateY(360deg);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.glass-card i {
    transition: transform 0.6s ease-in-out;
}

.glass-card:hover i {
    transform: rotateY(360deg);
}


.floating-fb {
    background-color: #1877F2;
    color: white !important;
    border: none !important;
}

.floating-insta {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white !important;
    border: none !important;
}

.floating-twitter {
    background-color: #000000;
    color: white !important;
    border: none !important;
}

.floating-linkedin {
    background-color: #0077b5;
    color: white !important;
    border: none !important;
}

.floating-youtube {
    background-color: #FF0000;
    color: white !important;
    border: none !important;
}

.floating-call {
    background-color: #16a34a;
    color: white !important;
    border: none !important;
}

.floating-whatsapp {
    background-color: #25D366;
    color: white !important;
    border: none !important;
}

.floating-location {
    background-color: #EA4335;
    color: white !important;
    border: none !important;
}

.floating-fb:hover,
.floating-insta:hover,
.floating-twitter:hover,
.floating-linkedin:hover,
.floating-youtube:hover,
.floating-call:hover,
.floating-whatsapp:hover,
.floating-location:hover {
    color: white !important;
    opacity: 0.9;
}




/* Dropdown Hover Fix */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: var(--primary) !important;
    color: white !important;
}

/* Form Input Visibility Fix */
.form-control,
.form-select {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: var(--text-color) !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.25) !important;
}

/* Mega Menu Customizations */
.navbar .dropdown-menu-mega {
    width: 100%;
    max-width: 950px;
    padding: 30px;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid #cbd5e1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        margin: 10px -15px 0;
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border: 1px solid rgba(0,0,0,0.05);
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar .dropdown-menu-mega {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px !important;
        border: none !important;
        box-shadow: none !important;
        background: #f8fafc !important;
        backdrop-filter: none !important;
        margin-top: 10px !important;
    }

    .mega-menu-vendors {
        display: none !important;
    }

    .custom-navbar .nav-link {
        padding: 10px 0 !important;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .custom-navbar .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    .nav-item.dropdown.position-static {
        position: relative !important;
    }

    .custom-navbar .navbar-nav .nav-link {
        color: var(--text-color) !important;
        padding: 12px 15px !important;
    }

    .mega-menu-link {
        color: var(--text-color) !important;
        padding: 10px 15px !important;
    }
}

.mega-menu-link {
    color: #475569;
    text-decoration: none;
    display: block;
    padding: 8px 10px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 5px;
}

.mega-menu-link i {
    font-size: 0.75rem;
    margin-right: 8px;
    color: var(--primary);
    transition: transform 0.2s ease;
}

.mega-menu-link:hover {
    color: var(--primary);
    background: rgba(0, 0, 0, 0.03);
}

.mega-menu-link:hover i {
    transform: translateX(3px);
}

.mega-menu-vendors {
    gap: 15px;
}

.mega-menu-vendors img {
    height: 35px;
    max-width: 100px;
    object-fit: contain;

    opacity: 0.7;
    transition: all 0.3s ease;
}

.mega-menu-vendors img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Feature Card & Icon Box Styling */
.feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary);
}

.icon-box {
    width: 90px;
    height: 90px;
    background: #f8fafc;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    color: var(--primary);
    /* Default color */
}

.icon-box i {
    font-size: 3rem !important;
    /* Increased Icon Size */
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .icon-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: rotateY(360deg);
    /* Toss Coin Animation */
    color: white !important;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

/* Service Hero Section & Cards */
.container-custom {
    width: 100%;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.service-hero-section {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 40px;
    margin-bottom: 40px !important;
}

@media (min-width: 992px) {
    .service-hero-card {
        height: 520px !important; /* Reduced from 600px */
    }
    .service-hero-card img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
    }
}

.feature-card:hover .icon-box i {
    transform: scale(1.1);
    color: white !important;
}

.feature-card h5 {
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    /* Increased Header Size */
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.feature-card p {
    font-size: 1.05rem !important;
    /* Increased Text Size */
    color: var(--muted-text);
    line-height: 1.6;
    margin: 0;
}