@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&family=Noto+Sans:wght@400;500;700;800&display=swap');

:root {
    --primary: #3182CE;
    --secondary: #1a202c;
    --accent: #ffcc00;
    --text-dark: #2d3748;
    --text-muted: #4a5568;
    --light-bg: #e2eeff;
    --white: #ffffff;
    --font-main: 'Outfit', sans-serif;
}

/* Global Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
    border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    font-size: 16px;
    /* L5 – Body / Content Text */
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--secondary);
}

h1 {
    font-size: 48px;
}

/* L1 – Main Page Titles */
h2 {
    font-size: 30px;
}

/* L2 – Product Modal Titles */
h3 {
    font-size: 24px;
}

/* L3 – Section Subheadings */
h4 {
    font-size: 20px;
}

/* L4 – Sub-Section Headers */
h5 {
    font-size: 18px;
}

/* L6 – Intro / Context Labels */
h6 {
    font-size: 14px;
}

/* L7 – Utility / Metadata Text */
small,
.small {
    font-size: 16px;
}

/* L7 – Utility / Metadata Text */
.micro-copy {
    font-size: 11px;
}

/* L8 – Technical Micro-Copy */

/* Header Styles */
.navbar {
    padding: 5px 20px;
    box-shadow: none;
    background-color: var(--white) !important;
    width: 100%;
    z-index: 9999 !important;
}

.navbar.ready {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.navbar-scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 45px;
    width: auto;
    transition: all 0.4s ease;
}

/* Nav Link Hover Underline */
.nav-link {
    color: var(--nav-link) !important;
    font-weight: 500;
    padding: 5px 15px !important;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    border-radius: 10px;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: #1e73be !important;
    font-weight: 700;
}

/* Show Dropdown on Hover */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        border: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 0;
        /* Remove default padding */
        min-width: 250px;
        border-radius: 4px;
        overflow: hidden;
    }
}

/* Remove default Bootstrap caret */
.nav-link.dropdown-toggle::after {
    border: none !important;
    margin-left: 0 !important;
}

/* Dropdown Item Styling */
.dropdown-item {
    padding: 12px 20px;
    font-weight: 500;
    color: var(--secondary);
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    position: relative;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: var(--secondary);
    color: white !important;
}

.btn {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-book-demo {
    background-color: #1e73be;
    color: white !important;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    text-transform: uppercase;
}

.btn-book-demo:hover {
    background-color: #0c2e60;
    color: white !important;
}

/* Hero Section */
.hero-section {
    padding: 60px 0 150px 0;
    background-color: #cce5ff;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#heroCarousel {
    min-height: 400px;
    width: 100%;
}

.carousel-inner {
    height: 100%;
}

.hero-title {
    font-size: 48px;
    /* L1 – Main Page Titles */
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    /* L6 – Intro / Context Labels */
    color: var(--text-muted);
    max-width: 600px;
}

.hero-btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: capitalize;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.hero-btn:hover {
    background-color: #000033 !important;
    color: white !important;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover::before {
    width: 300%;
    height: 300%;
}

.hero-btn-dark {
    background-color: #1356ac;
    color: white !important;
    border-radius: 50px !important;
    /* Full pill shape */
}

.hero-btn-light-blue {
    background-color: #1a88e5;
    color: white !important;
    border-radius: 6px !important;
    /* Rectangular shape */
}

.hero-btn-light-blue i {
    margin-right: 12px;
    font-size: 1.1rem;
}

.hero-dots {
    margin-top: 30px;
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
}

.dot.active {
    width: 25px;
    background-color: var(--secondary);
}

/* Hero Form Card */
.hero-form-card {
    background-color: #f2faff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e1f0f9;
}

.hero-form-header {
    background-color: #1e73be;
    color: white;
    padding: 8px;
    text-align: center;
    font-weight: 400;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px;
    border-radius: 50px;
}

.hero-form-header i {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 50%;
    font-size: 14px;
}

.hero-form-tabs {
    display: flex;
    padding: 0 10px;
    gap: 5px;
}

.hero-form-tabs button {
    flex: 1;
    border: none;
    padding: 10px 5px;
    font-size: 14px;
    /* L7 – Utility / Metadata Text */
    font-weight: 500;
    border-radius: 5px 5px 0 0;
}

.tab-lead,
.tab-digital,
.tab-web {
    background-color: #ffcc4a;
    color: #0c2e60;
    transition: all 0.3s ease;
}

.hero-form-tabs button.active {
    background-color: #87CEEB !important;
    color: #232323 !important;
    font-weight: 700;
}

.hero-form-body {
    padding: 20px;
}

.tabcontent {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tabcontent.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.datapoints-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: #E1ECFE;
    border: 1px solid #d1e9ff;
    padding: 12px;
    border-radius: 6px;
    max-height: 80px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.datapoints-grid label {
    font-size: 14px;
    /* L7 – Utility / Metadata Text */
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.datapoints-grid input[type="checkbox"] {
    cursor: pointer;
}

.input-group-custom .form-control {
    margin-bottom: 12px;
}

.hero-form-body .form-control {
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 16px;
    /* L5 – Body / Content Text */
    color: #333;
}

.hero-form-body .form-control::placeholder {
    color: #999;
}

.hero-form-label {
    font-weight: 600;
    color: #1e73be;
    margin-bottom: 12px;
    display: block;
    font-size: 16px;
    /* L5 – Body / Content Text */
}

.data-points-box {
    border: 1px solid #a4d8f0;
    padding: 15px;
    border-radius: 4px;
    max-height: 140px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.data-points-box::-webkit-scrollbar {
    width: 6px;
}

.data-points-box::-webkit-scrollbar-thumb {
    background: #a4d8f0;
    border-radius: 10px;
}

.form-check {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.form-check-input {
    margin-top: 0;
    margin-right: 12px;
    border: 1px solid #ccc;
    cursor: pointer;
}

.form-check-label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.btn-request-demo {
    background-color: #1e73be;
    color: white;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    width: 100%;
    border: none;
    margin-top: 10px;
    text-transform: capitalize;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-request-demo:hover {
    background-color: #0c2e60;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(12, 46, 96, 0.3);
}

/* Hero Slider Animations */
@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-item.active .hero-title {
    animation: heroFadeInUp 0.8s ease-out forwards;
}

.carousel-item.active .hero-subtitle {
    animation: heroFadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
    /* Starts hidden */
}

.carousel-item.active .hero-btn {
    animation: heroFadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
    /* Starts hidden */
}

.hero-dots {
    position: absolute;
    bottom: 0px;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-dots [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--secondary);
    border: none;
    opacity: 0.3;
    transition: all 0.4s ease;
}

.hero-dots .active {
    width: 30px;
    /* Long pill for active dot */
    border-radius: 10px;
    background-color: var(--primary) !important;
    opacity: 1;
}

/* Service Cards - EXACT Style */
.service-card-new {
    background-color: #cce5ff !important;
    /* Soft light blue */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow:
        10px 10px 20px rgba(0, 0, 0, 0.1),
        -10px -10px 20px rgba(5, 5, 5, 0.8) !important;
}

.service-card-new:hover {
    background-color: #ffffff !important;
    /* White on hover */
    transform: translateY(-15px);
}

/* 15+ Years Badge in About Section */
.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: white;
    padding: 20px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 8px solid #f0f0f0;
    z-index: 2;
}

.experience-badge h2 {
    font-size: 30px;
    /* L2 – Product Modal Titles */
    color: #28a745;
    margin-bottom: 0;
    line-height: 1;
}

.experience-badge p {
    font-size: 11px;
    /* L8 – Technical Micro-Copy */
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
    color: var(--secondary);
}

/* Scroll to top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Testimonial Styling */
.testimonial-card {
    border: 1px solid #e1f0f9;
}

#testimonialCarousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

#testimonialCarousel .carousel-indicators [data-bs-target]:hover {
    transform: scale(1.4);
    background-color: var(--primary) !important;
    opacity: 1;
}

.section-title {
    font-size: 30px;
    /* L2 – Product Modal Titles */
    font-weight: 800;
    color: #0c2e60;
    position: relative;
    margin-bottom: 20px;
    margin-top: 20px;
}

/* About Section */
.about-section {
    background-color: #fff;
}

.about-image-wrapper img {
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.02);
}

.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

/* Services Grid */
.service-card-new {
    background-color: #cce5ff !important;
    transition: all 0.3s ease;
    border: none;
    box-shadow:
        10px 10px 20px rgba(0, 0, 0, 0.1),
        -10px -10px 20px rgba(255, 255, 255, 0.8);
}

.service-card-new:hover {
    transform: translateY(-15px);
    border-color: transparent;
    box-shadow:
        10px 10px 25px rgba(0, 0, 0, 0.15),
        -10px -10px 25px rgba(255, 255, 255, 0.7) !important;
}

.service-icon-new img {
    transition: transform 0.5s ease;
}

.service-card-new:hover .service-icon-new img {
    transform: rotateY(180deg);
}

.read-more-link i {
    transition: transform 0.3s ease;
}

.read-more-link:hover i {
    transform: translateX(5px);
}

/* Journey Section */
.journey-image img {
    width: 100%;
    object-fit: cover;
}

/* Clients Carousel Placeholder */
.clients-section img {
    filter: grayscale(0%);
    transition: all 0.3s ease;
    cursor: pointer;
}

.clients-section img:hover {
    transform: scale(1.1);
}

.clientSwiper {
    padding: 10px 0 30px 0 !important;
}

.clientSwiper .swiper-pagination {
    bottom: 0 !important;
}

.clientSwiper .swiper-pagination-bullet-active {
    background: var(--primary) !important;
}

.clientSwiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* Shape Divider */
.shape-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.shape-divider .shape-fill {
    fill: #FFFFFF;
}

.shape-divider .shape-fill-1 {
    fill: #edf6ff;
}


/* Specific Section Adjustments for Divider */
.about-section,
.services-section,
.counter-section {
    position: relative;
}

/* CTA Banner Card Section */
.cta-banner-section {
    background: #fff;
}

.cta-card {
    background: #000033;
    border-radius: 24px;
    padding: 10px 40px;
    overflow: hidden;
    position: relative;
}

.cta-card-text {
    padding: 20px 0;
}

.cta-card-text h2 {
    font-size: 30px;
    /* L2 – Product Modal Titles */
    line-height: 1.3;
    color: #fff !important;
}

.cta-card-text p {
    font-size: 18px;
    /* L6 – Intro / Context Labels */
}

.cta-card-btn {
    background-color: #ffc107;
    color: #000 !important;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.cta-card-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #ffc107;
    color: #000 !important;
    box-shadow: 0 15px 30px rgba(255, 193, 7, 0.4);
}

.cta-card-image {
    min-height: 300px;
}

.cta-person {
    max-height: 380px;
    position: relative;
    z-index: 2;
    border-radius: 12px;
}

/* Floating Badges */
.cta-badge {
    position: absolute;
    background: #fff;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    /* L7 – Utility / Metadata Text */
    font-weight: 600;
    color: #1a202c;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
    white-space: nowrap;
    animation: badgeFloat 3s ease-in-out infinite;
}

.cta-badge i {
    font-size: 1rem;
}

.cta-badge-1 {
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.cta-badge-2 {
    top: 45%;
    right: 0%;
    animation-delay: 1s;
}

.cta-badge-3 {
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Footer Styles */
.footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 40px 0 0;
}

.footer-heading {
    font-size: 18px;
    /* L6 – Intro / Context Labels */
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
}

.footer-heading a {
    text-decoration: none;
    color: white !important;

}

.footer-heading a:hover {
    color: #ffcc00 !important;
    text-decoration: none
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 4px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1px;
}

.footer-links li a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    /* L7 – Utility / Metadata Text */
    display: flex;
    align-items: center;
}

.footer-links li a:hover {
    color: #ffcc00 !important;
    padding-left: 8px;
}

.footer-links li a i {
    color: var(--accent);
    font-size: 8px;
    margin-right: 12px;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    color: #cccccc;
}

.footer-contact-info li i {
    color: var(--accent);
    margin-right: 15px;
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.footer-contact-info li a {
    color: #cccccc;
    text-decoration: none;
}

.btn-appointment {
    background-color: var(--white);
    color: var(--primary);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-appointment:hover {
    background-color: var(--accent);
    color: var(--secondary);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.3);
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #3d3d3d;
    color: var(--white);
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: rotate(15deg) scale(1.1);
}

.footer-bottom {
    background-color: var(--footer-bottom-bg);
    padding: 25px 0;
    margin-top: 80px;
    font-size: 14px;
    color: #888888;
}

.footer-bottom a {
    color: #888888;
    text-decoration: none;
    margin-left: 20px;
}

.footer-bottom a:hover {
    color: var(--white);
}

.scroll-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

/* Advanced Hero Entrance Animations */
@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-item .hero-title,
.carousel-item .hero-subtitle,
.carousel-item .hero-btn {
    opacity: 0;
}

.carousel-item.active .hero-title {
    animation: slideFromLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.carousel-item.active .hero-subtitle {
    animation: slideFromRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.2s;
}

.carousel-item.active .hero-btn {
    animation: slideFromBottom 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.4s;
}

.hero-form-card {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

.carousel-fade .carousel-item {
    transition-duration: 0.8s;
}

.input-group-custom {
    border-radius: 4px;
    padding: 10px 15px 0 15px;
    overflow-y: auto;
    /* Changed from scroll to auto */
    overflow-x: hidden;
    max-height: 300px;
}

/* Custom Scrollbar Logic - Fixed Layout Shift */
.input-group-custom::-webkit-scrollbar,
.datapoints-grid::-webkit-scrollbar {
    width: 8px;
    /* Always reserve space to prevent jump */
}

.input-group-custom:hover::-webkit-scrollbar,
.datapoints-grid:hover::-webkit-scrollbar {
    width: 8px;
}

.input-group-custom::-webkit-scrollbar-track,
.datapoints-grid::-webkit-scrollbar-track {
    background: transparent;
}

.input-group-custom::-webkit-scrollbar-thumb,
.datapoints-grid::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
}

.input-group-custom:hover::-webkit-scrollbar-thumb,
.datapoints-grid:hover::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

.input-group-custom::-webkit-scrollbar-thumb:hover,
.datapoints-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Service Cards Hover Effect */
.card {
    transition: all 0.3s ease;
    border-radius: 15px;
}

/* Stat Items 3D Neumorphic Effect */
.stat-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 12px 12px 24px #cbd5e1, -12px -12px 24px #ffffff;


}

.stat-item:hover {
    transform: translateY(-5px) scale(1.02);
}

.service-card-new h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-card-new h4 a:hover {
    color: #1a4d8c;
}

/* Footer Enhancements */
.footer-contact-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-contact-link:hover {
    color: #1a88e5 !important;
    transform: translateX(5px);
}

.footer-contact-link i {
    width: 20px;
    margin-right: 8px;
    /* Reduced space between icon and text */
}

.footer-bottom-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #FFCC00 !important;
}

.service-card-new {
    background: #cce5ff;
    border: none;
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow:
        10px 10px 20px rgba(0, 0, 0, 0.1),
        -10px -10px 20px rgba(255, 255, 255, 0.8);
}

.service-card-new:hover {
    transform: translateY(-15px);
    background-color: #ffffff !important;
    box-shadow:
        10px 10px 25px rgba(0, 0, 0, 0.15),
        -10px -10px 25px rgba(255, 255, 255, 0.7);
    border-color: transparent;
}



.service-icon-new {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-card-new h4 {
    color: #003366;
    font-weight: 700;
    font-size: 20px;
    /* L4 – Sub-Section Headers */
    margin-bottom: 15px;
}

.service-card-new p {
    color: #556677;
    font-size: 16px;
    /* L5 – Body / Content Text */
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.read-more-btn {
    background: #1e73be;
    color: white !important;
    padding: 8px 10px 8px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
}

.read-more-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #000033;
    transition: all 0.5s ease-out;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.read-more-btn i {
    width: 18px;
    height: 18px;
    background: white;
    color: #1e73be;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7px;
    transition: all 0.4s ease;
}

.read-more-btn:hover {
    transform: translateY(-5px) scale(1.05);
    color: white !important;
    box-shadow: 0 10px 20px rgba(30, 115, 190, 0.3);
}

.read-more-btn:hover::before {
    width: 300%;
    height: 300%;
}

.read-more-btn:hover i {
    transform: translateX(5px);
    color: #000033;
}

.icon-box {
    transition: all 0.3s ease;
}

.card:hover .icon-box {
    background-color: var(--primary) !important;
    }

.card:hover .icon-box i {
    color: white !important;
}

/* Read More Link Hover */
.read-more-link i {
    transition: transform 0.3s ease;
}

.read-more-link:hover i {
    transform: translateX(5px);
}

/* Footer Button Refinement */
.footer .btn-outline-primary {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transition: all 0.3s ease;
}

.footer .btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Responsive Media Queries */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
        /* L1 lower bound for tablets */
    }

    .hero-subtitle {
        font-size: 16px;
        /* L5 – Body / Content Text */
        margin-bottom: 30px !important;
    }

    .hero-form-card {
        margin-top: 50px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767.98px) {
    .navbar {
        padding: 10px 15px;
    }

    .navbar-brand img {
        height: 50px;
    }

    .section-title {
        font-size: 24px;
        /* L3 – Section Subheadings */
    }

    .hero-title {
        font-size: 36px;
        /* L1 lower bound for mobile */
    }
}

.stat-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #e1e8f0;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 20px;
}

/* About Page Styles */
.about-hero {
    background: var(--primary);
    position: relative;
}

.about-hero .display-3 {
    letter-spacing: -1px;
}

.about-hero .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.pointer-events-none {
    pointer-events: none;
}

.italic {
    font-style: italic;
}

.stat-mini h4 {
    font-size: 30px;
    /* L2 – Product Modal Titles */
    color: var(--primary);
}

.about-page-body {
    background-color: var(--light-bg);
}

.about-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.services-grid-section {
    padding: 0px 0 150px 0 !important;
    position: relative;
    background: #E2EEFF !important;
}

.about-section {
    padding: 0px 0 150px 0 !important;
    position: relative;
}

.testimonial-section {
    background-color: #E1ECFE !important;
}

.testimonial-card {
    background: transparent;
    border: none;
}

.testimonial-text {
    font-size: 18px;
    /* L6 – Intro / Context Labels */
    color: #667788 !important;
}

.testimonial-section .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: transparent;
    border: 1.5px solid #1e73be;
    opacity: 1;
    margin: 0 5px !important;
}

.testimonial-section .swiper-pagination-bullet-active {
    background: #1e73be;
    width: 25px;
    border-radius: 10px;
    border: none;
}

/* Brochure Section */
.brochure-inner {
    transition: all 0.3s ease;
}

.brochure-inner:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .brochure-inner {
        flex-direction: column !important;
        text-align: center;
    }

    .brochure-inner h3 {
        margin-bottom: 20px !important;
        font-size: 1.5rem;
    }
}

/* CTA Section Enhancements */
.cta-section .btn-warning {
    background: #ffcc00;
    border-color: #ffcc00;
    color: #000033;
    transition: all 0.3s ease;
}

.cta-section .btn-warning:hover {
    background: #e6b800;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.3);
}

.stat-counter h2 {
    font-size: 48px;
    /* L1 – Main Page Titles */
}

.mb-n5 {
    margin-bottom: -3rem !important;
}

@media (min-width: 992px) {
    .mb-n5 {
        margin-bottom: -5rem !important;
    }
}

/* Footer Styling */
.footer {
    background-color: #333333;
    color: #ffffff;
    padding: 30px 0 0px;
    font-size: 16px;
    /* L5 – Body / Content Text */
}

.footer-heading {
    color: #ffffff;
    font-size: 18px;
    /* L6 – Intro / Context Labels */
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    text-transform: none;
    /* Not uppercase */
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #ffcc00;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* .footer-links li {
    margin-bottom: 12px;
} */

.footer-links li a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links li a i {
    font-size: 6px;
    margin-right: 12px;
    color: #ffffff;
    /* White bullets */
}

.footer-links li a:hover {
    color: #ffcc00;
    padding-left: 5px;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ffffff;
}

.footer-contact-info li i {
    color: #ffcc00;
    /* Yellow icons for contact info */
    font-size: 1rem;
    width: 20px;
}

.footer-contact-info li a {
    color: #ffffff;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    flex-shrink: 0;
    background: #ffffff;
    color: #333333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    /* L7 – Utility / Metadata Text */
    line-height: 1;
}

.social-icons a:hover {
    transform: translateY(-5px);
    color: #ffffff !important;
}

.social-icons a.fb:hover {
    background: #1877F2;
}

.social-icons a.x-twitter:hover {
    background: #000000;
}

.social-icons a.yt:hover {
    background: #FF0000;
}

.social-icons a.li:hover {
    background: #0077B5;
}

.social-icons a.insta:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icons a.gh:hover {
    background: #333333;
}

.footer-bottom {
    margin-top: 20px;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    /* L7 – Utility / Metadata Text */
}

.footer-bottom a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 5px;
}

/* Brochure CTA 3D Effect */
.brochure-inner {
    transition: all 0.3s ease;
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-brochure {
    background-color: #1e73be !important;
    border-color: #1e73be !important;
    color: white !important;
    transition: all 0.3s ease;
}

.btn-brochure:hover {
    background-color: #0c2e60 !important;
    border-color: #0c2e60 !important;
    transform: scale(1.05);
    color: white !important;
}

.btn-book-demo {
    background-color: #1e73be;
    color: white !important;
    border-radius: 50px;
    padding: 8px 25px !important;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* Service Sub-card 3D Effect */
.service-sub-card {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: #ffffff;
    box-shadow:
        20px 20px 60px #bfc9d8,
        -20px -20px 60px #ffffff !important;
}

.service-sub-card:hover {
    transform: translateY(-10px) rotateX(2deg);
    box-shadow:
        25px 25px 70px #aeb8c7,
        -25px -25px 70px #ffffff !important;
}

.sub-service-img {
    transition: all 0.5s ease;
    filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.1));
}

.service-sub-card:hover .sub-service-img {
    transform: scale(1.05) translateZ(20px);
}

.btn-book-demo:hover {
    background-color: #0c2e60;
    transform: scale(1.05);
}

/* Custom Placeholder Labels with Red Asterisk */
.form-group-custom {
    position: relative;
}

.form-group-custom input:focus + .placeholder-label,
.form-group-custom input:not(:placeholder-shown) + .placeholder-label,
.form-group-custom textarea:focus + .placeholder-label,
.form-group-custom textarea:not(:placeholder-shown) + .placeholder-label {
    opacity: 0;
    visibility: hidden;
}

.placeholder-label {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #999;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    z-index: 5;
}

.form-group-custom textarea + .placeholder-label {
    top: 1.2rem;
    transform: none;
}
