/* ================================================
   Homepage Redesign CSS — v2
   Loaded ONLY by the homenn.htm layout.
   Does NOT modify any existing files.
   ================================================ */

/* ──────────────────────────────────────────────
   0. Smooth Scroll & Base
   ────────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
}

/* ──────────────────────────────────────────────
   1. Section Title Enhancements
   ────────────────────────────────────────────── */
.sec-title h2,
.section-title h2,
.section-title h6 {
    position: relative;
    display: inline-block;
}

.sec-title .dotted-box {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.sec-title .dotted-box .dotted {
    width: 28px;
    height: 4px;
    border-radius: 4px;
    background: var(--gradient-primary, linear-gradient(135deg, #f6d365 0%, #fda085 100%));
    display: inline-block;
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sec-title .dotted-box .dotted:first-child {
    width: 48px;
}

.sec-title:hover .dotted-box .dotted:first-child {
    width: 64px;
}

.sec-title p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
}

/* ──────────────────────────────────────────────
   2. Feature Cards (Great Design, Reliable, Best Price)
   ────────────────────────────────────────────── */
.feature-style-two {
    padding: 0 0 30px 0;
    position: relative;
    z-index: 2;
}

.feature-style-two .inner-container {
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.feature-block-two .inner-box {
    border-radius: 20px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    border: none !important;
    background: #ffffff;
    padding: 35px 30px !important;
    position: relative;
    overflow: hidden;
}

.feature-block-two .inner-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0%;
    background: var(--gradient-primary, linear-gradient(180deg, #f6d365 0%, #fda085 100%));
    border-radius: 0 4px 4px 0;
    transition: height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-block-two .inner-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1) !important;
}

.feature-block-two .inner-box:hover::before {
    height: 100%;
}

.feature-block-two .icon-box {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary, linear-gradient(135deg, #f6d365 0%, #fda085 100%));
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(253, 160, 133, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-block-two .inner-box:hover .icon-box {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 12px 28px rgba(253, 160, 133, 0.45);
}

.feature-block-two .inner-box:hover .text p {
    color: #64748b;
}

.feature-block-two .inner-box .title-inner h3 {
    margin-left: 20px;
}

.feature-block-two .inner-box:hover .title-inner h3 {
    color: #64748b;
}

.feature-block-two h3 {
    font-size: 20px !important;
    margin-bottom: 10px;
    color: #1e293b;
}

.feature-block-two p {
    color: #64748b;
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ──────────────────────────────────────────────
   3. Services Carousel Section
   ────────────────────────────────────────────── */
.service-block-one .inner-box {
    border-radius: 16px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    background: #ffffff;
    padding: 24px 18px 10px 18px !important;
    position: relative;
    overflow: hidden;
    margin-bottom: 3px !important;
}

.service-block-one .inner-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary, linear-gradient(90deg, #f6d365 0%, #fda085 100%));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-block-one .inner-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: transparent !important;
}

.service-block-one .inner-box:hover::after {
    opacity: 1;
}

.service-block-one span {
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    color: #475569;
    display: block;
    margin-bottom: 12px;
}

.service-block-one .icon-box img {
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.service-block-one .inner-box:hover .icon-box img {
    transform: scale(1.05);
}

/* Service section background */
.clients0-section {
    background-color: #f8fafc !important;
}

/* ──────────────────────────────────────────────
   4. Process Section (How We Work) — Enhancement
   ────────────────────────────────────────────── */
.process-section {
    background-color: #f1f5f9;
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gradient-primary, linear-gradient(135deg, rgba(246, 211, 101, 0.1) 0%, rgba(253, 160, 133, 0.1) 100%));
    z-index: 0;
}

.process-block {
    border-radius: 20px;
    padding: 40px 28px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.process-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary, linear-gradient(90deg, #f6d365 0%, #fda085 100%));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 20px 20px 0 0;
}

.process-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.process-block:hover::before {
    transform: scaleX(1);
}

.process-block:hover .step-number {
    color: rgba(253, 160, 133, 0.12);
    transform: scale(1.05);
}

.process-block .icon-box {
    box-shadow: 0 10px 25px rgba(253, 160, 133, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-block:hover .icon-box {
    transform: scale(1.1);
    box-shadow: 0 14px 32px rgba(253, 160, 133, 0.4);
}

.process-block h3 {
    font-size: 21px;
    color: #1e293b;
}

.process-block p {
    color: #64748b;
    font-size: 14.5px;
    line-height: 1.6;
}

.process-connector {
    transition: color 0.3s ease;
}

/* ──────────────────────────────────────────────
   5. FAQ Accordion — Modern Cards
   ────────────────────────────────────────────── */
.faq-content .card {
    border: none !important;
    border-radius: 14px !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background: #ffffff !important;
}

.faq-content .card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.faq-content .card-header {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 16px 20px !important;
    transition: all 0.3s ease;
}

.faq-content .card a.faq[aria-expanded="true"] .card-header {
    background: linear-gradient(135deg, rgba(246, 211, 101, 0.08) 0%, rgba(253, 160, 133, 0.08) 100%) !important;
    border-left: 4px solid #fda085 !important;
}

.faq-content .faq-question {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #334155;
    transition: color 0.3s ease;
}

.faq-content .faq-question span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--gradient-primary, linear-gradient(135deg, #f6d365 0%, #fda085 100%));
    color: #fff;
    margin-right: 12px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-content .card:hover .faq-question span {
    transform: scale(1.08);
}

.faq-content .card-body {
    padding: 20px 24px !important;
    background: #fafbfc;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.faq-content .faq-ans {
    font-size: 14.5px;
    line-height: 1.75;
    color: #475569;
}

/* ──────────────────────────────────────────────
   6. Testimonial Cards
   ────────────────────────────────────────────── */
.testi-box .client-drow,
.col-md9 .client-drow {
    border-radius: 20px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    background: #ffffff;
    padding: 32px 28px !important;
    position: relative;
    overflow: hidden;
}

.testi-box .client-drow::before,
.col-md9 .client-drow::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    left: 20px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: rgba(253, 160, 133, 0.1);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.testi-box .client-drow:hover,
.col-md9 .client-drow:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.testi-content {
    position: relative;
    z-index: 1;
}

.user-review {
    font-size: 15px !important;
    line-height: 1.75 !important;
    color: #475569 !important;
    font-style: italic !important;
}

.review-star {
    margin: 16px 0 8px 0;
}

.review-star .fa-star {
    color: #f59e0b !important;
    font-size: 15px;
    text-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.client-name h4,
.client-name h5 {
    font-size: 16px !important;
    color: #1e293b;
}

.client-name small {
    color: #94a3b8;
    font-weight: 400;
}

.client-name .fa-user-circle {
    color: #cbd5e1 !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* ──────────────────────────────────────────────
   7. Choose Section (FAQ & Testimonials wrapper)
   ────────────────────────────────────────────── */
.choose-section {
    background: #f8fafc !important;
    position: relative;
}

/*
.choose-section .pattern-layer {
    background: linear-gradient(180deg, #f8fafc 0%, rgba(255, 242, 175, 0.15) 100%) !important;
}
*/

.choose-section .section-title h2 {
    font-size: 28px;
    color: #1e293b;
}

.choose-section .line-bot {
    width: 48px;
    height: 4px;
    border-radius: 4px;
    background: var(--gradient-primary, linear-gradient(90deg, #f6d365 0%, #fda085 100%));
    margin-top: 12px;
}

/* ──────────────────────────────────────────────
   8. Clients / Tech Partners Section
   ────────────────────────────────────────────── 
.clients-section {
    background: #ffffff !important;
    border-top: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.clients-section h5 {
    font-size: 14px !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 600 !important;
}

.clients-section small {
    color: #94a3b8;
    font-size: 12px;
}

.clients-section .logo-image {
    padding: 10px 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.clients-section .logo-image img {
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.4s ease;
    max-height: 70px;
    object-fit: contain;
}

.clients-section .logo-image:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.08);
}

*/

/* ──────────────────────────────────────────────
   9. Contact CTA / Inquiry Section
   ────────────────────────────────────────────── 
.inquiry-section {
    position: relative;
    overflow: hidden;
}

.inquiry-section .pattern-layer {
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%) !important;
}

.inquiry-section .info-box {
    list-style: none;
    padding: 0;
}

.inquiry-section .info-box li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.inquiry-section .info-box p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 4px;
}

.inquiry-section .info-box h3 a {
    font-size: 18px !important;
    color: #1e293b;
    font-weight: 600;
    transition: color 0.3s ease;
}

.inquiry-section .info-box h3 a:hover {
    color: #fda085;
}

.inquiry-section .support-block {
    width: 56px;
    height: 56px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 16px !important;
    font-size: 22px;
    margin-bottom: 12px;
    background: var(--gradient-primary, linear-gradient(135deg, #f6d365 0%, #fda085 100%)) !important;
    color: #fff;
    padding: 0 !important;
    box-shadow: 0 8px 20px rgba(253, 160, 133, 0.25);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    animation: float 3s ease-in-out infinite;
}

.inquiry-section .support-block:hover {
    transform: scale(1.12) !important;
    box-shadow: 0 12px 28px rgba(253, 160, 133, 0.4) !important;
    background: var(--gradient-primary, linear-gradient(135deg, #fda085 0%, #f6d365 100%)) !important;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

*/

/* ──────────────────────────────────────────────
   10. Footer Enhancements
   ────────────────────────────────────────────── */
.main-footer .footer-widget h3 {
    font-size: 18px !important;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.main-footer .footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.4);
}

.main-footer .list a,
.main-footer .footer-list a {
    transition: all 0.3s ease;
    position: relative;
}

.main-footer .list a:hover,
.main-footer .footer-list a:hover {
    padding-left: 8px;
    color: #fff !important;
}

.main-footer .list a .fa-angle-right,
.main-footer .footer-list a .fa-angle-right {
    transition: transform 0.3s ease;
}

.main-footer .list a:hover .fa-angle-right,
.main-footer .footer-list a:hover .fa-angle-right {
    transform: translateX(3px);
}

/* Footer Waves */
.waves {
    position: relative;
    width: 100%;
    height: 15vh;
    margin-bottom: 0px;
    /* -33px */
    min-height: 100px;
    max-height: 150px;
}

.parallax>use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

@media (max-width: 768px) {
    .waves {
        height: 55px;
        min-height: 40px;
    }
}

/* Footer Copyright */

.footer-copyright {
    background: linear-gradient(to right, #f1f5f9, #f0eae2) !important;
}


.footer-copyright .social-links {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-copyright .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.05);
    color: #475569;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-copyright .social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.footer-copyright .social-links .facebook:hover {
    background: #1877F2;
    color: #fff;
}

.footer-copyright .social-links .twitter:hover {
    background: #1DA1F2;
    color: #fff;
}

.footer-copyright .social-links .instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.footer-copyright .social-links .whatsapp:hover {
    background: #25D366;
    color: #fff;
}

/* ──────────────────────────────────────────────
   11. Scroll Reveal Animations
   ────────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out both;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out both;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease-out both;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

.animate-delay-5 {
    animation-delay: 0.5s;
}

/* ──────────────────────────────────────────────
   12. Grayscale (Partner Logos)
   ────────────────────────────────────────────── */
.grayscale {
    filter: grayscale(100%) opacity(0.55);
    -webkit-filter: grayscale(100%) opacity(0.55);
    transition: all 0.4s ease;
}

.grayscale:hover {
    filter: grayscale(0%) opacity(1);
    -webkit-filter: grayscale(0%) opacity(1);
    transform: scale(1.06);
}

/* ──────────────────────────────────────────────
   13. Banner / Slider Refinements
   ────────────────────────────────────────────── */
.banner-section .content-box .top-text {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    margin-bottom: 8px;
    display: block;
}

.banner-section .content-box .title-text h1,
.banner-section .content-box .title-text h2 {
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    margin-bottom: 16px;
}

.banner-section .btn-box {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.banner-section .btn-box .btn {
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.banner-section .btn-box .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.banner-section .theme-btn-one {
    border-radius: 12px !important;
    padding: 14px 28px !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.banner-section .theme-btn-one:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ──────────────────────────────────────────────
   14. Misc Polish
   ────────────────────────────────────────────── */

/* Smooth page transitions */
.boxed_wrapper {
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #fda085, #f6d365);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f6d365, #fda085);
}

/* Selection highlight */
::selection {
    background: rgba(253, 160, 133, 0.3);
    color: #1e293b;
}

/* ──────────────────────────────────────────────
   15. Mobile Banner Override
   ────────────────────────────────────────────── */
@media only screen and (max-width: 600px) {
    .banner-section.style-one .banner-carousel .slide-item {
        padding: 80px 0px 40px 0px;
        min-height: 200px;
    }
}

/* ──────────────────────────────────────────────
   16. Responsive improvements
   ────────────────────────────────────────────── */
@media (max-width: 767px) {
    .feature-style-two .inner-container {
        margin-top: -30px;
    }

    .feature-block-two .inner-box {
        margin-bottom: 16px;
    }

    .sec-title h2 {
        font-size: 24px !important;
    }

    .process-section {
        padding: 60px 15px !important;
    }

    .choose-section {
        padding: 50px 15px !important;
    }

    .testi-box .client-drow,
    .col-md9 .client-drow {
        padding: 24px 20px !important;
    }
}