:root {
    /* New Palette: Orange, Yellow, Dull Red */
    --color-white: #ffffff;
    --color-primary: #FF8C00;
    /* Dark Orange */
    --color-primary-hover: #E67E00;
    --color-secondary: #CD5C5C;
    /* Indian Red / Dull Red */
    --color-accent: #FFD700;
    /* Gold/Yellow */
    --color-dark: #2D2424;
    /* Warm Dark Brown/Charcoal */
    --color-bg-light: #FFFBF0;
    /* Warm Cream White */
    --color-text-muted: #6c757d;
}

body.dark-mode {
    --color-white: #1a1a1a;
    --color-dark: #f0f0f0;
    --color-bg-light: #121212;
    --color-text-muted: #a0a0a0;
    /* Adjust other colors if needed for dark mode contrast */
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--color-dark);
    background-color: var(--color-bg-light);
    overflow-x: hidden;
}

/* Typography */
.text-dark-blue {
    color: var(--color-dark) !important;
}

.text-primary {
    color: var(--color-primary) !important;
}

.text-secondary-custom {
    color: var(--color-secondary) !important;
}

.bg-dark-blue {
    background-color: var(--color-dark) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

/* Bootstrap Overrides for Consistency */
.bg-light {
    background-color: var(--color-bg-light) !important;
}

.text-info {
    color: var(--color-accent) !important;
    /* Gold/Yellow instead of Cyan */
}

.bg-danger {
    background-color: var(--color-secondary) !important;
    /* Dull Red instead of bright red */
}

.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.tracking-wider {
    letter-spacing: 0.1em;
}

/* Buttons */
.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(205, 92, 92, 0.3);
}

.btn-primary:hover::after {
    width: 100%;
}

.btn-white {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.btn-white:hover {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-light:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.btn-secondary-custom {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: white;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background-color: #b04040;
    /* Darker shade */
    border-color: #b04040;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(205, 92, 92, 0.3);
}

.btn-accent-custom {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-dark);
    transition: all 0.3s ease;
}

.btn-accent-custom:hover {
    background-color: #e6c200;
    /* Darker shade */
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

/* Navbar */
.navbar-brand img {
    object-fit: cover;
}

.nav-link {
    color: var(--color-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
#home {
    background: radial-gradient(circle at top right, rgba(255, 140, 0, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(205, 92, 92, 0.05), transparent 40%);
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: pulse-glow 6s infinite alternate;
}

.shape-1 {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background-color: rgba(255, 140, 0, 0.15);
}

.shape-2 {
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(205, 92, 92, 0.1);
    animation-delay: 1s;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Tech Orbs Animation */
.tech-orb {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--color-accent), var(--color-primary));
    box-shadow: 0 0 20px var(--color-primary), inset 0 0 10px rgba(255, 255, 255, 0.5);
    filter: blur(2px);
    z-index: 2;
    opacity: 0;
    /* Start hidden */
}

/* Specific Orb Positions & Animations */


/* Generic Entrance Animations - Stable (No Float) */
/* Hero Images (i.png, compo.png) */
.hero-img {
    position: absolute;
    opacity: 0.8;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

/* Specific Positions & Sizes - Simplified (2x compo.png) */
.img-compo-1 {
    width: 400px;
    /* Larger */
    top: 5%;
    right: 5%;
    /* Top Right */
}

.img-compo-2 {
    width: 400px;
    /* Larger */
    bottom: 5%;
    left: 5%;
    /* Bottom Left */
}

/* Responsive Adjustments */
@media (max-width: 1200px) {

    .img-compo-1,
    .img-compo-2 {
        width: 350px;
    }
}

@media (max-width: 992px) {

    .img-compo-1,
    .img-compo-2 {
        width: 280px;
    }
}

@media (max-width: 768px) {

    .img-compo-1,
    .img-compo-2 {
        width: 200px;
    }
}

@media (max-width: 576px) {

    .img-compo-1,
    .img-compo-2 {
        width: 140px;
    }

    .img-compo-1 {
        top: 2%;
        right: 2%;
    }

    .img-compo-2 {
        bottom: 2%;
        left: 2%;
    }
}

/* Slide Animations - No Rotation */
.slide-in-top-right {
    animation: slide-top-right 1.5s cubic-bezier(0.25, 1, 0.5, 1) backwards;
}

.slide-in-bottom-left {
    animation: slide-bottom-left 1.5s cubic-bezier(0.25, 1, 0.5, 1) backwards;
}

@keyframes slide-top-right {
    0% {
        transform: translate(50vw, -50vh);
        opacity: 0;
    }

    100% {
        transform: translate(0, 0);
        opacity: 0.8;
    }
}

@keyframes slide-bottom-left {
    0% {
        transform: translate(-50vw, 50vh);
        opacity: 0;
    }

    100% {
        transform: translate(0, 0);
        opacity: 0.8;
    }
}



/* Dynamic JS-Driven Animation */
.tech-orb.dynamic-enter {
    animation: dynamic-swoop 2.5s cubic-bezier(0.25, 1, 0.5, 1) backwards forwards;
}

@keyframes dynamic-swoop {
    0% {
        transform: translate(var(--tx), var(--ty)) scale(0.5);
        opacity: 0;
    }

    50% {
        /* Midpoint for the arc/projectile effect */
        transform: translate(var(--mx), var(--my)) scale(1.05);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: var(--final-opacity);
    }
}

@keyframes swoop-from-bottom-left {
    0% {
        transform: translate(-50vw, 50vh) scale(0.5);
        opacity: 0;
    }

    60% {
        transform: translate(5vw, -5vh) scale(1.05);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
}

@keyframes swoop-from-bottom-right {
    0% {
        transform: translate(50vw, 50vh) scale(0.5);
        opacity: 0;
    }

    60% {
        transform: translate(-5vw, -5vh) scale(1.05);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
}

@keyframes swoop-from-top {
    0% {
        transform: translate(0, -50vh) scale(0.5);
        opacity: 0;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
}

@keyframes swoop-from-bottom {
    0% {
        transform: translate(0, 50vh) scale(0.5);
        opacity: 0;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
}

@keyframes swoop-from-left {
    0% {
        transform: translate(-50vw, 0) scale(0.5);
        opacity: 0;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
}

@keyframes swoop-from-right {
    0% {
        transform: translate(50vw, 0) scale(0.5);
        opacity: 0;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
}

/* About Section (Harmonious) */
#about {
    background-color: var(--color-bg-light);
    position: relative;
    overflow: hidden;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 140, 0, 0.1);
    box-shadow: 0 8px 32px 0 rgba(255, 140, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px 0 rgba(255, 140, 0, 0.1);
}

.glass-card-featured {
    border: 1px solid rgba(255, 140, 0, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 251, 240, 0.8));
    box-shadow: 0 10px 30px -5px rgba(255, 140, 0, 0.15);
}

.blob-card-about {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.2) 0%, transparent 70%);
    bottom: -50px;
    right: -50px;
    opacity: 0.6;
    z-index: 1;
}

.transition-icon {
    transition: transform 0.3s ease;
}

[aria-expanded="true"] .transition-icon {
    transform: rotate(180deg);
}

.bento-grid-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.bento-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bento-item:hover {
    transform: translateY(-10px) scale(1.02);
    z-index: 10;
}

.item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    border: 1px solid rgba(255, 140, 0, 0.1);
}

.item-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    background: linear-gradient(135deg, var(--color-dark), #4a3b3b) !important;
}

.item-3 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    background-color: var(--color-primary) !important;
}

/* Services - Modern & Colorful */
.service-card-modern {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.service-card-modern:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
    z-index: 10;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.service-card-modern:hover::before {
    transform: translateX(100%);
}

/* Card Themes */
.card-dark-blue {
    /* Now Dark Warm */
    background-color: var(--color-dark);
}

.card-white {
    background-color: #ffffff;
    border: 1px solid rgba(255, 140, 0, 0.1);
}

.card-light-blue {
    /* Now Secondary Red */
    background-color: var(--color-secondary);
}

/* Icon Box */
.icon-box-xl {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.service-card-modern:hover .icon-box-xl {
    transform: scale(1.1) rotate(10deg);
}

.bg-white-20 {
    background-color: rgba(255, 255, 255, 0.2);
}

.bg-primary-subtle {
    background-color: rgba(255, 140, 0, 0.1) !important;
    color: var(--color-primary) !important;
}

.bg-secondary-subtle {
    background-color: rgba(205, 92, 92, 0.1) !important;
    color: var(--color-secondary) !important;
}

.bg-accent-subtle {
    background-color: rgba(255, 215, 0, 0.1) !important;
    color: var(--color-accent) !important;
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

/* Blobs Decoration */
.blob-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    opacity: 0.6;
    transition: all 0.5s ease;
}

.service-card-modern:hover .blob-decoration {
    opacity: 0.9;
    transform: scale(1.2);
    filter: blur(40px);
}

.blob-light-blue {
    /* Now Orange */
    width: 250px;
    height: 250px;
    background: var(--color-primary);
    top: -80px;
    right: -80px;
    opacity: 0.3;
}

.blob-gray {
    /* Now Yellowish */
    width: 300px;
    height: 300px;
    background: rgba(255, 215, 0, 0.15);
    bottom: -100px;
    left: -100px;
}

.blob-white {
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.25);
    top: 50%;
    right: -50%;
    transform: translateY(-50%);
}

.blob-dark {
    width: 400px;
    height: 400px;
    background: rgba(255, 140, 0, 0.2);
    top: -100px;
    left: -100px;
}

.blob-red {
    width: 250px;
    height: 250px;
    background: var(--color-secondary);
    top: -80px;
    right: -80px;
    opacity: 0.2;
}

.blob-gold {
    width: 250px;
    height: 250px;
    background: var(--color-accent);
    top: -80px;
    right: -80px;
    opacity: 0.2;
}

/* Custom Solutions Banner */
.bg-dark {
    background-color: var(--color-dark) !important;
}

/* Footer */
#contact {
    background-color: var(--color-dark);
}

.footer-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.footer-card:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-5px) translateX(5px);
    border-color: rgba(255, 140, 0, 0.3);
}

.arrow-anim {
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.footer-card:hover .arrow-anim {
    opacity: 1 !important;
    transform: translateX(0);
    color: var(--color-primary);
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.blob-footer {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.15) 0%, transparent 70%);
    bottom: -300px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.4;
}

.icon-box-md {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Blobs Global */
.blob-bg {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.15) 0%, rgba(205, 92, 92, 0.05) 50%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

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

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

/* Floating Buttons */
.floating-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.8;
}

.floating-btn:hover {
    opacity: 1;
    transform: scale(1.1) rotate(10deg);
}

.whatsapp-btn {
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
}

.theme-toggle-btn {
    bottom: 30px;
    right: 100px;
    /* Positioned to the left of the WhatsApp button */
    background-color: var(--color-dark);
    color: var(--color-bg-light);
}

.theme-toggle-btn:hover {
    background-color: var(--color-primary);
    color: white;
}

.lang-toggle-btn {
    bottom: 30px;
    left: 100px;
    /* Positioned to the right of the Back to Top button */
    background-color: var(--color-primary);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.lang-toggle-btn:hover {
    background-color: var(--color-secondary);
    transform: scale(1.1);
}

.back-to-top {
    bottom: 30px;
    left: 30px;
    background-color: var(--color-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

/* --- Dark Mode Refinements --- */
body.dark-mode .navbar {
    background-color: rgba(18, 18, 18, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .navbar-light .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .navbar-light .navbar-nav .nav-link:hover,
body.dark-mode .navbar-light .navbar-nav .nav-link.active {
    color: var(--color-primary);
}

body.dark-mode .navbar-brand span {
    color: #ffffff !important;
}

body.dark-mode .navbar-toggler {
    filter: invert(1);
}

/* About Us Cards */
body.dark-mode .glass-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .glass-card-featured {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .glass-card p,
body.dark-mode .glass-card-featured p {
    color: #d0d0d0 !important;
}

body.dark-mode .glass-card b,
body.dark-mode .glass-card-featured b {
    color: #ffffff;
}

/* Bento Grid */
body.dark-mode .bento-item.bg-white {
    background-color: #1e1e1e !important;
    color: #f0f0f0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Services Cards */
body.dark-mode .card-white {
    background-color: #1e1e1e;
    border-color: rgba(255, 255, 255, 0.1);
    color: #f0f0f0;
}

body.dark-mode .service-card-modern p.text-muted {
    color: #a0a0a0 !important;
}

/* Custom Solutions Card */
body.dark-mode .bg-dark {
    background-color: #050505 !important;
    /* Very dark */
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-mode .text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Footer Fix */
body.dark-mode #contact {
    background-color: #000000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Bento Grid - Design Card Fix */
body.dark-mode .item-2 {
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .item-2 i {
    color: var(--color-accent) !important;
}

.back-to-top.show {
    opacity: 0.8;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top.show:hover {
    opacity: 1;
    background-color: var(--color-secondary);
}

/* Animations */
.animate-up,
.animate-left,
.animate-right,
.animate-fade {
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-up {
    transform: translateY(50px);
}

.animate-left {
    transform: translateX(-50px);
}

.animate-right {
    transform: translateX(50px);
}

.animate-fade {
    transform: scale(0.95);
}

.visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    #home {
        min-height: 100svh;
        /* Better support for mobile viewports */
        padding-top: 80px;
        padding-bottom: 50px;
    }

    .display-3 {
        font-size: 2.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .h2 {
        font-size: 1.4rem !important;
        margin-bottom: 1rem !important;
    }

    .h4.lead {
        font-size: 1.1rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.5;
    }

    .hero-description-container {
        margin: 1rem auto !important;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
    }

    .whatsapp-btn {
        right: 20px;
    }

    .back-to-top {
        left: 20px;
    }

    .theme-toggle-btn {
        right: 80px;
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .display-3 {
        font-size: 2rem !important;
    }

    .h2 {
        font-size: 1.2rem !important;
    }

    .h4.lead {
        font-size: 1rem !important;
    }

    .hero-description-text {
        font-size: 0.9rem !important;
    }

    .animate-item {
        padding: 0.1rem 0.3rem !important;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 0.8rem 2rem !important;
        font-size: 1rem !important;
    }

    .service-card-modern {
        padding: 2.5rem 1.5rem !important;
    }

    .glass-card {
        padding: 1.5rem !important;
    }

    section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* --- Refinements for 'About Us' Expandable Content --- */
.about-more-wrapper {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collapse.show .about-more-wrapper {
    opacity: 1;
    transform: translateY(0);
}

#read-more-btn {
    transition: all 0.3s ease;
    border-width: 1.5px;
}

#read-more-btn .transition-icon {
    font-weight: bold;
    line-height: 1;
    display: inline-block;
}

/* Specific styling for the line separator when expanded */
.opacity-10 {
    opacity: 0.1 !important;
    border-top: 1px solid var(--color-dark);
}

body.dark-mode .opacity-10 {
    border-top: 1px solid white;
}

/* --- Hero Description Custom Styles --- */
.hero-description-container {
    max-width: 900px;
    margin: 2rem auto;
    position: relative;
    z-index: 5;
}

.hero-description-text {
    font-size: 1.2rem;
    color: var(--color-dark);
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 0;
}

.animate-item {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    margin: 0.2rem;
    border-radius: 8px;
    background: rgba(255, 140, 0, 0.05);
    border: 1px solid rgba(255, 140, 0, 0.1);
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-description-text.visible .animate-item {
    opacity: 1;
    transform: translateY(0);
}

.hero-description-text.visible .animate-item:nth-child(1) {
    transition-delay: 0.4s;
}

.hero-description-text.visible .animate-item:nth-child(2) {
    transition-delay: 0.6s;
}

.hero-description-text.visible .animate-item:nth-child(3) {
    transition-delay: 0.8s;
}

.hero-description-text.visible .animate-item:nth-child(4) {
    transition-delay: 1s;
}

body.dark-mode .animate-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 576px) {
    .hero-description-text {
        font-size: 1rem;
    }

    .animate-item {
        margin: 0.1rem;
        padding: 0.1rem 0.4rem;
    }
}