/* Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar Styles */
.navbar-new {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-brand-new {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #7C3AED;
    background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero-section-new {
    position: relative;
    min-height: 100vh;
    padding-top: 6rem;
    padding-bottom: 4rem;
    background: linear-gradient(90deg, 
        hsl(250, 56%, 54%) 0%, 
        hsl(249, 50%, 45%) 50%, 
        hsl(248, 41%, 37%) 100%
    );
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 1;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Hero Left Content */
.hero-left-content {
    color: #fff;
    padding-right: 3rem;
}

.hero-text-wrapper {
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Benefits List */
.hero-benefits-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.check-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Testimonial Carousel Styles */
.testimonial-carousel {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.quote-icon {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    color: #fff;
}

.author-name {
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
}

.author-role {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: rgba(255, 255, 255, 0.9);
    width: 24px;
    border-radius: 4px;
}

/* Trust Section */
.trust-section {
    margin-top: 2rem;
}

.trust-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.trust-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.trust-highlight {
    font-weight: 700;
}

.awards-image {
    height: auto;
    max-width: 600px;
    width: 100%;
    margin-left: -2rem;
}

/* Form Sticky Wrapper */
.form-sticky-wrapper {
    position: sticky;
    top: 6rem;
}

/* Form Card */
.form-card-new {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 
                0 10px 10px -5px rgba(0, 0, 0, 0.04),
                inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Form Groups */
.form-group-new {
    margin-bottom: 1rem;
}

.form-label-new {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #374151;
}

.required {
    color: #DC2626;
    margin-left: 0.25rem;
}

.err-msg {
    display: none;
    color: #DC2626;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

/* Form Inputs */
.form-input-new,
.form-select-new {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #1f2937;
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    transition: all 0.15s ease-in-out;
}

.form-input-new:focus,
.form-select-new:focus {
    outline: none;
    border-color: #7C3AED;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-input-new::placeholder {
    color: #9ca3af;
}

.form-select-new {
    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 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Radio Groups */
.radio-group-horizontal {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.radio-group-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.radio-label input[type="radio"] {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: #7C3AED;
}

.radio-text {
    font-size: 0.875rem;
    color: #374151;
}

/* Submit Button */
.submit-btn-new {
    width: 100%;
    padding: 0.75rem 2rem;
    margin-top: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 6px -1px rgba(124, 58, 237, 0.3);
}

.submit-btn-new:hover {
    background: linear-gradient(135deg, #6D28D9 0%, #5B21B6 100%);
    box-shadow: 0 10px 15px -3px rgba(124, 58, 237, 0.4);
    transform: translateY(-1px);
}

.submit-btn-new:active {
    transform: translateY(0);
}

/* Loader/Spinner Styles */
#cover-spin {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: none;
}

#cover-spin::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60px;
    height: 60px;
    border-style: solid;
    border-color: #7C3AED transparent #7C3AED transparent;
    border-width: 4px;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg); 
    }
    100% { 
        transform: translate(-50%, -50%) rotate(360deg); 
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-left-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .form-sticky-wrapper {
        position: static;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .trust-section {
        margin-top: 2rem;
    }
    
    .awards-image {
        margin-left: 0;
        max-width: 100%;
    }
    
    .carousel-container {
        min-height: 240px;
    }
}

@media (max-width: 767px) {
    .navbar-new {
        padding: 0.75rem 0;
    }
    
    .brand-text {
        font-size: 1.25rem;
    }
    
    .hero-section-new {
        padding-top: 5rem;
        padding-bottom: 2rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }
    
    .benefit-item {
        font-size: 0.875rem;
    }
    
    .trust-text {
        font-size: 1rem;
    }
    
    .trust-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-card-new {
        padding: 1.5rem;
    }
    
    .radio-group-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group-new {
        margin-bottom: 0.875rem;
    }
    
    .carousel-container {
        min-height: 280px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
    }
    
    .author-name {
        font-size: 0.9375rem;
    }
    
    .author-role {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .benefit-item {
        font-size: 0.8125rem;
    }
    
    .check-icon {
        width: 1rem;
        height: 1rem;
    }
    
    .form-card-new {
        padding: 1.25rem;
    }
    
    .form-input-new,
    .form-select-new {
        padding: 0.5rem;
        font-size: 0.8125rem;
    }
    
    .submit-btn-new {
        padding: 0.625rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .carousel-container {
        min-height: 300px;
    }
}


/* Fix carousel overlap bug */
.carousel-slide {
    visibility: hidden;
    opacity: 0;
}

.carousel-slide.active {
    visibility: visible;
    opacity: 1;
}

/* Improve spacing */
.hero-benefits-list {
    margin-bottom: 2.5rem;
}

.testimonial-text {
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.quote-icon {
    margin-bottom: 1.25rem;
}

.carousel-indicators {
    justify-content: center;  /* Center the dots */
}



/* Print Styles */
@media print {
    .navbar-new,
    #cover-spin {
        display: none !important;
    }
}

/* Accessibility */
.form-input-new:focus-visible,
.form-select-new:focus-visible,
.submit-btn-new:focus-visible,
.radio-label input[type="radio"]:focus-visible {
    outline: 2px solid #7C3AED;
    outline-offset: 2px;
}

/* Remove number input spinners */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}