/* style_for_base_carousel_from_home */
/* Background particle animations */
/* Background particle animations */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-particle {
    position: absolute;
    opacity: 0.03;
    pointer-events: none;
    border-radius: 50%;
    background-color: var(--uv-secondary-color);
}

.particle-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation: float-1 60s linear infinite;
}

.particle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 80%;
    animation: float-2 70s linear infinite;
}

.particle-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 40%;
    animation: float-3 50s linear infinite;
}

.particle-4 {
    width: 120px;
    height: 120px;
    top: 70%;
    left: 30%;
    animation: float-4 65s linear infinite;
}

@keyframes float-1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, 100px) rotate(90deg); }
    50% { transform: translate(0, 200px) rotate(180deg); }
    75% { transform: translate(-100px, 100px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes float-2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-150px, -100px) rotate(120deg); }
    66% { transform: translate(150px, -200px) rotate(240deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes float-3 {
    0% { transform: translate(0, 0) rotate(0deg); }
    20% { transform: translate(100px, -100px) rotate(72deg); }
    40% { transform: translate(200px, 0) rotate(144deg); }
    60% { transform: translate(100px, 100px) rotate(216deg); }
    80% { transform: translate(-100px, 0) rotate(288deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes float-4 {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-100px, 50px) rotate(90deg); }
    50% { transform: translate(-50px, 100px) rotate(180deg); }
    75% { transform: translate(100px, 50px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Additional styles from mockup */
.hero-section {
    position: relative;
    background-color: var(--uv-dark-accent);
    overflow: hidden;
    padding: 7rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(11, 12, 16, 0.8), rgba(31, 40, 51, 0.4));
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/img/tech-pattern.svg');
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.gradient-text {
    background: linear-gradient(90deg, var(--uv-primary-color), var(--uv-secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    font-weight: 700;
}

.subtitle {
    font-weight: 400;
    color: var(--uv-text-light);
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    letter-spacing: 0.5px;
}

.more-about-us {
    background-color: transparent;
    border: 2px solid var(--uv-primary-color);
    color: var(--uv-light);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.more-about-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--uv-primary-color), var(--uv-secondary-color));
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.more-about-us:hover {
    color: var(--uv-dark-bg);
    border-color: transparent;
}

.more-about-us:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Services section styles */
.services-overview {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    background-color: var(--uv-dark-bg);
    z-index: 1;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(160, 32, 240, 0.05) 0%, rgba(11, 12, 16, 0) 70%);
    z-index: -1;
}

/* Service Card Styles from Services Page - Colored borders with dark interior */
.service-category-card {
    background-color: var(--uv-dark-accent);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid; /* Base border */
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    position: relative;
}

/* Color-specific borders for each service type using solid borders */
.ai-ml {
    border-color: #9b59b6; /* Purple */
}

.cloud-infra {
    border-color: #3498db; /* Blue */
}

.specialized {
    border-color: #f39c12; /* Orange */
}

.tech-expertise {
    border-color: #2ecc71; /* Green */
}

.web-dev {
    border-color: #34495e; /* Dark blue */
}

.service-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-category-card .card-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(69, 162, 158, 0.2);
    background-color: var(--uv-dark-accent); /* Keep dark background */
}

.service-category-card .icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.service-category-card .card-body {
    padding: 1.5rem;
}

.service-category-card h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--uv-light);
}

.service-category-card p {
    margin-bottom: 1.25rem;
    color: var(--uv-text-light);
}

.service-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--uv-text-light);
}

/* Replace bullet points with colored capsules */
.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Set bullet colors to match their card borders */
.ai-ml .service-list li::before {
    background-color: #9b59b6; /* Purple */
}

.cloud-infra .service-list li::before {
    background-color: #3498db; /* Blue */
}

.specialized .service-list li::before {
    background-color: #f39c12; /* Orange */
}

.tech-expertise .service-list li::before {
    background-color: #2ecc71; /* Green */
}

.web-dev .service-list li::before {
    background-color: #34495e; /* Dark blue */
}

.btn-service {
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-service:hover {
    transform: translateY(-2px);
}

/* Category-specific styling */
.ai-ml .icon-container {
    background-color: rgba(155, 89, 182, 0.15); /* Purple */
    color: #9b59b6;
}

.ai-ml-btn {
    background-color: #9b59b6;
    color: white;
    border: none;
}

.ai-ml-btn:hover {
    background-color: #8e44ad;
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3);
}

.cloud-infra .icon-container {
    background-color: rgba(52, 152, 219, 0.15); /* Blue */
    color: #3498db;
}

.cloud-infra-btn {
    background-color: #3498db;
    color: white;
    border: none;
}

.cloud-infra-btn:hover {
    background-color: #2980b9;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.specialized .icon-container {
    background-color: rgba(243, 156, 18, 0.15); /* Orange */
    color: #f39c12;
}

.specialized-btn {
    background-color: #f39c12;
    color: white;
    border: none;
}

.specialized-btn:hover {
    background-color: #d35400;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.tech-expertise .icon-container {
    background-color: rgba(46, 204, 113, 0.15); /* Green */
    color: #2ecc71;
}

.tech-expertise-btn {
    background-color: #2ecc71;
    color: white;
    border: none;
}

/* Web Development styling */
.web-dev .icon-container {
    background-color: rgba(52, 73, 94, 0.15); /* Dark Blue */
    color: #34495e;
}

.web-dev-btn {
    background-color: #34495e;
    color: white;
    border: none;
}

.web-dev-btn:hover {
    background-color: #2c3e50;
    box-shadow: 0 5px 15px rgba(52, 73, 94, 0.3);
}

/* Services Carousel Styles */
#servicesCarousel {
    margin-bottom: 30px;
}

#servicesCarousel .carousel-indicators {
    bottom: -40px;
}

#servicesCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--uv-dark-accent);
    border: 2px solid var(--uv-primary-color);
    opacity: 0.5;
}

#servicesCarousel .carousel-indicators button.active {
    background-color: var(--uv-primary-color);
    opacity: 1;
}

#servicesCarousel .carousel-control-prev,
#servicesCarousel .carousel-control-next {
    width: 10%;
    opacity: 0.8;
}

#servicesCarousel .carousel-control-prev-icon,
#servicesCarousel .carousel-control-next-icon {
    background-color: rgba(102, 252, 241, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 50%;
}

/* Legacy service item styles (keeping for reference) */
.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 252, 241, 0.1), rgba(69, 162, 158, 0.1));
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--uv-primary-color), var(--uv-secondary-color)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.service-icon i {
    font-size: 2rem;
    color: var(--uv-primary-color);
    filter: drop-shadow(0 0 8px rgba(102, 252, 241, 0.5));
}

/* Case studies section */
.case-studies {
    position: relative;
    background-color: rgba(11, 12, 16, 0.9);
    padding: 6rem 0;
    overflow: hidden;
}

.case-studies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(102, 252, 241, 0.05) 0%, rgba(11, 12, 16, 0) 70%);
    z-index: 0;
}

.case-studies .container {
    position: relative;
    z-index: 1;
}

/* Case study card fixed height */
.case-study-card {
    background-color: var(--uv-dark-accent);
    border: 1px solid rgba(69, 162, 158, 0.2);
    transition: all 0.3s ease;
    border-radius: 8px;
    height: 450px; /* Fixed height for all cards */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Showcase tag styles from original page - updated to match project showcase */
.bg-blue-100 {
    background-color: #3498db; /* Blue for Infrastructure & AI */
}

.text-blue-800 {
    color: white;
}

.bg-gray-200 {
    background-color: rgba(41, 128, 185, 0.7); /* Blue tech badge */
}

.text-gray-700 {
    color: white;
}

/* Category-specific colors */
[data-category="infrastructure-ai"] .featured-tag,
.featured-tag.infrastructure-ai {
    background-color: #3498db; /* Blue */
}

[data-category="machine-learning"] .featured-tag,
.featured-tag.machine-learning {
    background-color: #2ecc71; /* Green */
}

[data-category="scientific-computing"] .featured-tag,
.featured-tag.scientific-computing {
    background-color: #f39c12; /* Yellow/Orange */
}

[data-category="ai-cloud"] .featured-tag,
.featured-tag.ai-cloud {
    background-color: #9b59b6; /* Purple */
}

[data-category="data-science"] .featured-tag,
.featured-tag.data-science {
    background-color: #e74c3c; /* Red */
}

[data-category="visualization"] .featured-tag,
.featured-tag.visualization {
    background-color: #34495e; /* Dark Gray/Blue */
}

[data-category="web-development"] .featured-tag,
.featured-tag.web-development {
    background-color: rgba(26, 188, 156, 0.7); /* Emerald Green */
}

.featured-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* CTA section */
.cta-section {
    background-color: var(--uv-dark-accent);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(160, 32, 240, 0.05), rgba(102, 252, 241, 0.05));
    z-index: 0;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--uv-highlight-color);
    opacity: 0.05;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

/* Dividers */
.gradient-divider {
    height: 3px;
    width: 80px;
    margin: 2rem auto;
    background: linear-gradient(90deg, var(--uv-primary-color), var(--uv-secondary-color));
    border-radius: 3px;
}

.section-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, 
        rgba(11, 12, 16, 0.9) 0%, 
        rgba(69, 162, 158, 0.3) 20%, 
        rgba(102, 252, 241, 0.5) 50%,
        rgba(69, 162, 158, 0.3) 80%,
        rgba(11, 12, 16, 0.9) 100%
    );
    margin: 3rem 0;
}

/* Button styles */
.btn-service {
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
    color: white;
    border: none;
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Category-specific button styling - capsule style buttons */
.ai-ml-btn {
    background-color: #9b59b6;
}

.ai-ml-btn:hover {
    background-color: #8e44ad;
}

.cloud-infra-btn {
    background-color: #3498db;
}

.cloud-infra-btn:hover {
    background-color: #2980b9;
}

.specialized-btn {
    background-color: #f39c12;
}

.specialized-btn:hover {
    background-color: #d35400;
}

.tech-expertise-btn {
    background-color: #2ecc71;
}

.tech-expertise-btn:hover {
    background-color: #27ae60;
}

.web-dev-btn {
    background-color: #34495e;
}

.web-dev-btn:hover {
    background-color: #2c3e50;
}

/* Link buttons */
.btn-link {
    color: var(--uv-primary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    display: inline-block;
    margin-top: 0.5rem;
}

.btn-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, var(--uv-primary-color), var(--uv-secondary-color));
    transition: width 0.3s ease;
}

.btn-link:hover {
    color: var(--uv-light);
}

.btn-link:hover::after {
    width: 100%;
}

/* Card image container styles */
.card-img-container {
    height: 200px;
    overflow: hidden;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-study-card:hover .card-img-top {
    transform: scale(1.1);
}

/* Tech tags styles - updated to match showcase */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tech-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 500;
    display: inline-block;
    text-decoration: none;
    transition: all 0.2s ease;
    color: white;
    border: 1px solid rgba(102, 252, 241, 0.1);
    background-color: #282e38;
}

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* New styles for gradient header and gradient buttons */
.gradient-header {
    background: linear-gradient(90deg, #66FCF1, #A020F0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.btn-gradient {
    background: linear-gradient(90deg, #66FCF1, #A020F0);
    border: none;
    color: #1a1e25;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(102, 252, 241, 0.3);
    color: #1a1e25;
}

.btn-gradient i {
    transition: transform 0.3s ease;
}

.btn-gradient:hover i {
    transform: translateX(5px);
}

/* Randomly assign different colors to tech badges, matching showcase */
.tech-tag:nth-child(7n+1) {
    background-color: rgba(41, 128, 185, 0.7); /* Blue */
}

.tech-tag:nth-child(7n+2) {
    background-color: rgba(46, 204, 113, 0.7); /* Green */
}

.tech-tag:nth-child(7n+3) {
    background-color: rgba(243, 156, 18, 0.7); /* Yellow/Orange */
}

.tech-tag:nth-child(7n+4) {
    background-color: rgba(142, 68, 173, 0.7); /* Purple */
}

.tech-tag:nth-child(7n+5) {
    background-color: rgba(231, 76, 60, 0.7); /* Red */
}

.tech-tag:nth-child(7n+6) {
    background-color: rgba(52, 73, 94, 0.7); /* Dark Gray/Blue */
}

.tech-tag:nth-child(7n) {
    background-color: rgba(22, 160, 133, 0.7); /* Turquoise */
}

/* Carousel custom styles */
#showcaseCarousel {
    margin-bottom: 50px;
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--uv-dark-accent);
    border: 2px solid var(--uv-primary-color);
    opacity: 0.5;
}

.carousel-indicators button.active {
    background-color: var(--uv-primary-color);
    opacity: 1;
}

.carousel-control-prev, .carousel-control-next {
    width: 10%;
    opacity: 0.8;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(102, 252, 241, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 50%;
}

/* Outline button for View All Projects */
.btn-outline-primary {
    background-color: transparent;
    border: 2px solid var(--uv-primary-color);
    color: var(--uv-secondary-color);
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
}

.btn-outline-primary:hover {
    background: linear-gradient(90deg, var(--uv-primary-color), var(--uv-secondary-color));
    color: var(--uv-dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 252, 241, 0.3);
}

/* home */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-particle {
    position: absolute;
    opacity: 0.03;
    pointer-events: none;
    border-radius: 50%;
    background-color: var(--uv-secondary-color);
}

.particle-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation: float-1 60s linear infinite;
}

.particle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 80%;
    animation: float-2 70s linear infinite;
}

.particle-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 40%;
    animation: float-3 50s linear infinite;
}

.particle-4 {
    width: 120px;
    height: 120px;
    top: 70%;
    left: 30%;
    animation: float-4 65s linear infinite;
}

@keyframes float-1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, 100px) rotate(90deg); }
    50% { transform: translate(0, 200px) rotate(180deg); }
    75% { transform: translate(-100px, 100px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes float-2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-150px, -100px) rotate(120deg); }
    66% { transform: translate(150px, -200px) rotate(240deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes float-3 {
    0% { transform: translate(0, 0) rotate(0deg); }
    20% { transform: translate(100px, -100px) rotate(72deg); }
    40% { transform: translate(200px, 0) rotate(144deg); }
    60% { transform: translate(100px, 100px) rotate(216deg); }
    80% { transform: translate(-100px, 0) rotate(288deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes float-4 {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-100px, 50px) rotate(90deg); }
    50% { transform: translate(-50px, 100px) rotate(180deg); }
    75% { transform: translate(100px, 50px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Additional styles from mockup */
.hero-section {
    position: relative;
    background-color: var(--uv-dark-accent);
    overflow: hidden;
    padding: 7rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(11, 12, 16, 0.8), rgba(31, 40, 51, 0.4));
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/img/tech-pattern.svg');
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.gradient-text {
    background: linear-gradient(90deg, var(--uv-primary-color), var(--uv-secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    font-weight: 700;
}

.subtitle {
    font-weight: 400;
    color: var(--uv-text-light);
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    letter-spacing: 0.5px;
}

.more-about-us {
    background-color: transparent;
    border: 2px solid var(--uv-primary-color);
    color: var(--uv-light);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.more-about-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--uv-primary-color), var(--uv-secondary-color));
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.more-about-us:hover {
    color: var(--uv-dark-bg);
    border-color: transparent;
}

.more-about-us:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Services section styles */
.services-overview {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    background-color: var(--uv-dark-bg);
    z-index: 1;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(160, 32, 240, 0.05) 0%, rgba(11, 12, 16, 0) 70%);
    z-index: -1;
}

/* Service Card Styles from Services Page - Colored borders with dark interior */
.service-category-card {
    background-color: var(--uv-dark-accent);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid; /* Base border */
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    position: relative;
}

/* Color-specific borders for each service type using solid borders */
.ai-ml {
    border-color: #9b59b6; /* Purple */
}

.cloud-infra {
    border-color: #3498db; /* Blue */
}

.specialized {
    border-color: #f39c12; /* Orange */
}

.tech-expertise {
    border-color: #2ecc71; /* Green */
}

.web-dev {
    border-color: #34495e; /* Dark blue */
}

.service-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-category-card .card-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(69, 162, 158, 0.2);
    background-color: var(--uv-dark-accent); /* Keep dark background */
}

.service-category-card .icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.service-category-card .card-body {
    padding: 1.5rem;
}

.service-category-card h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--uv-light);
}

.service-category-card p {
    margin-bottom: 1.25rem;
    color: var(--uv-text-light);
}

.service-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--uv-text-light);
}

/* Replace bullet points with colored capsules */
.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Set bullet colors to match their card borders */
.ai-ml .service-list li::before {
    background-color: #9b59b6; /* Purple */
}

.cloud-infra .service-list li::before {
    background-color: #3498db; /* Blue */
}

.specialized .service-list li::before {
    background-color: #f39c12; /* Orange */
}

.tech-expertise .service-list li::before {
    background-color: #2ecc71; /* Green */
}

.web-dev .service-list li::before {
    background-color: #34495e; /* Dark blue */
}

.btn-service {
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-service:hover {
    transform: translateY(-2px);
}

/* Category-specific styling */
.ai-ml .icon-container {
    background-color: rgba(155, 89, 182, 0.15); /* Purple */
    color: #9b59b6;
}

.ai-ml-btn {
    background-color: #9b59b6;
    color: white;
    border: none;
}

.ai-ml-btn:hover {
    background-color: #8e44ad;
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3);
}

.cloud-infra .icon-container {
    background-color: rgba(52, 152, 219, 0.15); /* Blue */
    color: #3498db;
}

.cloud-infra-btn {
    background-color: #3498db;
    color: white;
    border: none;
}

.cloud-infra-btn:hover {
    background-color: #2980b9;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.specialized .icon-container {
    background-color: rgba(243, 156, 18, 0.15); /* Orange */
    color: #f39c12;
}

.specialized-btn {
    background-color: #f39c12;
    color: white;
    border: none;
}

.specialized-btn:hover {
    background-color: #d35400;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.tech-expertise .icon-container {
    background-color: rgba(46, 204, 113, 0.15); /* Green */
    color: #2ecc71;
}

.tech-expertise-btn {
    background-color: #2ecc71;
    color: white;
    border: none;
}

/* Web Development styling */
.web-dev .icon-container {
    background-color: rgba(52, 73, 94, 0.15); /* Dark Blue */
    color: #34495e;
}

.web-dev-btn {
    background-color: #34495e;
    color: white;
    border: none;
}

.web-dev-btn:hover {
    background-color: #2c3e50;
    box-shadow: 0 5px 15px rgba(52, 73, 94, 0.3);
}

/* Services Carousel Styles */
#servicesCarousel {
    margin-bottom: 30px;
}

#servicesCarousel .carousel-indicators {
    bottom: -40px;
}

#servicesCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--uv-dark-accent);
    border: 2px solid var(--uv-primary-color);
    opacity: 0.5;
}

#servicesCarousel .carousel-indicators button.active {
    background-color: var(--uv-primary-color);
    opacity: 1;
}

#servicesCarousel .carousel-control-prev,
#servicesCarousel .carousel-control-next {
    width: 10%;
    opacity: 0.8;
}

#servicesCarousel .carousel-control-prev-icon,
#servicesCarousel .carousel-control-next-icon {
    background-color: rgba(102, 252, 241, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 50%;
}

/* Legacy service item styles (keeping for reference) */
.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 252, 241, 0.1), rgba(69, 162, 158, 0.1));
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--uv-primary-color), var(--uv-secondary-color)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.service-icon i {
    font-size: 2rem;
    color: var(--uv-primary-color);
    filter: drop-shadow(0 0 8px rgba(102, 252, 241, 0.5));
}

/* Case studies section */
.case-studies {
    position: relative;
    background-color: rgba(11, 12, 16, 0.9);
    padding: 6rem 0;
    overflow: hidden;
}

.case-studies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(102, 252, 241, 0.05) 0%, rgba(11, 12, 16, 0) 70%);
    z-index: 0;
}

.case-studies .container {
    position: relative;
    z-index: 1;
}

/* Case study card fixed height */
.case-study-card {
    background-color: var(--uv-dark-accent);
    border: 1px solid rgba(69, 162, 158, 0.2);
    transition: all 0.3s ease;
    border-radius: 8px;
    height: 450px; /* Fixed height for all cards */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Showcase tag styles from original page - updated to match project showcase */
.bg-blue-100 {
    background-color: #3498db; /* Blue for Infrastructure & AI */
}

.text-blue-800 {
    color: white;
}

.bg-gray-200 {
    background-color: rgba(41, 128, 185, 0.7); /* Blue tech badge */
}

.text-gray-700 {
    color: white;
}

/* Category-specific colors */
[data-category="infrastructure-ai"] .featured-tag,
.featured-tag.infrastructure-ai {
    background-color: #3498db; /* Blue */
}

[data-category="machine-learning"] .featured-tag,
.featured-tag.machine-learning {
    background-color: #2ecc71; /* Green */
}

[data-category="scientific-computing"] .featured-tag,
.featured-tag.scientific-computing {
    background-color: #f39c12; /* Yellow/Orange */
}

[data-category="ai-cloud"] .featured-tag,
.featured-tag.ai-cloud {
    background-color: #9b59b6; /* Purple */
}

[data-category="data-science"] .featured-tag,
.featured-tag.data-science {
    background-color: #e74c3c; /* Red */
}

[data-category="visualization"] .featured-tag,
.featured-tag.visualization {
    background-color: #34495e; /* Dark Gray/Blue */
}

[data-category="web-development"] .featured-tag,
.featured-tag.web-development {
    background-color: rgba(26, 188, 156, 0.7); /* Emerald Green */
}

.featured-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* CTA section */
.cta-section {
    background-color: var(--uv-dark-accent);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(160, 32, 240, 0.05), rgba(102, 252, 241, 0.05));
    z-index: 0;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--uv-highlight-color);
    opacity: 0.05;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

/* Dividers */
.gradient-divider {
    height: 3px;
    width: 80px;
    margin: 2rem auto;
    background: linear-gradient(90deg, var(--uv-primary-color), var(--uv-secondary-color));
    border-radius: 3px;
}

.section-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, 
        rgba(11, 12, 16, 0.9) 0%, 
        rgba(69, 162, 158, 0.3) 20%, 
        rgba(102, 252, 241, 0.5) 50%,
        rgba(69, 162, 158, 0.3) 80%,
        rgba(11, 12, 16, 0.9) 100%
    );
    margin: 3rem 0;
}

/* Button styles */
.btn-service {
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
    color: white;
    border: none;
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Category-specific button styling - capsule style buttons */
.ai-ml-btn {
    background-color: #9b59b6;
}

.ai-ml-btn:hover {
    background-color: #8e44ad;
}

.cloud-infra-btn {
    background-color: #3498db;
}

.cloud-infra-btn:hover {
    background-color: #2980b9;
}

.specialized-btn {
    background-color: #f39c12;
}

.specialized-btn:hover {
    background-color: #d35400;
}

.tech-expertise-btn {
    background-color: #2ecc71;
}

.tech-expertise-btn:hover {
    background-color: #27ae60;
}

.web-dev-btn {
    background-color: #34495e;
}

.web-dev-btn:hover {
    background-color: #2c3e50;
}

/* Link buttons */
.btn-link {
    color: var(--uv-primary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    display: inline-block;
    margin-top: 0.5rem;
}

.btn-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, var(--uv-primary-color), var(--uv-secondary-color));
    transition: width 0.3s ease;
}

.btn-link:hover {
    color: var(--uv-light);
}

.btn-link:hover::after {
    width: 100%;
}

/* Card image container styles */
.card-img-container {
    height: 200px;
    overflow: hidden;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-study-card:hover .card-img-top {
    transform: scale(1.1);
}

/* Tech tags styles - updated to match showcase */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tech-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 500;
    display: inline-block;
    text-decoration: none;
    transition: all 0.2s ease;
    color: white;
    border: 1px solid rgba(102, 252, 241, 0.1);
    background-color: #282e38;
}

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* New styles for gradient header and gradient buttons */
.gradient-header {
    background: linear-gradient(90deg, #66FCF1, #A020F0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.btn-gradient {
    background: linear-gradient(90deg, #66FCF1, #A020F0);
    border: none;
    color: #1a1e25;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(102, 252, 241, 0.3);
    color: #1a1e25;
}

.btn-gradient i {
    transition: transform 0.3s ease;
}

.btn-gradient:hover i {
    transform: translateX(5px);
}

/* Randomly assign different colors to tech badges, matching showcase */
.tech-tag:nth-child(7n+1) {
    background-color: rgba(41, 128, 185, 0.7); /* Blue */
}

.tech-tag:nth-child(7n+2) {
    background-color: rgba(46, 204, 113, 0.7); /* Green */
}

.tech-tag:nth-child(7n+3) {
    background-color: rgba(243, 156, 18, 0.7); /* Yellow/Orange */
}

.tech-tag:nth-child(7n+4) {
    background-color: rgba(142, 68, 173, 0.7); /* Purple */
}

.tech-tag:nth-child(7n+5) {
    background-color: rgba(231, 76, 60, 0.7); /* Red */
}

.tech-tag:nth-child(7n+6) {
    background-color: rgba(52, 73, 94, 0.7); /* Dark Gray/Blue */
}

.tech-tag:nth-child(7n) {
    background-color: rgba(22, 160, 133, 0.7); /* Turquoise */
}

/* Carousel custom styles */
#showcaseCarousel {
    margin-bottom: 50px;
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--uv-dark-accent);
    border: 2px solid var(--uv-primary-color);
    opacity: 0.5;
}

.carousel-indicators button.active {
    background-color: var(--uv-primary-color);
    opacity: 1;
}

.carousel-control-prev, .carousel-control-next {
    width: 10%;
    opacity: 0.8;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(102, 252, 241, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 50%;
}

/* Outline button for View All Projects */
.btn-outline-primary {
    background-color: transparent;
    border: 2px solid var(--uv-primary-color);
    color: var(--uv-secondary-color);
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
}

.btn-outline-primary:hover {
    background: linear-gradient(90deg, var(--uv-primary-color), var(--uv-secondary-color));
    color: var(--uv-dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 252, 241, 0.3);
}

/* gradient_text_for_home_hero */
.gradient-text {
  background: linear-gradient(90deg, #6366F1, #8B5CF6, #22D3EE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}