/*
Theme Name: TopSpin
Description: TopSpin is a modern and clean WordPress theme for Tennis Schools, Sports Clubs, and related industries. TopSpin is the ideal choice for building a professional, engaging website that showcases your expertise and attracts aspiring athletes.
Author: Jegtheme
Author URI: https://support.jegtheme.com/
Theme URI: https://fse.jegtheme.com/topspin/
Version: 1.0.2
Stable tag: 1.0.2
Requires at least: 6.2
Tested up to: 6.5
Requires PHP: 7.0
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: topspin
Tags: grid-layout,block-styles,entertainment,full-site-editing
Copyright: © Jegtheme. All rights reserved.
*/

:root{
    
}
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .block-library-block__reusable-block-container {
    max-width: 100%;
}


/* Put this in your CSS settings */
#nf-form-17-cont { 
    display: none !important; 
}


/*ANIMATION DROP LINK */



/* =========================================
   CONTAINER & LAYOUT
   ========================================= */
#talnets-animation-container {
    --brand-primary: #230D76;
    --brand-dark: #150847;
    --brand-blue: #0882E1;
    --brand-green: #06BD98;
    
    position: relative;
    width: 100%;
    max-width: 700px; 
    height: 100%;
    flex-grow: 1;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0px 0px;
    background-color: transparent;
    overflow: visible;
    -webkit-font-smoothing: antialiased;
    transform: translateZ(0);
}

/* =========================================
   VIDEO DROP ITEM
   ========================================= */
.video-drop-item {
    position: absolute;
    top: 200px;
    left: 0; right: 0; margin: 0 auto;
    width: 120px;
    background: white; border-radius: 12px; overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    z-index: 100;
}
.video-drop-image {
    width: 120px; height: 120px;
    background: linear-gradient(135deg, #0882E1 0%, #06BD98 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 50px; position: relative; overflow: hidden;
}
.video-drop-image::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 60%; height: 60%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%; transform: translate(-50%, -50%);
}
.video-drop-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block; position: absolute; top: 0; left: 0; pointer-events: none;
}
.video-drop-image::after {
    content: '📹';
    position: absolute; top: 65%; left: 50%;
    transform: translate(-50%, -50%); font-size: 45px; z-index: 2;
}
.video-drop-label {
    padding: 10px 5px; font-weight: 900; font-size: 11px;
    color: var(--brand-primary); text-align: center;
}

/* =========================================
   INPUT RECEPTACLE
   ========================================= */
.input-receptacle {
    position: relative;
    width: 80%;
    max-width: 800px;
    padding: 12px 20px;
    background: #f9f9fb;
    border: 2px solid rgba(35, 13, 118, 0.1); border-radius: 60px;
    display: flex; align-items: center; justify-content: space-between;
    z-index: 10;
    transition: border-color 0.3s ease;
}

.input-receptacle-desc {
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 10px;
    color: white;
}

/* NEW INPUT STYLING */
.talnets-input-field {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: var(--brand-primary);
    font-size: 14px;
    font-weight: 600;
    flex: 1;
    margin-right: 10px;
    padding: 5px 0;
}
.talnets-input-field::placeholder {
    color: #A0A0A0;
    opacity: 1;
}

.analyze-btn-mock {
    background: var(--brand-primary); 
    padding: 8px 24px;
    border-radius: 40px; 
    font-weight: 700; 
    color: white;
    font-size: 13px; 
    white-space: nowrap;
    margin-left: 10px;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.2s ease;
}
.analyze-btn-mock:hover {
    background: var(--brand-blue);
}

/* =========================================
   BENEFITS GRID
   ========================================= */
.benefits-output-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    max-width: 100%; 
    perspective: 1200px;
    position: relative;
    min-height: 0;
    margin-bottom: 0;
    
    background-color: transparent;
}

/* =========================================
   BENEFIT CARDS
   ========================================= */
.benefit-card {
   width: 100%;
    background: white; 
    border-radius: 10px; /* CHANGE THIS - needs to be 10px, not 0 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden; /* This clips children to the parent's border-radius */
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
    display: flex;
    flex-direction: column;
    
    background-color: transparent;
}

.card-image-container {
   width: 100%; 
    height: 280px; 
    overflow: hidden;
    position: relative; 
    background: transparent;
    
    background-color: transparent;
    transform: none;
    border-radius: 0; /* CHANGE THIS - remove the border-radius here */

}

.card-image-container img {
     width: 100%; 
    height: 100%; 
    object-fit: cover;
    object-position: top center;
    display: block;
    position: absolute; 
    top: 0;
    left: 0;
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
    transform: none;
    backface-visibility: visible;
    background: transparent;
    
    background-color: transparent;
}

.card-label {
    padding: 10px 5px; 
    font-weight: 800; 
    font-size: 15px;
    color: var(--brand-primary); 
    text-align: center;
    display: block; 
    line-height: 1.2;
    margin-top: auto;
    margin: 0 2px 0 2px;
    padding-top: -10px;
    border-radius: 0px 0px 25px 25px; /* CHANGE THIS - needs to be 10px, not 0 */
    background-color: white;

}

/* =========================================
   LOADING LAYER
   ========================================= */
.benefits-loading {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: none; align-items: center; justify-content: center;
    background: transparent;
    z-index: 90; pointer-events: none;
}
.benefits-loading.active { display: flex !important; }

.loading-placeholder { 
    display: flex; flex-direction: column; align-items: center; gap: 15px;
    position: relative; z-index: 91;
}

.loading-spinner-large {
    width: 50px; height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid var(--brand-blue);
    border-right: 4px solid var(--brand-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.loading-text { 
    font-size: 14px; font-weight: 600; 
    color: #ffffff; 
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.loading-bars { display: flex; gap: 8px; margin-top: 10px; }
.loading-bars span {
    width: 6px; height: 30px; background: #ffffff; border-radius: 3px;
    animation: wave 1.2s ease-in-out infinite;
}
.loading-bars span:nth-child(1) { animation-delay: 0s; background: var(--brand-blue); }
.loading-bars span:nth-child(2) { animation-delay: 0.1s; background: var(--brand-green); }
.loading-bars span:nth-child(3) { animation-delay: 0.2s; background: #ffffff; }
.loading-bars span:nth-child(4) { animation-delay: 0.3s; background: var(--brand-green); }
.loading-bars span:nth-child(5) { animation-delay: 0.4s; background: var(--brand-blue); }

@keyframes wave {
    0%, 100% { height: 30px; opacity: 0.4; }
    50% { height: 45px; opacity: 1; }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 490px) {
    #talnets-animation-container { padding: 60px 0px 0px; }
    .video-drop-item { width: 120px; }
    .video-drop-image { width: 120px; height: 120px; font-size: 40px; }
    
    .input-receptacle { 
        /* FIXED: Force width to be 100% minus 20px for small side padding */
        width: calc(100% - 20px) !important;
        max-width: none !important;
        margin: 0 auto;
        padding: 10px 15px;
    }
    .input-receptacle-desc {
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 10px;
    color: white;
    text-align: center; /* This centers the text */
}
    .analyze-btn-mock { padding: 8px 14px; font-size: 11px; }
    
    .benefits-output-grid {
        gap: 8px;
        margin-top: 20px;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .card-image-container { height: 210px; }
    .card-label { font-size: 9px; padding: 7px 2px; }
}

@media (min-width: 491px) and (max-width: 768px) {
    #talnets-animation-container { min-height: 520px; padding: 65px 0px 0px; }
    .benefits-output-grid { gap: 12px; }
    .card-image-container { height: 280px; }
}



@media (min-width: 581px) and (max-width: 768px){
    .card-image-container {
    height: 300px; 
    }
}

@media (min-width: 769px) and (max-width: 999px){
     .benefits-output-grid { 
        width: 100%;
        max-width: 100%; 
        gap: 25px; 
     }
     
     .card-image-container {
    height: 380px; 
    }
}

@media (min-width: 1000px) and (max-width: 1140px){
    .card-image-container {
    height: 220px; 
    }
}


@media (min-width: 1141px) and (max-width: 1260px){
    .card-image-container {
    height: 240px; 
    }
}

@media (min-width: 1024px) and (max-width: 1140px){
    .card-image-container {
    height: 360px; 
    }
}

@media (min-width: 1261px) and (max-width: 1380px){
    .card-image-container {
    height: 270px; 
    }
}

@media (min-width: 1381px) and (max-width: 1550px){
    .card-image-container {
    height: 300px; 
    }
}

@media (min-width: 1551px) and (max-width: 1750px){
    .card-image-container {
    height: 330px; 
    }
}

@media (min-width: 1751px) {
    .card-image-container {
    height: 380px; 
    }
}





/*LOG IN BUTTON MENU*/



/* Target the menu item container */
.custom-login-btn a {
    background-color: #10b981 !important;
	height: 80% !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 10px 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
    text-decoration: none !important;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Force the Icon Wrapper to show */
.custom-login-btn .btn-icon-wrap {
    display: flex;
    align-items: center;
    width: 20px; /* Adjust size of icon here */
    height: 20px;
    margin-right: 8px; /* Space between icon and LOG IN */
}

/* Ensure the SVG fills its container */
.custom-login-btn svg {
    width: 100%;
    height: 80%;
    display: block;
}

/* Hover State */
.custom-login-btn a:hover {
    background-color: #0d9488 !important;
    transform: translateY(-1px);
}



/*BUTTON FORM*/


/* =========================================
   NINJA FORMS - 50/50 SPLIT (Input/Button)
   ========================================= */

/* 1. TARGET ONLY THE GUTENVERSE COLUMN WITH YOUR FORM */
.guten-column.guten-p22rho,
.guten-column.guten-p22rho .guten-column-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 2. FORCE NINJA FORMS CONTAINERS TO FULL WIDTH */
.nf-form-cont,
#nf-form-14-cont,
.nf-form-wrap,
.nf-form-layout,
.nf-form-layout form,
.ninja-forms-form-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 3. RESET ALL NINJA FORMS WRAPPERS */
.nf-form-content,
.nf-form-content nf-rows-wrap,
.nf-form-content .nf-row,
.nf-form-content nf-cells,
.nf-form-content .nf-cell,
.nf-form-content nf-fields,
.nf-form-content nf-field,
.nf-form-content .nf-field-container,
.nf-form-content .nf-field-wrap,
.nf-form-content .nf-field,
.nf-form-content .nf-field-element,
.nf-form-content .ninja-forms-field {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* 4. OVERRIDE INLINE STYLES */
.nf-form-content .nf-cell[style] {
    width: 100% !important;
}

/* 5. GRID LAYOUT - 50/50 SPLIT */
.nf-form-content .nf-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; /* Back to equal 50/50 */
    gap: 20px !important;
    width: 100% !important;
    align-items: stretch !important;
}

/* 6. MAKE NF-CELLS TRANSPARENT */
.nf-form-content nf-cells {
    display: contents !important;
}

.nf-form-content .nf-cell {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
}

/* 7. NESTED ELEMENTS */
.nf-form-content nf-fields,
.nf-form-content nf-field {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

/* 8. FIELD CONTAINERS */
.my-cta-input,
.my-cta-button {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: stretch !important;
}

/* 9. INPUT STYLING */
.my-cta-input .ninja-forms-field {
    width: 100% !important;
    height: 60px !important;
    background-color: #ffffff !important;
    border-radius: 50px !important;
    border: none !important;
    padding: 0 30px !important;
    box-sizing: border-box !important;
    
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #000000 !important;
    line-height: normal !important;
}

.my-cta-input .ninja-forms-field::placeholder {
    color: #000000 !important;
    opacity: 0.7 !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 500 !important;
}

/* 10. BUTTON STYLING */
.my-cta-button input[type="button"],
.my-cta-button input[type="submit"],
.my-cta-button button {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 60px !important;
    height: auto !important;
    padding: 16px 30px !important;
    box-sizing: border-box !important;
    
    background: linear-gradient(90deg, #5EE7C3 0%, #4FA3D6 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    box-shadow: 0 2px 8px rgba(79, 163, 214, 0.2) !important;
    
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(14px, 1.6vw, 16px) !important;
    line-height: 1.3 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    text-align: center !important;
    color: #ffffff !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

/* 11. BUTTON STATES */
.my-cta-button input:hover,
.my-cta-button button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(79, 163, 214, 0.35) !important;
}

.my-cta-button input:active,
.my-cta-button button:active {
    transform: translateY(0) !important;
}

/* 12. FOCUS STATES */
.my-cta-input .ninja-forms-field:focus {
    outline: 3px solid #4FA3D6 !important;
    outline-offset: 2px !important;
}

.my-cta-button input:focus-visible,
.my-cta-button button:focus-visible {
    outline: 3px solid #4FA3D6 !important;
    outline-offset: 3px !important;
}

/* 13. HIDE LABELS */
.my-cta-input .nf-field-label,
.my-cta-button .nf-field-label {
    display: none !important;
}

/* 14. RESPONSIVE - Stack on mobile/tablet */
@media only screen and (max-width: 992px) {
    .nf-form-content .nf-row {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* 15. SMALL MOBILE */
@media only screen and (max-width: 576px) {
    .nf-form-content .nf-row {
        gap: 12px !important;
    }
    
    .my-cta-input .ninja-forms-field {
        height: 54px !important;
        padding: 0 24px !important;
        font-size: 15px !important;
    }
    
    .my-cta-button input,
    .my-cta-button button {
        min-height: 54px !important;
        padding: 14px 24px !important;
        font-size: 14px !important;
    }
}

/* =========================================
   PURPLE BUTTON VARIANT
   Add class "purple-button-form" to the Gutenverse column
   ========================================= */

/* Purple button styling */
.purple-button-form .my-cta-button input[type="button"],
.purple-button-form .my-cta-button input[type="submit"],
.purple-button-form .my-cta-button button {
    background: #230D76 !important; /* Purple instead of gradient */
    box-shadow: 0 2px 8px rgba(35, 13, 118, 0.2) !important;
}

.purple-button-form .my-cta-button input:hover,
.purple-button-form .my-cta-button button:hover {
    background: #2e1194 !important; /* Lighter purple on hover */
    box-shadow: 0 4px 16px rgba(35, 13, 118, 0.35) !important;
}

.purple-button-form .my-cta-input .ninja-forms-field:focus {
    outline: 3px solid #230D76 !important;
}

.purple-button-form .my-cta-button input:focus-visible,
.purple-button-form .my-cta-button button:focus-visible {
    outline: 3px solid #230D76 !important;
}




/*NEWSLETTER BUTTON*/

/* =========================================
   NEWSLETTER FORM - JOINED INPUT + BUTTON
   Add class "newsletter-joined" to the COLUMN
   Use classes: "newsletter-email" and "newsletter-submit"
   ========================================= */

/* 1. TARGET ONLY THE COLUMN WITH FORM */
.guten-column.newsletter-joined,
.guten-column.newsletter-joined .guten-column-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* 2. FORCE NINJA FORMS CONTAINERS FULL WIDTH */
.guten-column.newsletter-joined .nf-form-cont,
.guten-column.newsletter-joined .nf-form-wrap,
.guten-column.newsletter-joined .nf-form-layout,
.guten-column.newsletter-joined .nf-form-layout form {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 3. RESET ALL WRAPPERS */
.guten-column.newsletter-joined .nf-form-content,
.guten-column.newsletter-joined .nf-form-content nf-rows-wrap,
.guten-column.newsletter-joined .nf-form-content nf-cells,
.guten-column.newsletter-joined .nf-form-content nf-fields,
.guten-column.newsletter-joined .nf-form-content nf-field,
.guten-column.newsletter-joined .nf-form-content .nf-field-container,
.guten-column.newsletter-joined .nf-form-content .nf-field-wrap,
.guten-column.newsletter-joined .nf-form-content .nf-field,
.guten-column.newsletter-joined .nf-form-content .nf-field-element {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* 4. OVERRIDE NINJA FORMS INLINE CELL WIDTH */
.guten-column.newsletter-joined .nf-form-content .nf-cell[style*="width"] {
    width: auto !important;
}

/* 5. TRANSPARENT WRAPPERS */
.guten-column.newsletter-joined .nf-form-content nf-cells {
    display: contents !important;
}

/* 6. THE ROW - HORIZONTAL FLEX */
.guten-column.newsletter-joined .nf-form-content .nf-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: stretch !important;
}

/* 7. CELLS FLEX BEHAVIOR */
.guten-column.newsletter-joined .nf-form-content .nf-cell {
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

.guten-column.newsletter-joined .nf-form-content .nf-cell:first-child {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.guten-column.newsletter-joined .nf-form-content .nf-cell:last-child {
    flex: 0 0 auto !important;
}

/* 8. FIELD WRAPPERS */
.guten-column.newsletter-joined .nf-form-content nf-fields,
.guten-column.newsletter-joined .nf-form-content nf-field,
.guten-column.newsletter-joined .newsletter-email,
.guten-column.newsletter-joined .newsletter-submit {
    display: flex !important;
    width: 100% !important;
}

/* 9. INPUT FIELD */
.guten-column.newsletter-joined .newsletter-email {
    position: relative !important;
}

.guten-column.newsletter-joined .newsletter-email .ninja-forms-field {
    width: 100% !important;
    height: 60px !important;
    background-color: #ffffff !important;
    border: 2px solid #e0e0e0 !important;
    border-right: none !important;
    border-radius: 50px 0 0 50px !important;
    padding: 0 30px !important;
    box-sizing: border-box !important;
    
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #333333 !important;
    line-height: normal !important;
}

.guten-column.newsletter-joined .newsletter-email .ninja-forms-field::placeholder {
    color: #999999 !important;
    opacity: 1 !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 400 !important;
}

/* Vertical divider */
.guten-column.newsletter-joined .newsletter-email::after {
    content: '' !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: 30px !important;
    width: 1px !important;
    background-color: #e0e0e0 !important;
    z-index: 10 !important;
}

/* 10. BUTTON */
.guten-column.newsletter-joined .newsletter-submit input[type="button"],
.guten-column.newsletter-joined .newsletter-submit input[type="submit"],
.guten-column.newsletter-joined .newsletter-submit button {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    min-width: 200px !important;
    height: 60px !important;
    padding: 0 40px !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    
    background: #1DD1A1 !important;
    border: 2px solid #1DD1A1 !important;
    border-radius: 0 50px 50px 0 !important;
    
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    text-align: center !important;
    color: #000000 !important;
    white-space: nowrap !important;
    
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

/* 11. BUTTON HOVER */
.guten-column.newsletter-joined .newsletter-submit input:hover,
.guten-column.newsletter-joined .newsletter-submit button:hover {
    background: #10b885 !important;
    border-color: #10b885 !important;
    transform: translateY(-1px) !important;
}

.guten-column.newsletter-joined .newsletter-submit input:active,
.guten-column.newsletter-joined .newsletter-submit button:active {
    transform: translateY(0) !important;
}

/* 12. FOCUS STATES */
.guten-column.newsletter-joined .newsletter-email .ninja-forms-field:focus {
    outline: none !important;
    border-color: #1DD1A1 !important;
    box-shadow: 0 0 0 3px rgba(29, 209, 161, 0.1) !important;
}

.guten-column.newsletter-joined .newsletter-submit input:focus-visible,
.guten-column.newsletter-joined .newsletter-submit button:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(29, 209, 161, 0.3) !important;
}

/* 13. HIDE LABELS */
.guten-column.newsletter-joined .newsletter-email .nf-field-label,
.guten-column.newsletter-joined .newsletter-submit .nf-field-label {
    display: none !important;
}

/* 14. MOBILE RESPONSIVE - STARTS AT 992px (TABLET AND BELOW) */
@media only screen and (max-width: 992px) {
    /* Stack vertically with gap */
    .guten-column.newsletter-joined .nf-form-content .nf-row {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        gap: 16px !important;
    }
    
    /* Force cells to full width */
    .guten-column.newsletter-joined .nf-form-content .nf-cell {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .guten-column.newsletter-joined .nf-form-content .nf-cell:first-child,
    .guten-column.newsletter-joined .nf-form-content .nf-cell:last-child {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Override inline styles on mobile */
    .guten-column.newsletter-joined .nf-form-content .nf-cell[style] {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Input - Fully rounded with all borders */
    .guten-column.newsletter-joined .newsletter-email .ninja-forms-field {
        border-radius: 50px !important;
        border: 2px solid #e0e0e0 !important;
        border-right: 2px solid #e0e0e0 !important;
    }
    
    /* Button - Fully rounded and full width */
    .guten-column.newsletter-joined .newsletter-submit input[type="button"],
    .guten-column.newsletter-joined .newsletter-submit input[type="submit"],
    .guten-column.newsletter-joined .newsletter-submit button {
        border-radius: 50px !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Hide divider */
    .guten-column.newsletter-joined .newsletter-email::after {
        display: none !important;
    }
}

/* 15. SMALL MOBILE */
@media only screen and (max-width: 576px) {
    .guten-column.newsletter-joined .nf-form-content .nf-row {
        gap: 12px !important;
    }
    
    .guten-column.newsletter-joined .newsletter-email .ninja-forms-field {
        height: 56px !important;
        padding: 0 24px !important;
        font-size: 15px !important;
    }
    
    .guten-column.newsletter-joined .newsletter-submit input,
    .guten-column.newsletter-joined .newsletter-submit button {
        height: 56px !important;
        padding: 0 30px !important;
        font-size: 15px !important;
    }
}




/*CONTACT US*/


/* =========================================
   CONTACT FORM - FINAL STYLE (50/50 + PADDING)
   Add class "contact-form" to the column
   ========================================= */

/* 1. FORCE NINJA FORMS CONTAINER & ADD "BIG PADDING" AROUND IT */
.guten-column.contact-form .nf-form-cont {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    /* This adds 40px space around the whole form */
    padding: 40px !important; 
    box-sizing: border-box !important;
}

/* Reset inner wrappers to fit the container */
.guten-column.contact-form .nf-form-wrap,
.guten-column.contact-form .nf-form-layout,
.guten-column.contact-form .nf-form-layout form {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. RESET WRAPPERS */
.guten-column.contact-form .nf-form-content,
.guten-column.contact-form .nf-form-content nf-rows-wrap,
.guten-column.contact-form .nf-form-content .nf-row,
.guten-column.contact-form .nf-form-content nf-cells,
.guten-column.contact-form .nf-form-content .nf-cell,
.guten-column.contact-form .nf-form-content nf-fields,
.guten-column.contact-form .nf-form-content nf-field,
.guten-column.contact-form .nf-form-content .nf-field-container,
.guten-column.contact-form .nf-form-content .nf-field-wrap,
.guten-column.contact-form .nf-form-content .nf-field,
.guten-column.contact-form .nf-form-content .nf-field-element {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.guten-column.contact-form .nf-form-content .nf-cell[style] {
    width: 100% !important;
}

/* 3. STACK FIELDS VERTICALLY (With more gap) */
.guten-column.contact-form .nf-form-content .nf-row {
    display: flex !important;
    flex-direction: column !important;
    /* Increased gap to 30px so fields aren't cramped */
    gap: 30px !important; 
    width: 100% !important;
}

.guten-column.contact-form .nf-form-content nf-cells {
    display: contents !important;
}

.guten-column.contact-form .nf-form-content .nf-cell {
    width: 100% !important;
    display: flex !important;
}

.guten-column.contact-form .nf-form-content nf-fields,
.guten-column.contact-form .nf-form-content nf-field {
    width: 100% !important;
    display: block !important;
}

/* 4. FIELD CONTAINERS */
.guten-column.contact-form .contact-name,
.guten-column.contact-form .contact-email,
.guten-column.contact-form .contact-subject,
.guten-column.contact-form .contact-message {
    width: 100% !important;
    margin-bottom: 0 !important;
}

/* 5. TEXT INPUTS STYLING */
.guten-column.contact-form .contact-name .ninja-forms-field,
.guten-column.contact-form .contact-email .ninja-forms-field,
.guten-column.contact-form .contact-subject .ninja-forms-field {
    width: 100% !important;
    height: 60px !important; /* Taller inputs */
    background-color: #ffffff !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 0 25px !important; /* More padding inside input */
    box-sizing: border-box !important;
    
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #333333 !important;
    line-height: normal !important;
    transition: all 0.3s ease !important;
}

.guten-column.contact-form .contact-name .ninja-forms-field::placeholder,
.guten-column.contact-form .contact-email .ninja-forms-field::placeholder,
.guten-column.contact-form .contact-subject .ninja-forms-field::placeholder {
    color: #999999 !important;
    opacity: 1 !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 400 !important;
}

/* 6. TEXTAREA (MESSAGE) STYLING */
.guten-column.contact-form .contact-message textarea.ninja-forms-field {
    width: 100% !important;
    min-height: 200px !important;
    background-color: #ffffff !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 16px 25px !important; /* Matching side padding */
    box-sizing: border-box !important;
    resize: vertical !important;
    
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #333333 !important;
    line-height: 1.5 !important;
    transition: all 0.3s ease !important;
}

.guten-column.contact-form .contact-message textarea.ninja-forms-field::placeholder {
    color: #999999 !important;
    opacity: 1 !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 400 !important;
}

/* 7. FOCUS STATES */
.guten-column.contact-form .ninja-forms-field:focus {
    outline: none !important;
    border-color: #5EE7C3 !important;
    box-shadow: 0 0 0 3px rgba(94, 231, 195, 0.1) !important;
}

/* 8. SUBMIT BUTTON */
.guten-column.contact-form .contact-submit input[type="button"],
.guten-column.contact-form .contact-submit input[type="submit"],
.guten-column.contact-form .contact-submit button {
    width: 100% !important;
    height: 60px !important; /* Matches input height */
    background: linear-gradient(90deg, #5EE7C3 0%, #4FA3D6 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(79, 163, 214, 0.2) !important;
}

.guten-column.contact-form .contact-submit input:hover,
.guten-column.contact-form .contact-submit button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(79, 163, 214, 0.35) !important;
}

.guten-column.contact-form .contact-submit input:active,
.guten-column.contact-form .contact-submit button:active {
    transform: translateY(0) !important;
}

/* 9. HIDE LABELS */
.guten-column.contact-form .nf-field-label {
    display: none !important;
}

/* 10. REQUIRED FIELD INDICATOR STYLING */
.guten-column.contact-form .nf-form-fields-required {
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 14px !important;
    color: #666666 !important;
    margin-bottom: 16px !important;
    padding-left: 25px !important; /* Align with inputs */
}

.guten-column.contact-form .ninja-forms-req-symbol {
    color: #ff4444 !important;
}

/* 11. ERROR MESSAGES */
.guten-column.contact-form .nf-error-msg {
    color: #ff4444 !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 14px !important;
    margin-top: 8px !important;
}

/* 12. RESPONSIVE - MOBILE */
@media only screen and (max-width: 768px) {
    /* Reduce the big padding on mobile so it doesn't get too thin */
    .guten-column.contact-form .nf-form-cont {
        padding: 20px !important;
    }

    .guten-column.contact-form .nf-form-content .nf-row {
        gap: 20px !important;
    }
    
    .guten-column.contact-form .contact-name .ninja-forms-field,
    .guten-column.contact-form .contact-email .ninja-forms-field,
    .guten-column.contact-form .contact-subject .ninja-forms-field,
    .guten-column.contact-form .contact-submit button {
        height: 52px !important;
        font-size: 15px !important;
    }
    
    .guten-column.contact-form .contact-message textarea.ninja-forms-field {
        min-height: 180px !important;
        font-size: 15px !important;
    }
}



/* Pricing */
.talnets-old-price * s,
.talnets-old-price * del,
.talnets-old-price s,
.talnets-old-price del,
s, del {
   font-size: 0.6em !important;
  color: #888 !important;
  text-decoration: line-through !important;
  text-decoration-color: #00c896 !important;
  text-decoration-thickness: 2px !important;
}



.talnets-sale-banner {
  animation: talnets-glow 4s ease-in-out infinite;
}

@keyframes talnets-glow {
  0%, 100% { 
    box-shadow: 0 0 8px rgba(0, 200, 150, 0.3); 
  }
  50% { 
    box-shadow: 0 0 15px rgba(0, 200, 150, 0.5), 
                0 0 25px rgba(0, 200, 150, 0.2); 
  }
}



/* Inject -50% OFF badge - target span only, not h3 */
.talnets-old-price h3 .heading-title::after {
  content: "-50% OFF";
  display: inline-block;
  background: #00c896;
  color: white !important;
  font-size: 13px !important;
  font-weight: 800;
  padding: 7px 10px;
  border-radius: 20px;
  margin-left: 15px;
  vertical-align: middle;
  letter-spacing: 0.05em;
  line-height: 1 !important;

}


