/* modern.css - Global Styles for ASR Website (Lovart AI Theme with Parallax) */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&family=Inter:wght@300;400;600;700&display=swap');

body {
    padding-top: 56px;
    background-size: cover;
    background-attachment: fixed;
    /* Parallax Effect Base */
    font-family: 'Inter', sans-serif;
    color: #e6e6e6;
    background-color: #030303;
    /* Deep Lovart dark */
}

/* Background Classes for Parallax */
body.bg-home {
    background-image: linear-gradient(rgba(3, 3, 3, 0.65), rgba(3, 3, 3, 0.85)), url("Asr_bg_website.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Parallax Magic */
}

body.bg-visa {
    background-image: linear-gradient(rgba(3, 3, 3, 0.65), rgba(3, 3, 3, 0.85)), url("Asr_bg_visa.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Parallax Magic */
}

/* Typography & Colors */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    /* Sleek tight tracking */
    color: #ffffff;
    /* High contrast white for headings */
}

/* Specific Gold/Amber glowing accents */
.text-gold,
h2.parallax-heading .text-gold {
    color: #e5b349 !important;
    /* Richer, brighter gold */
    text-shadow: 0 0 20px rgba(229, 179, 73, 0.3);
}

.text-light-muted {
    color: #a0a0a0 !important;
    /* Lighter than bootstrap text-muted */
}

p {
    line-height: 1.8;
    color: #a0a0a0;
    /* Softer text for readability */
    font-size: 1.1rem;
}

/* Global Navbar */
.transparent-navbar {
    background-color: rgba(3, 3, 3, 0.3) !important;
    backdrop-filter: blur(10px);
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease, border-bottom 0.4s ease;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.0);
}

.transparent-navbar.scrolled {
    background-color: rgba(3, 3, 3, 0.85) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Fine sleek border */
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    display: flex !important;
    align-items: center !important;
    color: #ffffff !important;
    white-space: nowrap;
}

.navbar-brand img {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-right: 12px !important;
    vertical-align: middle;
}

.navbar-brand:hover img {
    transform: scale(1.1) rotate(5deg);
}

.nav-link {
    font-weight: 600;
    text-transform: capitalize;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    color: #a0a0a0 !important;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff !important;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Glassmorphism Cards 2.0 (Lovart Style) */
.glass-card {
    background: rgba(15, 15, 15, 0.4);
    /* Very dark transparent */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    /* Nearly invisible white border */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    /* Deep shadow */
    border-radius: 20px;
    /* Softer radius */
    padding: 40px;
    color: #ffffff;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.5s ease, border 0.5s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Subtle inner glow effect on the top edge */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    z-index: 2;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(229, 179, 73, 0.05);
    border: 1px solid rgba(229, 179, 73, 0.2);
}

.glass-card h3,
.glass-card h4,
.glass-card h5 {
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 800;
}

.glass-card p,
.glass-card li {
    color: #a0a0a0;
}

/* Modern Glowing Buttons */
.btn-gold {
    background: #e5b349;
    color: #000000;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    padding: 16px 36px;
    border-radius: 100px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 0 20px rgba(229, 179, 73, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.5);
}

.btn-gold:hover,
.btn-gold:focus {
    background: #ffcc5c;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(229, 179, 73, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.8);
    color: #000;
}

.btn-outline-gold {
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 15px 35px;
    border-radius: 100px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    backdrop-filter: blur(10px);
}

.btn-outline-gold:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* Sections & Layout Utilities */
.page-section {
    padding: 140px 0;
    position: relative;
    z-index: 1;
}

/* Subtle glowing line */
.gold-line {
    width: 80px;
    height: 3px;
    background: #e5b349;
    margin: 25px auto 50px auto;
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(229, 179, 73, 0.6);
}

.gold-line.left {
    margin-left: 0;
}

/* Footer modernism */
footer.bg-dark {
    background-color: #050505 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0;
}

footer p {
    color: #666;
    font-size: 0.95rem;
}

footer a {
    color: #a0a0a0;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff !important;
}

/* Image Utilities */
.zoom-hover {
    overflow: hidden;
    position: relative;
}

/* Subtle image overlay to keep it dark and moody */
.zoom-hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
    z-index: 1;
}

.zoom-hover img {
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), filter 0.8s ease;
    filter: brightness(0.85) contrast(1.1);
}

.glass-card:hover .zoom-hover img {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.1);
}

/* Standard Lists */
ul.custom-list {
    list-style: none;
    padding-left: 0;
}

ul.custom-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

ul.custom-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #e5b349;
    font-size: 1rem;
    text-shadow: 0 0 10px rgba(229, 179, 73, 0.5);
}

/* Animated Vector Graphic Base */
.vector-animation-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 179, 73, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
}

.vector-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 100px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(229, 179, 73, 0.5);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 30px rgba(229, 179, 73, 0.15), inset 0 0 20px rgba(255, 255, 255, 0.02);
    animation: pulseCenter 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.vector-center i {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 5px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

.vector-center span {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: #ffffff;
    letter-spacing: 1px;
}

@keyframes pulseCenter {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 30px rgba(229, 179, 73, 0.15);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 0 50px rgba(229, 179, 73, 0.3);
    }
}

.vector-node {
    position: absolute;
    width: 90px;
    text-align: center;
    transform: translate(-50%, -50%);
    z-index: 5;
    animation: floatingNode 5s infinite ease-in-out;
}

.vector-node i {
    font-size: 1.4rem;
    color: #e5b349;
    display: block;
    margin-bottom: 8px;
    transition: all 0.3s;
    background: rgba(15, 15, 15, 0.9);
    width: 46px;
    height: 46px;
    line-height: 44px;
    border-radius: 50%;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.vector-node span {
    font-size: 0.65rem;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    color: #a0a0a0;
    letter-spacing: 0.5px;
    background: rgba(10, 10, 10, 0.8);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes floatingNode {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
}

.vector-node-1 {
    animation-delay: 0.2s;
    top: 10%;
    left: 50%;
}

.vector-node-2 {
    animation-delay: 0.8s;
    top: 20%;
    left: 77.5%;
}

.vector-node-3 {
    animation-delay: 1.4s;
    top: 50%;
    left: 90%;
}

.vector-node-4 {
    animation-delay: 0.9s;
    top: 80%;
    left: 77.5%;
}

.vector-node-5 {
    animation-delay: 1.6s;
    top: 90%;
    left: 50%;
}

.vector-node-6 {
    animation-delay: 0.5s;
    top: 80%;
    left: 22.5%;
}

.vector-node-7 {
    animation-delay: 1.1s;
    top: 50%;
    left: 10%;
}

.vector-node-8 {
    animation-delay: 0.3s;
    top: 20%;
    left: 22.5%;
}

.vector-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    z-index: 1;
}

.animated-line {
    stroke: rgba(229, 179, 73, 0.25);
    stroke-width: 1.5;
    fill: none;
    stroke-dasharray: 4 6;
    animation: dashMove 30s linear infinite;
}

@keyframes dashMove {
    from {
        stroke-dashoffset: 400;
    }

    to {
        stroke-dashoffset: 0;
    }
}

/* -------------------------------------- */
/* --- INDUSTRY CARD VECTOR ANIMATIONS ---*/
/* -------------------------------------- */

.industry-vector-container {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(5, 5, 5, 0.9) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: background 0.5s ease;
}

.glass-card:hover .industry-vector-container {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.industry-icon {
    font-size: 4rem;
    color: #e5b349;
    filter: drop-shadow(0 0 15px rgba(229, 179, 73, 0.4));
    position: relative;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.6s ease;
}

.glass-card:hover .industry-icon {
    transform: scale(1.15) translateY(-5px);
    filter: drop-shadow(0 0 25px rgba(229, 179, 73, 0.8));
    color: #ffcc5c;
}

/* Background floating elements in the vector container */
.industry-bg-element {
    position: absolute;
    color: rgba(255, 255, 255, 0.03);
    font-size: 8rem;
    z-index: 1;
    transition: transform 1s ease, color 0.5s ease;
}

.glass-card:hover .industry-bg-element {
    transform: scale(1.1) rotate(15deg);
    color: rgba(229, 179, 73, 0.05);
}

/* Specific animations for different icons */
@keyframes gearSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseHeart {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

@keyframes floatUp {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes signalPulse {
    0% {
        opacity: 0.5;
        filter: drop-shadow(0 0 5px rgba(229, 179, 73, 0.2));
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(229, 179, 73, 0.8));
    }

    100% {
        opacity: 0.5;
        filter: drop-shadow(0 0 5px rgba(229, 179, 73, 0.2));
    }
}

/* Apply animations on hover */
.glass-card:hover .anim-spin {
    animation: gearSpin 4s linear infinite;
}

.glass-card:hover .anim-pulse {
    animation: pulseHeart 1.5s ease-in-out infinite;
}

.glass-card:hover .anim-float {
    animation: floatUp 3s ease-in-out infinite;
}

.glass-card:hover .anim-signal {
    animation: signalPulse 2s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .navbar-toggler {
        background-color: transparent;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .navbar-toggler-icon {
        filter: invert(1);
    }

    .navbar-collapse {
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        margin-top: 15px;
        padding: 20px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        text-align: center;
    }

    .nav-link {
        padding: 15px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 1.1rem;
    }

    .nav-link:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .page-section {
        padding: 80px 0;
    }

    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 2rem !important;
    }

    .container {
        text-align: center;
    }

    ul.custom-list {
        text-align: left;
        display: inline-block;
        margin: 0 auto;
    }

    .btn-gold,
    .btn-outline-gold {
        width: 100%;
        margin-bottom: 15px;
        padding: 16px 20px;
    }

    .vector-animation-container,
    .vector-lines {
        transform: scale(0.9);
    }
}

@media (max-width: 480px) {
    .glass-card {
        padding: 30px 20px;
    }

    .vector-animation-container,
    .vector-lines {
        transform: scale(0.7);
    }
}

/* Enhancing list styles for Lovart look */
.glass-card ul {
    list-style: none;
    padding-left: 0;
}

.glass-card ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.glass-card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #ffffff;
    opacity: 0.5;
    font-weight: 300;
}

/* --- Form and Drag & Drop Styles --- */
.custom-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: all 0.3s ease;
}

.custom-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #e5b349;
    box-shadow: 0 0 10px rgba(229, 179, 73, 0.2);
    color: #ffffff;
}

.custom-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.drag-drop-zone {
    border: 2px dashed rgba(229, 179, 73, 0.5);
    background: rgba(229, 179, 73, 0.02);
    transition: all 0.3s ease;
    cursor: pointer;
}

.drag-drop-zone:hover,
.drag-drop-zone.dragover {
    border-color: #e5b349;
    background: rgba(229, 179, 73, 0.08);
}

.btn-outline-gold {
    color: #e5b349;
    border-color: #e5b349;
    background: transparent;
}

.btn-outline-gold:hover {
    background: #e5b349;
    color: #030303;
}