/* Home Page Enhancements */

/* Featured Service Styling */
.featured-service {
    position: relative;
    border: 2px solid #667eea;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
    transform: scale(1.02);
    z-index: 2;
}

.featured-service::before {
    content: 'FEATURED';
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
}

@keyframes expandLine {
    to { width: 100%; }
}

/* Arrow Button Position Fix */
.arrow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-left: 8px;
}

.main-button a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.main-button .theme-btn {
    display: inline-flex;
    align-items: center;
}

/* Enhanced Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(106, 71, 237, 0.1) 0%, rgba(139, 108, 227, 0.05) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    background: linear-gradient(135deg, #2c3e50, #6A47ED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-content h6 {
    position: relative;
    display: inline-block;
}

.hero-content h6::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6A47ED, #8B6CE3);
    animation: expandLine 2s ease-in-out forwards;
}

@keyframes expandLine {
    to { width: 100%; }
}

.hero-button .main-button {
    position: relative;
    overflow: hidden;
}

.hero-button .theme-btn {
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.hero-button .main-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.hero-button .main-button:hover::before {
    left: 100%;
}

.hero-image {
    position: relative;
    padding-top: 3%;
    width: 75% !important;
    margin-left: 10%;
    padding-left: 3%;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, #6A47ED, #8B6CE3);
    border-radius: 20px;
    opacity: 0.1;
    z-index: -1;
    animation: floating 6s ease-in-out infinite;
}


/* Make featured-service icon a perfect circle */
.featured-service .icon {
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px auto;
    position: relative;
}

.featured-service .icon img {
    width: 108px;
    height: 108px;
    object-fit: contain;
    display: block;
}

.featured-service .icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
    100% {
        transform: scale(1);
        opacity: 0.2;
    }
}

.featured-service .content h3 a {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.featured-service:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

/* Enhanced Service Card Animations */
.service-card-items {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card-items:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Computer Vision specific styling */
.service-card-items .icon img[alt*="computer-vision"] {
    filter: drop-shadow(0 5px 15px rgba(102, 126, 234, 0.3));
}

/* Responsive adjustments for featured service */
@media (max-width: 768px) {
    .featured-service {
        transform: scale(1.01);
    }
    
    .featured-service:hover {
        transform: scale(1.03);
    }
    
    .featured-service::before {
        font-size: 0.6rem;
        padding: 3px 10px;
        right: 15px;
    }
}



/* Enhanced button styling */
.main-button .theme-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    transition: all 0.3s ease;
}

.main-button:hover .theme-btn {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Service section enhancements */
.service-section {
    position: relative;
}

.service-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="service-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(102, 126, 234, 0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23service-pattern)"/></svg>');
    opacity: 0.5;
    z-index: 0;
}

.service-section .container {
    position: relative;
    z-index: 1;
}

/* Enhanced section titles */
.section-title .sub-title {
    background: linear-gradient(135deg, #667eea, #e8e1f6) !important;
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
}

.section-title h2 {
    background: linear-gradient(135deg, #333, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Loading animation for featured service */
@keyframes featuredServiceLoad {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1.02);
    }
}

.featured-service {
    animation: featuredServiceLoad 0.8s ease-out forwards;
}

/* Enhanced hover effects for all service cards */
.service-card-items .icon {
    transition: all 0.3s ease;
}

.service-card-items:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card-items .content h3 a {
    transition: color 0.3s ease;
}

.service-card-items:hover .content h3 a {
    color: #667eea;
}

.service-card-items .service-btn {
    transition: all 0.3s ease;
}

.service-card-items:hover .service-btn {
    color: #667eea;
    transform: translateX(5px);
}

.service-card-items:hover .service-btn i {
    transform: translateX(3px);
}

/* Mobile optimizations */
@media (max-width: 576px) {
    .featured-service {
        margin-bottom: 2rem;
    }
    
    .service-card-items {
        margin-bottom: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
} 