/* Channel Partner Page CSS */
/* Import Google Fonts - Same as other pages */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* Reset and Base Styles */
.channel-partner-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* FULL WIDTH OVERRIDE - Same as other pages */
.channel-partner-page {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
}

/* Force all sections to take full width */
.channel-partner-page section {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* Container styles - Consistent padding */
.channel-partner-page .container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    width: 100% !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* Typography - Same fonts as other pages */
.channel-partner-page h1,
.channel-partner-page h2,
.channel-partner-page h3,
.channel-partner-page h4 {
    font-family: 'Lora', serif;
}

.channel-partner-page p,
.channel-partner-page span,
.channel-partner-page div {
    font-family: 'Montserrat', sans-serif;
}

/* Hero Section */
.partner-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35)), url('https://demo.bharatvillaprojects.com/wp-content/uploads/2025/06/Placeholder-Image-2.png') !important
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-text h1 {
    font-family: 'Lora', serif;
    font-size: 5.5rem;
    font-weight: 300;
    color: white;
    line-height: 1.1;
    margin-bottom: 60px;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subheading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin: 0;
}

/* Hero Background */
.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35));
    z-index: 2;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Partnership Benefits Section */
.partnership-benefits {
    background: white !important;
    padding: 120px 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

.content-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    gap: 80px;
}

.content-grid.reverse .testimonial-content {
    order: 2;
}

.content-grid.reverse .testimonial-image {
    order: 1;
}

.benefits-text h2 {
    font-family: 'Lora', serif;
    font-size: 3.2rem;
    font-weight: 300;
    color: #333;
    line-height: 1.2;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.benefits-text h2 .italic {
    font-style: italic;
    font-weight: 400;
    color: #125849;
}

.benefits-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    font-weight: 400;
    margin-bottom: 25px;
}

.benefits-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    height: 400px;
    background: url('https://demo.bharatvillaprojects.com/wp-content/uploads/2025/06/Image-1.png') center center/cover no-repeat;
}

/* Why Choose Us Section */
.why-choose-us {
    background: #f8f9fa !important;
    padding: 120px 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: 'Lora', serif;
    font-size: 4rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #999;
    font-weight: 400;
}

/* Carousel Wrapper */
.carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

/* Benefits Carousel */
.benefits-carousel {
    overflow: hidden;
    border-radius: 15px;
    padding-bottom: 30px !important;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card {
    background: white;
    padding: 50px 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #125849;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn::before {
    content: '';
    width: 12px;
    height: 12px;
    border-left: 3px solid #125849;
    border-bottom: 3px solid #125849;
    display: block;
}

.prev-btn::before {
    transform: rotate(45deg);
    margin-left: 4px;
}

.next-btn::before {
    transform: rotate(-135deg);
    margin-right: 4px;
}

.carousel-btn:hover {
    background: #125849;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:hover::before {
    border-color: white;
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn:disabled:hover {
    background: white;
    transform: translateY(-50%) scale(1);
}

.carousel-btn:disabled:hover::before {
    border-color: #125849;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: #9ca3af;
    transform: scale(1.2);
}

.carousel-dot.active {
    background: #125849;
    width: 32px;
    border-radius: 6px;
}

.benefit-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.benefit-card h3 {
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.benefit-card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

/* Partner Testimonial Section */
.partner-testimonial {
    background: white !important;
    padding: 120px 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

.testimonial-text h2 {
    font-family: 'Lora', serif;
    font-size: 3.2rem;
    font-weight: 300;
    color: #333;
    line-height: 1.2;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.testimonial-text h2 .italic {
    font-style: italic;
    font-weight: 400;
    color: #125849;
}

.testimonial-text blockquote {
    border: none;
    margin: 0;
    padding: 0;
}

.testimonial-text blockquote p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    font-weight: 400;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #125849;
}

.testimonial-author strong {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    color: #125849;
    display: block;
    margin-bottom: 8px;
}

.testimonial-author span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #999;
}

.testimonial-img-bg {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    height: 400px;
    background: url('https://demo.bharatvillaprojects.com/wp-content/uploads/2025/05/abandoned-mansion-thailand-1-scaled.jpg') center center/cover no-repeat;
}


/* Partner Registration Section */
.partner-registration {
    background: #f8f9fa !important;
    padding: 120px 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

.registration-content {
    max-width: 900px;
    margin: 0 auto;
}

.registration-header {
    text-align: center;
    margin-bottom: 60px;
}

.registration-header h2 {
    font-family: 'Lora', serif;
    font-size: 3.2rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.registration-header p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

.partner-registration-form {
    background: white;
    padding: 60px 50px;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    position: relative;
}

.form-row.focused {
    transform: translateY(-2px);
}

.form-row input,
.form-row select,
.form-row textarea {
    flex: 1;
    padding: 8px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #125849;
    box-shadow: 0 0 0 3px rgba(18, 88, 73, 0.1);
}

.form-row select {
    cursor: pointer;
    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 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 45px;
    appearance: none;
}

.form-row textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Montserrat', sans-serif;
}

.form-actions {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: linear-gradient(135deg, #125849, #1a7a62);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 18px 50px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #0d4035, #125849);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(18, 88, 73, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* RESPONSIVE DESIGN - MOBILE FIRST APPROACH */

/* Tablet Styles - 1024px and below */
@media (max-width: 1024px) {
    .channel-partner-page .container {
        padding: 0 30px !important;
    }
    
    .hero-text h1 {
        font-size: 4.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .content-grid.reverse .testimonial-content,
    .content-grid.reverse .testimonial-image {
        order: initial;
    }
    
    .benefits-text h2,
    .testimonial-text h2,
    .registration-header h2 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
.carousel-wrapper {
        padding: 0 50px;
    }
    
    .benefit-card {
        flex: 0 0 calc(50% - 15px);
        min-width: calc(50% - 15px);
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
    }
    
    .partner-registration-form {
        padding: 50px 40px;
    }
}

/* Mobile Styles - 768px and below */
@media (max-width: 768px) {
    .channel-partner-page .container {
        padding: 0 20px !important;
    }
    
    .partner-hero {
        min-height: 500px;
    }
    
    .hero-content {
        padding-top: 60px;
    }
    
    .hero-text h1 {
        font-size: 3rem;
        margin-bottom: 40px;
    }
    
    .hero-subheading {
        font-size: 1.1rem;
    }
    
    .partnership-benefits,
    .why-choose-us,
    .partner-testimonial,
    .partner-registration {
        padding: 80px 0 !important;
    }
    
    .benefits-text h2,
    .testimonial-text h2,
    .registration-header h2 {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    
    .benefits-text p,
    .testimonial-text blockquote p {
        font-size: 1rem;
    }
    
    .benefits-image img,
    .video-container img {
        height: 250px;
    }
    
    .section-title {
        font-size: 2rem !important;
        padding: 0px 10px 0 10px !important;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
.carousel-wrapper {
        padding: 0 45px;
    }
    
    .benefit-card {
        flex: 0 0 100%;
        min-width: 100%;
        padding: 40px 25px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .carousel-dots {
        gap: 10px;
        margin-top: 30px;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
    
    .carousel-dot.active {
        width: 28px;
    }
    
    .benefit-card {
        padding: 40px 25px;
    }
    
    .partner-registration-form {
        padding: 40px 30px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
}

/* Small Mobile Styles - 480px and below */
@media (max-width: 480px) {
    .channel-partner-page .container {
        padding: 0 15px !important;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-subheading {
        font-size: 1rem;
    }
    
    .benefits-text h2,
    .testimonial-text h2,
    .registration-header h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .carousel-wrapper {
        padding: 0 40px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .partner-registration-form {
        padding: 30px 20px;
    }
    
    .submit-btn {
        padding: 16px 30px;
        font-size: 0.85rem;
    }
}

/* Print Styles */
@media print {
    .channel-partner-page {
        font-size: 12pt;
        line-height: 1.4;
        color: #000 !important;
        background: white !important;
    }
    
    .partner-hero,
    .why-choose-us,
    .partner-registration {
        background: white !important;
        color: #000 !important;
    }
    
    .hero-bg-image,
    .video-container {
        display: none;
    }
    
    .submit-btn {
        background: #125849 !important;
        color: white !important;
    }
}

/* Performance Optimization */
.benefit-card,
.benefits-image,
.video-container {
    will-change: transform, box-shadow;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .benefit-card,
    .submit-btn,
    .play-button,
    .form-row input,
    .form-row select,
    .form-row textarea {
        transition: none !important;
        animation: none !important;
    }
}

/* Focus Styles for Keyboard Navigation */
.submit-btn:focus,
.partner-registration-form input:focus,
.partner-registration-form select:focus,
.partner-registration-form textarea:focus,
.play-button:focus {
    outline: 3px solid #125849;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .channel-partner-page {
        background: white !important;
        color: black !important;
    }
    
    .benefit-card,
    .partner-registration-form {
        border: 2px solid black;
    }
    
    .benefit-icon {
        background: #125849 !important;
    }
    
    .submit-btn {
        background: #125849 !important;
        color: white !important;
        border: 2px solid black;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.channel-partner-page img {
    transition: opacity 0.3s ease;
}

.channel-partner-page img[loading="lazy"] {
    opacity: 0;
}

.channel-partner-page img[loading="lazy"].loaded {
    opacity: 1;
}

/* Additional Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Form Validation States */
.partner-registration-form input.error,
.partner-registration-form select.error,
.partner-registration-form textarea.error {
    border-color: #e53e3e;
    background-color: rgba(229, 62, 62, 0.05);
}

.partner-registration-form input.success,
.partner-registration-form select.success,
.partner-registration-form textarea.success {
    border-color: #38a169;
    background-color: rgba(56, 161, 105, 0.05);
}

/* Custom Scrollbar */
.partner-registration-form textarea::-webkit-scrollbar {
    width: 6px;
}

.partner-registration-form textarea::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.partner-registration-form textarea::-webkit-scrollbar-thumb {
    background: #125849;
    border-radius: 3px;
}

.partner-registration-form textarea::-webkit-scrollbar-thumb:hover {
    background: #0d4035;
}