/* IBIL (International Board of Independent Lawyers) Custom Styles */

:root {
    --primary-blue: #0057b3;
    --dark-blue: #003166;
    --light-blue: #1576df;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --border-color: #e9ecef;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    margin: 0;
    padding: 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
}

.hero-image img {
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* Consultation Form */
.consultation-form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.consultation-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-width: 450px;
    width: 100%;
}

.form-title {
    color: var(--dark-gray);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.form-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
}

/* Form Control Enhancements */
.consultation-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 16px;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.consultation-form .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 87, 179, 0.15);
    background: white;
}

.consultation-form .form-control::placeholder {
    color: #999;
    font-weight: 400;
}

/* Button Styling Enhancement */
.consultation-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border: none;
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.consultation-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 87, 179, 0.3);
}

.consultation-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.consultation-form .btn-primary:hover::before {
    left: 100%;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 3rem;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* Trust Section */
.trust-section {
    padding: 5rem 0;
    background: white;
}

.trust-content {
    padding: 2rem;
}

.trust-image {
    margin-bottom: 2rem;
}

.trust-image img {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
    width: 100%;
}

.trust-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    text-align: center;
}

.expert-card {
    background: var(--primary-blue);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.expert-avatar {
    margin-bottom: 1.5rem;
}

.expert-avatar img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.3);
}

.expert-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.expert-info p {
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.expert-info .btn-outline-primary {
    border-color: white;
    color: white;
    border-width: 2px;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.expert-info .btn-outline-primary:hover {
    background: white;
    color: var(--primary-blue);
}

/* Stats Section */
.stats-section {
    background: var(--primary-blue);
    padding: 4rem 0;
    color: white;
}

.stats-card {
    text-align: center;
    padding: 2rem;
}

.stats-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stats-icon i {
    font-size: 1.5rem;
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stats-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.service-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-content .btn-primary {
    background: var(--primary-blue);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.service-content .btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

/* Testimonial Section */
.testimonial-section {
    padding: 5rem 0;
    background: var(--light-gray);
    position: relative;
}

.testimonial-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    color: var(--dark-gray);
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.testimonial-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-blue);
    border-radius: 50%;
}

.testimonial-avatar {
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-blue);
}

.testimonial-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.testimonial-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #666;
}

.stars {
    display: flex;
    gap: 5px;
}

.stars i {
    color: #ffd700;
    font-size: 1.2rem;
}

/* Custom Carousel Controls */
.testimonial-section .carousel-control-prev,
.testimonial-section .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.testimonial-section .carousel-control-prev {
    left: -80px;
}

.testimonial-section .carousel-control-next {
    right: -80px;
}

.testimonial-section .carousel-control-prev:hover,
.testimonial-section .carousel-control-next:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.testimonial-section .carousel-control-prev-icon,
.testimonial-section .carousel-control-next-icon {
    background-image: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.testimonial-section .carousel-control-prev-icon::before {
    content: '‹';
}

.testimonial-section .carousel-control-next-icon::before {
    content: '›';
}

/* Custom Carousel Indicators */
.testimonial-section .carousel-indicators {
    position: static;
    margin: 2rem 0 0 0;
    justify-content: center;
}

.testimonial-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 87, 179, 0.3);
    border: 2px solid transparent;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.testimonial-section .carousel-indicators button.active {
    background-color: var(--primary-blue);
    transform: scale(1.2);
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
    .testimonial-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }
    
    .testimonial-section .carousel-control-prev {
        left: -60px;
    }
    
    .testimonial-section .carousel-control-next {
        right: -60px;
    }
    
    .testimonial-section .carousel-control-prev,
    .testimonial-section .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .testimonial-section .carousel-control-prev {
        left: 20px;
        top: 20px;
        transform: none;
    }
    
    .testimonial-section .carousel-control-next {
        right: 20px;
        top: 20px;
        transform: none;
    }
}

/* Final CTA Section */
.final-cta-section {
    background: var(--primary-blue);
    color: white;
    padding: 5rem 0;
}

.cta-image img {
    width: 600px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

.cta-form {
    background: rgba(255,255,255,0.1);
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.cta-form h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.cta-form .form-control {
    background: rgba(255,255,255,0.95);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 1.2rem;
    color: var(--dark-gray);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.cta-form .form-control:focus {
    background: white;
    border-color: rgba(255,255,255,0.8);
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.2);
}

.cta-form .form-control::placeholder {
    color: #666;
    font-weight: 400;
}

.cta-form .phone-input {
    display: none;
}

.cta-form .btn-primary {
    background: white;
    color: var(--primary-blue);
    border: none;
    border-radius: 12px;
    padding: 18px 20px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-form .btn-primary:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    color: var(--primary-blue);
}

.cta-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,87,179,0.1), transparent);
    transition: left 0.5s;
}

.cta-form .btn-primary:hover::before {
    left: 100%;
}

/* Footer Updates */
#footer {
    background: var(--dark-gray) !important;
    color: white;
    padding: 3rem 0 !important;
}

#footer .container {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-image {
        margin-bottom: 3rem;
    }
    
    .hero-image img {
        max-width: 250px;
    }
    
    .consultation-form-wrapper {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .consultation-form {
        margin: 0 auto;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-image img {
        max-width: 200px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .consultation-form {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .expert-card {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
    
    .testimonial-content {
        padding: 2rem;
    }
    
    .cta-form {
        padding: 2rem;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-image img {
        max-width: 180px;
    }
    
    .consultation-form {
        padding: 1rem;
        margin: 0.5rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .trust-content {
        padding: 1rem;
    }
    
    .trust-text {
        font-size: 1rem;
    }
    
    .expert-card {
        padding: 1.5rem;
    }
}

/* Form Validation Styles */
.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15) !important;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Form Group Styling */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group input,
.form-group select {
    width: 100%;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 87, 179, 0.15);
    background: white;
    outline: none;
}

.form-group input::placeholder {
    color: #999;
    font-weight: 400;
}

/* CTA Form Groups */
.cta-form .form-group input,
.cta-form .form-group select {
    background: rgba(255,255,255,0.95);
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--dark-gray);
}

.cta-form .form-group input:focus,
.cta-form .form-group select:focus {
    background: white;
    border-color: rgba(255,255,255,0.8);
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.2);
}

.cta-form .form-group input::placeholder {
    color: #666;
}

/* Checkbox Styling */
.form-check {
    margin-bottom: 1.5rem;
}

.form-check-input {
    margin-right: 0.5rem;
    transform: scale(1.1);
}

.form-check-label {
    font-size: 0.95rem;
    color: var(--dark-gray);
    cursor: pointer;
}

.cta-form .form-check-label {
    color: white;
}

/* Loading Animation */
.btn.loading {
    position: relative;
    color: transparent !important;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Phone Field with Country Selector */
.phone-field-wrapper {
    display: none;
}

.country-selector {
    display: none;
}

.country-select {
    display: none;
}

.phone-number-input {
    display: none;
}

/* International Phone Input Styling */
.iti {
    width: 100%;
    margin-bottom: 1.2rem;
}

.iti__input {
    border: 2px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding: 18px 20px !important;
    font-size: 16px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
}

.iti__input:focus {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 87, 179, 0.15) !important;
    background: white !important;
    outline: none !important;
}

.iti__country-list {
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    border: 2px solid var(--border-color) !important;
    max-height: 200px;
    z-index: 1050 !important;
}

.iti__country {
    padding: 8px 15px !important;
    transition: background-color 0.2s ease !important;
}

.iti__country:hover {
    background-color: var(--light-gray) !important;
}

.iti__country.iti__highlight {
    background-color: var(--primary-blue) !important;
    color: white !important;
}

.iti__selected-flag {
    border-radius: 12px 0 0 12px !important;
    border-right: 2px solid var(--border-color) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    padding: 0 15px !important;
}

.iti__selected-flag:hover,
.iti__selected-flag:focus {
    background: white !important;
}

.iti__arrow {
    border-left-color: #666 !important;
    border-right-color: #666 !important;
}

/* CTA Form International Phone Input */
.cta-form .iti__input {
    background: rgba(255,255,255,0.95) !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    color: var(--dark-gray) !important;
}

.cta-form .iti__input:focus {
    background: white !important;
    border-color: rgba(255,255,255,0.8) !important;
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.2) !important;
}

.cta-form .iti__selected-flag {
    background: rgba(255,255,255,0.95) !important;
    border-right: 2px solid rgba(255,255,255,0.3) !important;
}

.cta-form .iti__selected-flag:hover,
.cta-form .iti__selected-flag:focus {
    background: white !important;
    border-right-color: rgba(255,255,255,0.8) !important;
}

/* Loss Amount Select Styling */
.loss-amount-select {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 16px;
    margin-bottom: 1.2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 20px center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    padding-right: 50px;
    cursor: pointer;
    width: 100%;
}

.loss-amount-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 87, 179, 0.15);
    background: white;
    outline: none;
}

.loss-amount-select option {
    padding: 10px;
    background: white;
    color: var(--dark-gray);
}

/* CTA Form Loss Amount Select */
.cta-form .loss-amount-select {
    background: rgba(255,255,255,0.95);
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--dark-gray);
}

.cta-form .loss-amount-select:focus {
    background: white;
    border-color: rgba(255,255,255,0.8);
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.2);
}

/* Custom Phone Input with Country Selector */
.phone-input-wrapper {
    display: flex;
    position: relative;
    width: 100%;
}

.country-selector {
    width: 120px;
    border: 2px solid var(--border-color);
    border-right: none;
    border-radius: 12px 0 0 12px;
    padding: 18px 12px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    padding-right: 32px;
    cursor: pointer;
    flex-shrink: 0;
}

.country-selector:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 0 0 0.2rem rgba(0, 87, 179, 0.15);
}

.phone-number {
    border: 2px solid var(--border-color) !important;
    border-left: none !important;
    border-radius: 0 12px 12px 0 !important;
    padding: 18px 20px !important;
    font-size: 16px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease !important;
    flex: 1;
}

.phone-number:focus {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 87, 179, 0.15) !important;
    background: white !important;
    outline: none !important;
}

.phone-number.is-invalid {
    border-color: #dc3545 !important;
}

.country-selector.is-invalid {
    border-color: #dc3545 !important;
}

/* Focus на обоих элементах при фокусе одного */
.phone-input-wrapper:focus-within .country-selector {
    border-color: var(--primary-blue);
    background: white;
}

.phone-input-wrapper:focus-within .phone-number {
    border-color: var(--primary-blue) !important;
    background: white !important;
}

/* CTA Form Phone Input */
.cta-form .country-selector {
    background: rgba(255,255,255,0.95);
    border: 2px solid rgba(255,255,255,0.3);
    border-right: none;
    color: var(--dark-gray);
}

.cta-form .country-selector:focus {
    background: white;
    border-color: rgba(255,255,255,0.8);
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.2);
}

.cta-form .phone-number {
    background: rgba(255,255,255,0.95) !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    border-left: none !important;
    color: var(--dark-gray) !important;
}

.cta-form .phone-number:focus {
    background: white !important;
    border-color: rgba(255,255,255,0.8) !important;
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.2) !important;
}

.cta-form .phone-input-wrapper:focus-within .country-selector {
    border-color: rgba(255,255,255,0.8);
    background: white;
}

.cta-form .phone-input-wrapper:focus-within .phone-number {
    border-color: rgba(255,255,255,0.8) !important;
    background: white !important;
}

/* Mobile responsive */
@media (max-width: 576px) {
    .country-selector {
        font-size: 14px;
        padding: 15px 12px;
        margin-bottom: 1rem;
    }
    
    .phone-number {
        font-size: 14px;
        padding: 15px 12px;
    }
}

/* Fixed Alert Styles */
.api-alert {
    animation: slideDown 0.3s ease-out;
}

.api-alert.fade:not(.show) {
    animation: slideUp 0.15s ease-in;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

/* Responsive styles for fixed alerts */
@media (max-width: 768px) {
    .api-alert {
        min-width: 90vw !important;
        max-width: 95vw !important;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .api-alert {
        top: 10px !important;
        min-width: 95vw !important;
        font-size: 13px;
        padding: 12px 15px;
    }
} 