/* ============================================
   SinglePage Styles
   ============================================ */

/* ============================================
   CTA Section - Sophisticated Dark Design
   ============================================ */

   .cta-section {
    background-color: #111;
    padding: 80px 0;
    margin: 60px 0 60px 0;
    position: relative;
    overflow: hidden; /* Contain particles */
}

/* Particle animation container */
#cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Ensure form content is above particles */
.cta-section .container {
    position: relative;
    z-index: 1;
}

/* Subtle orange accent lines at top and bottom */
.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #f57120;
}

.cta-section::before {
    top: 0;
}

.cta-section::after {
    bottom: 0;
}

.cta-section .btn-con {
    display: flex;
    justify-content: center;
}

/* ============================================
   Lead Capture Form Styles
   ============================================ */

.lead-capture-form {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 0;
    background-color: transparent;
}

.lead-capture-form .form-header {
    text-align: center;
    margin-bottom: 40px;
}

.lead-capture-form .form-header .form-title {
    font-size: 32px;
    font-weight: 600;
    color: #f57120;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.lead-capture-form .form-header .form-subtitle {
    font-size: 16px;
    color: #aaa;
    margin: 0;
    font-weight: 300;
}

.lead-capture-form .form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lead-capture-form .input-group {
    position: relative;
}

.lead-capture-form .input-group .input-icon {
    display: none;
}

.lead-capture-form .input-group input {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-bottom: 2px solid #333;
    background-color: transparent;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    direction: rtl;
    text-align: right;
    outline: none;
    resize: none;
    transition: border-color 0.3s;
}

.lead-capture-form .input-group input::placeholder {
    color: #aaa;
}

.lead-capture-form .input-group input:focus {
    border-bottom-color: #f57120;
}

.lead-capture-form .form-action {
    margin-top: 32px;
}

/* Button: Orange fill, empties on hover */
.lead-capture-form .form-action .submit-btn {
    display: inline-flex;
    position: relative;
    width: 100%;
    padding: 16px 45px;
    border: 2px solid #f57120;
    background-color: transparent;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.5s;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lead-capture-form .form-action .submit-btn:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #f57120;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    z-index: 1;
}

.lead-capture-form .form-action .submit-btn:hover:before {
    width: 0%;
}

.lead-capture-form .form-action .submit-btn:hover {
    color: #f57120;
}

.lead-capture-form .form-action .submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.lead-capture-form .form-action .submit-btn:disabled:hover:before {
    width: 100%;
}

.lead-capture-form .form-action .submit-btn:disabled:hover {
    color: #fff;
}

.lead-capture-form .form-action .submit-btn .btn-text {
    display: inline-block;
    position: relative;
    z-index: 2;
}

.lead-capture-form .form-action .submit-btn .btn-icon {
    display: inline-block;
    margin-right: 8px;
    position: relative;
    z-index: 2;
}

.lead-capture-form .form-message {
    margin-top: 20px;
    padding: 14px 20px;
    text-align: center;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lead-capture-form .form-message.hidden {
    display: none;
}

.lead-capture-form .form-message.success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #4ade80;
}

.lead-capture-form .form-message.success::before {
    content: '✓';
    font-size: 16px;
}

.lead-capture-form .form-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #f87171;
}

.lead-capture-form .form-message.error::before {
    content: '✕';
    font-size: 14px;
}

/* ============================================
   CTA Animated Background - Wave Gradient
   ============================================ */
.cta-gradient {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 25%, #222222 50%, #1a1a1a 75%, #0f0f0f 100%);
    background-size: 400% 400%;
    animation: gradientFlow 8s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glow orbs - ocean wave-like flowing motion */
.cta-gradient .glow-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 25%, rgba(200, 200, 200, 0.03) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.cta-gradient .glow-orb:nth-child(2) {
    top: -20%;
    right: -5%;
    width: 500px;
    height: 500px;
    animation: waveRight 8s ease-in-out infinite;
}

.cta-gradient .glow-orb:nth-child(3) {
    bottom: -20%;
    left: -5%;
    width: 550px;
    height: 550px;
    animation: waveLeft 10s ease-in-out infinite;
}

/* Ocean-like wave motion - right orb */
@keyframes waveRight {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.25;
    }
    25% {
        transform: translate(-40px, 30px) scale(1.1);
        opacity: 0.4;
    }
    50% {
        transform: translate(-20px, 50px) scale(1.05);
        opacity: 0.3;
    }
    75% {
        transform: translate(20px, 25px) scale(1.15);
        opacity: 0.45;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.25;
    }
}

/* Ocean-like wave motion - left orb (counter direction) */
@keyframes waveLeft {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(30px, -20px) scale(1.12);
        opacity: 0.45;
    }
    50% {
        transform: translate(50px, 10px) scale(1.08);
        opacity: 0.35;
    }
    75% {
        transform: translate(20px, -30px) scale(1.18);
        opacity: 0.5;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
}


/* Mobile responsive styles */
@media screen and (max-width: 768px) {
    .cta-section {
        padding: 50px 0;
        margin: 40px 0 40px 0;
    }

    .cta-gradient .glow-orb {
        width: 200px;
        height: 200px;
    }

    .lead-capture-form {
        padding: 0 20px;
        max-width: 100%;
    }

    .lead-capture-form .form-header {
        margin-bottom: 28px;
    }

    .lead-capture-form .form-header .form-title {
        font-size: 24px;
    }

    .lead-capture-form .form-header .form-subtitle {
        font-size: 14px;
    }

    .lead-capture-form .input-group input {
        padding: 14px 16px;
        font-size: 15px;
    }

    .lead-capture-form .form-action {
        margin-top: 24px;
    }

    .lead-capture-form .form-action .submit-btn {
        padding: 14px 24px;
        font-size: 16px;
    }
}

/* ============================================
   SinglePage Layout Spacing
   ============================================ */

.service-row {
    margin-bottom: 80px;
}

@media screen and (max-width: 768px) {
    .service-row {
        margin-bottom: 50px;
    }
}
