/* Custom Animations and Styling */

/* Services Page Premium Styling */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.service-item {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.service-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-item:hover::before {
    opacity: 0.05;
}

.service-number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    transition: all 0.4s ease;
}

.service-item:hover .service-number {
    color: var(--primary-color);
    transform: scale(1.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    /*background: var(--light-color);*/
    color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    /*margin-bottom: 25px;*/
    /*transition: all 0.4s ease;*/
}

.service-item:hover .service-icon {
    /*background: var(--primary-color);*/
    color: white;
    /*transform: rotate(10deg);*/
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    font-weight: 500;
}

.service-features li i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Process Section Enhancements */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.process-step h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Page Hero Enhancement */
.page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    /*background: linear-gradient(to top, white, transparent);*/
}

/* Hover Effects for Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    /*border-color: var(--primary-color);*/
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
}

/* Hero Section Enhancements */
.hero-content h1 {
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s backwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations (AOS overrides if needed) */
[data-aos="fade-up"] {
    transform: translate3d(0, 30px, 0);
}

/* Button Hover Effects */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover::after {
    width: 100%;
}

/* List Styling */
.service-features li {
    transition: transform 0.2s ease;
}

.service-features li:hover {
    transform: translateX(5px);
}

/* Strengths Section */
.feature-number {
    font-size: 3rem;
    font-weight: bold;
    color: #eee;
    position: absolute;
    top: -30px;
    right: 20px;
    z-index: 0;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-number {
    color: var(--primary-color);
}

.feature-card h3,
.feature-card p {
    position: relative;
    z-index: 1;
}

/* Hero Video Background */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}