/* Index page UI improvements */

/* Global improvements */
body {
    overflow-x: hidden;
    color: #444;
}

section {
    padding: 70px 0;
}

.section__title {
    margin-bottom: 40px;
}

.section__title .sub-title {
    color: #4361ee;
    font-weight: 600;
    font-size: 18px;
    display: block;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section__title .title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #222;
}

/* Banner/Slider improvements */
.banner-area {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.banner-830 {
    height: 600px !important;
}

.banner-bg1 {
    background-position: center center !important;
    background-size: cover !important;
    height: 100%;
}

.banner-content {
    padding-top: 40px;
}

.banner-meta-text span {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
}

.banner-title {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 20px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.slider-nav {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 10;
    display: flex;
}

.dp-nav-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 18px;
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dp-nav-btn:hover {
    background-color: #4361ee;
}

/* Services section improvements */
.services__3 {
    position: relative;
    z-index: 1;
    margin-top: -40px;
    padding-top: 80px;
}

.services__3-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.services__3-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.services__3-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: #4361ee;
    transition: all 0.3s ease;
}

.services__3-item:hover::before {
    height: 100%;
}

.services__3-item-icon {
    font-size: 50px;
    color: #4361ee;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 70px;
}

.services__3-item-icon img {
    max-width: 70px;
    height: auto;
}

.services__3-item-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.services__3-item-title a {
    color: #222;
    transition: color 0.3s ease;
}

.services__3-item-title a:hover {
    color: #4361ee;
}

.services__3-item-text {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    flex-grow: 1;
}

/* Fix for service card heights */
.sunym {
    display: flex;
    margin-bottom: 30px;
}

.sunym > div {
    height: 100%;
    width: 100%;
}

/* Equal height service items */
.row.wow .sunym {
    height: 100%;
}

/* Services CTA improvements */
.services__cta {
    padding: 60px 0;
    background-color: #f5f7ff;
}

.services__cta-box {
    background-color: #4361ee;
    border-radius: 10px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.services__cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.services__cta-item h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.services__cta-item h3 a {
    color: #fff;
    text-decoration: underline;
}

.services__cta-item a i {
    font-size: 40px;
    color: #fff;
    transition: all 0.3s ease;
}

.services__cta-item a:hover i {
    transform: scale(1.1);
}

/* Fixed margin for CTA items */
.services__cta-item.mb-15 {
    margin-bottom: 0 !important;
}

/* Work process improvements */
.work {
    padding: 70px 0;
    position: relative;
}

.work__wrapper {
    background-color: #fff;
    border-radius: 10px;
    padding: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.work__content {
    padding-right: 30px;
}

.work__item {
    display: flex;
    margin-bottom: 30px;
}

.work__item-num {
    margin-right: 20px;
}

.work__item-num h5 {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4361ee;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
}

.work__item-text h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.work__item-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

.work__img {
    position: relative;
}

.work__img img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Testimonial section improvements */
.testimonial-area {
    background-color: #f7f9fc;
    padding: 70px 0;
}

.testimonial-box {
    position: relative;
}

.testimonial-shadow {
    padding: 20px;
}

.testimonial-items {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial__icon {
    margin-bottom: 20px;
}

.testimonial__icon i {
    color: #ffc107;
    font-size: 18px;
    margin-right: 2px;
}

.testimonial__text {
    flex-grow: 1;
}

.testimonial__text p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    font-style: italic;
    margin-bottom: 25px;
}

.testimonial__auth-text h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #222;
}

.testimonial__auth-text span {
    font-size: 14px;
    color: #666;
}

.testimonial__quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: #e8eeff;
    opacity: 0.5;
}

/* Fix for testimonial layout */
.testimonial-space .row > div {
    height: 100%;
}

.section__title.text-center.mb-35 {
    margin-bottom: 30px;
}

/* Additional fixes for section alignment */
.pb-90 {
    padding-bottom: 60px;
}

.pt-120 {
    padding-top: 90px;
}

/* Form styling */
.contact-form {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.single-input-field {
    margin-bottom: 20px;
    position: relative;
}

.single-input-field input,
.single-input-field textarea {
    width: 100%;
    height: 50px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    padding: 10px 20px 10px 45px;
    font-size: 15px;
    color: #666;
    transition: all 0.3s ease;
}

.single-input-field textarea {
    height: 150px;
    resize: none;
    padding-top: 15px;
}

.single-input-field input:focus,
.single-input-field textarea:focus {
    border-color: #4361ee;
    box-shadow: 0 0 10px rgba(67, 97, 238, 0.1);
    outline: none;
}

.single-input-field i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.single-input-field.textarea i {
    top: 25px;
}

.fill-btn {
    background-color: #4361ee;
    color: #fff;
    height: 50px;
    line-height: 50px;
    padding: 0 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.fill-btn:hover {
    background-color: #2644cc;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.clip-btn {
    position: relative;
    overflow: hidden;
}

.clip-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
}

.clip-btn:hover::before {
    width: 100%;
}

/* Client/brand section improvements */
.brand {
    padding: 50px 0;
    background-color: #4361ee;
}

.green-bg {
    background-color: #4361ee;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.brand-items {
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-items:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.2);
}

.brand-items img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.brand-items:hover img {
    opacity: 1;
}

/* Counter section improvements */
.dp-funfact-area {
    padding: 60px 0;
    background-color: #f7f9fc;
}

.dp-funfact-wrapper {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dp-funfact-icon {
    font-size: 40px;
    color: #4361ee;
    margin-bottom: 20px;
}

.dp-funfact-content h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}

.dp-funfact-content p {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    color: #666;
}

/* Responsive improvements */
@media (max-width: 1199px) {
    .banner-title {
        font-size: 40px;
    }
    
    .section__title .title {
        font-size: 32px;
    }
    
    .services__3-item {
        padding: 30px 20px;
    }
    
    .work__wrapper {
        padding: 40px 30px;
    }
}

@media (max-width: 991px) {
    .banner-830 {
        height: 500px !important;
    }
    
    .banner-title {
        font-size: 36px;
    }
    
    .section__title .title {
        font-size: 28px;
    }
    
    .services__cta-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .services__cta-item {
        margin-bottom: 20px;
    }
    
    .services__cta-item.t-right {
        text-align: center;
    }
    
    .work__content {
        margin-bottom: 40px;
        padding-right: 0;
    }
    
    .work__img {
        margin-left: 0 !important;
    }
}

@media (max-width: 767px) {
    .banner-830 {
        height: 400px !important;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .banner-meta-text span {
        font-size: 16px;
    }
    
    .section__title .title {
        font-size: 24px;
    }
    
    .services__3-item-title {
        font-size: 20px;
    }
    
    .work__wrapper {
        padding: 30px 20px;
    }
    
    .work__item-num h5 {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .work__item-text h4 {
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    .banner-830 {
        height: 350px !important;
    }
    
    .banner-title {
        font-size: 24px;
    }
    
    .section__title .sub-title {
        font-size: 16px;
    }
    
    .section__title .title {
        font-size: 22px;
    }
    
    .services__3 {
        margin-top: -30px;
    }
    
    .services__cta-box {
        padding: 30px 20px;
    }
    
    .services__cta-item h3 {
        font-size: 20px;
    }
} 