/* Homepage Redesign - Modern & Beautiful Design */

/* Global Enhancements */
body {
    color: #444;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    position: relative;
    z-index: 2;
}

section {
    position: relative;
    padding: 70px 0;
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.btn-primary {
    background: linear-gradient(45deg, #3a56d4 0%, #4361ee 100%);
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4);
}

/* Section Titles Improvement */
.section__title {
    margin-bottom: 50px;
    position: relative;
}

.section__title .sub-title {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #4361ee;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 40px;
}

.section__title .sub-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background: #4361ee;
    transform: translateY(-50%);
}

.section__title .title {
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.section__title .title span {
    color: #4361ee;
}

.section__title p {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Hero/Banner Area Enhancement */
.slider__active {
    position: relative;
}

.slider__active .swiper-slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.slider__content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.slider__content h1 {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.slider__content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.slider-button-prev, 
.slider-button-next {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.slider-button-prev:hover, 
.slider-button-next:hover {
    background: #4361ee;
}

/* Services Section Enhancement */
.services__box {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 30px;
}

.services__box:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(67, 97, 238, 0.2);
}

.services__box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(45deg, rgba(67, 97, 238, 0.03) 0%, rgba(67, 97, 238, 0.08) 100%);
    transition: all 0.5s ease;
    z-index: -1;
}

.services__box:hover:before {
    height: 100%;
}

.services__icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    font-size: 40px;
    color: #4361ee;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.services__box:hover .services__icon {
    background: #4361ee;
    color: #fff;
    transform: rotateY(360deg);
}

.services__content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.services__box:hover .services__content h3 {
    color: #4361ee;
}

.services__content p {
    margin-bottom: 20px;
    color: #666;
}

/* CTA Section Enhancement */
.services__cta {
    padding: 40px 0;
}

.services__cta-box {
    background: linear-gradient(45deg, #3a56d4 0%, #4361ee 100%);
    border-radius: 20px;
    padding: 50px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(67, 97, 238, 0.2);
}

.services__cta-box:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.services__cta-box:after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.services__cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.services__cta-item h3 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 0;
}

.services__cta-item h3 a {
    color: #fff;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.services__cta-item h3 a:hover {
    opacity: 0.8;
}

.services__cta-item i {
    font-size: 36px;
    color: #fff;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.services__cta-item i:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

/* Work Process Enhancement */
.work-process {
    background: #f8f9fa;
    position: relative;
}

.work-process:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/process-bg-pattern.png');
    background-repeat: repeat;
    opacity: 0.03;
}

.work-process-box {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    text-align: center;
    margin-bottom: 30px;
}

.work-process-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.work-process-box:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    background: linear-gradient(45deg, rgba(67, 97, 238, 0.03) 0%, rgba(67, 97, 238, 0.08) 100%);
    left: 0;
    bottom: 0;
    transition: all 0.5s ease;
    z-index: -1;
    border-radius: 15px;
}

.work-process-box:hover:before {
    height: 100%;
}

.work-process-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #4361ee;
    color: #fff;
    font-weight: 700;
    border-radius: 50%;
    z-index: 2;
}

.work-process-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    font-size: 30px;
    color: #4361ee;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.work-process-box:hover .work-process-icon {
    background: #4361ee;
    color: #fff;
    transform: rotateY(360deg);
}

.work-process-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.work-process-box:hover .work-process-content h3 {
    color: #4361ee;
}

.work-process-content p {
    color: #666;
    margin-bottom: 0;
}

/* Brands/Clients Enhancement */
.brand {
    position: relative;
    padding: 70px 0;
    background: linear-gradient(135deg, #4361ee 0%, #3a56d4 100%);
    overflow: hidden;
}

.brand::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.brand::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.brand .section__title .title {
    color: #fff;
}

.brand .swiper-container {
    padding: 30px 0;
    overflow: visible;
}

.brand-items {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.brand-items:hover {
    transform: translateY(-15px);
    background-color: #f8f9fa;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.2);
}

.brand-items img {
    max-width: 85%;
    max-height: 85px;
    display: block;
    transition: all 0.3s ease;
    object-fit: contain;
}

.brand-items:hover img {
    transform: scale(1.08);
}

/* Counter Area Enhancement */
.counter-area {
    position: relative;
    background: #f8f9fa;
    padding: 80px 0;
}

.counter-area:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/counter-bg-pattern.png');
    background-repeat: repeat;
    opacity: 0.05;
}

.counter-item {
    text-align: center;
    background: #fff;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.counter-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.counter-item:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    background: linear-gradient(45deg, rgba(67, 97, 238, 0.03) 0%, rgba(67, 97, 238, 0.08) 100%);
    left: 0;
    bottom: 0;
    transition: all 0.5s ease;
    z-index: -1;
}

.counter-item:hover:before {
    height: 100%;
}

.counter-icon {
    font-size: 40px;
    color: #4361ee;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.counter-item:hover .counter-icon {
    transform: scale(1.2);
}

.counter {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.counter-title {
    font-size: 18px;
    font-weight: 600;
    color: #666;
}

/* Testimonial Enhancement */
.testimonial-area {
    position: relative;
    background: #fff;
    padding: 80px 0;
}

.testimonial-item {
    background: #fff;
    border-radius: 15px;
    padding: 50px 40px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    margin-top: 40px;
    transition: all 0.4s ease;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: -40px;
    left: 40px;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-quote {
    font-size: 24px;
    color: #4361ee;
    position: absolute;
    top: 20px;
    right: 30px;
}

.testimonial-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-client h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-client span {
    font-size: 14px;
    color: #4361ee;
    font-weight: 600;
}

.testimonial-rating {
    margin-top: 10px;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 16px;
    margin-right: 2px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #4361ee;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: #3a56d4;
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top i {
    line-height: 1;
    animation: fadeInUp 1.5s infinite ease;
}

@keyframes fadeInUp {
    0% {
        transform: translateY(5px);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-5px);
        opacity: 1;
    }
    100% {
        transform: translateY(5px);
        opacity: 0.5;
    }
}

/* Responsive Tweaks */
@media (max-width: 991px) {
    section {
        padding: 60px 0;
    }
    
    .section__title .title {
        font-size: 32px;
    }
    
    .slider__content h1 {
        font-size: 42px;
    }
    
    .slider__content p {
        font-size: 16px;
    }
    
    .services__cta-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .services__cta-item {
        margin-bottom: 20px;
    }
    
    .counter {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    section {
        padding: 50px 0;
    }
    
    .section__title .title {
        font-size: 28px;
    }
    
    .slider__content h1 {
        font-size: 36px;
    }
    
    .slider__content p {
        font-size: 15px;
    }
    
    .services__cta-box {
        padding: 40px 20px;
    }
    
    .services__cta-item h3 {
        font-size: 24px;
    }
    
    .counter {
        font-size: 32px;
    }
    
    .testimonial-item {
        padding: 50px 30px 30px;
    }
}

@media (max-width: 575px) {
    section {
        padding: 40px 0;
    }
    
    .section__title .title {
        font-size: 24px;
    }
    
    .slider__content h1 {
        font-size: 30px;
    }
    
    .slider__content p {
        font-size: 14px;
    }
    
    .btn-primary {
        padding: 10px 20px;
    }
    
    .services__cta-item h3 {
        font-size: 20px;
    }
    
    .counter {
        font-size: 28px;
    }
    
    .testimonial-item {
        padding: 45px 20px 25px;
    }
} 