/* Custom Styles for Seeds Exporter Website */

/* Container Service Highlight */
.container-service-highlight {
    background: linear-gradient(135deg, rgba(58, 146, 205, 0.08) 0%, rgba(58, 146, 205, 0.04) 100%);
    border-left: 4px solid #00B3A4;
    padding: 25px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.container-service-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(58, 146, 205, 0.05));
    pointer-events: none;
}

.highlight-box h4 {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.highlight-box p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.highlight-box strong {
    font-weight: 700;
}

@media (max-width: 768px) {
    .container-service-highlight {
        padding: 20px;
        margin-bottom: 20px;
    }

    .highlight-box h4 {
        font-size: 1rem;
    }

    .highlight-box p {
        font-size: 0.9rem;
    }
}

/* Request Form Tabs */
.request__nav .nav-tabs {
    border: none;
    background: transparent;
    padding: 0.5rem;
}

.request__nav .nav-link {
    border-radius: 6px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    margin-right: 0.5rem;
    transition: all 0.2s ease-in-out;
    border: 1px solid #00B3A4;
    color: #00B3A4;
    background-color: white;
}

.request__nav .nav-link.active {
    background-color: #00B3A4;
    color: white;
}

.request__nav .nav-link:hover {
    background-color: #e6f4fc;
    color: #00B3A4;
}

.tab-form {
    margin-top: -1px;
}

.request__form {
    -webkit-border-radius: inherit !important;
}

.request__form .title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.7rem;
    color: #00B3A4;
    display: block;
}

.request__form .form-grp {
    margin-bottom: 0.5rem;
}

.request__form input,
.request__form select {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    padding: 0.7rem 1rem;
    font-size: 1rem;
    width: 100%;
    background: #f9fafb;
    transition: border-color 0.2s;
}

.request__form input:focus,
.request__form select:focus {
    border-color: #00B3A4;
    outline: none;
}

.request__form .btn {
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 8px;
    padding: 0.8rem 0;
    box-shadow: 0 2px 8px rgba(58, 146, 205, 0.07);
}

.request-response {
    display: none;
}

@media (max-width: 991.98px) {
    .request__nav .nav-link {
        padding: 0.7rem 1rem;
        font-size: 1rem;
    }

    .request__form .title {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .request__nav .nav-link {
        width: 100%;
        border-radius: 0;
        margin-bottom: 2px;
    }

    .request__form .row.gutter-20>[class*="col-"] {
        margin-bottom: 1rem;
    }
}

/* Work Area / How It Works Section */
.work__area {
    background: linear-gradient(135deg, #00B3A4 0%, #2c7bb5 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

.work__area .section__title {
    margin-bottom: 3rem;
}

.sub-title1 {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff !important;
    opacity: 0.9;
}

.work-snake-steps-snek {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.step-item {
    position: relative;
    text-align: center;
    width: 120px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease forwards;
}

.step-item:nth-child(1) {
    animation-delay: 0.1s;
}

.step-item:nth-child(2) {
    animation-delay: 0.2s;
}

.step-item:nth-child(3) {
    animation-delay: 0.3s;
}

.step-item:nth-child(4) {
    animation-delay: 0.4s;
}

.step-item:nth-child(5) {
    animation-delay: 0.5s;
}

.step-item:nth-child(6) {
    animation-delay: 0.6s;
}

.step-item:nth-child(7) {
    animation-delay: 0.7s;
}

.step-item:nth-child(8) {
    animation-delay: 0.8s;
}

.automation-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
}

.automation-inner-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.15);
}

.automation-inner-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 123, 255, 0.25);
    animation: pulse 2s infinite;
}

.automation-outer-arc {
    position: absolute;
    width: 120px;
    height: 60px;
    border: 8px solid #38bdf8;
    border-radius: 0 0 100px 100px;
    border-top: none;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0.7;
}

.step-item:nth-child(even) .automation-outer-arc {
    top: -10px;
    border-radius: 100px 100px 0 0;
    border-top: 8px solid #38bdf8;
    border-bottom: none;
}

.step-icon {
    font-size: 2.2rem;
    color: #00B3A4;
    transition: all 0.3s ease;
}

.automation-inner-circle:hover .step-icon {
    transform: scale(1.1);
}

.step-title {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-tooltip {
    position: absolute;
    top: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: #0ea5e9;
    color: #fff;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99999;
    width: 200px;
    max-width: 500px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
    min-height: 70px;
}

.step-tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: #0ea5e9;
}

.automation-inner-circle:hover .step-tooltip {
    opacity: 1;
    visibility: visible;
}

.connecting-line {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
    z-index: 1;
}

/* Blog Post Area */
.blog__post-area {
    min-height: 100vh;
}

.blog__post-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog__post-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Marquee Area */
.marquee__area {
    padding: 30px 0 30px;
}

/* Contact Map */
.contact-map iframe {
    border: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(0, 123, 255, 0.15);
    }

    50% {
        box-shadow: 0 6px 30px rgba(0, 123, 255, 0.25);
    }

    100% {
        box-shadow: 0 4px 20px rgba(0, 123, 255, 0.15);
    }
}

/* Responsive Design for Work Area */
@media (max-width: 1200px) {
    .steps-container {
        gap: 1rem;
    }

    .step-item {
        width: 100px;
    }

    .automation-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .automation-inner-circle {
        width: 80px;
        height: 80px;
    }

    .automation-outer-arc {
        width: 100px;
        height: 50px;
        top: 40px;
    }

    .step-item:nth-child(even) .automation-outer-arc {
        top: -10px;
    }

    .step-icon {
        font-size: 1.8rem;
    }

    .step-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .steps-container {
        gap: 0.8rem;
    }

    .step-item {
        width: 90px;
    }

    .automation-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .automation-inner-circle {
        width: 70px;
        height: 70px;
    }

    .automation-outer-arc {
        width: 90px;
        height: 45px;
        top: 35px;
        border-width: 6px;
    }

    .step-item:nth-child(even) .automation-outer-arc {
        top: -10px;
        border-top: 6px solid #38bdf8;
    }

    .step-icon {
        font-size: 1.8rem;
    }

    .step-title {
        font-size: 0.8rem;
    }

    .step-tooltip {
        font-size: 0.75rem;
        padding: 0.6rem 0.8rem;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .work__area {
        padding: 2rem 0;
        display: flex;
        align-items: center;
    }

    .sub-title1 {
        font-size: 0.8rem;
    }

    .work__area .section__title {
        margin-bottom: 2rem;
    }

    .steps-container {
        gap: 0.5rem;
        justify-content: center;
        max-width: 100%;
    }

    .step-item {
        width: 70px;
        margin-bottom: 1rem;
    }

    .automation-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 0.5rem;
    }

    .automation-inner-circle {
        width: 60px;
        height: 60px;
        border-width: 2px;
    }

    .automation-outer-arc {
        width: 80px;
        height: 40px;
        top: 30px;
        border-width: 5px;
    }

    .step-item:nth-child(even) .automation-outer-arc {
        top: -10px;
        border-top: 5px solid #38bdf8;
    }

    .step-icon {
        font-size: 1.8rem;
    }

    .step-title {
        font-size: 0.7rem;
        line-height: 1.2;
        font-weight: 600;
    }

    .step-tooltip {
        font-size: 0.7rem;
        padding: 0.5rem 0.6rem;
        max-width: 160px;
        bottom: 110%;
        white-space: normal;
    }
}

@media (max-width: 576px) {
    .work__area {
        padding: 1.5rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .steps-container {
        gap: 0.3rem;
        padding: 0 0.5rem;
    }

    .step-item {
        width: 65px;
    }

    .automation-icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .automation-inner-circle {
        width: 50px;
        height: 50px;
    }

    .automation-outer-arc {
        width: 70px;
        height: 35px;
        top: 25px;
        border-width: 4px;
    }

    .step-item:nth-child(even) .automation-outer-arc {
        top: -8px;
        border-top: 4px solid #38bdf8;
    }

    .step-icon {
        font-size: 1.5rem;
    }

    .step-title {
        font-size: 0.65rem;
        font-weight: 600;
    }

    .step-tooltip {
        font-size: 0.65rem;
        padding: 0.4rem 0.5rem;
        max-width: 140px;
    }

    .blog__post-area {
        min-height: auto;
        padding: 40px 0;
    }
}

/* Touch devices - make tooltips work on tap */
@media (hover: none) and (pointer: coarse) {
    .step-tooltip {
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .automation-inner-circle:active .step-tooltip,
    .automation-inner-circle:focus .step-tooltip {
        opacity: 1;
        visibility: visible;
    }

    .automation-inner-circle {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Ensure all icons are visible */
i[class*="fa-"], i[class*="bi-"] {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}
