/* Import core variables */
@import url('styles.css'); 

/* ===== UTILITIES & ANIMATIONS ===== */
.section-padding { padding: 100px 0; }
.text-visible { color: rgba(255, 255, 255, 0.9) !important; line-height: 1.8; }

/* Animation Keyframes */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0; 
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scroll-reveal.active { opacity: 1; transform: translateY(0); }

.delay-100 { transition-delay: 0.1s; animation-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; animation-delay: 0.2s; }

/* ===== CONTACT HERO (3D ENVELOPE) ===== */
.contact-hero {
    padding: 150px 0 80px;
    position: relative;
    overflow: visible;
}

/* Scene Setup */
.scene {
    width: 300px; height: 300px;
    margin: 0 auto;
    perspective: 1000px;
}

.envelope-container {
    width: 100%; height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: float 4s ease-in-out infinite;
}

.envelope {
    position: absolute;
    width: 260px; height: 180px;
    background: #1e2633;
    bottom: 50px; left: 20px;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(41, 121, 255, 0.3);
    z-index: 2;
    transform-style: preserve-3d;
    border: 2px solid rgba(41, 121, 255, 0.5);
}

.flap {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #151a23;
    clip-path: polygon(0 0, 50% 55%, 100% 0);
    transform-origin: top;
    transform: rotateX(0deg);
    animation: flapOpen 4s ease-in-out infinite;
    z-index: 5;
    border-top: 2px solid rgba(41, 121, 255, 0.5);
}

.pocket {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(41, 121, 255, 0.1), rgba(0, 229, 255, 0.1));
    clip-path: polygon(0 0, 50% 50%, 100% 0, 100% 100%, 0 100%);
    z-index: 4;
    border-bottom: 2px solid rgba(41, 121, 255, 0.5);
}

.letter {
    position: absolute;
    bottom: 10px; left: 15px;
    width: 230px; height: 150px;
    background: #fff;
    border-radius: 5px;
    z-index: 3;
    transition: transform 0.5s;
    animation: letterFloat 4s ease-in-out infinite;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.letter-content { width: 80%; }
.line { height: 8px; background: #e0e0e0; margin-bottom: 8px; border-radius: 4px; width: 100%; }
.line.short { width: 60%; }

.hologram-beam {
    position: absolute;
    top: -50px; left: 50%;
    width: 2px; height: 50px;
    background: linear-gradient(to top, transparent, var(--secondary));
    transform: translateX(-50%);
    opacity: 0;
    animation: beam 4s ease-in-out infinite;
}

.shadow {
    position: absolute; bottom: 0; left: 50%;
    width: 200px; height: 20px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    transform: translateX(-50%);
    filter: blur(10px);
    animation: shadowScale 4s ease-in-out infinite;
}

/* 3D Animations */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px) rotateX(5deg); } }
@keyframes flapOpen { 0%, 100% { transform: rotateX(0deg); z-index: 5; } 40%, 60% { transform: rotateX(180deg); z-index: 1; } }
@keyframes letterFloat { 0%, 100% { transform: translateY(0); opacity: 0; } 40%, 60% { transform: translateY(-80px); opacity: 1; } }
@keyframes beam { 0%, 100% { opacity: 0; height: 0; } 50% { opacity: 1; height: 100px; } }
@keyframes shadowScale { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(0.8); } }

/* ===== CARDS (PREMIUM GLASS) ===== */
.glass-card {
    background: rgba(30, 38, 51, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom-width: 4px;
    padding: 2.5rem;
    height: 100%;
    transition: transform 0.3s;
}

.glass-card:hover { transform: translateY(-5px); background: rgba(40, 50, 65, 0.9); }

/* Border Colors */
.border-cyan { border-bottom-color: #00e5ff; }
.border-blue { border-bottom-color: #2979ff; }
.border-purple { border-bottom-color: #d500f9; }
.border-green { border-bottom-color: #00c853; }
.border-orange { border-bottom-color: #ff9100; }

/* ===== CONTACT ITEMS ===== */
.contact-item {
    display: flex; align-items: center; gap: 20px;
    padding: 20px; margin-bottom: 15px;
    border-radius: 15px;
    transition: background 0.3s;
    border: 1px solid transparent;
}
.contact-item:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }

.icon-box {
    width: 50px; height: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05);
}
.icon-box.cyan { color: var(--secondary); box-shadow: 0 0 10px rgba(0, 243, 255, 0.1); }
.icon-box.purple { color: #d500f9; box-shadow: 0 0 10px rgba(213, 0, 249, 0.1); }
.icon-box.blue { color: var(--primary); box-shadow: 0 0 10px rgba(41, 121, 255, 0.1); }
.icon-box.orange { color: #ff9100; box-shadow: 0 0 10px rgba(255, 145, 0, 0.1); }

.details span { font-size: 0.8rem; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; }
.details p, .details a { margin: 0; font-size: 1.1rem; color: #ffffff !important; text-decoration: none; font-weight: 500; }
.details a:hover { color: var(--secondary) !important; }

/* ===== FORM STYLING ===== */
.form-group { position: relative; margin-bottom: 25px; }

.form-control, .form-select {
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px 5px 0 0;
    color: #fff !important;
    padding: 15px 10px;
    width: 100%;
    outline: none;
    box-shadow: none;
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--secondary);
}

.form-group label {
    position: absolute;
    top: 15px; left: 10px;
    color: #a0a0a0;
    transition: all 0.3s;
    pointer-events: none;
}

.form-control:focus ~ label, .form-control:not(:placeholder-shown) ~ label {
    top: -10px; font-size: 0.8rem; color: var(--secondary);
}

.focus-border {
    position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--primary)); transition: 0.3s;
}
.form-control:focus ~ .focus-border, .form-select:focus ~ .focus-border { width: 100%; }

.form-select option { background: #121212; color: #fff; }

/* ===== PAYMENT CARDS ===== */
.payment-card {
    padding: 30px; border-radius: 20px;
    background: rgba(30, 38, 51, 0.7);
    border: 1px solid rgba(255,255,255,0.05);
    border-bottom-width: 4px;
    transition: transform 0.3s;
    backdrop-filter: blur(10px);
}
.payment-card:hover { transform: translateY(-5px); background: rgba(40, 50, 65, 0.9); }

.payment-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.payment-logo { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.1); }
.payment-header h4 { margin: 0; font-size: 1.2rem; color: #fff; }

.copy-box {
    display: flex; background: rgba(0,0,0,0.3);
    padding: 5px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1);
}
.copy-box input {
    background: transparent; border: none; color: #fff;
    width: 100%; padding: 0 10px; outline: none; font-family: monospace;
}
.btn-copy {
    background: var(--primary); border: none; color: white;
    width: 40px; height: 40px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: transform 0.2s;
}
.btn-copy:active { transform: scale(0.9); }

/* Toast */
.toast-notification {
    position: fixed; bottom: 30px; left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid var(--secondary);
    color: #fff; padding: 12px 25px; border-radius: 30px;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 10000;
    transition: transform 0.3s;
}
.toast-notification.show { transform: translateX(-50%) translateY(0); }
.toast-notification .material-icons { color: var(--secondary); }