/* ═══════════════════════════════════════════════════════════
   KYTEC LANDING PAGE - CUSTOM STYLES
   ═══════════════════════════════════════════════════════════ */

/* Import Manrope Font */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

/* Global Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Global Font */
body,
.elementor-widget-text-editor,
.elementor-widget-heading .elementor-heading-title {
    font-family: 'Manrope', sans-serif !important;
}

/* ═══ HEADER STYLES ═══ */
#kytec-header {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#kytec-header.scrolled {
    background-color: #00302E !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* ═══ BUTTON STYLES ═══ */
.elementor-button {
    transition: all 0.3s ease !important;
}

.elementor-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* ═══ FORM STYLES ═══ */
.wpcf7-form-control:not([type="submit"]) {
    background: #FFFFFF !important;
    border: 1px solid #E6E3DF !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 15px !important;
    width: 100% !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
    box-sizing: border-box !important;
    margin-bottom: 15px !important;
}

.wpcf7-form-control:not([type="submit"]):focus {
    border-color: #00302E !important;
    box-shadow: 0 0 0 3px rgba(0,48,46,0.1) !important;
    outline: none !important;
}

.wpcf7-form-control[type="submit"] {
    background: #00302E !important;
    color: #FFFAF0 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 16px !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}

.wpcf7-form-control[type="submit"]:hover {
    background: #005451 !important;
}

/* Form Two Column Layout */
.form-row.two-columns {
    display: flex;
    gap: 15px;
}

.form-row.two-columns > span {
    flex: 1;
}

/* Select Dropdown Arrow */
.wpcf7-form-control-wrap select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23787674' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px !important;
}

/* Contact Form 7 validation */
.wpcf7-not-valid {
    border-color: #e74c3c !important;
}

.wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
}

/* ═══ SERVICE SECTION IMAGES ═══ */
.service-image img {
    border-radius: 16px !important;
    transition: transform 0.4s ease !important;
}

.service-image:hover img {
    transform: scale(1.02);
}

/* ═══ FEATURES GRID ═══ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-box {
    background: rgba(0, 84, 81, 0.2);
    border: 1px solid rgba(189, 232, 212, 0.2);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #BDE8D4;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon img {
    width: 32px;
    height: 32px;
}

.feature-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #FFFAF0;
    margin: 0 0 10px 0;
}

.feature-desc {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #BDE8D4;
    line-height: 1.6;
    margin: 0;
}

/* ═══ TESTIMONIALS GRID ═══ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #FFFFFF;
    border: 1px solid #E6E3DF;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.testimonial-quote {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    color: #00302E;
    line-height: 1.7;
    margin: 0 0 25px 0;
}

.testimonial-author {
    display: flex;
    gap: 15px;
    align-items: center;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #00302E;
    flex-shrink: 0;
}

.testimonial-avatar.mint {
    background: #BDE8D4;
}

.testimonial-avatar.lilac {
    background: #CCCCFF;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #00302E;
    margin: 0 0 3px 0;
}

.testimonial-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #787674;
    margin: 0;
}

/* ═══ FOOTER LINKS ═══ */
footer a {
    color: #BDE8D4 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #FFFAF0 !important;
    text-decoration: underline;
}

/* ═══ TRUSTED BY LOGOS ═══ */
.trusted-logos {
    display: flex;
    align-items: center;
    gap: 25px;
}

.trusted-logos img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* ═══ RESPONSIVE STYLES ═══ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .features-grid {
        grid-template-columns: 1fr !important;
    }

    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }

    .form-row.two-columns {
        flex-direction: column;
        gap: 0;
    }

    .feature-box {
        padding: 25px 15px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .trusted-logos {
        flex-wrap: wrap;
        gap: 15px;
    }

    .trusted-logos img {
        max-width: 80px;
    }
}

/* ═══ ACCESSIBILITY ═══ */
.elementor-button:focus,
.wpcf7-form-control:focus {
    outline: 2px solid #00302E;
    outline-offset: 2px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ═══ PRINT STYLES ═══ */
@media print {
    .features-grid,
    .testimonials-grid {
        display: block;
    }

    .feature-box,
    .testimonial-card {
        break-inside: avoid;
        margin-bottom: 20px;
    }
}
