﻿:root {
    --primary-color: #051242;
    --secondary-color: #1d42d9;
    --secondary-light: #5373ff;
    --accent-color: #E7141A;
    --text-color: #50607f;
    --heading-color: #293a5c;
    --footer-bg: #030b2e;
    /* Darker navy for footer */
    --footer-text: #a0aebd;
    --white: #ffffff;
    --light-bg: #f8fbff;
    --card-shadow: 0 10px 40px -10px rgba(0, 64, 128, 0.1);
    --hover-shadow: 0 20px 50px -10px rgba(0, 64, 128, 0.2);
    --gradient-primary: linear-gradient(135deg, #051242 0%, #1d42d9 100%);
    --gradient-text: linear-gradient(45deg, #051242, #1d42d9);
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Catamaran', sans-serif;
    color: var(--heading-color);
    letter-spacing: -0.02em;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    background-color: #fff;
    word-break: keep-all;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
li,
a {
    word-break: keep-all;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* -------------------------------------------
   Reused Components & Utilities
------------------------------------------- */

/* Buttons */
.box-btn {
    display: inline-block;
    padding: 14px 32px;
    /* Increased padding to compensate for removed border */
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    /* Removed transparent border */
    box-shadow: 0 4px 15px rgba(29, 66, 217, 0.3);
    text-decoration: none !important;
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* Ensure clean clipping */
}

.box-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(29, 66, 217, 0.4);
    color: var(--white);
}

.box-btn.border-btn {
    background: transparent;
    border: 2px solid var(--white);
    padding: 12px 30px;
    /* Padding for bordered button to match total size */
    box-shadow: none;
}

.box-btn.border-btn:hover {
    background: var(--white);
    color: var(--secondary-color);
}

/* Section Titles */
.renew-section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.renew-section-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.renew-section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 10px;
}

.renew-section-title p {
    font-size: 1.15rem;
    color: var(--text-color);
    font-weight: 400;
}

/* -------------------------------------------
   Renewed Banner
------------------------------------------- */
.renew-banner {
    position: relative;
    padding: 180px 0 120px;
    background: var(--gradient-primary);
    color: var(--white);
    overflow: hidden;
}

/* Animated Background Pattern */
.renew-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url('../images/home-bg-2.png');
    background-size: cover;
    opacity: 0.08;
    z-index: 0;
    animation: rotateBg 60s linear infinite;
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.renew-banner .container {
    position: relative;
    z-index: 1;
}

.renew-banner h1 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 25px;
    background: none;
    -webkit-text-fill-color: initial;
    animation: slideUpFade 0.8s ease-out;
}

.renew-banner p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
    animation: slideUpFade 0.8s ease-out 0.2s backwards;
}

.renew-banner .banner-btn {
    animation: slideUpFade 0.8s ease-out 0.4s backwards;
}

/* Keyframes */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------------------------------------
   Why TECH-AT Section (Cards)
------------------------------------------- */
.why-techat-area {
    padding: 120px 0;
    background-color: var(--white);
}

.why-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.why-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px -12px rgba(0, 64, 128, 0.25);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-number {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(240, 242, 245, 0.8);
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 0;
    line-height: 1;
}

.why-icon {
    width: 90px;
    height: 90px;
    background: var(--light-bg);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
    color: var(--secondary-color);
    font-size: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}

.why-card:hover .why-icon {
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    transform: rotateY(180deg);
}

.why-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.why-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* -------------------------------------------
   ICT Consulting & SI Section
------------------------------------------- */
.ict-area {
    padding: 120px 0;
    background: #f4f8fc;
}

.ict-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    height: 100%;
    border: none;
}

.ict-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.ict-img-wrapper {
    height: 220px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    /* Lighter, more vibrant purple-blue */
}

.ict-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.5s ease;
}

.ict-card:hover .ict-img-wrapper img {
    transform: scale(1.1);
    opacity: 0.4;
}

.ict-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: var(--white);
    font-size: 4.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.ict-content {
    padding: 35px;
}

.ict-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.ict-content h4 {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ict-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

/* -------------------------------------------
   Technology Infrastructure (Cards)
------------------------------------------- */
.infra-area {
    padding: 120px 0;
    position: relative;
    background-image: radial-gradient(#e0e7ff 1px, transparent 1px);
    background-size: 40px 40px;
}

.infra-card {
    text-align: center;
    padding: 50px 30px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    background: #ffffff;
    /* Solid white for better contrast */
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Darker border for visibility */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft shadow for depth */
    margin-bottom: 30px;
}

.infra-card:hover {
    box-shadow: 0 20px 50px rgba(29, 66, 217, 0.15);
    border-color: rgba(29, 66, 217, 0.3);
    /* Blue border on hover */
    transform: translateY(-5px);
}

.infra-icon {
    font-size: 4rem;
    background: linear-gradient(135deg, #051242 0%, #1d42d9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    /* Standard property */
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.infra-card:hover .infra-icon {
    transform: scale(1.1);
}

.infra-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

/* -------------------------------------------
   Subpage Elements
------------------------------------------- */

/* Subpage Banner */
.renew-page-title-area {
    position: relative;
    padding: 160px 0 100px;
    background: var(--gradient-primary);
    text-align: center;
    color: var(--white);
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: 60px;
}

.renew-page-title-area::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url('../images/home-bg-2.png');
    background-size: cover;
    opacity: 0.1;
    z-index: -1;
    animation: rotateBg 120s linear infinite;
}

.renew-page-title-content h2 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.renew-page-title-content ul li {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.renew-page-title-content ul li.active {
    color: #fff;
    font-weight: 700;
    border-bottom: 2px solid var(--accent-color);
}

/* Product/Service Cards in Lists */
.single-service,
.renew-service-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.single-service:hover,
.renew-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(29, 66, 217, 0.2);
}

.single-service h3,
.renew-service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.single-service .line-bnt {
    margin-top: auto;
    color: var(--secondary-color);
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.single-service .line-bnt::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.single-service:hover .line-bnt::after {
    width: 100%;
}

/* -------------------------------------------
   Contact Form Modernization
------------------------------------------- */
.contact-area .form-control {
    background-color: #f9faff;
    border: 2px solid #edf2f7;
    padding: 20px;
    border-radius: 12px;
    height: auto;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-area .form-control:focus {
    background-color: #fff;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(29, 66, 217, 0.1);
}

.contact-area .default-btn,
.box-btn {
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* -------------------------------------------
   Modern Footer
------------------------------------------- */
.footer-area {
    background-color: var(--footer-bg) !important;
    padding-top: 100px;
    color: var(--footer-text);
    position: relative;
    z-index: 1;
}

/* Add a subtle top border gradient */
.footer-area::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.footer-area .content {
    margin-bottom: 30px;
}

.footer-area .logo {
    margin-bottom: 25px;
}

.footer-area .logo img {
    max-width: 180px;
    /* Reduced logo size slightly */
    filter: brightness(1.2);
    /* Make logo pop on dark bg */
}

.footer-area p {
    color: var(--footer-text);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-area h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

/* Underline for footer headings */
.footer-area h3::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-list li {
    margin-bottom: 15px;
}

.footer-list li a {
    color: var(--footer-text);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
}

.footer-list li a:hover {
    color: var(--white);
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Remove old Our Service dropup styles */
.footer-dropup {
    display: none;
}

/* Footer Dropup Menu - Fix Hover Gap */
.copy-area .menu li.footer-menu-dropup {
    position: relative;
    z-index: 100;
}

/* Ensure the hover area is captured */
.copy-area .menu li.footer-menu-dropup:hover {
    z-index: 101;
}

.copy-area .menu li.footer-menu-dropup .dropup-content {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--footer-bg);
    min-width: 220px;
    max-height: 350px;
    overflow-y: auto;
    padding: 10px 0;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
    text-align: left;
    margin-bottom: 0;
}

/* Scrollbar Styling for Dropup */
.copy-area .menu li.footer-menu-dropup .dropup-content::-webkit-scrollbar {
    width: 4px;
}

.copy-area .menu li.footer-menu-dropup .dropup-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.copy-area .menu li.footer-menu-dropup .dropup-content a {
    display: block;
    padding: 6px 15px;
    color: var(--footer-text);
    font-size: 0.85rem;
    transition: background 0.2s;
    text-decoration: none;
}

.copy-area .menu li.footer-menu-dropup .dropup-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.copy-area .menu li.footer-menu-dropup .dropup-content .drop-label {
    display: block;
    padding: 8px 15px 4px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--secondary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 5px;
}

.copy-area .menu li.footer-menu-dropup .dropup-content .drop-label:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 5px;
}

/* Main Navigation Dropdown Animation */
.navbar-area .main-nav .navbar .navbar-nav .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

.navbar-area .main-nav .navbar .navbar-nav .nav-item:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Main Navigation Dropdown Labels */
.navbar-area .main-nav .navbar .navbar-nav .nav-item .dropdown-menu .dropdown-header-label {
    display: block;
    padding: 12px 25px 5px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 5;
    background: #fff;
}

/* Prevent hover effect on labels */
.navbar-area .main-nav .navbar .navbar-nav .nav-item .dropdown-menu li.header-label:hover::before {
    display: none;
}

.navbar-area .main-nav .navbar .navbar-nav .nav-item .dropdown-menu li.header-label {
    pointer-events: none;
}


/* Hover & Click & Bridge to keep menu open */
.copy-area .menu li.footer-menu-dropup:hover .dropup-content,
.copy-area .menu li.footer-menu-dropup.active .dropup-content {
    display: block;
    animation: fadeInUp 0.3s ease;
}

/* Invisible bridge to stay open when moving mouse to menu */
.copy-area .menu li.footer-menu-dropup::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    /* Wider than li */
    height: 25px;
    /* Wider than the 10px gap to ensure overlap */
    background: transparent;
    display: none;
    z-index: 5;
    pointer-events: none;
    /* Allow click to pass through to the link on mobile */
}

.copy-area .menu li.footer-menu-dropup:hover::before {
    display: block;
    pointer-events: auto;
    /* Re-enable for desktop hover stability */
}

.copy-area .menu li a {
    color: var(--footer-text);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
}

.copy-area .menu li a:hover {
    color: var(--white);
}

.copy-area .right {
    text-align: right;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.copy-area .right a {
    color: var(--white);
    font-weight: 600;
}

/* -------------------------------------------
   Responsive
------------------------------------------- */
@media (max-width: 768px) {
    .renew-banner {
        padding: 140px 0 80px;
    }

    .renew-banner h1 {
        font-size: 2.8rem;
    }

    .why-number {
        font-size: 4rem;
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 10px;
        color: rgba(29, 66, 217, 0.1);
    }

    .renew-section-title h2 {
        font-size: 2.2rem;
    }

    .renew-page-title-area {
        padding: 140px 0 60px;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }

    .footer-area {
        text-align: center;
    }

    .footer-area h3::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .copy-area .menu,
    .copy-area .right {
        text-align: center;
    }

    .copy-area .menu li {
        margin: 0 10px 10px;
    }

    .copy-area .menu li::after {
        display: none;
    }
}

/* -------------------------------------------
   Technological Image Overlay (ITS Special)
------------------------------------------- */
.tech-overlay-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: #000;
    /* Dark bg for contrast */
}

/* Base Image Styling - Make it look "Digital" */
.tech-img {
    filter: grayscale(100%) sepia(100%) hue-rotate(180deg) saturate(1.5) contrast(1.2) brightness(0.8);
    transition: all 0.5s ease;
    mix-blend-mode: normal;
    /* Changed from luminosity for better visibility */
    opacity: 0.9;
}

.tech-overlay-container:hover .tech-img {
    filter: grayscale(0%) sepia(0%) contrast(1.1);
    opacity: 1;
    transform: scale(1.05);
}

/* Grid Overlay */
.tech-overlay-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 2;
    pointer-events: none;
}

/* Vignette Overlay */
.tech-overlay-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(5, 18, 66, 0.7) 100%);
    z-index: 3;
    pointer-events: none;
}

/* Corner Brackets (UI) */
.tech-ui-frame {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    z-index: 5;
    pointer-events: none;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.tech-ui-frame::before,
.tech-ui-frame::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-color: #00f0ff;
    border-style: solid;
    transition: all 0.3s ease;
}

/* Top-Left & Top-Right */
.tech-ui-frame::before {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
}

.tech-ui-frame::after {
    top: 0;
    right: 0;
    border-width: 2px 2px 0 0;
}

/* Bottom brackets child span */
.tech-ui-frame span {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.tech-ui-frame span::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 15px;
    height: 15px;
    border: 2px solid #00f0ff;
    border-width: 0 0 2px 2px;
}

.tech-ui-frame span::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 15px;
    height: 15px;
    border: 2px solid #00f0ff;
    border-width: 0 2px 2px 0;
}

/* Status Badge */
.tech-status-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba(5, 18, 66, 0.85);
    border: 1px solid #00f0ff;
    color: #00f0ff;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-family: monospace, sans-serif;
    font-weight: 700;
    z-index: 6;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(2px);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.tech-status-badge::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: #00f0ff;
    border-radius: 50%;
    margin-right: 8px;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 5px #00f0ff;
    }

    50% {
        opacity: 0.3;
        box-shadow: none;
    }
}

/* Scan Line Animation */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 240, 255, 0.1) 50%, transparent);
    z-index: 4;
    animation: scan 4s linear infinite;
    transform: translateY(-100%);
    pointer-events: none;
}

@keyframes scan {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* ========================================
   AX Service Cards Hover Effects
======================================== */

.ax-app-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 15px;
    overflow: hidden;
}

.ax-app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 66, 217, 0.05) 0%, rgba(29, 66, 217, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 15px;
    z-index: 0;
}

.ax-app-card:hover::before {
    opacity: 1;
}

.ax-app-card:hover {
    transform: translateY(-12px) scale(1.05);
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%) !important;
    box-shadow: 0 20px 40px rgba(29, 66, 217, 0.25) !important;
}

.ax-app-card .icon-box {
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.ax-app-card:hover .icon-box {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, #1d42d9 0%, #5373ff 100%) !important;
    color: #fff !important;
    box-shadow: 0 10px 30px rgba(29, 66, 217, 0.4) !important;
}

.ax-app-card:hover .icon-box i {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.ax-app-card h5 {
    position: relative;
    transition: all 0.3s ease;
    z-index: 1;
}

.ax-app-card:hover h5 {
    color: #1d42d9 !important;
    transform: scale(1.05);
    font-weight: 800 !important;
}

/* Glow effect on hover */
.ax-app-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29, 66, 217, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
    pointer-events: none;
}

.ax-app-card:hover::after {
    width: 300px;
    height: 300px;
}

/* Pulse animation for icon */
@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }

    50% {
        box-shadow: 0 5px 25px rgba(29, 66, 217, 0.3);
    }
}

.ax-app-card:hover .icon-box {
    animation: pulse 1.5s infinite;
}

/* Smooth text reveal */
.ax-app-card h5 {
    overflow: hidden;
}

.ax-app-card:hover h5 {
    letter-spacing: 0.5px;
}

/* Add subtle border glow */
.ax-app-card {
    border: 2px solid transparent;
}

.ax-app-card:hover {
    border-color: rgba(29, 66, 217, 0.3);
}


/* ========================================
   AX Detail Cards Hover Effects (LLM, RAG, Predictive, Infra)
======================================== */

a.ax-detail-card {
    position: relative;
    overflow: hidden;
    display: block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

a.ax-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(29, 66, 217, 0.1), transparent);
    transition: left 0.6s ease;
}

a.ax-detail-card:hover::before {
    left: 100%;
}

a.ax-detail-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(29, 66, 217, 0.25) !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%) !important;
}

a.ax-detail-card .icon {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

a.ax-detail-card:hover .icon {
    transform: scale(1.2) rotate(10deg);
    color: #5373ff !important;
}

a.ax-detail-card:hover .icon i {
    animation: iconPulse 1s ease infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

a.ax-detail-card h4 {
    transition: all 0.3s ease;
}

a.ax-detail-card:hover h4 {
    color: #1d42d9 !important;
    transform: translateX(5px);
}

a.ax-detail-card p {
    transition: all 0.3s ease;
}

a.ax-detail-card:hover p {
    color: #333 !important;
}

/* Glow border effect */
a.ax-detail-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    pointer-events: none;
}

a.ax-detail-card:hover::after {
    border-color: rgba(29, 66, 217, 0.3);
}

/* Shine effect */
a.ax-detail-card {
    background-size: 200% 200%;
}

a.ax-detail-card:hover {
    animation: shine 2s ease infinite;
}

@keyframes shine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}










/* ========================================
   2-Level Dropdown Menu for Service
======================================== */

/* Service 드롭다운 기본 설정 */
.navbar-nav .nav-item.dropdown-service {
    position: relative;
}

/* 1단계 드롭다운 - overflow visible로 설정 */
.navbar-nav .nav-item.dropdown-service>.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    z-index: 1000;
    overflow: visible !important;
    /* 중요: 2단계 메뉴가 잘리지 않도록 */
}

.navbar-nav .nav-item.dropdown-service:hover>.dropdown-menu {
    display: block;
}

/* 2단계 서브메뉴 */
.navbar-nav .dropdown-submenu {
    position: relative;
}

.navbar-nav .dropdown-submenu>a {
    position: relative;
    padding-right: 40px !important;
}

.navbar-nav .dropdown-submenu>a::after {
    content: '\f285';
    font-family: 'boxicons' !important;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* 2단계 드롭다운 메뉴 - 부모 밖으로 나가도록 */
.navbar-nav .dropdown-submenu>.dropdown-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    margin-left: 5px;
    z-index: 1001;
    /* 1단계보다 높게 */
}

.navbar-nav .dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

/* 드롭다운 항목 스타일 */
.navbar-nav .dropdown-menu .nav-item {
    position: relative;
}

.navbar-nav .dropdown-menu .nav-link {
    padding: 10px 20px;
    color: #50607f;
    transition: all 0.3s ease;
    display: block;
    white-space: nowrap;
}

.navbar-nav .dropdown-menu .nav-link:hover {
    background: #f8f9ff;
    color: #1d42d9;
    padding-left: 25px;
}

/* 서브메뉴 호버 시 화살표 회전 */
.navbar-nav .dropdown-submenu:hover>a::after {
    transform: translateY(-50%) rotate(90deg);
}

/* navbar-collapse도 overflow visible로 */
.navbar-collapse {
    overflow: visible !important;
}

.main-nav .navbar {
    overflow: visible !important;
}

/* 모바일 반응형 */
@media (max-width: 991px) {
    .navbar-nav .nav-item.dropdown-service>.dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-left: 2px solid #1d42d9;
        border-radius: 0;
        padding-left: 15px;
        overflow: visible;
    }

    .navbar-nav .dropdown-submenu>.dropdown-menu {
        position: static;
        margin-left: 15px;
        box-shadow: none;
        border: none;
        border-left: 2px solid #5373ff;
        border-radius: 0;
    }

    .navbar-nav .dropdown-submenu>a::after {
        content: '\f282';
    }
}



/* ========================================
   Service 2단계 드롭다운 - 강화된 스타일
======================================== */

/* mean-menu 클래스 내에서도 작동하도록 더 구체적인 선택자 사용 */
.mean-menu .navbar-nav .nav-item.dropdown-service {
    position: relative !important;
}

.mean-menu .navbar-nav .nav-item.dropdown-service>.dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 250px !important;
    background: #fff !important;
    border: 1px solid #e8ecf1 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    padding: 10px 0 !important;
    z-index: 1000 !important;
    overflow: visible !important;
    margin: 0 !important;
}

.mean-menu .navbar-nav .nav-item.dropdown-service:hover>.dropdown-menu {
    display: block !important;
}

/* 2단계 서브메뉴 - 더 구체적 */
.mean-menu .navbar-nav .dropdown-submenu {
    position: relative !important;
}

.mean-menu .navbar-nav .dropdown-submenu>.dropdown-menu {
    display: none !important;
    position: absolute !important;
    left: 100% !important;
    top: 0 !important;
    min-width: 220px !important;
    background: #fff !important;
    border: 1px solid #e8ecf1 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    padding: 10px 0 !important;
    margin-left: 5px !important;
    z-index: 1001 !important;
}

.mean-menu .navbar-nav .dropdown-submenu:hover>.dropdown-menu {
    display: block !important;
}

/* 링크 스타일 */
.mean-menu .navbar-nav .dropdown-menu .nav-link {
    padding: 10px 20px !important;
    color: #50607f !important;
    transition: all 0.3s ease !important;
    display: block !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}

.mean-menu .navbar-nav .dropdown-menu .nav-link:hover {
    background: #f8f9ff !important;
    color: #1d42d9 !important;
    padding-left: 25px !important;
}

/* 화살표 아이콘 */
.mean-menu .navbar-nav .dropdown-submenu>a {
    position: relative !important;
    padding-right: 40px !important;
}

.mean-menu .navbar-nav .dropdown-submenu>a::after {
    content: '\f285' !important;
    font-family: 'boxicons' !important;
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 14px !important;
    transition: transform 0.3s ease !important;
}

.mean-menu .navbar-nav .dropdown-submenu:hover>a::after {
    transform: translateY(-50%) rotate(90deg) !important;
}


/* Why TECH-AT & Service Card Special Design */
.why-box-v2 {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border-bottom: 3px solid transparent;
}

.why-box-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(29, 66, 217, 0.15);
    border-bottom: 3px solid #1d42d9;
}

.why-box-v2 .big-num {
    position: absolute;
    top: -15px;
    right: 15px;
    font-size: 100px;
    font-weight: 900;
    color: rgba(29, 66, 217, 0.08);
    line-height: 1;
    z-index: 1;
    font-family: sans-serif;
}

.why-box-v2 .icon-area {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e6efff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.why-box-v2 .icon-area i {
    font-size: 32px;
    color: #1d42d9;
}

.why-box-v2 h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    color: #051242;
}

.why-box-v2 p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

/* Industry Slider Marquee */
.industry-slider-wrapper {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.industry-slider-wrapper::before,
.industry-slider-wrapper::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.industry-slider-wrapper::before {
    left: 0;
    top: 0;
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
}

.industry-slider-wrapper::after {
    right: 0;
    top: 0;
    background: linear-gradient(to left, white 0%, rgba(255, 255, 255, 0) 100%);
}

.industry-slider-track {
    display: flex;
    width: calc(200px * 36);
    /* (Width + Margin) * Total Items */
    animation: marqueeScroll 45s linear infinite;
}

.industry-slider-track:hover {
    animation-play-state: paused;
}

.industry-slider-item {
    width: 200px;
    padding: 0 10px;
    flex-shrink: 0;
}

.industry-slider-item .industry-box {
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    padding: 25px 15px !important;
    border-radius: 15px;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.industry-slider-item:hover .industry-box {
    background: #fff;
    box-shadow: 0 10px 25px rgba(29, 66, 217, 0.1);
    transform: translateY(-5px);
    border-color: rgba(29, 66, 217, 0.2);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 18));
    }
}

@media (max-width: 991px) {

    .industry-slider-wrapper::before,
    .industry-slider-wrapper::after {
        width: 50px;
    }
}