/* ===================================
   CONTACT SECTION STYLES
   =================================== */

.contact-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 61, 155, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-section .container {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* ===================================
   TRUSTED BRANDS SECTION
   =================================== */

.trusted-brands {
    margin: 4rem 0 3rem 0;
    text-align: center;
}

.brands-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4f3d9b;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.brands-carousel {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brands-track {
    display: flex;
    gap: 4rem;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.brand-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    border: none;
    transition: all 0.3s ease;
    height: auto;
}

.brand-logo {
    height: 90px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-item:hover .brand-logo {
    transform: scale(1.1);
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(79, 61, 155, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===================================
   HEADER SECTION
   =================================== */

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4f3d9b;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(79, 61, 155, 0.1), rgba(231, 120, 113, 0.1));
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #4f3d9b 0%, #e77871 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* ===================================
   CONTACT CONTENT
   =================================== */

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info {
    width: 200%;
    max-width: 1650px;
    margin: 0 auto;
}

.contact-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #555;
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 4rem;
}

/* ===================================
   CONTACT METHODS
   =================================== */

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, minmax(420px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 1650px;
    margin-left: auto;
    margin-right: auto;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.75rem 4rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 110px;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 61, 155, 0.05), rgba(231, 120, 113, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 61, 155, 0.2);
    box-shadow: 0 20px 50px rgba(79, 61, 155, 0.15);
}

.contact-method:hover::before {
    opacity: 1;
}

.method-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4f3d9b, #e77871);
    border-radius: 14px;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.contact-method:hover .method-icon {
    transform: scale(1.1) rotate(5deg);
}

.method-icon svg {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.method-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.method-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #4f3d9b;
}

.method-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.6;
    white-space: normal;
    overflow: visible;
}

.method-value:hover {
    color: #4f3d9b;
}

/* ===================================
   CTA BUTTONS
   =================================== */

.contact-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.cta-btn-primary,
.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-btn-primary {
    background: linear-gradient(135deg, #4f3d9b, #e77871);
    color: white;
    border: none;
    box-shadow: 0 10px 30px rgba(79, 61, 155, 0.3);
}

.cta-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #e77871, #4f3d9b);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(79, 61, 155, 0.4);
}

.cta-btn-primary:hover::before {
    opacity: 1;
}

.cta-btn-primary span,
.cta-btn-primary svg {
    position: relative;
    z-index: 1;
}

.cta-btn-secondary {
    background: white;
    color: #4f3d9b;
    border: 2px solid #4f3d9b;
    box-shadow: 0 5px 20px rgba(79, 61, 155, 0.1);
}

.cta-btn-secondary:hover {
    background: #4f3d9b;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(79, 61, 155, 0.3);
}

.cta-btn-secondary svg {
    transition: transform 0.3s ease;
}

.cta-btn-secondary:hover svg {
    transform: translateX(5px);
}

/* ===================================
   MOBILE RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    
    .contact-info {
        width: 100%;
        max-width: 1650px;
        margin: 0 auto;
    }
    
    .contact-section {
        padding: 5rem 0;
    }

    .trusted-brands {
        margin-bottom: 3rem;
    }

    .brands-label {
        font-size: 0.75rem;
    }

    .brands-track {
        gap: 2rem;
    }

    .brand-item {
        padding: 0.75rem 1.5rem;
    }

    .brand-item span {
        font-size: 0.875rem;
    }

    .contact-header {
        margin-bottom: 3rem;
    }

    .section-tag {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .contact-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-method {
        padding: 1.5rem;
    }

    .method-icon {
        width: 48px;
        height: 48px;
    }

    .method-icon svg {
        width: 20px;
        height: 20px;
    }

    .method-label {
        font-size: 0.75rem;
    }

    .method-value {
        font-size: 1rem;
    }

    .contact-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* ===================================
   TABLET RESPONSIVE
   =================================== */

@media (min-width: 769px) and (max-width: 1024px) {
    .section-title {
        font-size: 2.75rem;
    }

    .section-subtitle {
        font-size: 1.125rem;
    }

    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info {
        width: 100%;
        max-width: 1650px;
        margin: 0 auto;
    }
}

@media (min-width: 1025px) and (max-width: 1396px) {
    .contact-info {
        width: 120%;
        max-width: 1650px;
        margin: 0 auto;
    }

    .contact-methods {
        margin: 0;
        gap: 0;
    }

    .contact-method {
        gap: 0;
        padding: 2rem;
        margin-left: -25%;
        width: 50%;
        height: 100%;
    }

    .method-icon {
        width: 30%;
        height: 60%;
    }
    
    .method-label {
        padding-left: 10%;
        font-size: 0.5rem;
    }

    .method-content > a {
        font-size: 0.5rem;
        padding-left: 10%;
    }
}