/* Sponsor Page Styles - Premium & Appealing */
.sponsor-hero {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(0, 0, 0, 0.85)), url('../Images/BXF1S.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.sponsor-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(138, 43, 226, 0.2) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.sponsor-hero h1 {
    font-family: Arial, sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(138, 43, 226, 0.8), 0 0 60px rgba(138, 43, 226, 0.5);
    animation: titlePulse 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes titlePulse {
    0%, 100% { text-shadow: 0 0 30px rgba(138, 43, 226, 0.8), 0 0 60px rgba(138, 43, 226, 0.5); }
    50% { text-shadow: 0 0 40px rgba(138, 43, 226, 1), 0 0 80px rgba(138, 43, 226, 0.8); }
}

.sponsor-hero h2 {
    font-family: Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #e0e0e0;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Main Content Section */
.sponsor-main {
    padding: 100px 50px;
    background: #000;
    position: relative;
    overflow: hidden;
}

.sponsor-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(138, 43, 226, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(138, 43, 226, 0.06) 0%, transparent 50%);
    animation: bgFloat 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bgFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
}

.sponsor-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Benefits Side */
.benefits-side h3 {
    font-family: Arial, sans-serif;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.benefits-side h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #8a2be2, #9370db);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.6);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 2.5rem;
    padding: 35px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.05) 0%, rgba(0, 0, 0, 0.8) 100%);
    border-radius: 20px;
    border: 2px solid rgba(138, 43, 226, 0.4);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.1), transparent);
    transition: left 0.6s;
}

.benefit-item:hover::before {
    left: 100%;
}

.benefit-item:hover {
    border-color: rgba(138, 43, 226, 0.8);
    box-shadow: 0 15px 50px rgba(138, 43, 226, 0.4);
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8a2be2, #9370db);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.5);
    transition: all 0.4s ease;
}

.benefit-item:hover .benefit-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 0 40px rgba(138, 43, 226, 0.8);
}

.benefit-icon svg {
    color: #ffffff;
}

.benefit-content h4 {
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.benefit-item:hover .benefit-content h4 {
    color: #9370db;
}

.benefit-content p {
    font-family: Arial, sans-serif;
    color: #d4d4d4;
    line-height: 1.8;
    font-size: 1rem;
}

/* Form Side */
.form-side {
    position: sticky;
    top: 100px;
}

.form-container {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.08) 0%, rgba(0, 0, 0, 0.95) 100%);
    padding: 50px;
    border-radius: 25px;
    border: 2px solid rgba(138, 43, 226, 0.6);
    box-shadow: 0 20px 60px rgba(138, 43, 226, 0.4), inset 0 0 50px rgba(138, 43, 226, 0.05);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
    animation: formGlow 10s linear infinite;
}

@keyframes formGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-container h3 {
    font-family: Arial, sans-serif;
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.6);
}

.form-container p {
    font-family: Arial, sans-serif;
    color: #ccc;
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.15rem;
    font-style: italic;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0.6rem;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8a2be2;
    background: rgba(138, 43, 226, 0.1);
    box-shadow: 0 0 0 4px rgba(138, 43, 226, 0.3), 0 8px 25px rgba(138, 43, 226, 0.2);
    transform: translateY(-3px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
    font-style: italic;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

#sponsor-form-button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #8a2be2 0%, #9370db 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 30px rgba(138, 43, 226, 0.5);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#sponsor-form-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

#sponsor-form-button:hover::before {
    width: 300px;
    height: 300px;
}

#sponsor-form-button:hover {
    background: linear-gradient(135deg, #9370db 0%, #8a2be2 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(138, 43, 226, 0.7);
}

#sponsor-form-button:disabled {
    background: #444;
    border-color: #444;
    cursor: not-allowed;
}

#sponsor-form-status {
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    margin-top: 1rem;
}

#sponsor-form-status.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

#sponsor-form-status.error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

/* Page Load Animations */
.animate-element {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.animate-element:not(.animate-in) {
    opacity: 0;
    transform: translateY(30px);
}

.animate-element.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness */
/* Large Desktop/Tablet */
@media (max-width: 1366px) and (min-width: 1200px) {
    .sponsor-main {
        padding: 75px 40px;
    }
    
    .sponsor-container {
        gap: 55px;
    }
}

@media (max-width: 1200px) and (min-width: 1025px) {
    .sponsor-main {
        padding: 70px 35px;
    }
    
    .sponsor-container {
        gap: 50px;
    }
}

/* iPad Pro Landscape (1024x1366) */
@media (max-width: 1366px) and (min-width: 1024px) and (orientation: landscape) {
    .sponsor-hero {
        height: 60vh;
    }
    
    .sponsor-hero h1 {
        font-size: 3.2rem;
    }
    
    .sponsor-main {
        padding: 80px 40px;
    }
    
    .sponsor-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    
    .form-side {
        position: static;
    }
}

/* iPad Pro Portrait (1024x1366) */
@media (min-width: 1024px) and (max-width: 1024px) and (orientation: portrait) {
    .sponsor-hero {
        height: 55vh;
    }
    
    .sponsor-hero h1 {
        font-size: 3rem;
    }
    
    .sponsor-main {
        padding: 75px 35px;
    }
    
    .sponsor-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-side {
        position: static;
    }
    
    .benefit-item {
        padding: 28px;
    }
    
    .form-container {
        padding: 40px 35px;
    }
}

@media (max-width: 1024px) {
    .sponsor-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-side {
        position: static;
    }
    
    .sponsor-main {
        padding: 65px 30px;
    }
}

/* Tablet 921x1368 */
@media (max-width: 921px) and (min-width: 901px) {
    .sponsor-hero {
        height: 58vh;
    }
    
    .sponsor-hero h1 {
        font-size: 2.9rem;
    }
    
    .sponsor-main {
        padding: 70px 35px;
    }
}

/* Standard Tablet */
@media (max-width: 900px) {
    .sponsor-hero {
        height: 55vh;
    }
    
    .sponsor-hero h1 {
        font-size: 2.8rem;
    }
    
    .sponsor-hero h2 {
        font-size: 1.3rem;
    }
    
    .sponsor-main {
        padding: 65px 30px;
    }
    
    .benefits-side h3 {
        font-size: 1.9rem;
    }
    
    .benefit-content h4 {
        font-size: 1.3rem;
    }
    
    .form-container {
        padding: 35px 30px;
    }
}

/* iPad Air Portrait (820x1180) */
@media (max-width: 834px) and (min-width: 768px) and (orientation: portrait) {
    .sponsor-hero {
        height: 52vh;
        background-position: 30% center;
    }
    
    .sponsor-hero h1 {
        font-size: 2.7rem;
    }
    
    .sponsor-hero h2 {
        font-size: 1.25rem;
    }
    
    .sponsor-main {
        padding: 70px 35px;
    }
    
    .benefits-side h3 {
        font-size: 1.85rem;
    }
    
    .benefit-item {
        padding: 26px;
    }
    
    .benefit-content h4 {
        font-size: 1.28rem;
    }
    
    .form-container {
        padding: 38px 32px;
    }
}

/* iPad Air/Mini specific */
@media (max-width: 820px) and (min-width: 768px) {
    .sponsor-hero {
        background-position: 30% center;
        height: 58vh;
    }
    
    .sponsor-main {
        padding: 68px 32px;
    }
}

/* Mobile Landscape/Small Tablet */
@media (max-width: 768px) {
    .sponsor-hero {
        background-position: 33% center;
        height: 50vh;
    }
    
    .sponsor-hero h1 {
        font-size: 2.3rem;
        letter-spacing: 2px;
    }
    
    .sponsor-hero h2 {
        font-size: 1.2rem;
    }
    
    .sponsor-main {
        padding: 55px 20px;
    }
    
    .benefits-side h3 {
        font-size: 1.7rem;
        text-align: center;
    }
    
    .benefit-item {
        padding: 22px;
        gap: 20px;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
    }
    
    .benefit-content h4 {
        font-size: 1.25rem;
    }
    
    .benefit-content p {
        font-size: 0.98rem;
    }
    
    .form-container {
        padding: 30px 25px;
    }
    
    .form-container h3 {
        font-size: 1.7rem;
    }
    
    .form-container p {
        font-size: 1.05rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }
    
    .form-row .form-group:first-child {
        margin-bottom: 1.8rem !important;
    }
    
    .form-row .form-group:nth-child(2) {
        margin-bottom: 1.8rem !important;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 0.95rem;
    }
}

/* Mobile Portrait */
@media (max-width: 767px) {
    .sponsor-hero {
        height: 48vh;
    }
    
    .sponsor-main {
        padding: 50px 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .sponsor-hero {
        height: 45vh;
        padding: 0 15px;
    }
    
    .sponsor-hero h1 {
        font-size: 1.9rem;
        letter-spacing: 1.5px;
        line-height: 1.2;
    }
    
    .sponsor-hero h2 {
        font-size: 1.05rem;
    }
    
    .sponsor-main {
        padding: 40px 15px;
    }
    
    .benefits-side h3 {
        font-size: 1.5rem;
        padding-bottom: 12px;
    }
    
    .benefit-item {
        padding: 18px;
        gap: 15px;
        border-left-width: 4px;
    }
    
    .benefit-icon {
        width: 45px;
        height: 45px;
    }
    
    .benefit-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .benefit-content h4 {
        font-size: 1.15rem;
    }
    
    .benefit-content p {
        font-size: 0.92rem;
        line-height: 1.6;
    }
    
    .form-container {
        padding: 25px 18px;
        border-width: 2px;
    }
    
    .form-container h3 {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
    }
    
    .form-container p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    #sponsor-form-button {
        padding: 14px;
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .sponsor-hero {
        height: 42vh;
    }
    
    .sponsor-hero h1 {
        font-size: 1.7rem;
    }
    
    .sponsor-hero h2 {
        font-size: 1rem;
    }
    
    .sponsor-main {
        padding: 35px 12px;
    }
    
    .benefits-side h3 {
        font-size: 1.4rem;
    }
    
    .benefit-item {
        padding: 15px;
    }
    
    .benefit-content h4 {
        font-size: 1.1rem;
    }
    
    .benefit-content p {
        font-size: 0.88rem;
    }
    
    .form-container {
        padding: 20px 15px;
    }
    
    .form-container h3 {
        font-size: 1.4rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 11px 12px;
        font-size: 0.88rem;
    }
    
    #sponsor-form-button {
        padding: 13px;
        font-size: 0.88rem;
    }
}
