:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --accent-color: #60a5fa;
    --gradient: linear-gradient(135deg, #000000 0%, #0631ad 100%);
    --gradient-1: linear-gradient(135deg, #000000 0%, #0631ad 100%);
    --gradient-2: linear-gradient(135deg, #000000 0%, #0631ad 100%);
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-blue: 0 20px 40px rgba(30, 64, 175, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    letter-spacing: -0.01em;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.main-wrapper, section:first-child, .hero-banner {
    margin: 0;
    padding: 0;
}

section {
    padding: 50px 0;
}

.automation-features-section,
.professional-section {
    background: #ffffff;
    padding: 50px 0;
    position: relative;
}

.professional-section.white {
    background: white;
    border-top: 1px solid rgba(30, 64, 175, 0.08);
    border-bottom: 1px solid rgba(30, 64, 175, 0.08);
}

.section-title h2,
.professional-section h2 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.badge.professional {
    background: var(--gradient);
    color: white;
    padding: 8px 20px;
    font-weight: 600;
    border: none;
    box-shadow: var(--shadow-soft);
}

/* Enhanced badge for gray background */
.parallax.primary-overlay-solid .badge.professional {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.list-style7 li i.fas.fa-check {
    color: white;
    background: var(--gradient);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 12px;
    box-shadow: 0 3px 10px rgba(30, 64, 175, 0.3);
}

/* Image Enhancements */
.professional-section img {
    border-radius: 1px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.professional-section img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-blue);
}

.automation-features {
    background: #ffffff;
    padding: 50px 0;
    position: relative;
    border-top: 1px solid rgba(30, 64, 175, 0.08);
}

.automation-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(30, 64, 175, 0.03) 0%, transparent 70%);
    z-index: -1;
}

.automation-features::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

h2 {
    font-weight: 700;
}

/* Professional buttons */
.btn-professional {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.btn-professional:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
    color: white;
    text-decoration: none;
}

.btn-professional.outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-professional.outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Modern button styles */
.btn-modern {
    background: var(--gradient-1);
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.5);
    color: white;
    text-decoration: none;
}

/* Glassmorphism effect */
.glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.2);
}

/* Enhanced header */
header {
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: transparent;
    color: transparent;
}

.navbar-default {
    transition: var(--transition);
    backdrop-filter: blur(12px);
    background: transparent;
    border-bottom: 1px solid rgba(16, 16, 17, 0.06);
}

.navbar-default.scrolled {
    background: rgba(250, 251, 252, 0.514);
    border-bottom: 1px solid rgba(30, 64, 175, 0.1);
}

.hero-banner {
    background: var(--gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

/* Modern geometric background shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.1;
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    top: 10%;
    right: 10%;
    animation: float-shape 20s infinite ease-in-out;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: white;
    bottom: 20%;
    left: 5%;
    animation: float-shape 25s infinite ease-in-out reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--primary-light);
    top: 50%;
    right: 30%;
    animation: float-shape 30s infinite ease-in-out;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-element {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.element-1 {
    top: 20%;
    left: 15%;
    animation: float-up 15s infinite linear;
}

.element-2 {
    top: 60%;
    right: 20%;
    animation: float-up 20s infinite linear;
    animation-delay: 5s;
}

.element-3 {
    top: 40%;
    left: 70%;
    animation: float-up 18s infinite linear;
    animation-delay: 10s;
}

@keyframes float-shape {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-30px) rotate(120deg);
    }

    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: scale(1);
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) scale(0);
        opacity: 0;
    }
}

/* Hero content styling */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 2rem 2rem 4rem 4rem;
}

.hero-content {
    width: 100%;
    max-width: 100%;
}

/* Hero badge */
.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 12px 24px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    top: 20px;
}

.badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.badge-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-light));
    border-radius: 50px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.hero-badge:hover .badge-glow {
    opacity: 0.3;
}

/* Hero title */
.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: white;
}

.title-highlight {
    color: rgba(0, 0, 0, 0.9);
    position: relative;
}

.title-secondary {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Hero subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 100%;
}

/* Hero features */
.hero-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: white;
    font-weight: 500;
}

.feature-item i {
    color: var(--accent-color);
    font-size: 18px;
}

/* Hero CTA buttons */
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1rem;
}

.btn-hero-primary {
    background: white;
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    border: 2px solid white;
}

.btn-hero-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Hero trust indicators */
.hero-trust {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: flex-start;
}

.trust-item {
    text-align: left;
    min-width: 120px;
}

.trust-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.trust-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
    font-weight: 500;
}

/* Hero visual section */
.hero-visual-wrapper {
    position: relative;
    z-index: 10;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 2rem 2rem 2rem;
    margin-top: -7rem;
    margin-left: 5rem;
}

.hero-visual {
    position: relative;
    width: 90%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.main-visual {
    position: relative;
    width: 100%;
    max-width: 800px;
    min-height: 500px;
}

.visual-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    /*box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);*/
    /*backdrop-filter: blur(10px);*/
    /*border: 1px solid rgba(255, 255, 255, 0.1);*/
    width: 100%;
    height: auto;
    min-height: 500px;
}

.hero-image {
    width: 100%;
    height: auto;
    min-height: 500px;
    object-fit: contain;
    display: block;
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);*/
    pointer-events: none;
}

/* Floating stats cards */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 64, 175, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float-card 6s ease-in-out infinite;
    z-index: 20;
}

.card-1 {
    top: 8%;
    right: -90px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 25%;
    left: -80px;
    animation-delay: 2s;
}

.card-3 {
    top: 55%;
    right: -85px;
    animation-delay: 4s;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.card-content {
    text-align: left;
}

.card-number {
    font-size: 1.0rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.card-label {
    font-size: 0.775rem;
    color: var(--text-dark);
    margin-top: 4px;
    font-weight: 700;
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Modern scroll indicator */
.modern-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5), transparent);
    position: relative;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    animation: scroll-indicator 2s ease-in-out infinite;
}

.scroll-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    writing-mode: vertical-lr;
    text-orientation: mixed;
}

@keyframes scroll-indicator {
    0% {
        top: 0;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: calc(100% - 20px);
        opacity: 0;
    }
}

/* Responsive design for hero */
@media (max-width: 1400px) {
    .floating-card {
        transform: scale(0.9);
    }

    .card-1 {
        right: -70px;
    }

    .card-2 {
        left: -60px;
    }

    .card-3 {
        right: -65px;
    }
}

@media (max-width: 1200px) {
    .floating-card {
        display: none;
    }

    .hero-content-wrapper {
        padding: 4rem 1.5rem 4rem 3rem;
    }

    .hero-visual-wrapper {
        padding: 4rem 3rem 4rem 1.5rem;
    }

    .main-visual {
        max-width: 650px;
        min-height: 450px;
    }

    .visual-container,
    .hero-image {
        min-height: 450px;
    }
}

@media (max-width: 992px) {
    .hero-banner {
        min-height: auto;
        padding: 100px 0 80px;
    }

    .hero-content-wrapper {
        padding: 2rem 1rem;
        text-align: center;
    }

    .hero-visual-wrapper {
        padding: 2rem 1rem;
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
        max-width: 100%;
    }

    .hero-features,
    .hero-cta,
    .hero-trust {
        justify-content: center;
        text-align: center;
    }

    .hero-trust {
        gap: 2rem;
    }

    .trust-item {
        flex: 1;
        text-align: center;
        min-width: auto;
    }

    .shape-1,
    .shape-2,
    .shape-3 {
        display: none;
    }

    /* Show image on tablet */
    .col-lg-6.d-none.d-lg-block {
        display: block !important;
        margin-top: 3rem;
    }

    .main-visual {
        max-width: 500px;
        min-height: 350px;
    }

    .visual-container,
    .hero-image {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-content-wrapper {
        padding: 1.5rem 1rem;
    }

    .hero-visual-wrapper {
        padding: 1.5rem 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-trust {
        flex-direction: column;
        gap: 1.5rem;
    }

    .trust-item {
        flex: none;
    }

    .modern-scroll-indicator {
        display: none;
    }

    .main-visual {
        max-width: 400px;
        min-height: 300px;
    }

    .visual-container,
    .hero-image {
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .main-visual {
        max-width: 350px;
        min-height: 250px;
    }

    .visual-container,
    .hero-image {
        min-height: 250px;
    }
}

/* Floating elements animation */
.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Enhanced cards */
.card-style02 {
    border-radius: var(--border-radius);
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid #7c7c7c;
}

.card-style02::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transition: left 0.3s ease;
}

/* Disabled problematic hover effect */
.card-style02:hover::before {
    left: 0;
}

/* Safe hover effect that won't affect whole page */
.card-style02:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(30, 64, 175, 0.2) !important;
    transition: all 0.3s ease !important;
}

/* Override any problematic card-style02 effects from other CSS files */
.card-style02 .card-body:before,
.card-style02.green .card-body:before,
.card-style02.orange .card-body:before,
.card-style02.blue .card-body:before,
.card-style02.yellow .card-body:before {
    display: none !important;
}

.card-style02 .card-body:hover:before,
.card-style02.green .card-body:hover:before,
.card-style02.orange .card-body:hover:before,
.card-style02.blue .card-body:hover:before,
.card-style02.yellow .card-body:hover:before {
    display: none !important;
    top: auto !important;
    background: none !important;
}

/* Prevent any body/page-wide effects from card hovers */
body:has(.card-style02:hover),
html:has(.card-style02:hover) {
    background: inherit !important;
    color: inherit !important;
}

/* Specific fix for software installation modules section */
.professional-section .card-style02:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.15) !important;
    border-color: rgba(30, 64, 175, 0.2) !important;
    background: #ffffff !important;
}

.professional-section .card-style02:hover .card-body {
    background: transparent !important;
    color: inherit !important;
}

.professional-section .card-style02:hover h3 {
    color: var(--text-dark) !important;
}

.professional-section .card-style02:hover p {
    color: var(--text-light) !important;
}

/* Service Grid Cards - Match the "Our Software" section hover effects */
.service-grid .card-style02:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.15) !important;
    border-color: rgba(30, 64, 175, 0.2) !important;
    background: #ffffff !important;
}

.service-grid .card-style02:hover .card-body {
    background: transparent !important;
}

.service-grid .card-style02:hover h3 {
    color: var(--text-dark) !important;
}

.service-grid .card-style02:hover p {
    color: var(--text-light) !important;
}

/* Fixed height for equal card sizes - preserving original hover effects */
.service-grid .card-style02 {
    display: flex;
    flex-direction: column;
    border: 1px solid #7c7c7c;
}

.service-grid .card-style02 .card-body {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    text-align: center;
}

/* Ensure the original bottom color effect works properly */
.service-grid .card-style02 .card-body:before {
    border-radius: 0.25rem;
    position: absolute;
    content: "";
    top: 99.5%;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    transition: all .5s;
}

/* Ensure text and icons stay above the colored background */
.service-grid .card-style02 span,
.service-grid .card-style02 h3,
.service-grid .card-style02 p,
.service-grid .card-style02 a {
    position: relative;
    z-index: 9;
}

/* Remove old service grid hover - now handled above */

/* Enhanced service cards */
.card-style12 {
    border-radius: var(--border-radius);
    border: 1px solid rgba(30, 64, 175, 0.06);
    transition: var(--transition);
    background: var(--bg-white);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    height: 300px;
    justify-content: center;
    align-items: center;
    padding-top: 50px;
}

.card-style12::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.card-style12:hover::after {
    transform: scaleX(1);
}

.card-style12:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.icon-box4 {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.card-style12:hover .icon-box4 {
    transform: scale(1.1);
}

.bg1 {
    background: var(--gradient-1);
}

.bg2 {
    background: var(--gradient-2);
}

.bg3 {
    background: var(--gradient-3);
}

.bg4 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.bg5 {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-light) 100%);
}

.bg6 {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

/* Scroll animations */
.fadeInUp {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animations */
.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

.stagger-4 {
    animation-delay: 0.4s;
}

.stagger-5 {
    animation-delay: 0.5s;
}

.stagger-6 {
    animation-delay: 0.6s;
}

/* Enhanced section styling */
.section-enhanced {
    padding: 80px 0;
    position: relative;
}

.section-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.03) 0%, rgba(59, 130, 246, 0.03) 100%);
    z-index: -1;
}

/* Progress indicators */
.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: inline-block;
    margin-right: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    .header-text h1 {
        font-size: 2.5rem;
    }

    .btn-modern {
        padding: 12px 24px;
        font-size: 14px;
    }

    .card-style02,
    .card-style12 {
        margin-bottom: 1.5rem;
    }

    /* Adjust card height for mobile */
    .service-grid .card-style02 {
        height: 280px;
    }
}

@media (max-width: 576px) {
    .service-grid .card-style02 {
        height: 260px;
    }

    .service-grid .card-style02 h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .service-grid .card-style02 p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Loading animation for images */
.image-loading {
    position: relative;
    overflow: hidden;
}

.image-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Responsive grid layout for service cards */
.service-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 0 15px;
}

/* Responsive grid adjustments */
@media (max-width: 576px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (min-width: 1201px) {
    .service-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 30px;
    }
}

/* Parallax effect enhancement */
.parallax-enhanced {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.parallax-enhanced .container {
    position: relative;
    z-index: 2;
}



/* Legacy styles - kept for compatibility */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced button hover effects */
.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Enhanced service section */
.section-title h2 {
    position: relative;
    z-index: 2;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.text-center .section-title h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Enhanced feature blocks */
.feature-block {
    transition: var(--transition);
    border-radius: var(--border-radius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.feature-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

.feature-block:hover::before {
    opacity: 1;
}

.feature-block:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Enhanced list styles */
.list-style7 {
    padding-left: 0;
}

.list-style7 li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.list-style7 li:hover {
    transform: translateX(5px);
}

.list-style7 li i.fas.fa-check {
    position: absolute;
    left: 0;
    top: 6px;
    color: var(--primary-color);
    font-size: 14px;
    background: var(--bg-glass-dark);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Enhanced image containers */
.image-container {
    position: relative;
    z-index: 2;
}

.image-container img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
}

.image-container:hover img {
    transform: scale(1.02);
}

/* Intersection Observer animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced spacing */
.mb-enhanced {
    margin-bottom: 4rem;
}

.mt-enhanced {
    margin-top: 4rem;
}

/* Icon circle for advantage cards */
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.icon-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-2);
    opacity: 0;
    transition: var(--transition);
}

.icon-circle:hover::before {
    opacity: 1;
}

.icon-circle i {
    position: relative;
    z-index: 2;
    color: white !important;
}

.glass-card:hover .icon-circle {
    transform: scale(1.1);
}

/* Glass card color fixes */
.glass-card {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-card h3,
.glass-card p {
    color: white !important;
}

/* ===================================
   MODULES SECTION REDESIGN
=================================== */

/* Section Background & Layout */
.modules-section {
    background: var(--page-bg);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Background Decorative Elements */
.modules-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.module-shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(59, 130, 246, 0.03) 100%);
    border-radius: 50%;
    animation: float-shape 8s ease-in-out infinite;
}

.module-shape.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -150px;
    animation-delay: 0s;
}

.module-shape.shape-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -100px;
    animation-delay: 2s;
}

.module-shape.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 10%;
    animation-delay: 4s;
}

.floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--gradient-1);
    border-radius: 50%;
    animation: float-dot 6s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(30, 64, 175, 0.3);
}

.dot.dot-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.dot.dot-2 {
    top: 40%;
    right: 20%;
    animation-delay: 1.5s;
}

.dot.dot-3 {
    bottom: 30%;
    left: 25%;
    animation-delay: 3s;
}

.dot.dot-4 {
    top: 70%;
    right: 15%;
    animation-delay: 4.5s;
}

@keyframes float-dot {

    0%,
    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

/* Header Styling */
.module-badge-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.module-badge {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(30, 64, 175, 0.2);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.module-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.2);
}

.badge-icon-modern {
    width: 32px;
    height: 32px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    position: relative;
    z-index: 2;
}

.badge-icon-modern i {
    color: white;
    font-size: 14px;
}

.badge-text-modern {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

.badge-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.module-badge:hover .badge-shine {
    left: 100%;
}

/* Title Styling */
.modules-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-line-1 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.title-line-2 {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.modules-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Module Grid Layout */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 4rem;
}

/* Module Card Styling */
.module-card {
    position: relative;
    height: 280px;
    perspective: 1000px;
}

.module-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(30, 64, 175, 0.1);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    max-height: 500px;
}

.module-card:hover .module-card-inner {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(30, 64, 175, 0.15);
    border-color: rgba(30, 64, 175, 0.2);
}

.card-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(30, 64, 175, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.module-card:hover .card-gradient-overlay {
    opacity: 1;
}

/* Icon Styling */
.module-icon-wrapper {
    position: relative;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.module-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.module-icon i {
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
}

.icon-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(8px);
}

.module-card:hover .module-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.4);
}

.module-card:hover .icon-glow {
    opacity: 0.6;
}

.module-card:hover .module-icon i {
    transform: scale(1.1);
}

/* Content Styling */
.module-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.module-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.module-card:hover .module-title {
    color: var(--primary-color);
}

.module-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    font-size: 0.95rem;
}

/* Feature Tags */
.module-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid rgba(30, 64, 175, 0.2);
    transition: all 0.3s ease;
}

.module-card:hover .feature-tag {
    background: rgba(30, 64, 175, 0.15);
    border-color: rgba(30, 64, 175, 0.3);
    transform: translateY(-2px);
}

/* Connection Lines */
.module-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.connection-lines {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

/* Animations */
@keyframes float-shape {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(2deg);
    }

    66% {
        transform: translateY(10px) rotate(-2deg);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .modules-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .modules-section {
        padding: 80px 0;
    }

    .modules-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modules-title {
        font-size: 2.5rem;
    }

    .module-card {
        height: auto;
        min-height: 260px;
    }

    .module-card-inner {
        padding: 24px;
    }

    .module-icon {
        width: 56px;
        height: 56px;
    }

    .module-icon i {
        font-size: 20px;
    }

    .module-title {
        font-size: 1.2rem;
    }

    .modules-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .modules-grid {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }

    .module-card-inner {
        padding: 20px;
    }

    .modules-title {
        font-size: 2rem;
    }

    .title-line-1,
    .title-line-2 {
        text-align: center;
    }
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.text-white-90 {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Better responsive behavior for legacy elements */
@media (max-width: 992px) {
    .image-container {
        margin-top: 3rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .particles-container {
        display: none;
    }
}


    /* Fix header height and visibility issues */
    #header-container {
        position: relative;
        z-index: 1000;
    }
    
    /* Fix header positioning and make it visible */
    .transparent-header {
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
        background-color: transparent !important;
        backdrop-filter: none;
        box-shadow: none !important;
        min-height: 60px;
        z-index: 1000 !important;
        transition: all 0.3s ease !important;
    }
    
    /* Header state when scrolled - Glass Theme - Override nav-menu.css */
    .transparent-header.scrolled,
    header.scrollHeader .navbar-default,
    .transparent-header.scrollHeader .navbar-default {
        background: rgba(255, 255, 255, 0.35) !important;
        background-color: rgba(255, 255, 255, 0.35) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
        border-radius: 0 0 0 0 !important;
    }
    
    /* Fix navbar container */
    .navbar-default {
        position: relative !important;
        padding: 0 !important;
    }
    
    /* Reduce header padding for smaller height */
    .navbar-header-custom {
        padding: 10px 0 !important;
        position: relative !important;
    }
    
    /* Fix logo positioning and sizing */
    .navbar-header-custom img {
        position: static !important;
        max-height: 45px !important;
        width: auto !important;
        display: block !important;
    }
    
    /* Logo visibility - white logo for transparent header */
    .transparent-header .navbar-header-custom .logo-light {
        display: block !important;
        transition: opacity 0.3s ease;
    }
    
    .transparent-header .navbar-header-custom .logo-dark {
        display: none !important;
    }
    
    /* Logo visibility - dark logo for scrolled header */
    .transparent-header.scrolled .navbar-header-custom .logo-light {
        display: none !important;
    }
    
    .transparent-header.scrolled .navbar-header-custom .logo-dark {
        display: block !important;
    }
    
    /* Show navigation menu */
    .navbar-nav {
        display: flex !important;
        align-items: center;
    }
    
    /* Fix navigation layout */
    .menu_area .navbar {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    /* Ensure menu items are visible and properly spaced */
    .navbar-nav > li {
        display: inline-block !important;
        margin: 0 15px;
    }
    
    /* Initial transparent header - white text */
    .transparent-header .navbar-nav > li > a {
        padding: 21px 0.5rem !important;
        color: #ffffff !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        display: block !important;
        opacity: 1 !important;
    }
    
    .transparent-header .navbar-nav > li > a:hover {
        color: #ffffff !important;
        opacity: 0.8 !important;
    }
    
    /* Override for non-scrolled transparent header */
    .transparent-header:not(.scrolled) .navbar-nav > li > a {
        color: #ffffff !important;
        background: none !important;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
    }
    
    .transparent-header:not(.scrolled) .navbar-nav > li > a:hover {
        color: #ffffff !important;
        opacity: 0.8 !important;
    }
    
    /* Scrolled header - clean text without backgrounds */
    .transparent-header.scrolled .navbar-nav > li > a,
    .transparent-header.scrollHeader .navbar-nav > li > a,
    header.scrollHeader .navbar-nav > li > a {
        color: #1d184a !important;
        font-weight: 600 !important;
        background: none !important;
        background-color: transparent !important;
        border-radius: 0 !important;
        margin: 0 !important;
        backdrop-filter: none !important;
        transition: all 0.3s ease !important;
        opacity: 1 !important;
        text-shadow: none !important;
    }
    
    .transparent-header.scrolled .navbar-nav > li > a:hover,
    .transparent-header.scrollHeader .navbar-nav > li > a:hover,
    header.scrollHeader .navbar-nav > li > a:hover {
        color: #1d184a !important;
        background: none !important;
        background-color: transparent !important;
        transform: none !important;
        box-shadow: none !important;
        opacity: 0.8 !important;
    }
    
    /* Enhanced megamenu styling - Glass theme with better visibility */
    .navbar-nav li ul.megamenu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        background: rgb(255, 255, 255) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        border-radius: 16px !important;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2) !important;
        padding: 30px 20px !important;
        min-width: 900px !important;
        z-index: 1000 !important;
        display: none !important;
        margin-top: 8px !important;
        opacity: 1 !important;
    }
    
    /* Override any white backgrounds from nav-menu.css */
    .navbar-nav li > ul,
    .navbar-nav li ul,
    .navbar-nav > li > ul {
        border-radius: 12px !important;
    }
    
    /* Megamenu text visibility with enhanced contrast */
    .navbar-nav li ul.megamenu li {
        color: #1d184a !important;
        background: none !important;
    }
    
    .navbar-nav li ul.megamenu li a,
    .navbar-nav li > ul li a,
    .navbar-nav li ul li a {
        color:#3b82f6;
        opacity: 1 !important;
        background: transparent !important;
        background-color: transparent !important;
        padding: 8px 12px !important;
        margin: 2px 0 !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
        font-weight: 500 !important;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8) !important;
        border: none !important;
    }
    
    .navbar-nav li ul.megamenu li a:hover,
    .navbar-nav li > ul li a:hover,
    .navbar-nav li ul li a:hover {
        background: transparent !important;
        background-color: transparent !important;
        transform: translateX(5px) !important;
        box-shadow: none !important;
    }
    
    /* Remove weird line from dropdown menu items */
    .navbar-nav li ul li:hover:before {
        width: 0 !important;
    }
    
    /* Make logo larger - more specific selector */
    .navbar-header-custom .logo-light,
    .navbar-header-custom .logo-dark {
        max-height: 80px !important;
        width: 150px !important;
        height: auto !important;
    }
    
    /* Constrain navbar height to prevent expansion */
    .navbar-header-custom {
        height: 60px !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .navbar-header-custom a {
        height: 60px !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
    }
    
    /* Keep navbar at fixed height */
    .navbar {
        min-height: 60px !important;
        max-height: 60px !important;
    }
    
    .menu_area .navbar {
        padding: 0 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    /* Ensure logo stays on the left */
    .navbar-header-custom {
        margin-right: auto !important;
        flex-shrink: 0 !important;
    }
    
    /* Ensure navigation stays on the right with proper spacing */
    .navbar-nav {
        margin-left: auto !important;
        padding-left: 2rem !important;
    }
    
    /* Make header container use full width */
    header .container,
    header .lg-container {
        max-width: 100% !important;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
    
    /* Remove centering from menu area */
    .menu_area {
        width: 100% !important;
    }
    
    /* Force full width layout */
    header .row {
        margin: 0 !important;
        width: 100% !important;
    }
    
    header .col-12,
    header .col-lg-12 {
        padding: 0 !important;
        width: 100% !important;
    }
    
    .navbar-nav li ul.megamenu .sub-title {
        font-weight: 700 !important;
        margin-bottom: 15px !important;
        text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8) !important;
        font-size: 14px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    /* CTA Button in megamenu */
    .navbar-nav li ul.megamenu button.cta,
    .navbar-nav li ul.megamenu .cta {
        background: linear-gradient(135deg, #000000 0%, #0631ad 100%) !important;
        color: white !important;
        border: none !important;
        padding: 12px 24px !important;
        margin: 20px 0 10px 0 !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        text-align: center !important;
        text-decoration: none !important;
        border-radius: 25px !important;
        cursor: pointer !important;
        display: inline-block !important;
        transition: all 0.3s ease !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    .navbar-nav li ul.megamenu button.cta:hover,
    .navbar-nav li ul.megamenu .cta:hover {
        background: linear-gradient(135deg, #000000 0%, #0631ad 100%) !important;
        transform: translateY(-2px) scale(1.05) !important;
        color: white !important;
    }
    
    .navbar-nav li ul.megamenu a button.cta {
        margin: 20px 0 10px 0 !important;
    }
    
    .navbar-nav li ul.megamenu .cta-link {
        text-decoration: none !important;
        display: inline-block !important;
        margin: 20px 0 10px 0 !important;
    }
    
    .navbar-nav li ul.megamenu .cta-link:hover {
        text-decoration: none !important;
    }
    
    /* Ensure main navigation is visible */
    .navbar-nav {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .navbar-nav > li {
        display: inline-block !important;
        margin: 0 15px !important;
    }
    
    .navbar-nav > li > a {
        display: block !important;
        padding: 21px 0.5rem !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    .navbar-nav > li > a:hover {
        color: #1d184a !important;
        opacity: 0.8 !important;
        text-decoration: none !important;
    }
    
    .navbar-nav li:hover ul.megamenu {
        display: block !important;
    }
    
    /* Fix container alignment */
    .container.lg-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    /* Fix hero section positioning */
    .hero-banner {
        margin-top: 0;
        padding-top: 80px;
    }
    
    /* Responsive adjustments */
    @media (max-width: 991px) {
        .navbar-nav {
            display: none !important;
            position: absolute !important;
            top: 100% !important;
            left: 0 !important;
            width: 100% !important;
            background: rgba(255, 255, 255, 0.98) !important;
            backdrop-filter: blur(20px) !important;
            border-radius: 0 0 16px 16px !important;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
            flex-direction: column !important;
            padding: 20px 0 !important;
        }
        
        .navbar-nav.show {
            display: flex !important;
        }
        
        .navbar-nav > li {
            margin: 0 !important;
            width: 100% !important;
        }
        
        .navbar-nav > li > a {
            color: #1d184a !important;
            text-align: center !important;
            padding: 15px 20px !important;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
        }
        
        .transparent-header .navbar-nav > li > a {
            color: #1d184a !important;
            text-shadow: none !important;
        }
        
        .navbar-toggler {
            display: flex !important;
            background: rgba(255, 255, 255, 0.2) !important;
            border: 1px solid rgba(255, 255, 255, 0.3) !important;
            border-radius: 8px !important;
            padding: 10px !important;
            cursor: pointer !important;
            backdrop-filter: blur(10px) !important;
            width: 50px;
            height: 40px;
            position: relative;
            z-index: 1001;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
        
        .navbar-toggler span {
            display: block;
            width: 25px;
            height: 3px;
            background: var(--primary-light);
            margin: 3px 0;
            transition: all 0.3s ease;
            border-radius: 2px;
            box-shadow: 0 1px 3px rgba(30, 64, 175, 0.3);
        }
        
        .navbar-toggler.menu-opened span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        
        .navbar-toggler.menu-opened span:nth-child(2) {
            opacity: 0;
        }
        
        .navbar-toggler.menu-opened span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }
        
        .navbar-nav {
            display: none !important;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(6, 49, 173, 0.9) 100%);
            backdrop-filter: blur(15px);
            z-index: 1000;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 80px 20px 20px;
            overflow-y: auto;
        }
        
        .navbar-nav.open {
            display: flex !important;
        }
        
        .navbar-nav > li {
            width: 100%;
            text-align: center;
            margin: 10px 0;
        }
        
        .navbar-nav > li > a {
            color: var(--primary-light) !important;
            font-size: 18px;
            font-weight: 600;
            padding: 15px 20px;
            display: block;
            border-radius: 8px;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        
        .navbar-nav > li > a:hover {
            background: var(--gradient) !important;
            color: #ffffff !important;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
        }
        
        /* Mobile menu visibility fix */
        .navbar-nav {
            max-height: 100vh;
        }
        
        .navbar-nav li ul.megamenu {
            position: static !important;
            display: block !important;
            width: 100% !important;
            margin: 10px 0 !important;
            border-radius: 12px !important;
            min-width: auto !important;
            background: rgba(30, 64, 175, 0.1);
            backdrop-filter: blur(5px);
            border: 1px solid var(--primary-light);
            box-shadow: 0 5px 20px rgba(30, 64, 175, 0.2);
        }
        
        .navbar-nav li ul.megamenu li {
            padding: 5px 15px;
        }
        
        .navbar-nav li ul.megamenu li a {
            color: var(--accent-color) !important;
            font-size: 14px;
            padding: 8px 12px;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .navbar-nav li ul.megamenu li a:hover {
            color: #ffffff !important;
            background: var(--primary-color) !important;
            border-radius: 6px;
            transform: translateX(5px);
        }
        
        /* Style for main menu category headers */
        .navbar-nav li ul.megamenu li .sub-title {
            color: var(--primary-light) !important;
            font-weight: 700 !important;
            font-size: 16px !important;
            margin-bottom: 10px !important;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
    }
    
    @media (max-width: 768px) {
        .navbar-header-custom {
            padding: 8px 0 !important;
        }
        
        .navbar-header-custom img {
            max-height: 70px !important;
            width: 130px !important;
        }
        
        .hero-banner {
            padding-top: 70px;
            min-height: 100vh;
            padding-bottom: 40px;
        }
        
        .container.lg-container {
            padding: 0 15px;
        }
        
        .transparent-header {
            min-height: 50px;
        }
        
        /* Hero Content Mobile Responsive */
        .hero-content-wrapper {
            padding: 1rem !important;
            height: auto !important;
            text-align: center;
        }
        
        .hero-content {
            max-width: 100% !important;
        }
        
        /* Hero Badge Mobile */
        .hero-badge {
            font-size: 12px;
            padding: 8px 16px;
            gap: 8px;
            margin-bottom: 1rem;
        }
        
        .badge-icon {
            width: 24px;
            height: 24px;
            font-size: 12px;
        }
        
        /* Hero Title Mobile */
        .hero-title {
            font-size: clamp(2rem, 8vw, 3rem) !important;
            line-height: 1.2 !important;
            margin-bottom: 1rem !important;
        }
        
        /* Hero Subtitle Mobile */
        .hero-subtitle {
            font-size: 16px !important;
            line-height: 1.6 !important;
            margin-bottom: 1.5rem !important;
            padding: 0 10px;
        }
        
        /* Hero Features Mobile */
        .hero-features {
            margin-bottom: 2rem !important;
        }
        
        .hero-features .feature-item {
            font-size: 14px !important;
            margin-bottom: 8px;
            text-align: left;
            display: flex;
            align-items: center;
            justify-content: flex-start;
        }
        
        /* Hero CTA Buttons Mobile */
        .hero-cta {
            flex-direction: column !important;
            gap: 15px !important;
            align-items: center;
        }
        
        .btn-hero-primary,
        .btn-hero-secondary {
            width: 100% !important;
            max-width: 280px;
            padding: 5px 10px !important;
            font-size: 14px !important;
            justify-content: center;
        }
        
        /* Hero Visual Mobile */
        .hero-visual-wrapper {
            padding: 1rem !important;
            margin: 0 0 0 0 !important;
            height: auto !important;
            justify-content: center;
        }
        
        .hero-visual {
            width: 100% !important;
            height: auto !important;
            max-width: 400px;
        }
        
        .main-visual {
            min-height: 300px !important;
            max-width: 100% !important;
        }
        
        .visual-container {
            min-height: 300px !important;
            border-radius: 16px !important;
        }
        
        .hero-image {
            min-height: 300px !important;
        }
        
        /* Hide floating cards on mobile for better performance */
        .floating-card {
            display: none !important;
        }
        
        /* Fix Bootstrap column stacking on mobile */
        .hero-banner .col-lg-6 {
            flex: 0 0 100% !important;
            max-width: 100% !important;
        }
        
        .hero-banner .col-xl-5,
        .hero-banner .col-xl-7 {
            flex: 0 0 100% !important;
            max-width: 100% !important;
        }
        
        /* Ensure proper order on mobile */
        .hero-banner .row {
            flex-direction: column;
        }
        
        /* Make visual section visible on mobile with proper spacing */
        .hero-banner .d-none.d-lg-block {
            display: block !important;
            margin-top: 2rem;
        }
        
        /* Mobile Scroll Indicator */
        .modern-scroll-indicator {
            bottom: 20px !important;
            font-size: 12px;
        }
        
        /* Hero background shapes mobile */
        .hero-bg-shapes .shape {
            display: none;
        }
        
        /* Floating elements mobile - hide complex animations */
        .floating-elements {
            display: none;
        }
    }
    
    /* Extra Small Mobile Devices (max-width: 480px) */
    @media (max-width: 480px) {
        .hero-banner {
            padding-top: 60px;
            padding-bottom: 30px;
            min-height: auto !important;
        }
        
        .hero-content-wrapper {
            padding: 0.5rem !important;
        }
        
        .hero-title {
            font-size: clamp(1.5rem, 10vw, 2.5rem) !important;
            margin-bottom: 0.8rem !important;
        }
        
        .hero-subtitle {
            font-size: 14px !important;
            padding: 0 5px;
            margin-bottom: 1rem !important;
        }
        
        .hero-badge {
            font-size: 11px;
            padding: 6px 12px;
            gap: 6px;
        }
        
        .badge-icon {
            width: 20px;
            height: 20px;
            font-size: 10px;
        }
        
        .hero-features .feature-item {
            font-size: 13px !important;
            margin-bottom: 6px;
        }
        
        .btn-hero-primary,
        .btn-hero-secondary {
            padding: 5px 10px !important;
            font-size: 10px !important;
            max-width: 250px;
        }
        
        .hero-visual {
            max-width: 320px;
        }
        
        .main-visual {
            min-height: 250px !important;
        }
        
        .visual-container {
            min-height: 250px !important;
            border-radius: 12px !important;
        }
    }
    
    /* Mobile Landscape and Tablet Portrait */
    @media (max-width: 991px) and (min-width: 769px) {
        .hero-banner .row {
            align-items: center;
        }
        
        .hero-visual-wrapper {
            margin-left: 2rem !important;
            margin-top: -2rem !important;
        }
        
        .hero-content-wrapper {
            padding: 2rem 1rem 2rem 2rem !important;
        }
        
        .floating-card {
            transform: scale(0.8);
        }
    }

/* ===================================
   ANAKAGE ADVANTAGES SECTION REDESIGN
=================================== */

/* Enhanced Anakage section styling */
.parallax.primary-overlay-solid {
    position: relative;
    padding: 100px 0;
    background: #1b1b1b;
    overflow: hidden;
}

.parallax.primary-overlay-solid::before {
    background: rgba(0, 0, 0, 0.4) !important;
}

/* Advantage cards grid */
.anakage-advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

/* Individual advantage card */
.advantage-card {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 220px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Icon styling */
.advantage-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.advantage-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.advantage-icon i {
    font-size: 24px !important;
    color: white !important;
    transition: all 0.3s ease;
}

.icon-glow-effect {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(8px);
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.advantage-card:hover .icon-glow-effect {
    opacity: 0.6;
}

.advantage-card:hover .advantage-icon i {
    transform: scale(1.1);
}

/* Content styling */
.advantage-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.advantage-title {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    color: white !important;
    margin-bottom: 12px !important;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.advantage-description {
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0 !important;
    font-weight: 300 !important;
}

.advantage-card:hover .advantage-title {
    color: #ffffff !important;
}

.advantage-card:hover .advantage-description {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Section title styling */
.anakage-section-title {
    color: #ffffff !important;
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
}

.anakage-section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: white !important;
    border-radius: 2px;
}

/* Responsive design */
@media (max-width: 1200px) {
    .anakage-advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .parallax.primary-overlay-solid {
        padding: 80px 0;
    }
    
    .anakage-advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 2rem;
    }
    
    .advantage-card {
        padding: 24px;
        height: auto;
        min-height: 200px;
    }
    
    .advantage-icon {
        width: 56px;
        height: 56px;
    }
    
    .advantage-icon i {
        font-size: 20px !important;
    }
    
    .advantage-title {
        font-size: 1.2rem !important;
    }
    
    .anakage-section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .advantage-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        height: auto;
        min-height: 180px;
    }
    
    .advantage-content {
        text-align: center;
    }
    
    .anakage-section-title {
        font-size: 1.8rem;
    }
}


   /* Additional modern styling for the service grid */
   .service-grid .card-style02 {
    border: none;
    border-radius: 15px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid #3b3b3b3d;
}

.service-grid .card-style02:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-grid .card-body {
    padding: 30px;
}

/* Card Design: Side Accent */
.card-side-accent {
    position: relative;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    overflow: hidden;
}

.card-accent-line {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #0631ad 100%);
    transition: all 0.4s ease;
}

.card-side-accent:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.2);
}

.card-side-accent:hover .card-accent-line {
    width: 5px;
}

.card-icon-inline {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: #e9f7ef;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: #0631ad;
    font-size: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.card-side-accent:hover .card-icon-inline {
    background: #0631ad;
    color: white;
    transform: rotate(10deg);
}

.card-side-accent .card-body {
    padding: 30px;
}

/* Card Design: Outline Elegant */
.card-outline-elegant {
    background: transparent;
    border: 2px solid #e1e5e9;
    border-radius: 16px;
    transition: all 0.4s ease;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.card-outline-elegant::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 49, 173, 0.1), transparent);
    transition: all 0.6s ease;
}

.card-outline-elegant:hover::before {
    left: 100%;
}

.card-outline-elegant:hover {
    border-color: #0631ad;
    background: rgba(6, 49, 173, 0.02);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(6, 49, 173, 0.15);
}

.card-icon-outline {
    width: 50px;
    height: 50px;
    border: 2px solid #0631ad;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0631ad;
    font-size: 22px;
    margin-bottom: 20px;
    background: transparent;
    transition: all 0.3s ease;
}

.card-outline-elegant:hover .card-icon-outline {
    background: #0631ad;
    color: white;
    transform: scale(1.1);
}

.card-outline-elegant .card-body {
    position: relative;
    z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-side-accent .card-body,
    .card-outline-elegant .card-body {
        padding: 20px;
    }

    .card-icon-outline {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}
