/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: #000;
    color: #fff;
    min-height: 100vh;
}

/* ===== BACKGROUND ===== */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
    backdrop-filter: blur(3px);
}

/* ===== ANIMATED SHAPES ===== */
.shapes {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(80px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #667eea;
    top: -100px;
    right: -100px;
    animation: float 15s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #764ba2;
    bottom: -50px;
    left: -50px;
    animation: float 12s ease-in-out infinite reverse;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: #f093fb;
    top: 50%;
    left: 50%;
    animation: float 18s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -50px) rotate(120deg); }
    66% { transform: translate(-20px, 30px) rotate(240deg); }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: transform 0.3s;
}

.brand-img:hover {
    transform: scale(1.1);
}

.brand-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.brand-text span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.capsule-nav {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 30px;
    transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.menu-toggle,
.mute-btn {
    display: none;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.menu-toggle i,
.mute-btn i {
    font-size: 1.1rem;
    color: #fff;
}

.menu-toggle:hover,
.mute-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 80px 30px 30px;
}

.mobile-menu.open {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.4rem;
    font-weight: 600;
    padding: 15px 20px;
    border-radius: 12px;
    transition: all 0.3s;
}

.mobile-link:hover,
.mobile-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(10px);
}

/* ===== MAIN CONTAINER ===== */
.contact-container {
    padding: 120px 50px 100px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== PAGE HEADER ===== */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 15px;
}

.page-title .highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.deco-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.deco-dots {
    display: flex;
    gap: 8px;
}

.deco-dots span {
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.deco-dots span:nth-child(2) { animation-delay: 0.3s; }
.deco-dots span:nth-child(3) { animation-delay: 0.6s; }

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* ===== CONTACT WRAPPER ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

/* ===== CONTACT INFO ===== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s;
    text-align: center;
}

.info-card:hover {
    background: rgba(102, 126, 234, 0.15);
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #fff;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #fff;
}

.info-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
}

.info-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.info-link:hover {
    color: #764ba2;
}

/* Social Connect */
.social-connect {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.social-connect h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #fff;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* QR Section */
.qr-section {
    text-align: center;
}

.qr-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.qr-code {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 15px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #25D366;
}

.qr-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

/* ===== FORM SECTION ===== */
.form-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
}

.form-container {
    max-width: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.form-header h2 .highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.input-wrapper textarea,
.input-wrapper select {
    width: 100%;
    padding: 18px 20px;
    padding-left: 55px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
    outline: none;
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 120px;
}

.input-wrapper select {
    cursor: pointer;
    appearance: none;
}

.input-wrapper select option {
    background: #1a1a2e;
    color: #fff;
}

.input-wrapper label {
    position: absolute;
    left: 55px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s;
    padding: 0 5px;
    background: transparent;
}

.input-wrapper textarea ~ label {
    top: 25px;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus,
.input-wrapper select:focus,
.input-wrapper input:not(:placeholder-shown),
.input-wrapper textarea:not(:placeholder-shown),
.input-wrapper select:valid {
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.12);
}

.input-wrapper input:focus ~ label,
.input-wrapper textarea:focus ~ label,
.input-wrapper select:focus ~ label,
.input-wrapper input:not(:placeholder-shown) ~ label,
.input-wrapper textarea:not(:placeholder-shown) ~ label,
.input-wrapper select:valid ~ label {
    top: 0;
    left: 50px;
    font-size: 0.85rem;
    color: #667eea;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    transition: color 0.3s;
}

.input-wrapper input:focus ~ .input-icon,
.input-wrapper textarea:focus ~ .input-icon,
.input-wrapper select:focus ~ .input-icon {
    color: #667eea;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 0 15px 15px;
    transition: width 0.4s;
}

.input-wrapper input:focus ~ .input-border,
.input-wrapper textarea:focus ~ .input-border,
.input-wrapper select:focus ~ .input-border {
    width: 100%;
}

.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    border-radius: 15px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn.loading {
    pointer-events: none;
}

.btn-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-text i {
    font-size: 1.3rem;
}

.btn-loader {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.direct-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(37, 211, 102, 0.15);
    padding: 12px 25px;
    border-radius: 25px;
    color: #25D366;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid rgba(37, 211, 102, 0.3);
}

.direct-whatsapp:hover {
    background: rgba(37, 211, 102, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* ===== SUCCESS MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    border: 2px solid rgba(102, 126, 234, 0.3);
    max-width: 400px;
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-animation {
    margin-bottom: 25px;
}

.checkmark {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.checkmark i {
    font-size: 3.5rem;
    color: #fff;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

.modal-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.modal-loader {
    display: flex;
    justify-content: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #25D366;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== BOTTOM SOCIAL BAR ===== */
.social-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 100;
    padding: 15px 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 1200px) {
    .capsule-nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
}

@media screen and (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .qr-section {
        grid-column: span 2;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .brand-img {
        width: 40px;
        height: 40px;
    }
    
    .brand-text h3 {
        font-size: 1rem;
    }
    
    .contact-container {
        padding: 100px 20px 80px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .form-section {
        padding: 30px 20px;
    }
    
    .form-header h2 {
        font-size: 2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .qr-section {
        grid-column: span 1;
    }
    
    .social-bar {
        bottom: 20px;
        padding: 12px 25px;
        gap: 15px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .form-header h2 {
        font-size: 1.6rem;
    }
    
    .input-wrapper input,
    .input-wrapper textarea,
    .input-wrapper select {
        padding: 15px 18px;
        padding-left: 48px;
        font-size: 0.95rem;
    }
    
    .input-icon {
        left: 15px;
        font-size: 1rem;
    }
    
    .input-wrapper label {
        left: 48px;
        font-size: 0.95rem;
    }
}